/* style/about.css */

/* Base styles for the About Us page */
.page-about {
    color: #333333; /* Dark text for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #FFFFFF; /* Explicitly set for clarity, though body default is white */
    padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
}

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

.page-about__section-title {
    font-size: 2.8em;
    color: #000000; /* Main brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-about__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #444444;
}

.page-about__inline-link {
    color: #FCBC45; /* Login button color, used for emphasis */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-about__inline-link:hover {
    color: #E0A830; /* Slightly darker yellow on hover */
    text-decoration: underline;
}

.page-about__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    border: none;
}

.page-about__button--register {
    background-color: #000000; /* Main brand color */
    color: #FFFFFF; /* White text */
}

.page-about__button--register:hover {
    background-color: #333333;
    color: #FCBC45;
}

.page-about__button--login {
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Dark text */
    margin-left: 15px;
}

.page-about__button--login:hover {
    background-color: #E0A830;
    color: #FFFFFF;
}

.page-about__button--contact {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #000000;
}

.page-about__button--contact:hover {
    background-color: #000000;
    color: #FFFFFF;
}

.page-about__button--large {
    padding: 15px 35px;
    font-size: 1.2em;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-bottom: 50px;
}

.page-about__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #FFFFFF; /* White text over dark/rich background image */
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
    max-width: 900px;
    margin: 0 20px;
}

.page-about__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.1;
    color: #FCBC45; /* Gold accent for title */
}

.page-about__hero-description {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: #F0F0F0;
}

.page-about__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Story Section */
.page-about__story-section {
    padding: 60px 0;
    background-color: #F8F8F8;
    margin-bottom: 50px;
}

.page-about__image-full {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* Mission Section */
.page-about__mission-section {
    padding: 60px 0;
    background-color: #000000; /* Dark section background */
    color: #FFFFFF; /* Light text for dark background */
    margin-bottom: 50px;
}

.page-about__mission-section .page-about__section-title {
    color: #FCBC45; /* Gold title on dark background */
}

.page-about__mission-section .page-about__text-block {
    color: #E0E0E0;
}

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

.page-about__value-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-about__value-card .page-about__card-title {
    font-size: 1.8em;
    color: #FCBC45;
    margin-bottom: 15px;
}

.page-about__value-card .page-about__card-text {
    font-size: 1em;
    color: #F0F0F0;
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
    padding: 60px 0;
    background-color: #FFFFFF;
    margin-bottom: 50px;
}

.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: #FDFDFD;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #E0E0E0;
}

.page-about__feature-card .page-about__card-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__feature-card .page-about__card-text {
    font-size: 1em;
    color: #555555;
}

/* Responsible Gaming Section */
.page-about__responsible-gaming-section {
    padding: 60px 0;
    background-color: #000000; /* Dark background */
    color: #FFFFFF; /* Light text */
    margin-bottom: 50px;
}

.page-about__responsible-gaming-section .page-about__section-title {
    color: #FCBC45;
}

.page-about__responsible-gaming-section .page-about__text-block {
    color: #E0E0E0;
}

/* CTA Section */
.page-about__cta-section {
    padding: 60px 0;
    background-color: #F8F8F8;
    text-align: center;
    margin-bottom: 50px;
}

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

/* Additional Info Section */
.page-about__additional-info {
    padding: 60px 0;
    background-color: #FFFFFF;
}

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

.page-about__info-card {
    background-color: #FDFDFD;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #E5E5E5;
    text-align: left;
    transition: transform 0.3s ease;
}

.page-about__info-card:hover {
    transform: translateY(-5px);
}

.page-about__info-card .page-about__card-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-about__info-card .page-about__card-title a {
    color: #000000;
    text-decoration: none;
}

.page-about__info-card .page-about__card-title a:hover {
    color: #FCBC45;
    text-decoration: underline;
}

.page-about__info-card .page-about__card-text {
    font-size: 0.95em;
    color: #666666;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 3em;
    }
    .page-about__hero-description {
        font-size: 1.2em;
    }
    .page-about__section-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        min-height: 400px;
    }
    .page-about__hero-title {
        font-size: 2.5em;
    }
    .page-about__hero-description {
        font-size: 1.1em;
    }
    .page-about__hero-actions {
        flex-direction: column;
        gap: 10px;
    }
    .page-about__button--login {
        margin-left: 0;
    }
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__values-grid,
    .page-about__features-grid,
    .page-about__info-grid {
        grid-template-columns: 1fr;
    }
    .page-about__image-full {
        max-width: 100%;
        height: auto;
    }
    .page-about__text-block {
        font-size: 1em;
    }
    .page-about__card-title {
        font-size: 1.6em;
    }
    .page-about__button--large {
        width: 100%;
    }
    .page-about__cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    /* Ensure content images do not overflow on mobile */
    .page-about__hero-image,
    .page-about__story-section img,
    .page-about__why-choose-us-section img,
    .page-about__responsible-gaming-section img,
    .page-about__cta-section img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__section-title {
        font-size: 1.5em;
    }
    .page-about__button {
        padding: 10px 20px;
        font-size: 1em;
    }
    .page-about__button--large {
        padding: 12px 25px;
        font-size: 1.1em;
    }
}