/* style/jackpot-games.css */

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

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

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

.page-jackpot-games__main-title,
.page-jackpot-games__section-title {
    color: var(--page-jackpot-games-text-main);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.5px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-jackpot-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-jackpot-games__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    padding-top: 40px;
}

.page-jackpot-games__sub-title,
.page-jackpot-games__card-title {
    color: var(--page-jackpot-games-gold);
    font-size: 1.75rem;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.page-jackpot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* body handles --header-offset, this is for visual spacing */
    background-color: var(--page-jackpot-games-bg);
    overflow: hidden;
}

.page-jackpot-games__hero-image-wrapper {
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-jackpot-games__hero-content {
    text-align: center;
    padding: 40px 20px 0;
    max-width: 900px;
    z-index: 1;
}

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

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

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

.page-jackpot-games__btn-primary {
    background: var(--page-jackpot-games-btn-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

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

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

.page-jackpot-games__btn-secondary:hover {
    background: var(--page-jackpot-games-gold);
    color: var(--page-jackpot-games-bg);
}

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

.page-jackpot-games__introduction-section,
.page-jackpot-games__games-showcase-section,
.page-jackpot-games__conclusion-section {
    padding: 60px 0;
    background-color: var(--page-jackpot-games-bg);
}

.page-jackpot-games__dark-section {
    padding: 60px 0;
    background-color: var(--page-jackpot-games-deep-green);
}

.page-jackpot-games__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-jackpot-games__text-block p,
.page-jackpot-games__list li {
    color: var(--page-jackpot-games-text-secondary);
    margin-bottom: 15px;
}

.page-jackpot-games__list {
    list-style-type: disc;
    padding-left: 25px;
}

.page-jackpot-games__list strong {
    color: var(--page-jackpot-games-text-main);
}

.page-jackpot-games__image-block {
    text-align: center;
}

.page-jackpot-games__image-item {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
}

.page-jackpot-games__how-to-play-section {
    padding: 60px 0;
}

.page-jackpot-games__step-by-step {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-jackpot-games__card {
    background-color: var(--page-jackpot-games-card-bg);
    border: 1px solid var(--page-jackpot-games-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    color: var(--page-jackpot-games-text-secondary);
    transition: transform 0.3s ease;
}

.page-jackpot-games__card:hover {
    transform: translateY(-5px);
}

.page-jackpot-games__card-title {
    color: var(--page-jackpot-games-gold);
    font-size: 1.5rem;
    margin-top: 0;
}

.page-jackpot-games__strategy-text {
    background-color: var(--page-jackpot-games-card-bg);
    border: 1px solid var(--page-jackpot-games-border);
    border-radius: 10px;
    padding: 30px;
}

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

.page-jackpot-games__game-card {
    text-align: center;
}

.page-jackpot-games__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
}

.page-jackpot-games__game-title a {
    color: var(--page-jackpot-games-text-main);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-jackpot-games__game-title a:hover {
    color: var(--page-jackpot-games-gold);
}

.page-jackpot-games__game-description {
    color: var(--page-jackpot-games-text-secondary);
    font-size: 0.95rem;
}

.page-jackpot-games__update-info {
    text-align: center;
    color: var(--page-jackpot-games-text-secondary);
    margin-top: 40px;
    font-style: italic;
}

.page-jackpot-games__center-cta {
    text-align: center;
    margin-top: 40px;
}

.page-jackpot-games__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-jackpot-games__promo-card {
    text-align: center;
}

.page-jackpot-games__promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
}

.page-jackpot-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-jackpot-games__feature-card {
    text-align: center;
    padding: 20px;
}

.page-jackpot-games__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-jackpot-games__faq-section {
    padding: 60px 0;
}

.page-jackpot-games__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-jackpot-games__faq-item {
    margin-bottom: 20px;
    text-align: left;
    border-radius: 10px;
    overflow: hidden;
}

.page-jackpot-games__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: var(--page-jackpot-games-deep-green);
    color: var(--page-jackpot-games-text-main);
    font-weight: bold;
    font-size: 1.15rem;
    position: relative;
}

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

.page-jackpot-games__faq-qtext {
    flex-grow: 1;
    padding-right: 15px;
}

.page-jackpot-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--page-jackpot-games-gold);
}

.page-jackpot-games__faq-item[open] .page-jackpot-games__faq-toggle {
    content: '−';
}

.page-jackpot-games__faq-answer {
    padding: 20px 25px;
    background-color: var(--page-jackpot-games-card-bg);
    border-top: 1px solid var(--page-jackpot-games-border);
    color: var(--page-jackpot-games-text-secondary);
    font-size: 1rem;
}

.page-jackpot-games__conclusion-section .page-jackpot-games__cta-buttons {
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-jackpot-games__grid {
        grid-template-columns: 1fr;
    }

    .page-jackpot-games__image-block {
        order: -1; /* Image appears above text on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-jackpot-games__hero-section {
        padding: 10px 0 40px 0;
    }
    .page-jackpot-games__main-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }
    .page-jackpot-games__section-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-jackpot-games__hero-description {
        font-size: 1rem;
    }
    .page-jackpot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-jackpot-games__btn-primary,
    .page-jackpot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        margin: 0 auto;
    }
    .page-jackpot-games__container {
        padding: 15px;
    }
    .page-jackpot-games__grid {
        gap: 30px;
    }
    .page-jackpot-games__step-by-step,
    .page-jackpot-games__games-grid,
    .page-jackpot-games__promo-grid,
    .page-jackpot-games__features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-jackpot-games__section-title {
        padding-top: 20px;
        margin-bottom: 20px;
    }
    .page-jackpot-games__section-description {
        margin-bottom: 30px;
    }
    .page-jackpot-games__text-block p,
    .page-jackpot-games__list li,
    .page-jackpot-games__game-description,
    .page-jackpot-games__faq-answer p {
        font-size: 0.95rem;
    }
    .page-jackpot-games__card {
        padding: 20px;
    }
    .page-jackpot-games__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }

    /* Mobile image responsiveness */
    .page-jackpot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-jackpot-games__hero-image-wrapper,
    .page-jackpot-games__image-block,
    .page-jackpot-games__game-card,
    .page-jackpot-games__promo-card,
    .page-jackpot-games__feature-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-jackpot-games__game-image,
    .page-jackpot-games__promo-image,
    .page-jackpot-games__feature-icon {
        height: auto !important; /* Allow height to adjust */
        min-height: 200px !important;
        min-width: 200px !important;
    }
    .page-jackpot-games__hero-image {
        min-height: 200px !important;
    }
    .page-jackpot-games__hero-content,
    .page-jackpot-games__introduction-section .page-jackpot-games__container,
    .page-jackpot-games__how-to-play-section .page-jackpot-games__container,
    .page-jackpot-games__games-showcase-section .page-jackpot-games__container,
    .page-jackpot-games__promotions-section .page-jackpot-games__container,
    .page-jackpot-games__why-choose-us-section .page-jackpot-games__container,
    .page-jackpot-games__faq-section .page-jackpot-games__container,
    .page-jackpot-games__conclusion-section .page-jackpot-games__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-jackpot-games__main-title {
        font-size: clamp(1.8rem, 9vw, 2.5rem);
    }
    .page-jackpot-games__section-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }
    .page-jackpot-games__hero-description {
        font-size: 0.9rem;
    }
    .page-jackpot-games__sub-title,
    .page-jackpot-games__card-title {
        font-size: 1.3rem;
    }
    .page-jackpot-games__hero-section {
        padding-bottom: 30px;
    }
}