/* style/about.css */
/* 页头留白由 shared 的 body 承担；页面禁止 padding-top: var(--header-offset) */
.page-about {
  color: #FFF6D6; /* Light text for dark body background */
  background-color: #0A0A0A; /* Ensure consistent background if main background is not fully covered by sections */
}

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

.page-about__hero-section {
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding for the first section */
  text-align: center;
  background-color: #0A0A0A; /* Consistent background */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__hero-image {
  width: 100%;
  max-width: 1200px; /* Constrain max width for hero image container */
  margin-bottom: 30px;
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-about__hero-content {
  max-width: 800px;
  margin-bottom: 40px;
}

.page-about__main-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem); /* Responsive font size */
  font-weight: 700;
  color: #FFD36B; /* Auxiliary color for emphasis */
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-about__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for golden button */
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-about__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-about__cta-button--secondary {
  background: none;
  border: 2px solid #FFD36B;
  color: #FFD36B;
  margin-left: 20px;
}

.page-about__cta-button--secondary:hover {
  background-color: rgba(255, 211, 107, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-about__mission-section,
.page-about__why-choose-section,
.page-about__security-section,
.page-about__responsible-gambling-section,
.page-about__cta-bottom-section,
.page-about__contact-info {
  padding: 80px 0;
  background-color: #0A0A0A; /* Ensure consistent background */
}

.page-about__mission-section,
.page-about__security-section,
.page-about__responsible-gambling-section {
  border-bottom: 1px solid #3A2A12; /* Border color from specs */
}

.page-about__section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: #F2C14E; /* Main color for section titles */
  text-align: center;
  margin-bottom: 50px;
  font-weight: 600;
}

.page-about__content-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-about__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-about__text-block p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-about__image-block {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__image-block img {
  width: 100%;
  height: auto;
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.page-about__feature-card {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-about__feature-title {
  font-size: 1.3rem;
  color: #FFD36B;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.page-about__learn-more-button {
  display: block;
  width: fit-content;
  margin: 50px auto 0;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__learn-more-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-about__read-more-link,
.page-about__support-link {
  display: inline-block;
  color: #FFD36B;
  text-decoration: none;
  font-weight: 500;
  margin-top: 20px;
  border-bottom: 1px solid #FFD36B;
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-about__read-more-link:hover,
.page-about__support-link:hover {
  color: #FFF6D6;
  border-color: #FFF6D6;
}

.page-about__cta-bottom-section {
  text-align: center;
  padding: 100px 0;
  background-color: #111111; /* Card BG for this section to stand out */
  border-top: 1px solid #3A2A12;
}

.page-about__cta-bottom-section .page-about__section-title {
  color: #FFF6D6;
}

.page-about__cta-description {
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

.page-about__contact-info {
  text-align: center;
  padding-bottom: 80px;
}

.page-about__contact-text {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
  }

  .page-about__hero-content {
    margin-bottom: 20px;
  }

  .page-about__main-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .page-about__hero-description {
    font-size: 1rem;
  }

  .page-about__cta-button {
    font-size: 1rem;
    padding: 12px 25px;
  }
  
  .page-about__cta-button--secondary {
    margin-left: 0; /* Remove margin for stacking */
    margin-top: 15px; /* Add top margin if stacked */
  }

  .page-about__mission-section,
  .page-about__why-choose-section,
  .page-about__security-section,
  .page-about__responsible-gambling-section,
  .page-about__cta-bottom-section,
  .page-about__contact-info {
    padding: 50px 0;
  }

  .page-about__section-title {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
    margin-bottom: 30px;
  }

  .page-about__content-grid {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__content-grid--reverse {
    flex-direction: column; /* Stack normally on mobile */
  }

  .page-about__text-block,
  .page-about__image-block {
    min-width: unset;
    width: 100%;
  }

  .page-about__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__feature-card {
    padding: 25px;
  }

  .page-about__feature-title {
    font-size: 1.2rem;
  }

  .page-about__cta-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  
  .page-about__cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  /* Mobile content image overflow prevention */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}

/* Ensure content images are not smaller than 200px */
.page-about__content-grid img,
.page-about__image-block img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Ensures image fills container without distortion */
}