/* style/about.css */

/* --- General Styles --- */
.page-about {
    font-family: 'Arial', sans-serif;
    color: #FFF3E6; /* Text Main */
    background-color: #0D0E12; /* Background */
    line-height: 1.6;
}

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

.page-about__section-title {
    font-size: 2.5em;
    color: #FF8C1A; /* Main color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-about__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #FFF3E6; /* Text Main */
    text-align: justify;
}

/* --- Hero Section --- */
.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image block first, then content block */
    align-items: center;
    padding-bottom: 60px; /* Space below content */
    padding-top: 10px; /* Small top padding, body handles header-offset */
    background-color: #0D0E12;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Max height for the hero image */
    overflow: hidden;
    margin-bottom: 40px; /* Space between image and content */
}

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

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

.page-about__main-title {
    font-weight: bold;
    color: #FFB04D; /* Glow color for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 176, 77, 0.5);
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
}

.page-about__hero-description {
    font-size: 1.2em;
    color: #FFF3E6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.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.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #FFF3E6;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-about__btn-primary:hover {
    background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
    box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
    transform: translateY(-2px);
}

.page-about__btn-secondary {
    background-color: transparent;
    color: #FF8C1A;
    border: 2px solid #FF8C1A;
}

.page-about__btn-secondary:hover {
    background-color: #FF8C1A;
    color: #0D0E12;
    border-color: #FF8C1A;
    transform: translateY(-2px);
}

/* --- Introduction Section --- */
.page-about__introduction-section {
    padding: 80px 0;
    background-color: #0D0E12; /* Background */
    color: #FFF3E6; /* Text Main */
}

.page-about__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* --- Mission Vision Section --- */
.page-about__mission-vision-section {
    padding: 80px 0;
    background-color: #17191F; /* Card BG */
    color: #FFF3E6; /* Text Main */
}

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

.page-about__card {
    background-color: #0D0E12; /* Background */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #FFF3E6; /* Text Main */
}

.page-about__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 140, 26, 0.3);
}

.page-about__card-title {
    font-size: 1.8em;
    color: #FFB04D; /* Glow color */
    margin-bottom: 15px;
    text-align: center;
}

.page-about__card-text {
    font-size: 1em;
    line-height: 1.7;
    text-align: justify;
}

.page-about__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-about__list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 1em;
    color: #FFF3E6;
}

.page-about__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FFA53A; /* Auxiliary color */
    font-weight: bold;
}

.page-about__list-item-strong {
    color: #FFB04D; /* Glow color */
}

/* --- Features Section --- */
.page-about__features-section {
    padding: 80px 0;
    background-color: #0D0E12; /* Background */
    color: #FFF3E6; /* Text Main */
}

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

.page-about__feature-item {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #FFF3E6; /* Text Main */
}

.page-about__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 140, 26, 0.3);
}

.page-about__feature-icon {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-about__feature-title {
    font-size: 1.5em;
    color: #FFA53A; /* Auxiliary color */
    margin-bottom: 15px;
}

.page-about__feature-description {
    font-size: 1em;
    line-height: 1.7;
    text-align: justify;
}

/* --- Responsible Gambling Section --- */
.page-about__responsible-gambling-section {
    padding: 80px 0;
    background-color: #17191F; /* Card BG */
    color: #FFF3E6; /* Text Main */
    text-align: center;
}

/* --- CTA Section --- */
.page-about__cta-section {
    padding: 80px 0;
    background-color: #0D0E12; /* Background */
    color: #FFF3E6; /* Text Main */
    text-align: center;
}

.page-about__cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- FAQ Section --- */
.page-about__faq-section {
    padding: 80px 0;
    background-color: #0D0E12; /* Background */
    color: #FFF3E6; /* Text Main */
}

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

.page-about__faq-item {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-about__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFB04D; /* Glow color */
    cursor: pointer;
    list-style: none; /* Hide default marker */
    position: relative;
}

.page-about__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-about__faq-question {
    flex-grow: 1;
    text-align: left;
}

.page-about__faq-toggle {
    font-size: 1.5em;
    margin-left: 20px;
    line-height: 1;
}

.page-about__faq-answer {
    padding: 0 30px 20px;
    font-size: 1em;
    color: #FFF3E6;
    line-height: 1.7;
    text-align: justify;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__main-title {
        font-size: clamp(2em, 4.5vw, 3em);
    }
    .page-about__grid-2-col {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    .page-about__grid-3-col {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-about__container {
        padding: 0 15px;
    }
    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-about__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }
    .page-about__hero-description {
        font-size: 1.1em;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-about__hero-section,
    .page-about__introduction-section,
    .page-about__mission-vision-section,
    .page-about__features-section,
    .page-about__responsible-gambling-section,
    .page-about__cta-section,
    .page-about__faq-section {
        padding: 50px 0;
    }

    /* Mobile image responsiveness */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-about__hero-image-wrapper,
    .page-about__introduction-section,
    .page-about__mission-vision-section,
    .page-about__features-section,
    .page-about__responsible-gambling-section,
    .page-about__cta-section,
    .page-about__faq-section,
    .page-about__grid-2-col,
    .page-about__grid-3-col,
    .page-about__card,
    .page-about__feature-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-about__hero-section {
        padding-top: 10px !important; /* body handles header-offset */
    }
    .page-about__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-about__hero-content {
        padding: 0 15px;
    }
    .page-about__faq-item summary {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-about__faq-answer {
        padding: 0 20px 15px;
    }
    .page-about__grid-2-col, .page-about__grid-3-col {
        grid-template-columns: 1fr; /* Stack columns on mobile */
    }
}