.page-about {
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-about__section--padded {
    padding: 80px 0;
}

.page-about__section--dark-bg {
    background-color: #000000; /* Main color as dark background */
    color: #FFFFFF; /* Light text for dark background */
}

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

/* Hero Section */
.page-about__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    color: #FFFFFF;
    text-align: center;
    overflow: hidden;
}

.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: 1;
    padding: 100px 20px;
    background: rgba(0, 0, 0, 0.6); /* Overlay for readability */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 600px; /* Ensure hero section has a decent height */
}

.page-about__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login button color for emphasis */
    font-weight: bold;
    line-height: 1.2;
}

.page-about__hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin-bottom: 40px;
    color: #f0f0f0;
}

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

.page-about__button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.page-about__button--register {
    background-color: #FCBC45; /* Login color for primary action */
    color: #000000; /* Black text for contrast */
    border: 2px solid #FCBC45;
}

.page-about__button--register:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

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

.page-about__button--login:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Section Titles */
.page-about__section-title {
    font-size: 2.8em;
    color: #000000; /* Main color */
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.page-about__section-title--light {
    color: #FFFFFF;
}

.page-about__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FCBC45;
    border-radius: 2px;
}

/* Story Section */
.page-about__story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.page-about__story-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333333;
}

.page-about__story-image-wrapper {
    text-align: center;
}

.page-about__story-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Mission & Values Section */
.page-about__values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-about__value-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: #FFFFFF;
}

.page-about__value-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

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

.page-about__value-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* Why Choose Section */
.page-about__why-choose-intro {
    font-size: 1.2em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px auto;
    color: #555555;
}

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

.page-about__feature-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-about__feature-card:hover {
    transform: translateY(-10px);
}

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

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

.page-about__feature-description {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
}

.page-about__feature-link {
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-about__feature-link:hover {
    color: #e0a53b;
    text-decoration: underline;
}

/* Responsible Gaming Section */
.page-about__responsible-gaming-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.page-about__responsible-gaming-text p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-about__responsible-gaming-image-wrapper {
    text-align: center;
}

.page-about__responsible-gaming-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-about__action-center {
    text-align: center;
    margin-top: 50px;
}

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

.page-about__button--promo:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

/* Join Us Section */
.page-about__join-us-section {
    text-align: center;
    background-color: #f8f8f8;
}

.page-about__join-us-description {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #555555;
}

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

/* Responsive Design */
@media (min-width: 769px) {
    .page-about__story-grid {
        grid-template-columns: 1fr 1fr;
    }

    .page-about__story-image-wrapper {
        order: 2;
    }

    .page-about__story-content {
        order: 1;
    }

    .page-about__responsible-gaming-content {
        grid-template-columns: 1fr 1fr;
    }

    .page-about__responsible-gaming-text {
        order: 1;
    }

    .page-about__responsible-gaming-image-wrapper {
        order: 2;
    }
}

@media (max-width: 768px) {
    .page-about__hero-title {
        font-size: 2.5em;
    }

    .page-about__hero-description {
        font-size: 1em;
    }

    .page-about__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-about__button {
        padding: 12px 25px;
        font-size: 1em;
        width: 100%;
        max-width: 300px; /* Constrain button width on mobile */
    }

    .page-about__section--padded {
        padding: 60px 0;
    }

    .page-about__section-title {
        font-size: 2em;
        margin-bottom: 40px;
    }

    .page-about__values-grid, .page-about__features-grid {
        grid-template-columns: 1fr;
    }

    .page-about__story-content p, .page-about__responsible-gaming-text p {
        font-size: 0.95em;
    }

    .page-about__hero-content {
        min-height: 450px;
        padding: 80px 15px;
    }

    .page-about__story-image, .page-about__responsible-gaming-image, .page-about__feature-icon {
        max-width: 100%;
        height: auto; /* Ensure images don't overflow */
        width: 100%; /* Make images fill container */
    }
    
    /* Ensure all content area images are responsive and do not cause horizontal scroll */
    .page-about img {
        max-width: 100%;
        height: auto;
    }

    .page-about__join-us-actions {
        flex-direction: column;
        gap: 15px;
    }
}