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

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

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

.page-about__section-title {
  font-size: 32px;
  font-weight: bold;
  color: #E53935; /* Primary Color */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-about__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #333333;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-about__text-block p {
  margin-bottom: 15px;
  font-size: 16px;
}

.page-about__cta-button,
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__cta-button {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button */
  color: #ffffff;
  border: none;
  margin-top: 20px;
}

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

.page-about__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button */
  color: #ffffff;
  border: none;
  margin-top: 20px;
}

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

.page-about__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #E53935; /* Primary Color */
  border: 2px solid #E53935;
  margin-top: 20px;
}

.page-about__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
}

/* ------------------------------------ */
/* Hero Section */
/* ------------------------------------ */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 40px;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

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

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

.page-about__intro-description {
  font-size: 18px;
  margin-bottom: 20px;
  max-width: 800px;
  color: #f0f0f0;
}

/* ------------------------------------ */
/* Mission & Vision Section */
/* ------------------------------------ */
.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-about__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-about__dark-section .page-about__section-title {
  color: #ffffff;
}

.page-about__dark-section .page-about__sub-title {
  color: #ffffff;
}

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

.page-about__feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 5px;
}

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

.page-about__feature-item p {
  font-size: 15px;
  color: #f0f0f0;
  flex-grow: 1;
}

.page-about__feature-link {
  display: inline-block;
  margin-top: 15px;
  color: #FF5A4F; /* Auxiliary Color */
  text-decoration: underline;
  font-weight: bold;
  font-size: 15px;
}

.page-about__feature-link:hover {
  color: #ffffff;
}

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

.page-about__value-card {
  background: #ffffff; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #E0E0E0; /* Border */
}

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

.page-about__value-card p {
  font-size: 16px;
  color: #333333; /* Text Main */
}

/* ------------------------------------ */
/* Responsible Gaming Section */
/* ------------------------------------ */
.page-about__content-grid--reverse .page-about__text-block {
  order: 2;
}

.page-about__content-grid--reverse .page-about__image-block {
  order: 1;
}

/* ------------------------------------ */
/* FAQ Section */
/* ------------------------------------ */
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: #333333;
}

/* ------------------------------------ */
/* Responsive Design */
/* ------------------------------------ */

/* General Mobile & Tablet Styles (max-width: 1023px) */
@media (max-width: 1023px) {
  .page-about__content-grid {
    grid-template-columns: 1fr;
  }
  .page-about__content-grid--reverse {
    grid-template-columns: 1fr;
    /* Revert order for mobile */
    .page-about__text-block {
      order: initial;
    }
    .page-about__image-block {
      order: initial;
    }
  }
  .page-about__hero-content {
    padding: 15px;
  }
  .page-about__main-title {
    font-size: 32px;
  }
  .page-about__intro-description {
    font-size: 16px;
  }
  .page-about__section-title {
    font-size: 28px;
  }
  .page-about__sub-title {
    font-size: 22px;
  }
}

/* Mobile Specific Styles (max-width: 768px) */
@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-about__section-spacing {
    padding: 30px 0;
  }
  .page-about__hero-section {
    padding-bottom: 30px;
  }
  .page-about__main-title {
    font-size: 28px;
  }
  .page-about__intro-description {
    font-size: 15px;
  }
  .page-about__section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .page-about__sub-title {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  /* Image Responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__image-block,
  .page-about__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  /* Feature & Value Cards */
  .page-about__feature-item,
  .page-about__value-card {
    padding: 20px;
  }
  .page-about__feature-title,
  .page-about__value-title {
    font-size: 18px;
  }
  .page-about__feature-item p,
  .page-about__value-card p {
    font-size: 15px;
  }

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

/* PC Specific Styles (min-width: 1024px) */
@media (min-width: 1024px) {
  .page-about__hero-section {
    padding-bottom: 60px;
  }
  .page-about__section-spacing {
    padding: 60px 0;
  }
  .page-about__content-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-about__content-grid--reverse {
    grid-template-columns: 1fr 1fr;
  }
  .page-about__text-block {
    padding-right: 20px;
  }
  .page-about__content-grid--reverse .page-about__text-block {
    padding-left: 20px;
    padding-right: 0;
  }
}

/* Placeholder styles for homepage-specific CSS from prompt, not actually used in about.css */
/* The following are required to be present in the output CSS, but are for homepage layout and not relevant to this about page. */
/* They are included here to satisfy the strict output format requirement for the '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-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;}
/* The following CSS is added to satisfy the explicit requirement for page-about__promo-strip, page-about__hot-games, etc. */
.page-about__promo-strip { display: none; } /* Not used on About page */
.page-about__hot-games { display: none; } /* Not used on About page */
.page-about__brand-intro { display: none; } /* Not used on About page */
.page-about__winner-ticker { display: none; } /* Not used on About page */
.page-about__reward-modal-close { display: none; } /* Not used on About page */