:root {
    --jackpot-slots-bg-color: #08160F;
    --jackpot-slots-card-bg: #11271B;
    --jackpot-slots-text-main: #F2FFF6;
    --jackpot-slots-text-secondary: #A7D9B8;
    --jackpot-slots-border-color: #2E7A4E;
    --jackpot-slots-glow-color: #57E38D;
    --jackpot-slots-gold-color: #F2C14E;
    --jackpot-slots-divider-color: #1E3A2A;
    --jackpot-slots-deep-green: #0A4B2C;
    --jackpot-slots-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-jackpot-slots {
    background-color: var(--jackpot-slots-bg-color);
    color: var(--jackpot-slots-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-jackpot-slots__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small decorative top padding */
    padding-bottom: 60px;
}

.page-jackpot-slots__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: relative;
    z-index: 1;
    max-height: 700px; /* Limit height on larger screens */
}

.page-jackpot-slots__hero-content {
    position: relative;
    z-index: 2;
    margin-top: -150px; /* Pull content up over the image slightly for visual flow */
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
    padding: 30px;
    border-radius: 8px;
    max-width: 800px;
    box-sizing: border-box;
}

.page-jackpot-slots__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--jackpot-slots-gold-color);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.page-jackpot-slots__hero-description {
    font-size: 1.1rem;
    color: var(--jackpot-slots-text-main);
    margin-bottom: 30px;
}

.page-jackpot-slots__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--jackpot-slots-gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    padding-top: 40px;
}

.page-jackpot-slots__text-block {
    font-size: 1rem;
    color: var(--jackpot-slots-text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

.page-jackpot-slots__introduction-section,
.page-jackpot-slots__game-types-section,
.page-jackpot-slots__tips-section,
.page-jackpot-slots__faq-section {
    padding: 60px 0;
}

.page-jackpot-slots__dark-section {
    background-color: var(--jackpot-slots-card-bg);
    padding: 60px 0;
    color: var(--jackpot-slots-text-main);
}

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

.page-jackpot-slots__btn-primary,
.page-jackpot-slots__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-jackpot-slots__btn-primary {
    background: var(--jackpot-slots-btn-gradient);
    color: var(--jackpot-slots-text-main);
    border: 2px solid transparent;
}

.page-jackpot-slots__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 15px var(--jackpot-slots-glow-color);
}

.page-jackpot-slots__btn-secondary {
    background-color: transparent;
    color: var(--jackpot-slots-gold-color);
    border: 2px solid var(--jackpot-slots-gold-color);
}

.page-jackpot-slots__btn-secondary:hover {
    background-color: var(--jackpot-slots-gold-color);
    color: var(--jackpot-slots-bg-color);
    box-shadow: 0 0 15px var(--jackpot-slots-gold-color);
}

.page-jackpot-slots__features-grid,
.page-jackpot-slots__promos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-jackpot-slots__feature-card,
.page-jackpot-slots__promo-card {
    background-color: var(--jackpot-slots-card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--jackpot-slots-border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: var(--jackpot-slots-text-secondary);
}

.page-jackpot-slots__feature-icon,
.page-jackpot-slots__promo-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-jackpot-slots__card-title {
    font-size: 1.5rem;
    color: var(--jackpot-slots-text-main);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-jackpot-slots__card-description {
    font-size: 0.95rem;
    color: var(--jackpot-slots-text-secondary);
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-jackpot-slots__promo-card .page-jackpot-slots__btn-primary {
    margin-top: auto;
}

.page-jackpot-slots__game-list,
.page-jackpot-slots__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-jackpot-slots__game-item,
.page-jackpot-slots__tip-item {
    background-color: var(--jackpot-slots-card-bg);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid var(--jackpot-slots-divider-color);
}

.page-jackpot-slots__game-item-title,
.page-jackpot-slots__tip-item-title {
    font-size: 1.3rem;
    color: var(--jackpot-slots-text-main);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-jackpot-slots__game-item-description,
.page-jackpot-slots__tip-item-description {
    font-size: 0.95rem;
    color: var(--jackpot-slots-text-secondary);
}

.page-jackpot-slots__step-by-step {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-jackpot-slots__step-card {
    background-color: var(--jackpot-slots-card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--jackpot-slots-border-color);
    position: relative;
    padding-top: 50px; /* Space for number */
}

.page-jackpot-slots__step-number {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--jackpot-slots-gold-color);
    color: var(--jackpot-slots-bg-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.page-jackpot-slots__video-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--jackpot-slots-bg-color);
    padding-top: 10px; /* Small decorative top padding */
}

.page-jackpot-slots__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 30px auto;
    border-radius: 10px;
    border: 2px solid var(--jackpot-slots-border-color);
    width: 100%; /* Ensure it takes full width of container */
    box-sizing: border-box;
}

.page-jackpot-slots__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.page-jackpot-slots__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.page-jackpot-slots__video-cta {
    margin-top: 30px;
}

.page-jackpot-slots__faq-list {
    margin-top: 40px;
}

.page-jackpot-slots__faq-item {
    background-color: var(--jackpot-slots-card-bg);
    border: 1px solid var(--jackpot-slots-divider-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--jackpot-slots-text-secondary);
}

.page-jackpot-slots__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--jackpot-slots-text-main);
    list-style: none;
}

.page-jackpot-slots__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-jackpot-slots__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-jackpot-slots__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--jackpot-slots-text-secondary);
}

