@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;
  }
}

/* Common styles for page-about */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
}

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

.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, assuming shared.css handles body padding-top */
  padding-bottom: 40px;
  text-align: center;
  background-color: #0A0A0A;
}

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

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

.page-about__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-about__intro-text {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #FFF6D6;
}

.page-about__section-title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-about__sub-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-about__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #000000; /* Ensuring contrast on light gradient */
  font-weight: 700;
  font-size: 16px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 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 {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-about__btn-mt {
  margin-top: 25px;
}

.page-about__grid-two-cols {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.page-about__grid-two-cols--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
  min-width: 0;
}

.page-about__text-block p {
  margin-bottom: 15px;
  color: #FFF6D6;
}

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

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

.page-about__core-values .page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-about__card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF6D6;
}

.page-about__card-title {
  font-size: 22px;
  font-weight: 600;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 15px;
}

.page-about__why-list {
  list-style: none;
  padding: 0;
}

.page-about__why-list li {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-about__why-list li:last-child {
  margin-bottom: 0;
}

.page-about__list-title {
  font-size: 20px;
  font-weight: 600;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-about__content-flex {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

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

/* FAQ Section */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12;
  overflow: hidden;
  background: #111111;
  color: #FFF6D6;
}
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: #FFD36B;
}
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: #1a1a1a;
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD36B;
}
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFF6D6;
  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: #0A0A0A;
  border-radius: 0 0 5px 5px;
  color: #FFF6D6;
}

.page-about__cta-bottom {
  text-align: center;
  background-color: #111111;
  padding: 60px 0;
}

.page-about__container--cta-bottom {
  max-width: 900px;
}

.page-about__cta-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #FFF6D6;
}

/* Responsive styles */
@media (max-width: 1023px) {
  .page-about__grid-two-cols {
    flex-direction: column;
    gap: 20px;
  }
  .page-about__grid-two-cols--reverse {
    flex-direction: column;
  }
  .page-about__content-flex {
    flex-direction: column;
    gap: 20px;
  }
  .page-about__content-flex--reverse {
    flex-direction: column;
  }
  .page-about__image-wrapper {
    order: -1; /* Image appears above text on mobile */
  }
  .page-about__why-list li {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .page-about__section {
    padding: 30px 0;
  }
  .page-about__main-title {
    font-size: 28px;
  }
  .page-about__intro-text {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-about__section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .page-about__sub-title {
    font-size: 20px;
  }
  .page-about__card-title {
    font-size: 18px;
  }
  .page-about__why-list li {
    padding: 15px;
  }
  .page-about__list-title {
    font-size: 18px;
  }

  /* Image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__hero-image-wrapper,
  .page-about__image-wrapper,
  .page-about__container,
  .page-about__card,
  .page-about__section,
  .page-about__text-block,
  .page-about__values-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button responsiveness */
  .page-about__btn-primary,
  .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__hero-content .page-about__btn-primary {
    width: auto !important; /* Allow button to shrink if content is short, but max-width 100% still applies */
    max-width: 100% !important;
  }
  .page-about__cta-bottom .page-about__btn-primary {
    width: auto !important;
    max-width: 100% !important;
  }

  /* FAQ specific mobile styles */
  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; }
}

/* Fixed reward modal (from shared) */
.page-about__reward-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.3s ease;
}

.page-about__reward-modal[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
}

.page-about__reward-modal-content {
  background: #111111;
  color: #FFF6D6;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  max-width: 400px;
  width: 90%;
  box-sizing: border-box;
}

.page-about__reward-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: #FFF6D6;
  font-size: 24px;
  cursor: pointer;
}

.page-about--reward-open {
  overflow: hidden; /* Prevent scrolling when modal is open */
}