.page-slot-games {
    background-color: #F4F7FB; /* Background */
    color: #1F2D3D; /* Text Main */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for first section, body handles --header-offset */
}

.page-slot-games__hero-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    display: flex; /* Enforce image-text order */
    flex-direction: column; /* Image on top, text below */
    align-items: center;
    text-align: center;
    padding: 0 20px 40px;
    background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); /* Blue gradient for hero background */
    border-radius: 12px;
    max-width: 1390px; /* Boxed feel */
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__hero-image-wrapper {
    width: 100%; /* Image wrapper takes full width */
    max-width: 1600px; /* Max width for the image */
    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; /* Slightly rounded corners for the image */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-slot-games__hero-content {
    max-width: 800px;
    position: relative; /* Ensure content is in normal flow */
    z-index: 1; /* Keep text above potential background elements */
}

.page-slot-games__main-title {
    font-weight: bold;
    color: #FFFFFF; /* White for contrast on blue background */
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Using clamp for H1 font-size */
}

.page-slot-games__intro-text {
    color: #E0EFFF; /* Lighter blue for description */
    font-size: 1.15em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__cta-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%); /* Slight change on hover */
    transform: translateY(-2px);
}

.page-slot-games__cta-button--small {
    padding: 12px 25px;
    font-size: 1em;
}

.page-slot-games__features-section,
.page-slot-games__how-to-play-section,
.page-slot-games__faq-section {
    max-width: 1390px;
    margin: 40px auto;
    padding: 20px;
    background-color: #FFFFFF; /* Card BG */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-slot-games__section-title {
    font-size: 2.2em;
    font-weight: bold;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 15px;
    position: relative;
}

.page-slot-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #2F6BFF; /* Primary color */
    border-radius: 2px;
}

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

.page-slot-games__feature-card {
    background-color: #F8FAFC; /* Lighter background for cards */
    border: 1px solid #D6E2FF; /* Border color */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-slot-games__feature-image {
    width: 100%; /* Ensure image fills card width */
    max-width: 400px; /* Max width for feature images */
    height: auto;
    min-height: 200px; /* Minimum image size */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-slot-games__feature-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #2F6BFF; /* Primary color */
    margin-bottom: 10px;
}

.page-slot-games__feature-description {
    font-size: 1em;
    color: #1F2D3D; /* Text Main */
}

.page-slot-games__how-to-play-section {
    text-align: center;
}

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

.page-slot-games__step-card {
    background-color: #F8FAFC;
    border: 1px solid #D6E2FF; /* Border color */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-slot-games__step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #2F6BFF; /* Primary color */
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 1.8em;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-slot-games__step-title {
    font-size: 1.3em;
    font-weight: bold;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 10px;
}

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

.page-slot-games__faq-section {
    padding-bottom: 40px;
    text-align: center;
}

.page-slot-games__faq-item {
    background-color: #F8FAFC;
    border: 1px solid #D6E2FF; /* Border color */
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-slot-games__faq-question {
    font-size: 1.2em;
    font-weight: bold;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 10px;
}

.page-slot-games__faq-answer {
    font-size: 1em;
    color: #1F2D3D; /* Text Main */
}

.page-slot-games__link-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #6FA3FF; /* Secondary color */
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.page-slot-games__link-button:hover {
    background-color: #2F6BFF; /* Primary color on hover */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-slot-games__hero-section {
        padding: 0 15px 30px;
    }
    .page-slot-games__main-title {
        font-size: clamp(2.2rem, 4.5vw, 3rem); /* Use clamp for H1 */
    }
    .page-slot-games__intro-text {
        font-size: 1.1em;
    }
    .page-slot-games__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        padding-top: 5px; /* Smaller top padding for mobile */
    }
    .page-slot-games__hero-section {
        margin-bottom: 30px;
        padding: 0 10px 25px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem); /* Smaller clamp for mobile H1 */
    }
    .page-slot-games__intro-text {
        font-size: 1em;
    }
    .page-slot-games__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    .page-slot-games__features-grid,
    .page-slot-games__steps-container {
        grid-template-columns: 1fr; /* Single column layout for cards */
        gap: 20px;
        padding: 15px 0;
    }
    .page-slot-games__feature-card,
    .page-slot-games__step-card,
    .page-slot-games__faq-item {
        padding: 20px;
    }
    /* Mobile content area image anti-overflow */
    .page-slot-games img {
        max-width: 100%;
        height: auto;
    }
    .page-slot-games__feature-image {
        min-width: unset; /* Allow to scale down on mobile */
        min-height: unset; /* Allow to scale down on mobile */
        width: 100%; /* Ensure it takes full width of container */
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-section {
        padding: 0 5px 20px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }
    .page-slot-games__intro-text {
        font-size: 0.95em;
    }
    .page-slot-games__section-title {
        font-size: 1.6em;
    }
    .page-slot-games__cta-button {
        padding: 10px 20px;
        font-size: 0.95em;
    }
}

/* Ensure content area images are not smaller than 200px on larger screens */
.page-slot-games__feature-image {
    min-width: 200px;
    min-height: 200px;
}