/* Mandatory Homepage Game Trial CSS (even for non-homepage as per strict 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;
  }
}

/* Mandatory elements for homepage, even if not explicitly used on about.html */
.page-about__promo-strip-track { /* Placeholder for promo strip grid */ }
.page-about__hot-games-grid { /* Placeholder for hot games grid */ }
.page-about__brand-intro { /* Placeholder for brand intro */ }
.page-about__winner-ticker { /* Placeholder for winner ticker */ }
.page-about__reward-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.page-about__reward-modal:not([hidden]) {
    visibility: visible;
    opacity: 1;
}
.page-about__reward-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    position: relative;
}
.page-about__reward-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}
.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__home-hero { /* Placeholder for home hero, not used on about.html */ }
.page-about__hero-brand, .page-about__hero-jackpot { /* Placeholders */ }


/* Page-specific CSS for About Us */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    background: #F4F7FB; /* Background */
}

.page-about__section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.page-about__dark-section {
    background: #2F6BFF; /* Main color as background */
    color: #ffffff;
}

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

.page-about__section-title {
    font-size: 38px;
    font-weight: bold;
    color: #000000; /* Custom Color_1776249996415 */
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

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

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

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 40px;
    background-color: #F4F7FB; /* Match body background */
}

.page-about__hero-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    object-fit: cover;
}

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

.page-about__main-title {
    font-size: clamp(28px, 4vw, 48px); /* Using clamp for H1 font size */
    font-weight: 800;
    color: #1F2D3D;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-about__subtitle {
    font-size: 18px;
    color: #1F2D3D;
    margin-bottom: 30px;
}

/* CTA Buttons */
.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-about__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-about__btn-secondary {
    background: #ffffff; /* Card BG */
    color: #2F6BFF; /* Main color */
    border: 2px solid #2F6BFF; /* Main color */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-about__btn-secondary:hover {
    background: #F4F7FB; /* Background */
    color: #1F2D3D; /* Text Main */
    border-color: #1F2D3D; /* Text Main */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-about__btn-inline {
    background: none;
    color: #2F6BFF; /* Main color */
    border: 1px solid #2F6BFF;
    padding: 8px 15px;
    font-size: 14px;
    margin-top: 10px;
    display: inline-block;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-inline:hover {
    background: #2F6BFF;
    color: #ffffff;
}

/* Mission & Vision Section */
.page-about__mission-vision-section .page-about__container,
.page-about__team-section .page-about__container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-about__mission-vision-section .page-about__content-block,
.page-about__team-section .page-about__content-block {
    flex: 1;
}

.page-about__mission-vision-section .page-about__image-block,
.page-about__team-section .page-about__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-about__image-center {
    display: block;
    margin: 30px auto 0 auto;
}

/* Why Choose Section */
.page-about__why-choose-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.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: #ffffff; /* Card BG */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #1F2D3D; /* Text Main */
}

.page-about__feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.page-about__feature-card .page-about__card-title {
    font-size: 22px;
    font-weight: bold;
    color: #2F6BFF; /* Main color */
    margin-bottom: 15px;
}

.page-about__feature-card p {
    font-size: 15px;
    color: #1F2D3D; /* Text Main */
}

/* Responsible Gaming Section */
.page-about__responsible-gaming-section p {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 17px;
}

/* FAQ Section */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Border color */
  overflow: hidden;
  background: #ffffff; /* Card BG */
}
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: #1F2D3D; /* Text Main */
}
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: #F4F7FB; /* Background */
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D; /* Text Main */
}
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF; /* Main color */
  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; /* Slightly off-white for answer background */
  border-radius: 0 0 5px 5px;
  color: #1F2D3D; /* Text Main */
}
details.page-about__faq-item .page-about__faq-answer p {
    margin-bottom: 10px;
}

/* Bottom CTA Section */
.page-about__cta-bottom-section {
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
}

.page-about__cta-bottom-content {
    max-width: 800px;
}

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

/* Responsive Design */
@media (max-width: 1023px) {
    .page-about__mission-vision-section .page-about__container,
    .page-about__team-section .page-about__container {
        flex-direction: column;
        text-align: center;
    }
    .page-about__mission-vision-section .page-about__image-block,
    .page-about__team-section .page-about__image-block {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-about__section {
        padding: 40px 0;
    }

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

    .page-about__hero-section {
        padding-bottom: 30px;
    }

    .page-about__main-title {
        font-size: 32px;
    }

    .page-about__subtitle {
        font-size: 16px;
    }

    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 300px; /* Constrain button group width */
        padding: 0 15px;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary,
    .page-about__btn-inline {
        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;
      display: flex;
      flex-direction: column;
    }

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

    .page-about__feature-card {
        padding: 25px;
    }

    .page-about__feature-card .page-about__card-title {
        font-size: 20px;
    }

    details.page-about__faq-item summary.page-about__faq-question {
        padding: 15px;
    }
    .page-about__faq-qtext {
        font-size: 16px;
    }
    details.page-about__faq-item .page-about__faq-answer {
        padding: 0 15px 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__content-block,
    .page-about__image-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__cta-bottom-content {
        padding: 0 15px;
    }
    /* Mandatory 768px rules from prompt, even if not directly used */
    .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); }
}

/* Mandatory CSS for `is-hidden` and other elements as per template */
.is-hidden { display: none !important; }