.page-about {
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

/* Hero Section */
.page-about__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: #FFFFFF;
    text-align: center;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.page-about__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.6); /* Darken image for text readability */
}

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

.page-about__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-about__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1.1em;
    min-width: 200px;
    text-align: center;
}

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

.page-about__button--register:hover {
    background-color: transparent;
    color: #FFFFFF;
    transform: translateY(-3px);
}

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

.page-about__button--login:hover {
    background-color: transparent;
    color: #FCBC45;
    transform: translateY(-3px);
}

/* Mission Section */
.page-about__mission-section {
    padding: 80px 0;
    background-color: #F8F8F8;
}

.page-about__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.page-about__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FCBC45;
    margin: 15px auto 0;
}

.page-about__mission-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-about__mission-text {
    flex: 1;
    font-size: 1.1em;
    color: #333333;
}

.page-about__mission-text p {
    margin-bottom: 20px;
}

.page-about__mission-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min-width */
    min-height: 200px; /* Enforce min-height */
}

/* Values Section */
.page-about__values-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

.page-about__value-card {
    background-color: #F8F8F8;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-about__value-icon {
    width: 100%; /* Make icon fill card width for display */
    max-width: 250px; /* Constrain max width for larger screens */
    height: auto;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min-width */
    min-height: 200px; /* Enforce min-height */
}

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

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

/* Responsible Gaming Section */
.page-about__responsible-gaming-section {
    padding: 80px 0;
    background-color: #000000;
    color: #FFFFFF;
    text-align: center;
}

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

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

.page-about__responsible-gaming-section .page-about__description {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #F0F0F0;
}

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

.page-about__button--learn-more:hover {
    background-color: transparent;
    color: #FCBC45;
    transform: translateY(-3px);
}

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

.page-about__cta-container {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 40px;
}

.page-about__cta-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 8px;
    min-width: 200px; /* Enforce min-width */
    min-height: 200px; /* Enforce min-height */
}

.page-about__cta-content {
    flex: 1;
    text-align: left;
}

.page-about__cta-title {
    font-size: 2.2em;
    color: #000000;
    margin-bottom: 20px;
}

.page-about__cta-text {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 30px;
}

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

.page-about__button--join-now:hover {
    background-color: #000000;
    color: #FCBC45;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 3em;
    }
    .page-about__hero-description {
        font-size: 1.2em;
    }
    .page-about__mission-content,
    .page-about__cta-container {
        flex-direction: column;
        text-align: center;
    }
    .page-about__mission-image,
    .page-about__cta-image {
        max-width: 100%;
        margin-bottom: 30px;
    }
    .page-about__cta-content {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-about {
        padding-top: var(--header-offset, 120px);
    }
    .page-about__hero-section {
        padding: 60px 20px;
        min-height: 450px;
    }
    .page-about__hero-title {
        font-size: 2.2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__button {
        width: 100%;
        max-width: 300px;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__mission-section,
    .page-about__values-section,
    .page-about__responsible-gaming-section,
    .page-about__cta-section {
        padding: 60px 0;
    }
    .page-about__values-grid {
        grid-template-columns: 1fr;
    }
    .page-about__cta-container {
        padding: 30px;
    }
    /* Ensure images in content area do not overflow on mobile */
    .page-about img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 1.8em;
    }
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__cta-title {
        font-size: 1.8em;
    }
}