/* style/about.css */
.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css, which is #000 */
}

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

.page-about__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    padding-bottom: 60px;
    text-align: center;
    background: linear-gradient(135deg, #8B0000, #FFD700); /* Brand colors gradient */
    color: #ffffff;
    overflow: hidden; /* Ensure image overflow is handled */
}

.page-about__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff; /* White text for contrast */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.page-about__description {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

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

.page-about__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-about__cta-button--primary {
    background: #FFD700; /* Primary brand color */
    color: #8B0000; /* Contrasting text for primary button */
    border: 2px solid #FFD700;
}

.page-about__cta-button--primary:hover {
    background: #e6c200;
    border-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__cta-button--secondary {
    background: #8B0000; /* Secondary brand color */
    color: #FFD700; /* Contrasting text for secondary button */
    border: 2px solid #8B0000;
}

.page-about__cta-button--secondary:hover {
    background: #6a0000;
    border-color: #6a0000;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-about__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #FFD700; /* Brand color for titles */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.page-about__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: -20px auto 60px auto;
    color: #f0f0f0;
}

.page-about__mission-vision-section,
.page-about__why-choose-us-section,
.page-about__responsible-gambling-section,
.page-about__security-licensing-section,
.page-about__customer-support-section,
.page-about__cta-section {
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for contrast on dark body */
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Alternate section background for visual separation */
.page-about__why-choose-us-section,
.page-about__security-licensing-section {
    background-color: rgba(139, 0, 0, 0.2); /* Transparent dark red */
}

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

.page-about__content-block {
    background-color: rgba(255, 255, 255, 0.08); /* Lighter transparent white for content blocks */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-about__content-subtitle {
    font-size: 1.8em;
    color: #FFD700; /* Brand color for subtitles */
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.page-about__content-block p {
    color: #f0f0f0;
    margin-bottom: 15px;
}

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

.page-about__feature-card {
    background-color: rgba(255, 255, 255, 0.1); /* Transparent white for feature cards */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about__feature-title {
    font-size: 1.5em;
    color: #FFD700; /* Brand color for feature titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__feature-card p {
    color: #e0e0e0;
}

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

.page-about__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-about__contact-list li {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    margin-bottom: 10px;
    border-left: 4px solid #FFD700;
    border-radius: 5px;
    color: #f0f0f0;
}

.page-about__contact-list li strong {
    color: #FFD700;
}

.page-about__image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__main-title {
        font-size: 2.8em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__content-subtitle {
        font-size: 1.6em;
    }
    .page-about__description,
    .page-about__section-intro,
    .page-about__content-block p,
    .page-about__feature-card p,
    .page-about__contact-list li {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-about__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    .page-about__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-about__description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

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

    .page-about__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important; /* Ensure buttons adapt */
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-about__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin-top: 30px;
        border-radius: 8px;
    }

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

    .page-about__section-intro {
        font-size: 0.9em;
        margin-bottom: 40px;
    }

    .page-about__mission-vision-section,
    .page-about__why-choose-us-section,
    .page-about__responsible-gambling-section,
    .page-about__security-licensing-section,
    .page-about__customer-support-section,
    .page-about__cta-section {
        padding: 50px 0;
        border-radius: 8px;
        margin-bottom: 15px;
    }

    .page-about__content-grid,
    .page-about__features-grid,
    .page-about__content-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-about__content-block,
    .page-about__feature-card {
        padding: 25px;
        border-radius: 8px;
    }

    .page-about__content-subtitle {
        font-size: 1.4em;
        margin-bottom: 15px;
    }

    .page-about__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin-top: 30px;
        border-radius: 8px;
    }
    
    /* Ensure all images are responsive */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}

@media (max-width: 480px) {
    .page-about__main-title {
        font-size: 1.8em;
    }
    .page-about__section-title {
        font-size: 1.5em;
    }
    .page-about__content-subtitle {
        font-size: 1.2em;
    }
}