.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Light text color for dark body background #0A0A0A */
  background-color: #0A0A0A; /* Matches custom配色 -> 背景 */
}

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

.page-about__section {
  padding: 60px 0;
  text-align: center;
}

.page-about__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing for desktop */
  background-color: #0A0A0A; /* Ensures consistent dark background */
}

.page-about__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for text readability */
}

.page-about__hero-content-wrapper {
  position: relative;
  z-index: 10;
  padding: 40px 15px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  color: #FFD36B; /* Auxiliary color for titles */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background: #111111; /* Card BG color */
  color: #FFD36B; /* Auxiliary color */
  border: 2px solid #FFD36B;
}

.page-about__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
  transform: translateY(-2px);
}

.page-about__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: #F2C14E; /* Main color for section titles */
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.3;
}

.page-about__section-description {
  font-size: 1.1em;
  color: #FFF6D6;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

.page-about__card {
  background: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6; /* Text Main for card content */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px #FFD36B;
}

.page-about__card-title,
.page-about__feature-title,
.page-about__rg-title,
.page-about__tech-title {
  font-size: 1.6em;
  color: #F2C14E; /* Main color for card titles */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__card-text,
.page-about__feature-text,
.page-about__rg-text,
.page-about__tech-text {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-about__card-image,
.page-about__tech-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
}

.page-about__advantage-section .page-about__card {
  text-align: left;
  padding: 30px;
}

.page-about__cta-section {
  margin-top: 60px;
  padding: 40px 20px;
  background: #111111; /* Card BG color */
  border-radius: 12px;
  border: 1px solid #3A2A12;
}

.page-about__cta-text {
  font-size: 1.4em;
  color: #F2C14E;
  margin-bottom: 25px;
  font-weight: 600;
}

.page-about__responsible-gaming-section,
.page-about__technology-section,
.page-about__join-us-section {
  background-color: #0A0A0A;
}

.page-about__closing-statement {
  margin-top: 40px;
  font-size: 1.1em;
  color: #FFF6D6;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-section {
  background-color: #0A0A0A;
  text-align: left;
}

.page-about__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

.page-about__faq-item {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background: #111111;
  color: #F2C14E;
  font-size: 1.2em;
  font-weight: 600;
  transition: background 0.3s ease;
}

.page-about__faq-question:hover {
  background: #1a1a1a;
}

.page-about__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: 1em; /* Adjust to fit parent */
}

.page-about__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD36B;
  transition: transform 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg);
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  background: #1a1a1a;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Important to override any other max-height */
  padding: 15px 25px;
}

.page-about__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }

  .page-about__section-title {
    font-size: clamp(1.6em, 4.5vw, 2.2em);
  }

  .page-about__card-title,
  .page-about__feature-title,
  .page-about__rg-title,
  .page-about__tech-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header spacing */
  }

  .page-about__hero-content-wrapper {
    padding: 30px 10px;
  }

  .page-about__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

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

  .page-about__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 20px;
    font-size: 1em;
  }

  .page-about__section {
    padding: 40px 0;
  }

  .page-about__section-title {
    font-size: clamp(1.5em, 5.5vw, 2em);
  }

  .page-about__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-about__grid-container,
  .page-about__features-grid,
  .page-about__responsible-gaming-features,
  .page-about__tech-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__card {
    padding: 25px;
  }

  .page-about__card-title,
  .page-about__feature-title,
  .page-about__rg-title,
  .page-about__tech-title {
    font-size: 1.3em;
  }

  .page-about__cta-text {
    font-size: 1.2em;
  }

  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-about__faq-answer {
    padding: 0 20px;
  }

  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px 20px;
  }

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-about__section,
  .page-about__card,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-content-wrapper {
    padding: 20px 5px;
  }

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

  .page-about__section-title {
    font-size: clamp(1.4em, 6.5vw, 1.8em);
  }

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