/* style/about.css */
/* Body background is #08160F (dark), so main text color should be #F2FFF6 */
.page-about {
    font-family: Arial, sans-serif;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top spacing as per instruction */
    background-color: #0A4B2C; /* Deep Green */
    overflow: hidden;
    box-sizing: border-box;
}

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

.page-about__hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.page-about__hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
    color: #F2FFF6;
}

.page-about__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #F2FFF6; /* Text Main */
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow */
}

.page-about__description {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #A7D9B8; /* Text Secondary */
}

.page-about__section {
    padding: 60px 20px;
    box-sizing: border-box;
    width: 100%;
}

.page-about__introduction {
    background-color: #0A4B2C; /* Deep Green */
}

.page-about__history {
    background-color: #08160F; /* Background */
}

.page-about__compliance {
    background-color: #11271B; /* Card BG */
}

.page-about__portfolio {
    background-color: #0A4B2C; /* Deep Green */
}

.page-about__customer-support {
    background-color: #08160F; /* Background */
}

.page-about__responsibility {
    background-color: #11271B; /* Card BG */
}

.page-about__why-choose-us {
    background-color: #0A4B2C; /* Deep Green */
}

.page-about__future-vision {
    background-color: #08160F; /* Background */
}

.page-about__cta {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Button gradient for CTA section */
    color: #000000; /* Dark text for light background */
    padding: 80px 20px;
}

.page-about__cta-content {
    text-align: center;
    max-width: 800px;
}

.page-about__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #F2FFF6; /* Text Main */
}

.page-about__cta .page-about__section-title {
    color: #000000; /* Dark text for light background */
}

.page-about__cta p {
    color: #333333; /* Dark text for light background */
    margin-bottom: 40px;
}

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

.page-about p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #A7D9B8; /* Text Secondary */
}

.page-about__introduction p {
    color: #F2FFF6;
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    color: #F2FFF6; /* Text Main */
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-about__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-about__btn-secondary {
    background-color: transparent;
    color: #57E38D; /* Glow */
    border: 2px solid #57E38D; /* Glow */
    margin-left: 15px;
}

.page-about__btn-secondary:hover {
    background-color: #57E38D; /* Glow */
    color: #08160F; /* Background */
    transform: translateY(-3px);
}

.page-about__btn--centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    max-width: 300px;
}

.page-about__two-column-layout {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-about__two-column-layout--reverse {
    flex-direction: row-reverse;
}

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

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

.page-about__image-block img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-about__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-about__feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #F2FFF6; /* Text Main */
}

.page-about__icon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #F2C14E; /* Gold */
}

/* Placeholder icons for demonstration */
.page-about__icon--license::before { content: '✓'; }
.page-about__icon--encryption::before { content: '🔒'; }
.page-about__icon--fairplay::before { content: '⚖'; }
.page-about__icon--responsible::before { content: '🤝'; }

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

.page-about__game-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.page-about__game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-about__card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 20px 20px 10px;
    color: #F2C14E; /* Gold */
}

.page-about__card-title a {
    color: #F2C14E; /* Gold */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-about__card-title a:hover {
    color: #57E38D; /* Glow */
}

.page-about__game-card p {
    font-size: 0.95rem;
    color: #A7D9B8; /* Text Secondary */
    padding: 0 20px 20px;
    margin-bottom: 0;
}

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

.page-about__feature-item {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-about__feature-icon {
    font-size: 3rem;
    color: #F2C14E; /* Gold */
    margin-bottom: 20px;
    display: block;
}

/* Placeholder feature icons */
.page-about__feature-icon--security::before { content: '🛡️'; }
.page-about__feature-icon--variety::before { content: '🎮'; }
.page-about__feature-icon--promotions::before { content: '🎁'; }
.page-about__feature-icon--support::before { content: '📞'; }
.page-about__feature-icon--fairness::before { content: '✅'; }
.page-about__feature-icon--mobile::before { content: '📱'; }

.page-about__feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #F2FFF6; /* Text Main */
}

.page-about__feature-item p {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 0;
}

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

.page-about__cta-buttons .page-about__btn-primary,
.page-about__cta-buttons .page-about__btn-secondary {
    margin-left: 0; /* Override default margin */
}

.page-about__faq-section {
    background-color: #11271B; /* Card BG */
}

.page-about__faq-list {
    margin-top: 40px;
}

.page-about__faq-item {
    background-color: #0A4B2C; /* Deep Green */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    border-bottom: 1px solid #1E3A2A; /* Divider */
    list-style: none; /* Remove default marker */
}

.page-about__faq-question::-webkit-details-marker {
    display: none;
}

.page-about__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #F2C14E; /* Gold */
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
    transform: rotate(45deg);
}

.page-about__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #A7D9B8; /* Text Secondary */
}

.page-about__faq-answer p {
    margin-bottom: 0;
    color: #A7D9B8; /* Text Secondary */
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-about__two-column-layout {
        flex-direction: column;
        text-align: center;
    }
    .page-about__two-column-layout--reverse {
        flex-direction: column;
    }
    .page-about__text-block, .page-about__image-block {
        width: 100%;
    }
    .page-about__image-block img {
        max-width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }
    .page-about__main-title {
        font-size: 2rem;
    }
    .page-about__description {
        font-size: 1rem;
    }
    .page-about__section-title {
        font-size: 1.8rem;
    }
    .page-about__section {
        padding: 40px 15px;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        font-size: 1rem;
        padding: 12px 25px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .page-about__btn-secondary {
        margin-top: 15px;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__game-card img {
        
    }
    .page-about__game-grid,
    .page-about__feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-about__game-card,
    .page-about__feature-item,
    .page-about__faq-item,
    .page-about__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__hero-image-wrapper img,
    .page-about__image-block img,
    .page-about__game-card img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-about__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-about__faq-answer {
        padding: 10px 20px 15px;
    }
}