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

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

.page-slot-games__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
    background-color: #F4F7FB;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    margin-bottom: 20px;
}

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

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

.page-slot-games__main-title {
    font-size: clamp(2em, 3.5vw, 3em);
    font-weight: 700;
    line-height: 1.2;
    color: #000000;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.page-slot-games__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #1F2D3D;
}

.page-slot-games__cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-slot-games__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-slot-games__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
}

.page-slot-games__paragraph {
    font-size: 1em;
    margin-bottom: 20px;
    color: #1F2D3D;
    text-align: justify;
}

.page-slot-games__about-slots-section, .page-slot-games__how-to-play-section, .page-slot-games__latest-news-section {
    padding: 40px 0;
}

.page-slot-games__image-text-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-slot-games__content-image {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-slot-games__sub-title {
    font-size: 1.8em;
    font-weight: 600;
    color: #000000;
    margin-bottom: 20px;
}

.page-slot-games__feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-slot-games__feature-item {
    background-color: #FFFFFF;
    border: 1px solid #D6E2FF;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.page-slot-games__feature-item:hover {
    transform: translateX(5px);
}

.page-slot-games__feature-item span {
    font-weight: 600;
    color: #2F6BFF;
    margin-right: 10px;
}

.page-slot-games__secondary-cta-button {
    display: inline-block;
    background-color: #6FA3FF;
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.page-slot-games__secondary-cta-button:hover {
    background-color: #2F6BFF;
}

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

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

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

.page-slot-games__step-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #2F6BFF;
    margin-bottom: 15px;
}

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

.page-slot-games__step-description a {
    color: #2F6BFF;
    text-decoration: none;
    font-weight: 600;
}

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

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

.page-slot-games__news-card {
    background-color: #FFFFFF;
    border: 1px solid #D6E2FF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-slot-games__news-card h3, .page-slot-games__news-card p {
    padding: 0 20px;
}

.page-slot-games__news-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-slot-games__news-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__news-title a:hover {
    color: #2F6BFF;
}

.page-slot-games__news-date {
    font-size: 0.9em;
    color: #6FA3FF;
    margin-bottom: 10px;
}

.page-slot-games__news-excerpt {
    font-size: 0.95em;
    color: #1F2D3D;
    margin-bottom: 20px;
}

.page-slot-games__view-all-button {
    display: block;
    width: fit-content;
    margin: 30px auto 0 auto;
    background-color: #2F6BFF;
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.page-slot-games__view-all-button:hover {
    background-color: #4A8BFF;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-slot-games__main-title {
        font-size: 2.2em;
    }

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

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

    .page-slot-games__image-text-block {
        flex-direction: column;
    }

    .page-slot-games__content-image {
        max-width: 100%;
    }

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

    .page-slot-games__hero-content {
        padding: 0 15px;
    }

    .page-slot-games__container {
        padding: 15px;
    }

    /* Critical: Mobile image overflow prevention */
    .page-slot-games__hero-image,
    .page-slot-games__content-image,
    .page-slot-games__news-image {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure content area images are never smaller than 200px */
.page-slot-games__content-image, .page-slot-games__news-image {
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__news-image {
    height: 200px; /* Fixed height for consistent card look */
}

.page-slot-games__hero-image {
    height: 675px; /* Fixed height for hero on desktop, will be auto on mobile */
}

@media (max-width: 768px) {
    .page-slot-games__hero-image {
        height: auto;
    }
}