/* CSS cho trang About Us */
.page-about {
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy - body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-about__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #08162B; /* Deep Navy */
}

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

.page-about__main-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #F3F8FF; /* Text Main */
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-about__description {
  font-size: 1.15em;
  margin-bottom: 30px;
  color: #AFC4E8; /* Text Secondary */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1000px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-about__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  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 6px 15px rgba(43, 115, 246, 0.4);
}

.page-about__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F3F8FF; /* Text Main */
  line-height: 1.3;
}

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

.page-about__intro-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: -20px auto 40px auto;
  color: #AFC4E8; /* Text Secondary */
}

.page-about__text-block p {
  margin-bottom: 15px;
  color: #F3F8FF; /* Text Main */
}

.page-about__content-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 25px;
  display: block;
}

.page-about__center-image {
  text-align: center;
}

/* Mission, Vision & Values Section */
.page-about__mission-vision {
  padding: 60px 0;
  background-color: #10233F; /* Card BG */
}

.page-about__values-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about__values-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #F3F8FF; /* Text Main */
}

.page-about__values-list li::before {
  content: '✓';
  color: #F2C14E; /* Gold */
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* History Section */
.page-about__history-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

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

.page-about__milestones-list {
  list-style: decimal;
  padding-left: 20px;
  color: #F3F8FF; /* Text Main */
}

.page-about__milestones-list li {
  margin-bottom: 10px;
  color: #F3F8FF; /* Text Main */
}

.page-about__milestones-list li strong {
  color: #F2C14E; /* Gold */
}

/* Why Choose Us Section */
.page-about__why-choose-us {
  padding: 60px 0;
  background-color: #10233F; /* Card BG */
}

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

.page-about__feature-item {
  background-color: #08162B; /* Deep Navy */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  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;
}

.page-about__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 15px #4FA8FF; /* Glow */
}

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

.page-about__feature-item p {
  color: #AFC4E8; /* Text Secondary */
}

/* Responsible Gaming Section */
.page-about__responsible-gaming {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

.page-about__responsible-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about__responsible-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #F3F8FF; /* Text Main */
}

.page-about__responsible-list li::before {
  content: '•';
  color: #1D5FD1; /* Auxiliary color */
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
}

.page-about__btn-secondary {
  display: inline-block;
  background: #10233F; /* Card BG */
  color: #F2C14E; /* Gold */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #244D84; /* Border */
  margin-top: 20px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

/* Customer Support Section */
.page-about__customer-support {
  padding: 60px 0;
  background-color: #10233F; /* Card BG */
}

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

.page-about__support-item {
  background-color: #08162B; /* Deep Navy */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-about__support-item p {
  color: #AFC4E8; /* Text Secondary */
}

/* FAQ Section */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
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.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: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  transition: transform 0.3s ease;
}
details[open].page-about__faq-item .page-about__faq-toggle {
  transform: rotate(45deg);
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 5px 5px;
  color: #AFC4E8; /* Text Secondary */
}

/* CTA Section */
.page-about__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #113B7A; /* Primary color */
}

.page-about__cta-button {
  margin-top: 30px;
}

/* --- General Responsive Styles --- */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.page-about__cta-buttons,
.page-about__button-group,
.page-about__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* --- Homepage Trial Layout CSS (MUST BE INCLUDED AS PER INSTRUCTION) --- */
@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;
    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 {
    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;
  }
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-about__hero-section {
    padding-bottom: 30px;
  }
  .page-about__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-about__description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-about__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__sub-title {
    font-size: 1.4em;
  }
  .page-about__intro-text {
    font-size: 1em;
    margin: -10px auto 30px auto;
  }
  
  .page-about__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .page-about__feature-item,
  .page-about__support-item {
    padding: 25px;
  }

  .page-about__feature-title,
  .page-about__support-title {
    font-size: 1.3em;
  }

  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px;
  }
  .page-about__faq-qtext {
    font-size: 1em;
  }
  .page-about__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 15px 15px;
  }

  /* General image and container responsive styles */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__container,
  .page-about__hero-image-wrapper,
  .page-about__content-grid,
  .page-about__features-grid,
  .page-about__support-grid,
  .page-about__faq-list,
  .page-about__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button responsive styles */
  .page-about__cta-button,
  .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-left: 15px;
    padding-right: 15px;
  }
  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-about__cta-buttons {
    display: flex;
    flex-direction: column;
  }
  
  /* Placeholder for homepage specific elements that need 768px rules */
  /* .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__brand-intro { display: block; } */
  /* .page-about__winner-ticker { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 999; } */
}

/* The following are from the homepage template, included as per instruction */
.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;}
.page-about__reward-modal.is-hidden{display:none!important;}
.page-about__reward-modal-close{position:absolute;top:15px;right:15px;font-size:24px;color:#fff;cursor:pointer;background:none;border:none;z-index:10001;}