/* style/slots-jackpot-games.css */

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

/* Base styles for the page content */
.page-slots-jackpot-games {
    font-family: Arial, sans-serif;
    color: var(--slots-jackpot-games-text-main); /* Default text color for dark background body */
    background-color: var(--slots-jackpot-games-background);
    line-height: 1.6;
    padding-top: 0; /* body already handles padding-top from header */
}

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

.page-slots-jackpot-games__section-title {
    font-size: 2.5em;
    color: var(--slots-jackpot-games-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-slots-jackpot-games__section-description {
    font-size: 1.1em;
    color: var(--slots-jackpot-games-text-secondary);
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-slots-jackpot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 80px; /* Small top padding, more bottom padding */
    background-color: var(--slots-jackpot-games-background);
    overflow: hidden;
    text-align: center;
}

.page-slots-jackpot-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px; /* Space between image and content */
}

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

.page-slots-jackpot-games__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-slots-jackpot-games__hero-title {
    font-weight: bold;
    color: var(--slots-jackpot-games-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 1px;
    /* H1 font-size constraint: using clamp for controlled growth */
    font-size: clamp(2.5em, 5vw, 3.5em);
}

.page-slots-jackpot-games__hero-description {
    font-size: 1.2em;
    color: var(--slots-jackpot-games-text-secondary);
    margin-bottom: 30px;
}

/* Buttons */
.page-slots-jackpot-games__btn-primary,
.page-slots-jackpot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1em;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-slots-jackpot-games__btn-primary {
    background: var(--slots-jackpot-games-button-gradient);
    color: #ffffff; /* White text for primary button */
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slots-jackpot-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slots-jackpot-games__btn-secondary {
    background-color: transparent;
    color: var(--slots-jackpot-games-primary-color);
    border: 2px solid var(--slots-jackpot-games-primary-color);
    margin-left: 20px;
}

.page-slots-jackpot-games__btn-secondary:hover {
    background-color: var(--slots-jackpot-games-primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Section Backgrounds */
.page-slots-jackpot-games__light-bg {
    background-color: var(--slots-jackpot-games-card-bg);
    color: var(--slots-jackpot-games-text-main);
    padding: 80px 0;
}

.page-slots-jackpot-games__dark-bg {
    background-color: var(--slots-jackpot-games-background);
    color: var(--slots-jackpot-games-text-main);
    padding: 80px 0;
}

/* Content Grid */
.page-slots-jackpot-games__content-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 60px;
}

.page-slots-jackpot-games__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-slots-jackpot-games__text-block {
    flex: 1;
    font-size: 1.1em;
    color: var(--slots-jackpot-games-text-secondary);
}

.page-slots-jackpot-games__text-block p {
    margin-bottom: 20px;
}

.page-slots-jackpot-games__image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-slots-jackpot-games__image-content {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

/* Card Grid */
.page-slots-jackpot-games__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.page-slots-jackpot-games__card {
    background-color: var(--slots-jackpot-games-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--slots-jackpot-games-text-main);
    border: 1px solid var(--slots-jackpot-games-border);
}

.page-slots-jackpot-games__card-image {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-slots-jackpot-games__card-title {
    font-size: 1.5em;
    color: var(--slots-jackpot-games-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slots-jackpot-games__card-text {
    font-size: 1em;
    color: var(--slots-jackpot-games-text-secondary);
    line-height: 1.5;
}

/* Benefits List */
.page-slots-jackpot-games__benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.page-slots-jackpot-games__benefit-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--slots-jackpot-games-text-main);
}

.page-slots-jackpot-games__benefit-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
}

/* Step Guide */
.page-slots-jackpot-games__step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.page-slots-jackpot-games__step-card {
    background-color: var(--slots-jackpot-games-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: var(--slots-jackpot-games-text-main);
    border: 1px solid var(--slots-jackpot-games-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Push button to bottom */
}

.page-slots-jackpot-games__step-title {
    font-size: 1.6em;
    color: var(--slots-jackpot-games-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slots-jackpot-games__step-text {
    font-size: 1em;
    color: var(--slots-jackpot-games-text-secondary);
    line-height: 1.5;
    margin-bottom: 25px; /* Space before button */
    flex-grow: 1; /* Allow text to grow */
}

/* Promotions Section */
.page-slots-jackpot-games__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.page-slots-jackpot-games__promo-card {
    background-color: var(--slots-jackpot-games-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: var(--slots-jackpot-games-text-main);
    border: 1px solid var(--slots-jackpot-games-border);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slots-jackpot-games__promo-image {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-slots-jackpot-games__promo-title {
    font-size: 1.5em;
    color: var(--slots-jackpot-games-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slots-jackpot-games__promo-text {
    font-size: 1em;
    color: var(--slots-jackpot-games-text-secondary);
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-slots-jackpot-games__cta-center {
    text-align: center;
    margin-top: 60px;
}

.page-slots-jackpot-games__download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

/* FAQ Section */
.page-slots-jackpot-games__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slots-jackpot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--slots-jackpot-games-text-main);
    background-color: var(--slots-jackpot-games-deep-green);
    border-radius: 8px;
}

.page-slots-jackpot-games__faq-item[open] .page-slots-jackpot-games__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

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

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

.page-slots-jackpot-games__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    color: var(--slots-jackpot-games-text-secondary);
    line-height: 1.5;
}

.page-slots-jackpot-games__faq-answer p {
    margin-bottom: 10px;
}

/* Final CTA Section */
.page-slots-jackpot-games__final-cta-section {
    text-align: center;
    padding: 80px 0;
    background-color: var(--slots-jackpot-games-deep-green);
}

.page-slots-jackpot-games__final-cta-section .page-slots-jackpot-games__section-title {
    color: var(--slots-jackpot-games-gold);
}

.page-slots-jackpot-games__final-cta-section .page-slots-jackpot-games__section-description {
    color: var(--slots-jackpot-games-text-main);
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-slots-jackpot-games__content-grid {
        flex-direction: column;
        gap: 40px;
    }
    .page-slots-jackpot-games__content-grid--reverse {
        flex-direction: column;
    }
    .page-slots-jackpot-games__section-title {
        font-size: 2em;
    }
    .page-slots-jackpot-games__hero-title {
        font-size: clamp(2em, 7vw, 3em);
    }
}

@media (max-width: 768px) {
    .page-slots-jackpot-games__container {
        padding: 0 15px;
    }
    .page-slots-jackpot-games__hero-section,
    .page-slots-jackpot-games__introduction-section,
    .page-slots-jackpot-games__types-section,
    .page-slots-jackpot-games__benefits-section,
    .page-slots-jackpot-games__guide-section,
    .page-slots-jackpot-games__promotions-section,
    .page-slots-jackpot-games__download-section,
    .page-slots-jackpot-games__faq-section,
    .page-slots-jackpot-games__final-cta-section {
        padding: 40px 0;
    }
    .page-slots-jackpot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-slots-jackpot-games__section-description {
        font-size: 1em;
        margin-bottom: 40px;
    }
    .page-slots-jackpot-games__hero-description {
        font-size: 1em;
    }
    .page-slots-jackpot-games__btn-primary,
    .page-slots-jackpot-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0 !important;
        margin-bottom: 15px;
    }
    .page-slots-jackpot-games__download-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .page-slots-jackpot-games__download-buttons .page-slots-jackpot-games__btn-primary,
    .page-slots-jackpot-games__download-buttons .page-slots-jackpot-games__btn-secondary {
        width: calc(100% - 30px) !important; /* Account for container padding */
    }
    .page-slots-jackpot-games img,
    .page-slots-jackpot-games__image-content,
    .page-slots-jackpot-games__card-image,
    .page-slots-jackpot-games__promo-image,
    .page-slots-jackpot-games__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slots-jackpot-games__introduction-section,
    .page-slots-jackpot-games__types-section,
    .page-slots-jackpot-games__benefits-section,
    .page-slots-jackpot-games__guide-section,
    .page-slots-jackpot-games__promotions-section,
    .page-slots-jackpot-games__download-section,
    .page-slots-jackpot-games__faq-section,
    .page-slots-jackpot-games__final-cta-section,
    .page-slots-jackpot-games__hero-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slots-jackpot-games__hero-section {
        padding-top: 10px !important;
    }
    .page-slots-jackpot-games__hero-content {
        padding: 0;
    }
    .page-slots-jackpot-games__card-grid,
    .page-slots-jackpot-games__step-grid,
    .page-slots-jackpot-games__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-slots-jackpot-games__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-slots-jackpot-games__faq-answer {
        padding: 0 15px 15px;
    }
}