:root {
    --waybet-primary: #11A84E;
    --waybet-secondary: #22C768;
    --waybet-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --waybet-card-bg: #11271B;
    --waybet-background: #08160F;
    --waybet-text-main: #F2FFF6;
    --waybet-text-secondary: #A7D9B8;
    --waybet-border: #2E7A4E;
    --waybet-glow: #57E38D;
    --waybet-gold: #F2C14E;
    --waybet-divider: #1E3A2A;
    --waybet-deep-green: #0A4B2C;
}

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

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

.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--waybet-deep-green);
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
}

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

.page-slot-games__hero-content-wrapper {
    width: 100%;
    position: relative;
    z-index: 10;
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(180deg, rgba(8, 22, 15, 0.8) 0%, var(--waybet-background) 100%);
    box-sizing: border-box;
    margin-top: -100px; /* Pull content up over the image, but not *on* it */
}

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

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--waybet-gold);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-slot-games__description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--waybet-text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background: var(--waybet-button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

.page-slot-games__btn-secondary {
    background: transparent;
    color: var(--waybet-text-main);
    border: 2px solid var(--waybet-primary);
}

.page-slot-games__btn-secondary:hover {
    background: var(--waybet-primary);
    color: #ffffff;
    transform: translateY(-3px);
}

.page-slot-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.page-slot-games__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--waybet-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

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

.page-slot-games__intro-section,
.page-slot-games__games-section,
.page-slot-games__how-to-play-section,
.page-slot-games__promotions-section,
.page-slot-games__benefits-section,
.page-slot-games__tips-section,
.page-slot-games__faq-section {
    padding: 60px 0;
}

.page-slot-games__text-block {
    font-size: 1.05rem;
    color: var(--waybet-text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

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

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

.page-slot-games__game-card:hover,
.page-slot-games__promo-card:hover,
.page-slot-games__step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--waybet-glow);
}

.page-slot-games__game-card-image,
.page-slot-games__promo-image,
.page-slot-games__step-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    display: block;
}

.page-slot-games__game-card-title,
.page-slot-games__promo-title,
.page-slot-games__step-title {
    font-size: 1.4rem;
    color: var(--waybet-text-main);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-slot-games__game-card-title a,
.page-slot-games__promo-title a {
    color: var(--waybet-text-main);
    text-decoration: none;
}

.page-slot-games__game-card-title a:hover,
.page-slot-games__promo-title a:hover {
    color: var(--waybet-primary);
}

.page-slot-games__game-card-description,
.page-slot-games__promo-description,
.page-slot-games__step-description {
    font-size: 0.95rem;
    color: var(--waybet-text-secondary);
    margin-bottom: 20px;
    padding: 0 15px;
}

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

.page-slot-games__benefits-list,
.page-slot-games__tips-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-slot-games__benefits-item,
.page-slot-games__tips-item {
    background-color: var(--waybet-card-bg);
    border: 1px solid var(--waybet-border);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__benefits-item:hover,
.page-slot-games__tips-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--waybet-glow);
}

.page-slot-games__benefits-title,
.page-slot-games__tips-title {
    font-size: 1.3rem;
    color: var(--waybet-primary);
    margin-bottom: 10px;
}

.page-slot-games__benefits-description,
.page-slot-games__tips-description {
    font-size: 1rem;
    color: var(--waybet-text-secondary);
}

.page-slot-games__faq-list {
    margin-top: 30px;
}

.page-slot-games__faq-item {
    background-color: var(--waybet-card-bg);
    border: 1px solid var(--waybet-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--waybet-text-main);
    cursor: pointer;
    background-color: var(--waybet-deep-green);
    border-bottom: 1px solid var(--waybet-divider);
    list-style: none;
}

.page-slot-games__faq-question::-webkit-details-marker {
    display: none;
}

.page-slot-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--waybet-primary);
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    transform: rotate(45deg);
}

.page-slot-games__faq-answer {
    padding: 15px 25px;
    font-size: 1rem;
    color: var(--waybet-text-secondary);
    line-height: 1.7;
}

.page-slot-games__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--waybet-deep-green);
    color: var(--waybet-text-main);
}

.page-slot-games__cta-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    color: var(--waybet-gold);
    margin-bottom: 20px;
    font-weight: 700;
}

.page-slot-games__cta-description {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--waybet-text-secondary);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .page-slot-games__hero-content-wrapper {
        margin-top: -50px;
        padding: 30px 15px;
    }
    .page-slot-games__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-slot-games__description {
        font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    }
    .page-slot-games__section-title {
        font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    }
    .page-slot-games__game-grid,
    .page-slot-games__promo-grid,
    .page-slot-games__steps-grid,
    .page-slot-games__benefits-list,
    .page-slot-games__tips-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    .page-slot-games__intro-section,
    .page-slot-games__games-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__promotions-section,
    .page-slot-games__benefits-section,
    .page-slot-games__tips-section,
    .page-slot-games__faq-section {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding-top: 10px !important;
    }
    .page-slot-games__hero-content-wrapper {
        margin-top: -30px;
        padding: 20px 15px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .page-slot-games__description {
        font-size: clamp(0.9rem, 4vw, 1rem);
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__hero-image-wrapper,
    .page-slot-games__hero-content-wrapper,
    .page-slot-games__game-card,
    .page-slot-games__promo-card,
    .page-slot-games__step-item,
    .page-slot-games__benefits-item,
    .page-slot-games__tips-item,
    .page-slot-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-slot-games__game-card-image,
    .page-slot-games__promo-image,
    .page-slot-games__step-image {
        height: 180px;
    }
    .page-slot-games__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-slot-games__faq-answer {
        padding: 10px 20px;
    }
    .page-slot-games__cta-section {
        padding: 50px 0;
    }
    .page-slot-games__cta-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }
    .page-slot-games__cta-description {
        font-size: clamp(1rem, 4vw, 1.1rem);
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-content-wrapper {
        margin-top: -10px;
    }
    .page-slot-games__section-title {
        font-size: 1.5rem;
    }
    .page-slot-games__game-grid,
    .page-slot-games__promo-grid,
    .page-slot-games__steps-grid,
    .page-slot-games__benefits-list,
    .page-slot-games__tips-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .page-slot-games__game-card-image,
    .page-slot-games__promo-image,
    .page-slot-games__step-image {
        height: 160px;
    }
    .page-slot-games__game-card-title,
    .page-slot-games__promo-title,
    .page-slot-games__step-title {
        font-size: 1.2rem;
    }
    .page-slot-games__benefits-title,
    .page-slot-games__tips-title {
        font-size: 1.15rem;
    }
    .page-slot-games__text-block,
    .page-slot-games__benefits-description,
    .page-slot-games__tips-description {
        font-size: 0.9rem;
    }
}