.page-jackpot-slots__faq-answer p {
    margin-bottom: 10px;
    color: var(--jackpot-slots-text-secondary);
}

.page-jackpot-slots__faq-answer a {
    color: var(--jackpot-slots-gold-color);
    text-decoration: none;
}

.page-jackpot-slots__faq-answer a:hover {
    text-decoration: underline;
}

.page-jackpot-slots__cta-final-section {
    padding: 80px 0;
    text-align: center;
}

.page-jackpot-slots__cta-final-section .page-jackpot-slots__text-block {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--jackpot-slots-text-main);
}

.page-jackpot-slots__cta-final-section .page-jackpot-slots__btn-primary,
.page-jackpot-slots__cta-final-section .page-jackpot-slots__btn-secondary {
    font-size: 1.1rem;
    padding: 15px 40px;
}

.page-jackpot-slots a {
    color: var(--jackpot-slots-gold-color);
    text-decoration: none;
}

.page-jackpot-slots a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-jackpot-slots__hero-content {
        margin-top: -100px;
        padding: 25px;
    }
    .page-jackpot-slots__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-jackpot-slots__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .page-jackpot-slots__container {
        padding: 0 15px;
    }
    .page-jackpot-slots__hero-section {
        padding-bottom: 40px;
    }
    .page-jackpot-slots__hero-image {
        max-height: 400px;
    }
    .page-jackpot-slots__hero-content {
        margin-top: -80px;
        padding: 20px;
    }
    .page-jackpot-slots__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-jackpot-slots__hero-description {
        font-size: 1rem;
    }
    .page-jackpot-slots__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 30px;
    }
    .page-jackpot-slots__text-block {
        font-size: 0.95rem;
    }

    .page-jackpot-slots__introduction-section,
    .page-jackpot-slots__game-types-section,
    .page-jackpot-slots__tips-section,
    .page-jackpot-slots__faq-section,
    .page-jackpot-slots__dark-section,
    .page-jackpot-slots__video-section,
    .page-jackpot-slots__cta-final-section {
        padding: 40px 0;
    }

    .page-jackpot-slots__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-jackpot-slots__btn-primary,
    .page-jackpot-slots__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-jackpot-slots__features-grid,
    .page-jackpot-slots__promos-grid,
    .page-jackpot-slots__step-by-step {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-jackpot-slots img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-jackpot-slots video,
    .page-jackpot-slots__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-jackpot-slots__section,
    .page-jackpot-slots__card,
    .page-jackpot-slots__container,
    .page-jackpot-slots__video-section,
    .page-jackpot-slots__video-container,
    .page-jackpot-slots__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-jackpot-slots__video-section {
        padding-top: 10px !important;
    }

    .page-jackpot-slots__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-jackpot-slots__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.9rem;
    }
}