/* style/jackpots-progressive-jackpots.css */

/* Custom Colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-jackpots-progressive-jackpots {
    background-color: var(--color-background);
    color: var(--color-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-jackpots-progressive-jackpots__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-jackpots-progressive-jackpots__section {
    padding: 60px 0;
    position: relative;
}

.page-jackpots-progressive-jackpots__section-title {
    font-size: clamp(2em, 4vw, 2.8em);
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.page-jackpots-progressive-jackpots__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: var(--color-text-secondary);
    text-align: justify;
}

.page-jackpots-progressive-jackpots__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-jackpots-progressive-jackpots__ordered-list {
    list-style-type: decimal;
    padding-left: 20px;
    margin-bottom: 20px;
}

.page-jackpots-progressive-jackpots__list-item {
    margin-bottom: 10px;
    color: var(--color-text-main);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.page-jackpots-progressive-jackpots__list-icon {
    color: var(--color-gold);
    font-size: 1.2em;
    font-weight: bold;
}

/* Hero Section */
.page-jackpots-progressive-jackpots__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden;
}

.page-jackpots-progressive-jackpots__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit hero image height for better balance */
    overflow: hidden;
    position: relative;
}

.page-jackpots-progressive-jackpots__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-jackpots-progressive-jackpots__hero-content {
    position: relative; /* Position relative to flow below image */
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -150px; /* Overlap slightly with image for visual appeal */
    background: rgba(17, 39, 27, 0.85); /* Card BG with transparency */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
    border: 1px solid var(--color-border);
}

.page-jackpots-progressive-jackpots__hero-title {
    font-size: clamp(2.5em, 5vw, 3.5em);
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
}

.page-jackpots-progressive-jackpots__hero-description {
    font-size: 1.2em;
    color: var(--color-text-main);
    margin-bottom: 30px;
}

.page-jackpots-progressive-jackpots__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-jackpots-progressive-jackpots__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Content Images */
.page-jackpots-progressive-jackpots__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

/* Game Grid */
.page-jackpots-progressive-jackpots__popular-games .page-jackpots-progressive-jackpots__section-title {
    color: var(--color-gold);
}

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

.page-jackpots-progressive-jackpots__game-card {
    background-color: var(--color-card-bg);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-jackpots-progressive-jackpots__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-jackpots-progressive-jackpots__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-jackpots-progressive-jackpots__game-title {
    font-size: 1.5em;
    color: var(--color-gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-jackpots-progressive-jackpots__game-title a {
    color: inherit;
    text-decoration: none;
}

.page-jackpots-progressive-jackpots__game-title a:hover {
    text-decoration: underline;
}

.page-jackpots-progressive-jackpots__game-description {
    color: var(--color-text-secondary);
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-jackpots-progressive-jackpots__btn-small {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-jackpots-progressive-jackpots__btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-jackpots-progressive-jackpots__faq-section {
    background-color: var(--color-deep-green);
    padding: 60px 0;
}

.page-jackpots-progressive-jackpots__faq-section .page-jackpots-progressive-jackpots__section-title {
    color: var(--color-gold);
}

.page-jackpots-progressive-jackpots__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-jackpots-progressive-jackpots__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-jackpots-progressive-jackpots__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    color: var(--color-text-main);
    font-weight: bold;
    cursor: pointer;
    background-color: var(--color-card-bg);
    border-bottom: 1px solid var(--color-divider);
    list-style: none; /* For details/summary */
}

.page-jackpots-progressive-jackpots__faq-question::-webkit-details-marker {
    display: none;
}

.page-jackpots-progressive-jackpots__faq-question:hover {
    background-color: rgba(var(--color-card-bg), 0.8);
}

.page-jackpots-progressive-jackpots__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--color-gold);
    transition: transform 0.3s ease;
}

.page-jackpots-progressive-jackpots__faq-item[open] .page-jackpots-progressive-jackpots__faq-toggle {
    transform: rotate(45deg);
}

.page-jackpots-progressive-jackpots__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1.05em;
    color: var(--color-text-secondary);
    background-color: var(--color-card-bg);
    border-top: 1px solid var(--color-divider);
}

.page-jackpots-progressive-jackpots__faq-answer p {
    margin-bottom: 0;
}

/* Final CTA Section */
.page-jackpots-progressive-jackpots__cta-final {
    padding: 80px 0;
    text-align: center;
    background-color: var(--color-background);
}

.page-jackpots-progressive-jackpots__cta-final .page-jackpots-progressive-jackpots__section-title {
    color: var(--color-gold);
    margin-bottom: 30px;
}

.page-jackpots-progressive-jackpots__cta-final .page-jackpots-progressive-jackpots__text-block {
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.2em;
    color: var(--color-text-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-jackpots-progressive-jackpots__hero-content {
        margin-top: -100px;
        padding: 30px 20px;
    }
    .page-jackpots-progressive-jackpots__hero-title {
        font-size: clamp(2em, 4.5vw, 3em);
    }
    .page-jackpots-progressive-jackpots__hero-description {
        font-size: 1.1em;
    }
    .page-jackpots-progressive-jackpots__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-jackpots-progressive-jackpots__section {
        padding: 40px 0;
    }
    .page-jackpots-progressive-jackpots__hero-section {
        padding-bottom: 40px;
    }
    .page-jackpots-progressive-jackpots__hero-content {
        margin-top: -80px; /* Adjust overlap for mobile */
        padding: 25px 15px;
        border-radius: 10px;
    }
    .page-jackpots-progressive-jackpots__hero-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }
    .page-jackpots-progressive-jackpots__hero-description {
        font-size: 1em;
    }
    .page-jackpots-progressive-jackpots__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-jackpots-progressive-jackpots__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-jackpots-progressive-jackpots__section-title {
        font-size: clamp(1.8em, 5vw, 2.2em);
        margin-bottom: 30px;
    }
    .page-jackpots-progressive-jackpots__text-block {
        font-size: 1em;
    }
    .page-jackpots-progressive-jackpots__game-grid {
        grid-template-columns: 1fr;
    }
    .page-jackpots-progressive-jackpots__game-image {
        height: auto;
    }
    .page-jackpots-progressive-jackpots__btn-small {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-jackpots-progressive-jackpots__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-jackpots-progressive-jackpots__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.95em;
    }

    /* Image and Video responsive rules */
    .page-jackpots-progressive-jackpots img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-jackpots-progressive-jackpots video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-jackpots-progressive-jackpots__hero-image-wrapper,
    .page-jackpots-progressive-jackpots__image-content,
    .page-jackpots-progressive-jackpots__video-container,
    .page-jackpots-progressive-jackpots__video-wrapper,
    .page-jackpots-progressive-jackpots__game-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-jackpots-progressive-jackpots__hero-image-wrapper {
        max-height: 400px; /* Adjust hero image height for mobile */
    }
    .page-jackpots-progressive-jackpots__cta-buttons,
    .page-jackpots-progressive-jackpots__button-group,
    .page-jackpots-progressive-jackpots__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
    }
}