.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: var(--deep-navy); /* Body background from shared.css */
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-about__dark-section {
  background-color: #08162B; /* Deep Navy */
  color: #F3F8FF; /* Text Main */
}

.page-about__light-bg {
  background-color: #10233F; /* Card B G, slightly lighter for contrast */
  color: #F3F8FF; /* Text Main */
}

.page-about__text-main {
  color: #F3F8FF;
}

.page-about__text-secondary {
  color: #AFC4E8;
}

.page-about__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  justify-content: center;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-about__hero-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-about__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #F2C14E; /* Gold */
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F3F8FF; /* Text Main */
}

.page-about__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(17, 67, 166, 0.4);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(17, 67, 166, 0.6);
}

.page-about__btn-secondary {
  background: transparent;
  color: #F3F8FF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #2B73F6;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-secondary:hover {
  background-color: rgba(43, 115, 246, 0.1);
  border-color: #4FA8FF;
}

.page-about__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Gold */
}

.page-about__introduction-section .page-about__section-title {
  color: #F2C14E; /* Gold */
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #F3F8FF;
}

.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__value-card {
  background-color: #10233F; /* Card B G */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
}

.page-about__value-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-about__value-description {
  font-size: 1em;
  color: #AFC4E8; /* Text Secondary */
}

.page-about__why-choose-us .page-about__section-title {
  color: #F2C14E; /* Gold */
}

.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__feature-card {
  background-color: #10233F; /* Card B G */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
}

.page-about__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-about__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F2C14E; /* Gold */
}

.page-about__feature-description {
  font-size: 0.95em;
  color: #AFC4E8; /* Text Secondary */
}

.page-about__responsible-gaming-section a {
  color: #4FA8FF; /* Glow */
  text-decoration: underline;
}

.page-about__responsible-gaming-section a:hover {
  color: #2B73F6;
}

.page-about__responsible-gaming-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}

.page-about__responsible-gaming-text {
  flex: 1;
}

.page-about__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-about__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #F3F8FF;
}

.page-about__list li {
  margin-bottom: 10px;
}

.page-about__responsible-gaming-image-wrapper {
  flex: 0 0 400px;
  max-width: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-about__responsible-gaming-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-about__join-community-section .page-about__section-title {
  color: #F2C14E; /* Gold */
}

.page-about__join-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.page-about__faq-section .page-about__section-title {
  color: #F2C14E; /* Gold */
}

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card B G */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F3F8FF; /* Text Main */
}

details.page-about__faq-item summary.page-about__faq-question::-webkit-details-marker {
  display: none;
}

details.page-about__faq-item summary.page-about__faq-question:hover {
  background: rgba(43, 115, 246, 0.1);
}

.page-about__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}

.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #4FA8FF; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-about__faq-item .page-about__faq-answer {
  padding: 0 25px 20px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 10px 10px;
  color: #AFC4E8; /* Text Secondary */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-content-wrapper {
    padding: 30px 15px;
  }

  .page-about__hero-title {
    font-size: clamp(2em, 4vw, 3em);
  }

  .page-about__hero-description {
    font-size: 1.1em;
  }

  .page-about__section-title {
    font-size: 2em;
  }

  .page-about__values-grid,
  .page-about__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .page-about__responsible-gaming-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__responsible-gaming-image-wrapper {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .page-about__sub-title {
    font-size: 1.5em;
  }

  .page-about__faq-qtext {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-about__container {
    padding: 30px 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Hero Section */
  .page-about__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    min-height: 450px;
  }

  .page-about__hero-image {
    filter: brightness(0.3) !important; /* Even darker for mobile readability */
  }

  .page-about__hero-content-wrapper {
    padding: 20px 15px !important;
  }

  .page-about__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important;
    margin-bottom: 15px !important;
  }

  .page-about__hero-description {
    font-size: 1em !important;
    margin-bottom: 25px !important;
  }

  .page-about__hero-cta-buttons,
  .page-about__join-cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
  }

  /* Section Titles */
  .page-about__section-title {
    font-size: 1.8em !important;
    margin-bottom: 30px !important;
  }

  /* Text Blocks */
  .page-about__text-block {
    font-size: 0.95em !important;
    margin-bottom: 15px !important;
  }

  /* Grids */
  .page-about__values-grid,
  .page-about__features-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }

  /* Feature Card Image */
  .page-about__feature-image {
    height: 180px !important;
    margin-bottom: 15px !important;
  }

  /* Responsible Gaming Section */
  .page-about__responsible-gaming-content {
    flex-direction: column !important;
    gap: 25px !important;
  }

  .page-about__responsible-gaming-image-wrapper {
    width: 100% !important;
  }

  .page-about__sub-title {
    font-size: 1.3em !important;
    margin-top: 20px !important;
    margin-bottom: 10px !important;
  }

  .page-about__list {
    margin-left: 15px !important;
    margin-bottom: 15px !important;
  }

  /* FAQ */
  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px 20px !important;
  }

  .page-about__faq-qtext {
    font-size: 0.95em !important;
  }

  .page-about__faq-toggle {
    font-size: 20px !important;
    width: 24px !important;
    margin-left: 10px !important;
  }

  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 20px 15px !important;
  }

  /* All images general mobile */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__introduction-section,
  .page-about__why-choose-us,
  .page-about__responsible-gaming-section,
  .page-about__join-community-section,
  .page-about__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}