.page-about {
    color: #333333; /* Dark text on light body background */
}

.page-about__hero-section {
    background-color: #f5f5f5; /* Light background for hero section */
    padding-top: var(--header-offset, 120px); /* Offset for fixed header */
    padding-bottom: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-about__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

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

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

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    margin-top: 40px;
    object-fit: cover;
}

.page-about__hero-cta-button {
    display: inline-block;
    background-color: #FCBC45; /* Login color for CTA */
    color: #000000; /* Dark text on yellow background */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 30px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__hero-cta-button:hover {
    background-color: #e0a53b;
    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: 50px;
    position: relative;
}

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

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

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

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

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

.page-about__cards-wrapper {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-about__card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    flex: 1;
    min-width: 300px;
    max-width: 48%;
    text-align: center;
    transition: transform 0.3s ease;
}

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

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

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

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

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

.page-about__value-item {
    text-align: center;
    padding: 30px;
    background-color: #fcfcfc;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.page-about__value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.page-about__value-icon {
    width: 250px; /* Min size 200px */
    height: 187.5px; /* Maintain aspect ratio for 400x300 purpose */
    margin-bottom: 20px;
    object-fit: contain;
}

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

.page-about__value-text {
    font-size: 0.95em;
    color: #666666;
    line-height: 1.6;
}

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

.page-about__responsible-gaming-link {
    display: inline-block;
    color: #FCBC45;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: color 0.3s ease;
}

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

.page-about__cta-section {
    background-color: #000000; /* Main brand color */
    padding: 80px 20px;
    text-align: center;
    color: #FFFFFF;
}

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

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

.page-about__cta-button {
    display: inline-block;
    background-color: #FFFFFF; /* Register color */
    color: #000000;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }
    .page-about__hero-description {
        font-size: 1.2em;
    }
    .page-about__section-title {
        font-size: 2.2em;
    }
    .page-about__card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding-bottom: 40px;
    }
    .page-about__hero-title {
        font-size: 2.2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__hero-cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-about__text-content,
    .page-about__card-text,
    .page-about__value-text {
        font-size: 0.95em;
    }
    .page-about__card {
        min-width: unset;
    }
    .page-about__cards-wrapper {
        flex-direction: column;
    }
    .page-about__values-grid {
        grid-template-columns: 1fr;
    }
    .page-about__cta-title {
        font-size: 2em;
    }
    .page-about__cta-description {
        font-size: 1em;
    }
    .page-about__cta-button {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-about__container {
        padding: 30px 15px;
    }

    /* Ensure content images do not overflow on mobile */
    .page-about__hero-image,
    .page-about__image-content,
    .page-about__value-icon {
        max-width: 100%;
        height: auto;
    }

    /* Ensure content images are not too small */
    .page-about__container img,
    .page-about__story-section img,
    .page-about__mission-vision-section img,
    .page-about__values-section img,
    .page-about__responsible-gaming-section img,
    .page-about__cta-section img {
        min-width: 200px;
        min-height: 200px;
        width: auto; /* Allow auto-width for scaling */
        height: auto; /* Allow auto-height for scaling */
    }
    .page-about__value-icon {
        width: 100%; /* Make value icons fill their container */
        height: auto;
        max-width: 300px; /* Cap max width for smaller screens */
        margin-left: auto;
        margin-right: auto;
    }
}

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