/* Nếu body là nền tối, nội dung chính sẽ dùng chữ sáng */
.page-about {
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy - body background */
}

.page-about__section-title {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
  text-align: center;
  color: #F2C14E; /* Gold */
}

.page-about__section-title--light {
  color: #F3F8FF; /* Text Main */
}

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

/* Hero Section */
.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
  color: #F3F8FF;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-about__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 15px;
}

.page-about__main-title {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
}

.page-about__subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #AFC4E8; /* Text Secondary */
}

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

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-about__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background: #10233F; /* Card BG */
  color: #AFC4E8; /* Text Secondary */
  border: 2px solid #244D84; /* Border */
}

.page-about__btn-secondary:hover {
  background: #1B3357; /* Divider */
  color: #F3F8FF; /* Text Main */
}

/* General Section Styles */
.page-about__section {
  padding: 60px 0;
}

.page-about__text-block {
  padding: 30px;
  border-radius: 10px;
  color: #F3F8FF; /* Text Main */
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
}

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

.page-about__card-title--gold {
  color: #F2C14E; /* Gold */
}

.page-about__text-block p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #AFC4E8; /* Text Secondary */
}

.page-about__text-block p:last-child {
  margin-bottom: 0;
}

/* Mission & Vision Section */
.page-about__grid-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 40px;
}

.page-about__grid-two-columns:last-of-type {
  margin-bottom: 0;
}

.page-about__reverse-order {
  grid-template-areas: "image text";
}

.page-about__reverse-order .page-about__text-block {
  grid-area: text;
}

.page-about__reverse-order .page-about__image-block {
  grid-area: image;
}

.page-about__image-block {
  text-align: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}

/* Core Values Section */
.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-about__value-card {
  text-align: center;
  padding: 30px;
}

/* History Section */
.page-about__history-timeline {
  position: relative;
  padding: 20px 0;
}

.page-about__history-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: #244D84; /* Border */
  transform: translateX(-50%);
}

.page-about__timeline-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.page-about__timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.page-about__timeline-item:nth-child(even) {
  flex-direction: row;
}

.page-about__timeline-item::after {
  content: '';
  position: absolute;
  top: 15px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #F2C14E; /* Gold */
  border: 2px solid #113B7A; /* Primary Color */
  z-index: 1;
}

.page-about__timeline-item:nth-child(odd)::after {
  right: 50%;
  transform: translateX(50%);
}

.page-about__timeline-item:nth-child(even)::after {
  left: 50%;
  transform: translateX(-50%);
}

.page-about__timeline-year {
  width: calc(50% - 30px);
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  line-height: 1;
  align-self: flex-start;
  padding-top: 10px;
}

.page-about__timeline-content {
  width: calc(50% - 30px);
  padding: 20px;
  text-align: left;
}

/* Team Section */
.page-about__team-description {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: #AFC4E8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__team-member {
  text-align: center;
  padding: 30px;
}

.page-about__member-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #F2C14E; /* Gold */
}

.page-about__member-name {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F3F8FF; /* Text Main */
}

.page-about__member-role {
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
}

/* Responsible Gaming Section */
.page-about__description {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: #AFC4E8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__feature-card {
  text-align: center;
  padding: 30px;
}

.page-about__cta-bottom {
  text-align: center;
}

/* FAQ Section */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
}
details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
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: #1B3357; /* Divider */
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  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: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 10px 10px;
  color: #AFC4E8; /* Text Secondary */
}

/* Contact CTA Section */
.page-about__contact-cta .page-about__card {
  text-align: center;
  padding: 40px;
  margin-top: 40px;
}

/* Mobile Responsive Styles */
@media (max-width: 1023px) {
  .page-about__home-hero { /* Placeholder for common mobile layout, not directly used on About page */
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-about__hero-brand,
  .page-about__hero-jackpot {
    display: none !important;
  }
  .page-about__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-about__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-about__game-trial-topbar,
  .page-about__game-trial-bottombar {
    display: none !important;
  }
  .page-about__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-about__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-about__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-about__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-about__home-hero { /* Placeholder for common PC layout, not directly used on About page */
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-about__hero-brand,
  .page-about__hero-jackpot,
  .page-about__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-about__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-about__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-about__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-about__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-about__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
  /* .page-about__promo-strip { margin-top: 16px; } */ /* Not on About page, but for completeness */
}

@media (max-width: 768px) {
  .page-about__section {
    padding: 40px 0;
  }

  .page-about__main-title {
    font-size: 2.2rem;
  }

  .page-about__subtitle {
    font-size: 1rem;
  }

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

  .page-about__reverse-order {
    grid-template-areas: none;
  }

  .page-about__timeline-item {
    flex-direction: column;
    align-items: center;
  }

  .page-about__timeline-item:nth-child(odd) {
    flex-direction: column;
  }

  .page-about__timeline-item::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    top: 0;
  }

  .page-about__timeline-year,
  .page-about__timeline-content {
    width: 100%;
    text-align: center;
  }

  .page-about__timeline-content {
    padding: 20px 15px;
  }

  .page-about__timeline-year {
    padding-top: 20px;
    font-size: 1.5rem;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  /* General image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
  }

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

  details.page-about__faq-item summary.page-about__faq-question { padding: 15px; }
  .page-about__faq-qtext { font-size: 15px; }
  details.page-about__faq-item .page-about__faq-answer { padding: 0 15px 15px; }

  /* Placeholder for common mobile layout, not directly used on About page */
  /* .page-about__promo-strip-track { grid-template-columns: repeat(4,1fr); overflow-x:hidden; } */
  /* .page-about__hot-games-grid { grid-template-columns: repeat(2,1fr); } */
  /* .page-about__winner-ticker { position: fixed; bottom: 0; left: 0; width: 100%; } */
}

/* Common game trial related styles from prompt, even if not directly used on About page */
.page-about__game-trial-overlay{z-index:5;pointer-events:auto;}
.page-about__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}
.page-about__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}
.page-about__game-trial-shell{border:1px solid rgba(212,175,55,.45);border-radius:10px;overflow:hidden;}
.page-about__reward-modal{position:fixed;inset:0;z-index:10000;}