/* style/about.css */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
}

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

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

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for aesthetic */
    overflow: hidden;
    position: relative;
}

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

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

.page-about__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #F2C14E; /* Primary color for emphasis */
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-about__lead-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #FFF6D6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    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: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Dark text for contrast on bright button */
    border: none;
}

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

.page-about__btn-secondary {
    background: #111111; /* Card BG */
    color: #F2C14E; /* Primary color */
    border: 2px solid #F2C14E;
}

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

/* Section Titles */
.page-about__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #F2C14E;
    text-align: center;
    margin-bottom: 25px;
    padding-top: 40px;
}

.page-about__section-description {
    font-size: 1.1rem;
    color: #FFF6D6;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

/* Vision & Mission Section */
.page-about__vision-mission-section {
    padding: 60px 0;
}

.page-about__grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.page-about__card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #FFF6D6;
}

.page-about__card-title {
    font-size: 1.8rem;
    color: #FFD36B; /* Glow color */
    margin-bottom: 15px;
}

.page-about__card p {
    font-size: 1rem;
    line-height: 1.7;
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
    background-color: #111111; /* Card BG for dark section */
    padding: 60px 0;
}

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

.page-about__feature-item {
    text-align: center;
    background-color: #0A0A0A;
    border: 1px solid #3A2A12;
    border-radius: 12px;
    padding: 30px;
}

.page-about__feature-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-about__feature-title {
    font-size: 1.5rem;
    color: #F2C14E;
    margin-bottom: 10px;
}

.page-about__feature-item p {
    font-size: 0.95rem;
    color: #FFF6D6;
}

/* Our Journey Section */
.page-about__our-journey-section {
    padding: 60px 0;
}

.page-about__journey-timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto;
    padding: 20px 0;
}

.page-about__journey-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: #3A2A12;
    transform: translateX(-50%);
}

.page-about__timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.page-about__timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.page-about__timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.page-about__timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #F2C14E;
    border: 2px solid #3A2A12;
    top: 28px;
    z-index: 1;
}

.page-about__timeline-item:nth-child(odd)::after {
    right: -8px;
}

.page-about__timeline-item:nth-child(even)::after {
    left: -8px;
}

.page-about__timeline-year {
    font-size: 1.6rem;
    color: #FFD36B;
    margin-bottom: 10px;
}

.page-about__timeline-item p {
    font-size: 1rem;
    color: #FFF6D6;
}

/* Responsible Gaming Section */
.page-about__responsible-gaming-section {
    background-color: #111111; /* Card BG for dark section */
    padding: 60px 0;
}

.page-about__responsible-gaming-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 800px;
    text-align: center;
}

.page-about__list-item {
    font-size: 1.1rem;
    color: #FFF6D6;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.page-about__list-item::before {
    content: '✔';
    color: #F2C14E;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-about__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* CTA Section */
.page-about__cta-section {
    padding: 80px 0;
    background: #0A0A0A;
}

.page-about__cta-group--large .page-about__btn-primary,
.page-about__cta-group--large .page-about__btn-secondary {
    min-width: 250px;
    font-size: 1.2rem;
    padding: 18px 35px;
}

/* FAQ Section */
.page-about__faq-section {
    padding: 60px 0;
    background-color: #111111; /* Card BG */
}

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

.page-about__faq-item {
    background-color: #0A0A0A;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #F2C14E;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
    background-color: rgba(242, 193, 78, 0.1);
}

.page-about__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #FFF6D6;
}

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-about__faq-answer p {
    font-size: 1rem;
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-about__grid-layout {
        grid-template-columns: 1fr;
    }

    .page-about__journey-timeline::before {
        left: 20px;
    }

    .page-about__timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
        text-align: left;
    }

    .page-about__timeline-item:nth-child(odd) {
        left: 0;
        text-align: left;
    }

    .page-about__timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }

    .page-about__timeline-item::after {
        left: 12px;
    }

    .page-about__timeline-item:nth-child(odd)::after {
        right: auto;
    }
}

@media (max-width: 768px) {
    .page-about__hero-content {
        padding: 15px;
    }

    .page-about__main-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .page-about__lead-text {
        font-size: 1rem;
    }

    .page-about__cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        font-size: 1rem;
    }

    .page-about__section-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        padding-top: 20px;
    }

    .page-about__section-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-about__container {
        padding: 15px;
    }

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

    .page-about__card,
    .page-about__feature-item {
        padding: 20px;
    }

    .page-about__card-title {
        font-size: 1.5rem;
    }

    .page-about__feature-icon {
        width: 150px;
        height: 150px;
    }

    .page-about__timeline-year {
        font-size: 1.4rem;
    }

    .page-about__list-item {
        font-size: 1rem;
        padding-left: 25px;
    }

    .page-about__list-item::before {
        left: 5px;
    }

    .page-about__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-about__faq-answer {
        padding: 10px 20px;
    }

    /* Mobile image responsiveness */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    .page-about__hero-image-wrapper,
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__feature-item,
    .page-about__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__hero-section { /* Ensure hero section padding is also restricted */
        padding-left: 0;
        padding-right: 0;
    }
    .page-about__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
}