.page-slot-games {
    background-color: #100224;
    color: #FFFFFF;
    font-family: Arial, sans-serif;
}

.page-slot-games__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    background: linear-gradient(180deg, #26A9E0 0%, #100224 100%);
    position: relative;
    overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Match hero image max width */
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-slot-games__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
}

.page-slot-games__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #E0E0E0;
}

.page-slot-games__hero-cta-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-slot-games__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    border: none;
}

.page-slot-games__btn--primary {
    background-color: #EA7C07; /* Login color for primary CTA */
    color: #FFFFFF;
}

.page-slot-games__btn--primary:hover {
    background-color: #d16b06;
    transform: translateY(-2px);
}

.page-slot-games__btn--secondary {
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-slot-games__btn--secondary:hover {
    background-color: #1f8ac2;
    transform: translateY(-2px);
}

.page-slot-games__about-section,
.page-slot-games__featured-games-section,
.page-slot-games__promotions-section,
.page-slot-games__how-to-play-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-slot-games__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #26A9E0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

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

.page-slot-games__about-text {
    flex: 1;
    min-width: 300px;
}

.page-slot-games__about-text p {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #E0E0E0;
}

.page-slot-games__about-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-slot-games__about-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Ensure min size */
    min-height: 200px;
}

.page-slot-games__btn--inline {
    margin-top: 10px;
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-slot-games__btn--inline:hover {
    background-color: #1f8ac2;
}

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

.page-slot-games__game-card,
.page-slot-games__promo-card {
    background-color: #1a0a33; /* Slightly lighter dark background for cards */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-slot-games__game-card:hover,
.page-slot-games__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.page-slot-games__game-card-image,
.page-slot-games__promo-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 200px; /* Ensure min size */
    min-height: 200px;
}

.page-slot-games__game-card-title,
.page-slot-games__promo-card-title {
    font-size: 1.4em;
    font-weight: 600;
    margin: 15px 15px 10px;
    color: #26A9E0;
}

.page-slot-games__game-card-title a,
.page-slot-games__promo-card-title a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__game-card-title a:hover,
.page-slot-games__promo-card-title a:hover {
    color: #EA7C07;
}

.page-slot-games__game-card-description,
.page-slot-games__promo-card-description {
    font-size: 0.95em;
    color: #CCCCCC;
    padding: 0 15px;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-slot-games__btn--card {
    margin: 0 15px 15px;
    padding: 10px 20px;
    background-color: #EA7C07;
    color: #FFFFFF;
    align-self: center;
    width: calc(100% - 30px);
}

.page-slot-games__btn--card:hover {
    background-color: #d16b06;
}

.page-slot-games__view-all-wrapper {
    text-align: center;
    margin-top: 50px;
}

.page-slot-games__how-to-play-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__step-card {
    background-color: #1a0a33;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-slot-games__step-icon {
    width: 60px;
    height: 60px;
    background-color: #26A9E0;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    font-weight: bold;
    margin: 0 auto 20px;
}

.page-slot-games__step-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.page-slot-games__step-description {
    font-size: 0.95em;
    color: #CCCCCC;
}

.page-slot-games__cta-bottom {
    text-align: center;
    margin-top: 60px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding-bottom: 30px;
    }

    .page-slot-games__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

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

    .page-slot-games__hero-cta-group {
        flex-direction: column;
        gap: 10px;
    }

    .page-slot-games__btn {
        width: 100%;
        max-width: 280px;
    }

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

    .page-slot-games__about-content {
        flex-direction: column;
    }

    .page-slot-games__game-grid,
    .page-slot-games__promo-grid {
        grid-template-columns: 1fr;
    }

    .page-slot-games__how-to-play-steps {
        grid-template-columns: 1fr;
    }

    /* Prevent image overflow on mobile */
    .page-slot-games__about-image,
    .page-slot-games__game-card-image,
    .page-slot-games__promo-card-image {
        max-width: 100%;
        height: auto;
    }

    .page-slot-games__about-image-wrapper img, 
    .page-slot-games__game-card img, 
    .page-slot-games__promo-card img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-section,
    .page-slot-games__about-section,
    .page-slot-games__featured-games-section,
    .page-slot-games__promotions-section,
    .page-slot-games__how-to-play-section {
        padding: 40px 15px;
    }

    .page-slot-games__main-title {
        font-size: clamp(1.6em, 8vw, 2em);
    }

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

    .page-slot-games__btn {
        padding: 10px 20px;
    }
}