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

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

.page-about__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background-color: #000000; /* Dark background for hero */
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

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

.page-about__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FCBC45;
    line-height: 1.2;
}

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

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

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

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

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

.page-about__button--login {
    background-color: #FFFFFF; /* White button for Login */
    color: #000000;
    border: 2px solid #FFFFFF;
}

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

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

.page-about__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: grayscale(0.5); /* Allowed for stylistic effect, not color change */
}

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

.page-about__story-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

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

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

.page-about__story-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

.page-about__values-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

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

.page-about__value-item {
    background-color: #f0f0f0;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
}

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

.page-about__value-item p {
    color: #555555;
}

.page-about__values-image {
    text-align: center;
    margin-top: 40px;
}

.page-about__values-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

.page-about__why-choose-us-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

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

.page-about__feature-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
}

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

.page-about__feature-item p {
    color: #555555;
}

.page-about__responsible-gaming-section {
    padding: 60px 0;
    background-color: #FFFFFF;
    text-align: center;
}

.page-about__responsible-gaming-section p {
    max-width: 800px;
    margin: 0 auto 20px auto;
    font-size: 1.1em;
    color: #333333;
}

.page-about__responsible-gaming-section a {
    color: #000000;
    text-decoration: underline;
    font-weight: bold;
}

.page-about__responsible-gaming-section a:hover {
    color: #FCBC45;
}

.page-about__cta-section {
    padding: 80px 20px;
    background-color: #000000; /* Dark background for CTA */
    color: #FFFFFF;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

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

.page-about__button--cta {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
    padding: 18px 40px;
    font-size: 1.2em;
}

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

.page-about__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-about__cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    filter: grayscale(0.5); /* Allowed for stylistic effect, not color change */
}

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

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

    .page-about__hero-section {
        flex-direction: row;
        text-align: left;
        padding: 100px 0;
        justify-content: space-between;
    }

    .page-about__hero-content {
        flex: 1;
        padding-left: 20px;
    }

    .page-about__hero-image {
        position: static;
        width: 50%;
        height: auto;
        opacity: 1;
        filter: none;
    }

    .page-about__hero-image img {
        object-fit: contain;
        opacity: 1;
        filter: none;
    }

    .page-about__hero-actions {
        justify-content: flex-start;
    }
}

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

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

    .page-about__button {
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-about__section-title {
        font-size: 2em;
    }

    .page-about__value-title {
        font-size: 1.3em;
    }

    .page-about__feature-title {
        font-size: 1.3em;
    }

    .page-about__cta-title {
        font-size: 2em;
    }

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

    .page-about__button--cta {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    .page-about__hero-section {
        padding: 60px 20px;
    }

    .page-about__story-section, .page-about__values-section, .page-about__why-choose-us-section, .page-about__responsible-gaming-section, .page-about__cta-section {
        padding: 40px 0;
    }

    /* Ensure images do not overflow on mobile */
    .page-about img {
        max-width: 100% !important;
        height: auto !important;
        min-width: 200px;
        min-height: 200px;
    }

    .page-about__story-image img, .page-about__values-image img, .page-about__cta-image img {
        max-width: 100%;
        height: auto;
    }
}