/* style/jackpot-games.css */

:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #121212;
    --card-bg-dark: rgba(255, 255, 255, 0.08);
    --card-bg-light: #ffffff;
    --border-color: #e0e0e0;
}

.page-jackpot-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Body background is dark, so default text is light */
    background-color: var(--background-dark);
}

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

.page-jackpot-games__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-jackpot-games__light-bg {
    background-color: var(--card-bg-light);
    color: var(--text-dark);
}

.page-jackpot-games__section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-weight: bold;
}

.page-jackpot-games__section-description {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-jackpot-games__hero-section {
    position: relative;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below header */
}

.page-jackpot-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-jackpot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.page-jackpot-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

.page-jackpot-games__hero-title {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-jackpot-games__hero-description {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

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

/* Buttons */
.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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: nowrap;
    word-wrap: normal;
    box-sizing: border-box;
}

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

.page-jackpot-games__btn-primary:hover {
    background-color: darken(var(--secondary-color), 10%);
    border-color: darken(var(--secondary-color), 10%);
}

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

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

.page-jackpot-games__btn-primary--large {
    padding: 18px 40px;
    font-size: 1.3rem;
}

/* Features Section */
.page-jackpot-games__features-section {
    padding: 80px 0;
}

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

.page-jackpot-games__feature-card {
    background-color: var(--card-bg-light);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-jackpot-games__feature-card:hover {
    transform: translateY(-10px);
}

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

.page-jackpot-games__feature-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-jackpot-games__feature-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Games Showcase Section */
.page-jackpot-games__games-showcase {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-jackpot-games__games-showcase .page-jackpot-games__section-title {
    color: var(--secondary-color);
}

.page-jackpot-games__games-showcase .page-jackpot-games__section-description {
    color: var(--text-light);
}

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

.page-jackpot-games__game-card {
    background-color: var(--card-bg-dark);
    color: var(--text-light);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-jackpot-games__game-card:hover {
    transform: translateY(-10px);
}

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

.page-jackpot-games__game-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-jackpot-games__game-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-jackpot-games__game-text {
    font-size: 0.95rem;
    line-height: 1.5;
}

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

/* Strategy Section */
.page-jackpot-games__strategy-section {
    padding: 80px 0;
    background-color: var(--card-bg-light);
    color: var(--text-dark);
}

.page-jackpot-games__strategy-section .page-jackpot-games__section-title {
    color: var(--primary-color);
}

.page-jackpot-games__strategy-section .page-jackpot-games__section-description {
    color: var(--text-dark);
}

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

.page-jackpot-games__strategy-card {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-jackpot-games__strategy-card:hover {
    transform: translateY(-10px);
}

.page-jackpot-games__strategy-title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-jackpot-games__strategy-text {
    font-size: 1rem;
    line-height: 1.6;
}

/* FAQ Section */
.page-jackpot-games__faq-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-jackpot-games__faq-section .page-jackpot-games__section-title {
    color: var(--secondary-color);
}

.page-jackpot-games__faq-section .page-jackpot-games__section-description {
    color: var(--text-light);
}

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

.page-jackpot-games__faq-item {
    background-color: var(--card-bg-dark);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-jackpot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary-color);
    transition: background-color 0.3s ease;
}

.page-jackpot-games__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-jackpot-games__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-jackpot-games__faq-item.active .page-jackpot-games__faq-toggle {
    transform: rotate(45deg);
}

.page-jackpot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

.page-jackpot-games__faq-item.active .page-jackpot-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 15px 25px;
}

/* Video Section */
.page-jackpot-games__video-section {
    padding: 80px 0;
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-jackpot-games__video-section .page-jackpot-games__section-title {
    color: var(--secondary-color);
}

.page-jackpot-games__video-section .page-jackpot-games__section-description {
    color: var(--text-light);
}

.page-jackpot-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

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

/* Final CTA Section */
.page-jackpot-games__cta-final-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--card-bg-light);
    color: var(--text-dark);
}

.page-jackpot-games__cta-final-content {
    max-width: 800px;
}

.page-jackpot-games__cta-final-section .page-jackpot-games__section-title {
    color: var(--primary-color);
}

.page-jackpot-games__cta-final-section .page-jackpot-games__section-description {
    color: var(--text-dark);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-jackpot-games__hero-title {
        font-size: 3rem;
    }
    .page-jackpot-games__hero-description {
        font-size: 1.1rem;
    }
    .page-jackpot-games__section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page-jackpot-games__hero-section {
        padding: 80px 0;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-jackpot-games__hero-title {
        font-size: 2.2rem;
    }
    .page-jackpot-games__hero-description {
        font-size: 1rem;
    }
    .page-jackpot-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-jackpot-games__btn-primary,
    .page-jackpot-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-jackpot-games__cta-buttons,
    .page-jackpot-games__hero-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-jackpot-games__section-title {
        font-size: 1.8rem;
    }
    .page-jackpot-games__section-description {
        font-size: 0.95rem;
    }
    .page-jackpot-games__features-grid,
    .page-jackpot-games__games-grid,
    .page-jackpot-games__strategy-grid {
        grid-template-columns: 1fr;
    }
    .page-jackpot-games__feature-card,
    .page-jackpot-games__game-card,
    .page-jackpot-games__strategy-card {
        margin: 0 15px;
    }

    /* Image responsive */
    .page-jackpot-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-jackpot-games__hero-image-wrapper,
    .page-jackpot-games__feature-card,
    .page-jackpot-games__game-card,
    .page-jackpot-games__strategy-card,
    .page-jackpot-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Video responsive */
    .page-jackpot-games video,
    .page-jackpot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-jackpot-games__video-section,
    .page-jackpot-games__video-container,
    .page-jackpot-games__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-games__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-jackpot-games__faq-question {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .page-jackpot-games__hero-title {
        font-size: 1.8rem;
    }
    .page-jackpot-games__hero-description {
        font-size: 0.9rem;
    }
    .page-jackpot-games__btn-primary,
    .page-jackpot-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1rem;
    }
    .page-jackpot-games__section-title {
        font-size: 1.5rem;
    }
    .page-jackpot-games__faq-question {
        padding: 15px 20px;
    }
    .page-jackpot-games__faq-answer {
        padding: 0 20px;
    }
    .page-jackpot-games__faq-item.active .page-jackpot-games__faq-answer {
        padding: 10px 20px;
    }
}