.page-about-us {
    font-family: Arial, sans-serif;
    color: #FFF6D6;
    background-color: #0A0A0A;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for the first section */
}

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

.page-about-us__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 40px; /* Space below content */
}

.page-about-us__hero-image-wrapper {
    width: 100%;
    order: 1; /* Ensure image is above content in DOM flow */
}

.page-about-us__hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    min-height: 200px; /* Minimum size requirement */
}

.page-about-us__hero-content {
    order: 2; /* Ensure content is below image in DOM flow */
    text-align: center;
    padding: 20px;
    max-width: 800px; /* Constrain text width for readability */
    margin-top: 20px; /* Space between image and text */
}

.page-about-us__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
    color: #FFD36B; /* Use accent color for H1 */
    margin-bottom: 15px;
}

.page-about-us__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #FFF6D6;
}

.page-about-us__cta-button,
.page-about-us__secondary-cta-button,
.page-about-us__learn-more-button,
.page-about-us__final-cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    color: #0A0A0A;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    font-weight: bold;
    transition: background-color 0.3s ease;
    min-width: 200px; /* Ensure button is not too small */
    text-align: center;
}

.page-about-us__cta-button:hover,
.page-about-us__secondary-cta-button:hover,
.page-about-us__learn-more-button:hover,
.page-about-us__final-cta-button:hover {
    background: linear-gradient(180deg, #F2C14E 0%, #FFD36B 100%);
}

.page-about-us__section-title {
    font-size: 2.2em;
    color: #F2C14E;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

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

.page-about-us__card {
    background-color: #111111;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #3A2A12;
    text-align: center;
}

.page-about-us__card-title {
    color: #FFD36B;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-about-us__card-text {
    color: #FFF6D6;
}

.page-about-us__our-story-section {
    padding: 60px 0;
}

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

.page-about-us__story-image {
    flex: 1 1 40%;
    border-radius: 12px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
    height: auto;
    display: block;
    border: 1px solid #3A2A12;
}

.page-about-us__story-text {
    flex: 1 1 50%;
}

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

.page-about-us__learn-more-button {
    margin-top: 10px;
}

.page-about-us__why-choose-us-section {
    padding: 60px 0;
    background-color: #0A0A0A;
}

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

.page-about-us__feature-card {
    text-align: left;
}

.page-about-us__responsible-gaming-section {
    padding: 60px 0;
}

.page-about-us__responsible-gaming-content {
    display: flex;
    flex-wrap: wrap-reverse; /* Text above image on mobile, image above text on desktop */
    align-items: center;
    gap: 40px;
}

.page-about-us__responsible-gaming-image {
    flex: 1 1 40%;
    border-radius: 12px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
    height: auto;
    display: block;
    border: 1px solid #3A2A12;
}

.page-about-us__responsible-gaming-text {
    flex: 1 1 50%;
}

.page-about-us__responsible-gaming-link {
    display: inline-block;
    margin-top: 20px;
    color: #F2C14E;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid #F2C14E;
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-about-us__responsible-gaming-link:hover {
    color: #FFD36B;
    border-color: #FFD36B;
}

.page-about-us__contact-cta-section {
    padding: 60px 0;
    text-align: center;
    background-color: #111111;
    border-top: 1px solid #3A2A12;
}

.page-about-us__contact-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #FFF6D6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-about-us__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

    .page-about-us__story-content,
    .page-about-us__responsible-gaming-content {
        flex-direction: column;
    }

    .page-about-us__story-image,
    .page-about-us__responsible-gaming-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 200px; /* Ensure images meet minimum size */
    }

    .page-about-us__story-text,
    .page-about-us__responsible-gaming-text {
        flex: 1 1 100%;
    }

    /* Ensure all images within .page-about-us in mobile view are responsive */
    .page-about-us img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum size for all images in content area */
        min-height: 200px; /* Enforce minimum size for all images in content area */
    }

    .page-about-us__card {
        padding: 20px;
    }

    .page-about-us__cta-button,
    .page-about-us__secondary-cta-button,
    .page-about-us__learn-more-button,
    .page-about-us__final-cta-button {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Ensure no image filter is applied */
.page-about-us img {
    filter: none;
}

/* Ensure content area images meet minimum CSS size */
.page-about-us__our-story-section img,
.page-about-us__responsible-gaming-section img {
    /* These rules ensure the images are not shrunk below 200px by specific selectors */
    min-width: 200px; 
    min-height: 200px;
    width: auto; /* Allow natural sizing or flex to control */
    height: auto; /* Allow natural sizing or flex to control */
}

/* Ensure no smaller than 200px for any image within the main content area */
.page-about-us :is(img) {
    min-width: 200px;
    min-height: 200px;
}