.page-slot-games {
    padding-top: 10px; /* Small top padding for the main content */
    background-color: var(--bg-color, #F4F7FB); /* Default background color from palette */
    color: var(--text-main, #1F2D3D);
    font-family: Arial, sans-serif;
}

.page-slot-games__hero-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    background-color: #2d0000; /* Deep red/wine background for hero */
}

.page-slot-games__hero-image-wrapper {
    position: relative;
    width: 100%;
    max-height: 600px; /* Limit hero image height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    min-height: 200px; /* Ensure minimum size */
}

.page-slot-games__hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    color: #FFFFFF; /* White text on dark hero background */
}

.page-slot-games__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin: 0 auto 20px;
    color: #d6d604; /* Yellow-green/lemon yellow for H1 */
}

.page-slot-games__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1em;
}

.page-slot-games__btn--primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
}

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

.page-slot-games__btn--secondary {
    background-color: transparent;
    border: 2px solid #6FA3FF; /* Light blue border */
    color: #6FA3FF;
}

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

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

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

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

.page-slot-games__feature-card,
.page-slot-games__game-card,
.page-slot-games__step-card {
    background-color: var(--card-bg, #FFFFFF);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-slot-games__feature-icon,
.page-slot-games__game-image {
    width: 100%;
    max-width: 250px; /* Constrain feature/game images */
    height: auto;
    min-height: 200px; /* Minimum size for content images */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-slot-games__feature-title,
.page-slot-games__game-title,
.page-slot-games__step-title {
    font-size: 1.4em;
    font-weight: bold;
    color: var(--text-main, #1F2D3D);
    margin-bottom: 10px;
}

.page-slot-games__feature-description,
.page-slot-games__game-description,
.page-slot-games__step-description {
    font-size: 0.95em;
    color: var(--text-main, #1F2D3D);
    line-height: 1.6;
    flex-grow: 1; /* Allow description to take space */
}

.page-slot-games__section-actions {
    text-align: center;
    margin-top: 40px;
}

.page-slot-games__step-card {
    position: relative;
    padding-top: 50px; /* Space for step number */
}

.page-slot-games__step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--main-color, #2F6BFF); /* Main color for step number */
    color: #FFFFFF;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    border: 3px solid #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-slot-games__btn--text {
    background-color: transparent;
    color: var(--main-color, #2F6BFF);
    padding: 8px 15px;
    font-size: 0.9em;
    border: 1px solid var(--border-color, #D6E2FF);
    margin-top: 15px;
}

.page-slot-games__btn--text:hover {
    background-color: var(--main-color, #2F6BFF);
    color: #FFFFFF;
    border-color: var(--main-color, #2F6BFF);
}

.page-slot-games__faq-list {
    display: grid;
    gap: 20px;
}

.page-slot-games__faq-item {
    background-color: var(--card-bg, #FFFFFF);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color, #D6E2FF);
}

.page-slot-games__faq-question {
    font-size: 1.15em;
    font-weight: bold;
    color: var(--text-main, #1F2D3D);
    margin-bottom: 10px;
}

.page-slot-games__faq-answer {
    font-size: 0.95em;
    color: var(--text-main, #1F2D3D);
    line-height: 1.6;
}

.page-slot-games__section--cta {
    background-color: #2d0000; /* Deep red/wine background for CTA */
    color: #FFFFFF;
    text-align: center;
    padding: 60px 20px;
    border-radius: 12px;
    margin-bottom: 60px;
}

.page-slot-games__section--cta .page-slot-games__section-title {
    color: #d6d604; /* Yellow-green/lemon yellow for CTA H2 */
    margin-bottom: 20px;
}

.page-slot-games__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__btn--large {
    padding: 15px 35px;
    font-size: 1.1em;
}

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

@media (max-width: 768px) {
    .page-slot-games__hero-content {
        padding: 30px 15px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8em, 5vw, 2.2em); /* Clamp for H1 */
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__section {
        margin-bottom: 40px;
        padding: 0 15px;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-slot-games__feature-grid,
    .page-slot-games__game-grid,
    .page-slot-games__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__feature-icon,
    .page-slot-games__game-image {
        max-width: 100%;
        min-width: 200px; /* Ensure minimum size */
    }
    .page-slot-games__btn {
        width: 100%;
        max-width: 250px;
    }
    .page-slot-games__hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .page-slot-games__section--cta {
        padding: 40px 15px;
    }

    /* Ensure content images don't overflow */
    .page-slot-games img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-slot-games__main-title {
        font-size: clamp(1.5em, 6vw, 2em);
    }
    .page-slot-games__section-title {
        font-size: 1.5em;
    }
    .page-slot-games__feature-title,
    .page-slot-games__game-title,
    .page-slot-games__step-title {
        font-size: 1.2em;
    }
    .page-slot-games__faq-question {
        font-size: 1em;
    }
}