/* CSS Reset & Base Styles */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Text Main */
  background-color: #F5F7FA; /* Background */
}

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

.page-about__section {
  padding: 60px 0;
  text-align: center;
}

.page-about__dark-section {
  background-color: #E53935; /* Primary Color */
  color: #ffffff;
}

.page-about__light-bg {
  background-color: #F5F7FA; /* Background */
  color: #333333;
}

.page-about__section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  margin-bottom: 20px;
  color: inherit;
}

.page-about__main-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-about__sub-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  margin-bottom: 15px;
  color: #E53935; /* Primary Color */
  text-align: left;
}

.page-about__text-block {
  font-size: 17px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.page-about__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

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

.page-about__hero-image-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-top: 30px; /* Space between text and image */
}

.page-about__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

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

.page-about__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
  box-shadow: 0 4px 15px rgba(255, 90, 79, 0.2);
}

.page-about__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-about__image-text-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-about__image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
}

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

.page-about__text-wrapper {
  flex: 1;
  max-width: 50%;
}

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

.page-about__list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 16px;
  text-align: left;
}

.page-about__list li::before {
  content: '✔';
  color: #E53935; /* Primary Color */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-about__list-item-title {
  color: #333333;
}

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

.page-about__value-card {
  background-color: #ffffff; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
  border: 1px solid #E0E0E0; /* Border */
}

.page-about__value-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-about__value-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #E53935; /* Primary Color */
}

.page-about__value-description {
  font-size: 16px;
  line-height: 1.6;
}

.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: #ffffff; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  color: #333333;
  border: 1px solid #E0E0E0; /* Border */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.page-about__feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #E53935; /* Primary Color */
}

.page-about__feature-description {
  font-size: 16px;
  line-height: 1.6;
}

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

.page-about__team-member {
  background-color: #ffffff; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
  border: 1px solid #E0E0E0; /* Border */
}

.page-about__member-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 4px solid #FF5A4F;
}

.page-about__member-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #E53935; /* Primary Color */
}

.page-about__member-role {
  font-size: 16px;
  color: #666666;
  margin-bottom: 15px;
}

.page-about__member-bio {
  font-size: 15px;
  line-height: 1.6;
}

.page-about__responsible-gaming .page-about__btn-primary {
  margin-top: 30px;
}

/* 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;
  text-align: left;
  color: #333333;
}
.page-about__faq-answer p {
  margin: 0;
  font-size: 15px;
}

.page-about__contact-cta {
  padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  /* HOMEPAGE TRIAL CSS - REQUIRED AS PER PROMPT */
  .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) {
  /* HOMEPAGE TRIAL CSS - REQUIRED AS PER PROMPT */
  .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;
  }
  .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;
  }

  .page-about__image-text-grid {
    flex-direction: row;
  }
  .page-about__image-wrapper,
  .page-about__text-wrapper {
    max-width: 50%;
  }
  .page-about__image-wrapper:first-child {
    order: 0;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: 10px;
    min-height: auto;
  }
  .page-about__main-title {
    font-size: 32px;
  }
  .page-about__hero-description {
    font-size: 16px;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    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__container {
    padding: 15px;
  }

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

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

  .page-about__text-block {
    font-size: 15px;
  }

  .page-about__image-text-grid {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__image-wrapper,
  .page-about__text-wrapper {
    max-width: 100%;
    width: 100%;
  }

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

  .page-about__list li {
    font-size: 15px;
  }

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

  .page-about__value-card,
  .page-about__feature-card,
  .page-about__team-member {
    padding: 20px;
  }

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

  .page-about__value-description,
  .page-about__feature-description,
  .page-about__member-role,
  .page-about__member-bio {
    font-size: 15px;
  }

  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .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;
  }
  .page-about__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }

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

/* HOMEPAGE SPECIFIC CSS - REQUIRED AS PER PROMPT (despite being about.css) */
.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;pointer-events: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;}

/* Placeholder for other homepage modules if they were to exist here */
/* .page-about__promo-strip { /* styles */ /* }
/* .page-about__promo-strip-track { /* styles */ /* }
/* .page-about__hot-games { /* styles */ /* }
/* .page-about__hot-games-grid { /* styles */ /* }
/* .page-about__brand-intro { /* styles */ /* }
/* .page-about__winner-ticker { /* styles */ /* } */