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

.page-casino.page-content {
    padding-top: var(--header-offset, 120px); /* Apply only to main content, not hero if hero handles it */
}

/* Hero Section */
.page-casino__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: #FFFFFF; /* White text for hero content over dark image */
    text-align: center;
    min-height: 500px; /* Minimum height for hero */
    display: flex; /* Use flexbox to center content */
    align-items: center;
    justify-content: center;
    padding: 80px 20px; /* Padding for content inside hero */
    box-sizing: border-box; /* Include padding in element's total width and height */
}

.page-casino__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, but NOT changing color */
}

.page-casino__hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px; /* Inner padding for hero content */
}

.page-casino__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-casino__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #FFFFFF;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

/* General Section Styling */
.page-casino__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-casino__section-title {
    font-size: 2.5em;
    color: #000000; /* Main color */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-casino__section-description {
    font-size: 1.1em;
    color: #333333;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-casino__button--primary {
    background-color: #FCBC45; /* Login color */
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-casino__button--primary:hover {
    background-color: #e0a53a;
    border-color: #e0a53a;
    transform: translateY(-2px);
}

.page-casino__button--secondary {
    background-color: #000000; /* Main color */
    color: #FFFFFF; /* Register color */
    border: 2px solid #000000;
}

.page-casino__button--secondary:hover {
    background-color: #333333;
    border-color: #333333;
    transform: translateY(-2px);
}

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

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

/* Game Categories Grid */
.page-casino__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-casino__game-card {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-casino__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-casino__game-card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Ensure images are not small */
    min-height: 200px;
}

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

.page-casino__game-card-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 25px;
    flex-grow: 1; /* Allows text to take up available space */
}

/* Why Choose Us Section */
.page-casino__why-choose-us {
    background-color: #f8f8f8;
    padding: 60px 0;
}

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

.page-casino__feature-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.page-casino__feature-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

.page-casino__feature-image {
    width: 100%;
    height: auto;
    max-width: 400px; /* Max width for feature images */
    border-radius: 8px;
    margin-top: 20px;
    min-width: 200px;
    min-height: 200px;
}

/* Promotions Section */
.page-casino__promotions {
    padding: 60px 0;
}

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

.page-casino__promo-card {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-casino__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-casino__promo-card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

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

.page-casino__promo-card-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Details List Section */
.page-casino__details-list {
    background-color: #f8f8f8;
    padding: 60px 0;
}

.page-casino__detail-card {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.page-casino__detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-casino__detail-card-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-casino__detail-card-title a {
    color: #000000;
    text-decoration: none;
}

.page-casino__detail-card-title a:hover {
    color: #FCBC45;
}

.page-casino__detail-card-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

/* Get Started Section */
.page-casino__get-started {
    padding: 60px 0;
    text-align: center;
}

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

.page-casino__step-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-casino__step-text {
    font-size: 1em;
    color: #555555;
}

.page-casino__cta-buttons {
    margin-top: 50px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-casino__hero-title {
        font-size: 3em;
    }
}

@media (max-width: 768px) {
    /* Mobile content area constraint */
    .page-casino__container {
        padding: 30px 15px;
    }

    .page-casino__section-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-casino__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-casino__hero-section {
        min-height: 400px;
        padding: 40px 15px;
    }

    .page-casino__hero-title {
        font-size: 2.2em;
    }

    .page-casino__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-casino__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-casino__button {
        padding: 12px 25px;
        font-size: 1em;
        width: 100%; /* Full width buttons on mobile */
    }

    .page-casino__game-categories,
    .page-casino__features-grid,
    .page-casino__promo-grid,
    .page-casino__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-casino__game-card-image,
    .page-casino__promo-card-image,
    .page-casino__feature-image {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }

    /* Ensure all content area images are responsive and don't cause overflow */
    .page-casino img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum size for content images */
        min-height: 200px;
    }

    .page-casino__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

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

/* Global image styles for content area - ensure no small images */
.page-casino img:not(.shared-header img, .shared-footer img) { /* Exclude shared components */
    min-width: 200px;
    min-height: 200px;
    object-fit: cover; /* Ensures images fill their space without distortion */
}