.page-index {
    padding-top: var(--header-offset, 120px);
    background-color: #f4f4f4;
    color: #333333;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.page-index__hero-section {
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
    background-color: #0A246A;
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page-index__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
}

.page-index__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-index__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #F3C70E;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.page-index__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-index__button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #F3C70E;
    color: #0A246A;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-width: 200px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index__button:hover {
    background-color: #e0b60d;
    transform: translateY(-2px);
}

.page-index__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-index__section--dark {
    background-color: #0A246A;
    color: #ffffff;
}

.page-index__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #0A246A;
    font-weight: bold;
}

.page-index__section--dark .page-index__section-title {
    color: #F3C70E;
}

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

.page-index__section-intro {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}

.page-index__section-intro--small {
    font-size: 0.95em;
}

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

.page-index__card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

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

.page-index__card-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-index__card-link {
    display: inline-block;
    color: #F3C70E;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-index__card-link:hover {
    color: #e0b60d;
    text-decoration: underline;
}

.page-index__games-overview-section .page-index__card {
    background-color: #1a3a7f; /* Lighter blue for cards in dark section */
    color: #ffffff;
}

.page-index__games-overview-section .page-index__card-title {
    color: #F3C70E;
}

.page-index__games-overview-section .page-index__card-description {
    color: #e0e0e0;
}

.page-index__promotions-section {
    background-color: #0A246A;
    color: #ffffff;
}

.page-index__promotions-section .page-index__section-title {
    color: #F3C70E;
}

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

.page-index__promo-card {
    background-color: #1a3a7f;
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index__promo-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

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

.page-index__promo-card-description {
    font-size: 1em;
    margin-bottom: 25px;
}

.page-index__promo-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #F3C70E;
    color: #0A246A;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-index__promo-button:hover {
    background-color: #e0b60d;
    transform: translateY(-2px);
}

.page-index__download-section {
    background-color: #f0f0f0;
}

.page-index__download-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-index__download-image {
    width: 600px;
    height: 400px;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-index__download-hint {
    font-size: 0.9em;
    color: #666666;
}

.page-index__responsible-gaming-section {
    background-color: #e8e8e8;
    padding: 40px 20px;
    text-align: center;
    font-size: 0.9em;
    color: #666;
}

.page-index__responsible-gaming-link {
    color: #0A246A;
    text-decoration: none;
    font-weight: bold;
}

.page-index__responsible-gaming-link:hover {
    text-decoration: underline;
}

.page-index__final-cta-section {
    padding-bottom: 80px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-index__hero-section {
        padding: 60px 15px;
    }

    .page-index__hero-title {
        font-size: 2.5em;
    }

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

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

    .page-index__button {
        width: 100%;
        max-width: 300px;
    }

    .page-index__section {
        padding: 40px 15px;
    }

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

    .page-index__grid,
    .page-index__promotions-grid {
        grid-template-columns: 1fr;
    }

    .page-index__card {
        min-height: auto;
    }

    .page-index__card-image,
    .page-index__promo-card-image,
    .page-index__download-image {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }

    .page-index__download-image {
        width: 100%;
        height: auto;
        max-width: 400px; /* Limit width on small screens */
    }
}

/* Ensure all content area images are at least 200x200 */
.page-index img {
    min-width: 200px;
    min-height: 200px;
}

/* Override for specific small elements if they existed (not in this design, but for safety) */
/* .page-index__small-icon { min-width: auto; min-height: auto; width: 48px; height: 48px; } */