/* 🚨 Homepage Trial Game Specific CSS - MUST BE INCLUDED AS PER INSTRUCTIONS */
@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 Specific CSS for other modules - MUST BE INCLUDED AS PER INSTRUCTIONS */
@media (max-width: 768px) {
  /* General image and container responsiveness */
  .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__security-fairness,
  .page-about__responsible-gaming,
  .page-about__core-values,
  .page-about__faq-section,
  .page-about__contact-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button responsiveness */
  .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__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; 
  }

  /* Hero Section */
  .page-about__hero-section {
    flex-direction: column;
    padding-top: 10px; /* Small top padding */
  }
  .page-about__hero-image-wrapper {
    width: 100%;
    margin-bottom: 20px;
  }
  .page-about__hero-content {
    text-align: center;
  }
  .page-about__main-title {
    font-size: 28px;
  }

  /* Mission & Vision */
  .page-about__content-grid {
    grid-template-columns: 1fr;
  }
  .page-about__mission-card, .page-about__vision-card {
    margin-bottom: 20px;
  }

  /* Why Choose Us */
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }

  /* Security & Responsible Gaming */
  .page-about__content-flex {
    flex-direction: column;
  }
  .page-about__content-flex--reverse {
    flex-direction: column;
  }
  .page-about__image-block {
    width: 100%;
    margin-bottom: 20px;
  }

  /* Core Values */
  .page-about__values-grid {
    grid-template-columns: 1fr;
  }

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

/* Page-specific styles */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background: #FFFFFF;
}

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

.page-about__section-title {
  font-size: 36px;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-about__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 50px;
  background: #FFFFFF;
  color: #333333;
}

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

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

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

.page-about__main-title {
  font-size: clamp(28px, 4vw, 48px);
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.page-about__intro-text {
  font-size: 18px;
  margin-bottom: 30px;
}

.page-about__btn-primary {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  background: #1e87c0;
}

.page-about__dark-section {
  background: #26A9E0;
  color: #ffffff;
  padding: 60px 0;
}

.page-about__light-bg {
  background: #ffffff;
  color: #333333;
  padding: 60px 0;
}

.page-about__mission-vision {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-about__mission-card, .page-about__vision-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-about__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-about__card-title {
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__mission-card p, .page-about__vision-card p {
  font-size: 16px;
  line-height: 1.7;
}

.page-about__why-choose-us {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-about__feature-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-about__feature-card .page-about__card-title {
  color: #26A9E0;
  font-size: 22px;
  margin-bottom: 15px;
}

.page-about__feature-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
}

.page-about__security-fairness, .page-about__responsible-gaming {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-about__content-flex {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

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

.page-about__text-block {
  flex: 1;
}

.page-about__text-block p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.page-about__core-values {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-about__value-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.page-about__value-item p {
  font-size: 15px;
  line-height: 1.6;
}

/* FAQ Styles */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
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: #f5f5f5;
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

.page-about__contact-cta {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-about__btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: #26A9E0;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid #26A9E0;
  margin-top: 20px;
}

.page-about__btn-secondary:hover {
  background: #26A9E0;
  color: #ffffff;
  border-color: #26A9E0;
}

/* Homepage specific overlay/modal styles (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;}