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

.page-about__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background-color: #000000; /* Dark background for hero section */
    color: #FFFFFF;
    text-align: center;
}

.page-about__hero-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 0.6; /* Slightly dim the image to make text pop */
}

.page-about__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    z-index: 10;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.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;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__hero-button {
    display: inline-block;
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Dark text for contrast */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-about__hero-button:hover {
    background-color: #e0a53a;
    transform: translateY(-3px);
}

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

.page-about__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

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

.page-about__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.8;
}

.page-about__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__image-content--center {
    margin-left: auto;
    margin-right: auto;
}

.page-about__image-content--right {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
    max-width: 50%;
}

.page-about__image-content--left {
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
    max-width: 50%;
}

.page-about__mission-vision-section {
    background-color: #000000; /* Main color */
    color: #FFFFFF;
    padding: 60px 0;
}

.page-about__card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .page-about__card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.page-about__card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-about__card-title {
    font-size: 1.8em;
    color: #FCBC45; /* Login button color */
    margin-bottom: 15px;
}

.page-about__card-text {
    font-size: 1em;
    line-height: 1.7;
}

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

.page-about__features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .page-about__features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .page-about__features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.page-about__feature-item {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.page-about__feature-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.page-about__feature-text {
    font-size: 0.95em;
    line-height: 1.6;
}

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

.page-about__why-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-about__why-list li {
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    line-height: 1.7;
    display: flex;
    align-items: flex-start;
}

.page-about__why-list li strong {
    color: #FCBC45;
    margin-right: 10px;
    flex-shrink: 0;
}

.page-about__cta-button {
    display: block;
    width: fit-content;
    margin: 40px auto 0 auto;
    background-color: #FCBC45;
    color: #000000;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-about__cta-button:hover {
    background-color: #e0a53a;
    transform: translateY(-3px);
}

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

.page-about__security-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .page-about__security-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .page-about__security-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

.page-about__security-item {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.page-about__security-text {
    font-size: 0.95em;
    line-height: 1.6;
}

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

.page-about__responsible-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .page-about__responsible-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .page-about__responsible-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

.page-about__responsible-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
}

.page-about__responsible-title {
    font-size: 1.5em;
    color: #FCBC45;
    margin-bottom: 10px;
}

.page-about__responsible-text {
    font-size: 0.95em;
    line-height: 1.6;
}

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

.page-about__future-button {
    display: inline-block;
    background-color: #FCBC45;
    color: #000000;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 30px;
}

.page-about__future-button:hover {
    background-color: #e0a53a;
    transform: translateY(-3px);
}

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

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

    .page-about__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }

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

    .page-about__text-content {
        font-size: 0.95em;
    }

    .page-about__image-content--right,
    .page-about__image-content--left {
        float: none;
        margin: 20px auto;
        max-width: 100%;
    }

    /* Ensure content area images are responsive and don't overflow */
    .page-about__hero-image,
    .page-about__image-content,
    .page-about__security-image,
    .page-about__responsible-image {
        max-width: 100%;
        height: auto;
    }
    
    .page-about__container {
        padding: 20px 15px;
    }

    .page-about__card-title,
    .page-about__feature-title,
    .page-about__security-title,
    .page-about__responsible-title {
        font-size: 1.3em;
    }

    .page-about__why-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .page-about__why-list li strong {
        margin-right: 0;
        margin-bottom: 5px;
    }
}