/* Custom Colors */
:root {
    --page-about-primary-color: #2F6BFF;
    --page-about-secondary-color: #6FA3FF;
    --page-about-button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --page-about-card-bg: #FFFFFF;
    --page-about-background: #F4F7FB;
    --page-about-text-main: #1F2D3D;
    --page-about-text-dark: #000000;
    --page-about-border-color: #D6E2FF;
    --page-about-glow-color: #A5C4FF;
}

.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--page-about-text-main);
    background-color: var(--page-about-background);
}

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

.page-about__section-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--page-about-text-main);
    text-align: center;
    margin-bottom: 25px;
    margin-top: 60px;
}

.page-about__subsection-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--page-about-text-main);
    margin-top: 35px;
    margin-bottom: 15px;
}

.page-about__section-description {
    font-size: 18px;
    color: #555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-about__hero-section {
    padding-top: 10px;
    padding-bottom: 60px;
    background: linear-gradient(180deg, var(--page-about-primary-color) 0%, var(--page-about-secondary-color) 100%);
    color: #ffffff;
    text-align: center;
}

.page-about__hero-section .page-about__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-about__main-title {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 800px;
}

.page-about__hero-description {
    font-size: 20px;
    line-height: 1.5;
    max-width: 700px;
    margin-bottom: 30px;
}

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

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__feature-link,
.page-about__faq-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background: var(--page-about-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-about__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn-secondary {
    background: #ffffff;
    color: var(--page-about-primary-color);
    border: 2px solid var(--page-about-primary-color);
}

.page-about__btn-secondary:hover {
    background: var(--page-about-primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-about__hero-image-wrapper {
    margin-top: 30px;
    width: 100%;
    max-width: 1000px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-about__intro-section {
    padding: 60px 0;
    background: var(--page-about-background);
}

.page-about__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-about__text-block p {
    margin-bottom: 15px;
    font-size: 17px;
    color: var(--page-about-text-main);
}

.page-about__image-block {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__content-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-about__values-section {
    padding: 80px 0;
    background: var(--page-about-primary-color);
    color: #ffffff;
    text-align: center;
}

.page-about__values-section .page-about__section-title,
.page-about__values-section .page-about__section-description {
    color: #ffffff;
}

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

.page-about__value-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

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

.page-about__value-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #f0f0f0;
}

.page-about__values-image {
    max-width: 900px;
    margin: 50px auto 0;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-about__why-choose-section {
    padding: 80px 0;
    background: var(--page-about-background);
}

.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: var(--page-about-card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-about__feature-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--page-about-text-main);
    margin-bottom: 15px;
}

.page-about__feature-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-about__feature-link {
    background: var(--page-about-primary-color);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    align-self: flex-start;
    border: none;
}

.page-about__feature-link:hover {
    background: var(--page-about-secondary-color);
}

.page-about__team-section {
    padding: 80px 0;
    background: var(--page-about-background);
}

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

.page-about__team-member {
    background: var(--page-about-card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.page-about__team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid var(--page-about-primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-about__member-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--page-about-text-main);
    margin-bottom: 10px;
}

.page-about__member-role {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.page-about__commitment-section {
    padding: 80px 0;
    background: var(--page-about-primary-color);
    color: #ffffff;
    text-align: center;
}

.page-about__commitment-section .page-about__section-title,
.page-about__commitment-section .page-about__section-description {
    color: #ffffff;
}

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

.page-about__commitment-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__commitment-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

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

.page-about__commitment-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #f0f0f0;
}

.page-about__cta-bottom {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-about__commitment-image {
    max-width: 1000px;
    margin: 50px auto 0;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-about__faq-section {
    padding: 80px 0;
    background: var(--page-about-background);
}

.page-about__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ styles from prompt */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--page-about-border-color);
  overflow: hidden;
  background: var(--page-about-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;
}
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: var(--page-about-text-main);
}
.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: var(--page-about-text-main);
}
.page-about__faq-answer p {
    margin-bottom: 10px;
    font-size: 16px;
}
.page-about__faq-link {
    display: inline-block;
    margin-top: 10px;
    background: var(--page-about-primary-color);
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 15px;
    text-decoration: none;
}
.page-about__faq-link:hover {
    background: var(--page-about-secondary-color);
}

/* --- Responsive styles --- */
/* General images and containers for mobile */
.page-about img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-about__section,
.page-about__card,
.page-about__container,
.page-about__hero-image-wrapper,
.page-about__image-block,
.page-about__values-image,
.page-about__commitment-image {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Buttons and button containers for mobile */
.page-about__cta-buttons,
.page-about__cta-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

@media (max-width: 1023px) {
    .page-about__main-title {
        font-size: 36px;
    }
    .page-about__hero-description {
        font-size: 18px;
    }
    .page-about__section-title {
        font-size: 32px;
    }
    .page-about__subsection-title {
        font-size: 24px;
    }
    .page-about__content-grid {
        grid-template-columns: 1fr;
    }
    .page-about__image-block {
        order: -1;
    }
    .page-about__values-grid,
    .page-about__features-grid,
    .page-about__team-grid,
    .page-about__commitment-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-about__container {
        padding: 0 15px;
    }
    .page-about__hero-section {
        padding-top: 10px;
        padding-bottom: 40px;
    }
    .page-about__main-title {
        font-size: 30px;
        margin-bottom: 10px;
    }
    .page-about__hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .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,
    .page-about__cta-bottom {
        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__section-title {
        font-size: 28px;
        margin-top: 40px;
        margin-bottom: 20px;
    }
    .page-about__subsection-title {
        font-size: 22px;
    }
    .page-about__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-about__intro-section,
    .page-about__values-section,
    .page-about__why-choose-section,
    .page-about__team-section,
    .page-about__commitment-section,
    .page-about__faq-section {
        padding: 40px 0;
    }
    .page-about__text-block p,
    .page-about__value-card p,
    .page-about__feature-card p,
    .page-about__member-role,
    .page-about__commitment-item p {
        font-size: 15px;
    }
    .page-about__value-title,
    .page-about__feature-title,
    .page-about__member-name,
    .page-about__commitment-title {
        font-size: 20px;
    }

    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-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-about__section,
    .page-about__card,
    .page-about__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Boilerplate CSS from prompt, kept as is for requirement adherence */
@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;}