.page-slot-games {
    background-color: var(--background-color, #F4F7FB);
    color: var(--text-main-color, #1F2D3D);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-slot-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding */
    margin-bottom: 40px;
    text-align: center;
    overflow: hidden; /* Ensure content doesn't spill */
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit hero image height */
    overflow: hidden;
    margin-bottom: 20px; /* Space between image and text */
}

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

.page-slot-games__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-slot-games__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
    font-weight: bold;
    line-height: 1.2;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 15px;
}

.page-slot-games__tagline {
    font-size: 1.2em;
    color: var(--text-main-color, #1F2D3D);
    margin-bottom: 30px;
}

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

.page-slot-games__cta-button,
.page-slot-games__secondary-button,
.page-slot-games__game-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1em;
}

.page-slot-games__cta-button {
    background: var(--button-color, linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%));
    color: #FFFFFF;
    border: none;
}

.page-slot-games__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__secondary-button {
    background-color: transparent;
    color: var(--main-color, #2F6BFF);
    border: 2px solid var(--main-color, #2F6BFF);
}

.page-slot-games__secondary-button:hover {
    background-color: var(--main-color, #2F6BFF);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__section-title {
    font-size: 2.2em;
    font-weight: bold;
    color: var(--custom-color-1776249996415, #000000);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.page-slot-games__about-section {
    padding: 40px 0;
    margin-bottom: 40px;
}

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

.page-slot-games__text-block {
    flex: 1;
    min-width: 300px;
}

.page-slot-games__text-block p {
    margin-bottom: 15px;
    color: var(--text-main-color, #1F2D3D);
    font-size: 1.05em;
}

.page-slot-games__image-block {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-slot-games__about-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.page-slot-games__featured-games-section {
    padding: 40px 0;
    margin-bottom: 40px;
    background-color: var(--card-bg-color, #FFFFFF); /* Using white for this section for contrast */
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

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

.page-slot-games__game-card {
    background-color: var(--card-bg-color, #FFFFFF);
    border: 1px solid var(--border-color, #D6E2FF);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
}

.page-slot-games__game-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-slot-games__game-title a {
    color: var(--custom-color-1776249996415, #000000);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__game-title a:hover {
    color: var(--main-color, #2F6BFF);
}

.page-slot-games__game-description {
    font-size: 0.95em;
    color: var(--text-main-color, #1F2D3D);
    margin-bottom: 20px;
    padding: 0 15px;
}

.page-slot-games__game-button {
    background: var(--button-color, linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%));
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9em;
}

.page-slot-games__game-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-slot-games__how-to-play-section {
    padding: 40px 0;
    margin-bottom: 40px;
}

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

.page-slot-games__step-card {
    background-color: var(--card-bg-color, #FFFFFF);
    border: 1px solid var(--border-color, #D6E2FF);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-slot-games__step-card:hover {
    transform: translateY(-5px);
}

.page-slot-games__step-title {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 15px;
}

.page-slot-games__step-description {
    font-size: 1em;
    color: var(--text-main-color, #1F2D3D);
}

.page-slot-games__step-description a {
    color: var(--main-color, #2F6BFF);
    text-decoration: none;
    font-weight: bold;
}

.page-slot-games__step-description a:hover {
    text-decoration: underline;
}

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

.page-slot-games__responsible-gaming-section {
    padding: 40px 0;
    text-align: center;
    background-color: var(--background-color, #F4F7FB);
    border-top: 1px solid var(--border-color, #D6E2FF);
}

.page-slot-games__responsible-gaming-text {
    font-size: 1.1em;
    color: var(--text-main-color, #1F2D3D);
    max-width: 800px;
    margin: 0 auto 20px auto;
}

.page-slot-games__responsible-gaming-link {
    color: var(--main-color, #2F6BFF);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-slot-games__responsible-gaming-link:hover {
    text-decoration: underline;
    color: var(--auxiliary-color, #6FA3FF);
}

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

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

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

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

    .page-slot-games__cta-button,
    .page-slot-games__secondary-button {
        width: 80%;
        max-width: 300px;
        padding: 12px 20px;
    }

    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

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

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

    .page-slot-games__steps-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile image overflow prevention */
    .page-slot-games img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-slot-games__main-title {
        font-size: clamp(1.5em, 7vw, 2em);
    }

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

    .page-slot-games__hero-actions {
        gap: 10px;
    }

    .page-slot-games__cta-button,
    .page-slot-games__secondary-button {
        width: 90%;
    }
}