/* CSS cho trang Giới Thiệu (About Us) */

:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --card-bg: #17191F;
  --bg-color: #0D0E12;
  --text-main: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange: #D96800;
}

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Sử dụng màu chữ chính cho toàn bộ trang */
  background-color: var(--bg-color); /* Sử dụng màu nền chính cho toàn bộ trang */
}

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

.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  color: var(--secondary-color);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-about__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.page-about__intro-text {
  text-align: center;
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto 30px;
  color: var(--text-main);
}

/* Hero Section */
.page-about__hero-section {
  padding-top: 10px; /* Small padding top, body handles --header-offset */
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--bg-color) 0%, #1a0e00 100%);
  position: relative;
  overflow: hidden;
}

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

.page-about__main-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255,165,58,0.5);
}

.page-about__description {
  font-size: 20px;
  color: var(--text-main);
  margin-bottom: 30px;
}

.page-about__hero-image-wrapper {
  position: relative;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 1;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CTA Buttons */
.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  max-width: 100%;
  box-sizing: border-box;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
  color: #ffffff;
  border: none;
}

.page-about__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  opacity: 0.9;
}

.page-about__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-about__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  background-color: rgba(255,165,58,0.1);
}

/* Mission & Vision Section */
.page-about__mission-vision {
  padding: 80px 0;
  background-color: #17191F; /* Card BG for light-bg section */
  color: var(--text-main);
}

.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.page-about__content-grid--reverse {
  direction: rtl; /* Reverse content order */
}

.page-about__content-grid--reverse > .page-about__text-block {
  direction: ltr;
}

.page-about__content-grid--reverse > .page-about__image-block {
  direction: ltr;
}

.page-about__image-block img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
  display: block;
}

/* Why Choose Us Section */
.page-about__why-choose-us {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a0e00 0%, var(--bg-color) 100%);
  color: var(--text-main);
}

.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: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
}

.page-about__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.4);
}

.page-about__feature-icon {
  width: 100%; /* Ensure images are large and responsive */
  height: auto;
  max-height: 200px;
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 8px;
}

.page-about__feature-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-about__cta-buttons--center {
  justify-content: center;
}

/* Responsible Gaming Section */
.page-about__responsible-gaming {
  padding: 80px 0;
  background-color: var(--card-bg);
  color: var(--text-main);
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--bg-color) 0%, #1a0e00 100%);
  color: var(--text-main);
}

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

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 4px 15px 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 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main);
  font-weight: 600;
}

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(255,165,58,0.1);
}

.page-about__faq-qtext {
  flex: 1;
  font-size: 17px;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}

.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  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: rgba(255,165,58,0.05);
  border-radius: 0 0 10px 10px;
  color: var(--text-main);
}

.page-about__faq-answer p {
  margin: 0;
  padding-top: 10px;
}

/* Contact CTA Section */
.page-about__contact-cta {
  padding: 80px 0;
  background-color: var(--card-bg);
  text-align: center;
  color: var(--text-main);
}


/* Responsive Design */
@media (max-width: 1023px) {
  /* This section is primarily for homepage hero/game trial, not applicable to About Us */
  /* However, if any page-about elements have similar grid/flex structures, they would be adjusted here */
}

@media (min-width: 1024px) {
  /* This section is primarily for homepage hero/game trial, not applicable to About Us */
  /* However, if any page-about elements have specific PC layouts, they would be defined here */
}

@media (max-width: 768px) {
  .page-about__main-title {
    font-size: 36px;
  }

  .page-about__description {
    font-size: 18px;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-about__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-about__sub-title {
    font-size: 20px;
  }

  .page-about__intro-text {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-about__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
  }

  .page-about__content-grid--reverse {
    direction: ltr; /* Reset for mobile */
  }

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

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

  .page-about__feature-title {
    font-size: 20px;
  }

  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px;
  }

  .page-about__faq-qtext {
    font-size: 15px;
  }

  .page-about__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

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

  /* General image and container responsive rules for mobile */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__container,
  .page-about__hero-section,
  .page-about__mission-vision,
  .page-about__why-choose-us,
  .page-about__responsible-gaming,
  .page-about__faq-section,
  .page-about__contact-cta,
  .page-about__card,
  .page-about__text-block,
  .page-about__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__hero-section {
    padding-top: 10px;
  }
  .page-about__hero-image-wrapper {
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
    max-width: calc(100% + 30px);
    border-radius: 0;
  }
}

/* Fixed header spacing - handled by shared.css body padding-top, so page-about__hero-section only needs small top padding */
/* The following are from the homepage template, not directly applicable to About Us but included as per prompt for 'css' field */
@media (max-width:1023px){.page-about__home-hero{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;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;aspect-ratio:1024/768;min-height:240px;max-height:none!important;flex:none!important;overflow:hidden;box-sizing:border-box;width:100%;}.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{display:grid;grid-template-columns:26% 48% 26%;align-items:stretch;max-width:1280px;margin:0 auto;padding-bottom:24px;}.page-about__hero-brand,.page-about__hero-jackpot,.page-about__game-trial{height:300px;max-height:300px;}.page-about__game-trial{overflow:hidden;}.page-about__game-trial-shell{display:flex;flex-direction:column;height:100%;}.page-about__game-trial-viewport{flex:1;min-height:0;}.page-about__game-trial-frame{height:100%;min-height:0;}.page-about__hero-jackpot-claim{background:#c62828!important;}.page-about__promo-strip{margin-top:16px;}}
@media (max-width:768px){.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__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;}