/* style/jackpot-games.css */

:root {
    --page-jackpot-games-primary-color: #26A9E0;
    --page-jackpot-games-secondary-color: #FFFFFF;
    --page-jackpot-games-login-color: #EA7C07;
    --page-jackpot-games-dark-text: #000000;
    --page-jackpot-games-light-text: #FFFFFF;
    --page-jackpot-games-background-dark: #0a0a0a; /* From body background */
    --page-jackpot-games-background-light: #FFFFFF;
}

.page-jackpot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--page-jackpot-games-light-text); /* Default text color for dark body background */
    background-color: var(--page-jackpot-games-background-dark);
}

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

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

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

.page-jackpot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    min-height: 600px;
}

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

.page-jackpot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-jackpot-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    color: var(--page-jackpot-games-light-text);
}

.page-jackpot-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--page-jackpot-games-secondary-color);
    max-width: 100%;
}

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

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

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

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

.page-jackpot-games__btn-primary:hover {
    background-color: #1a8cc4;
    border-color: #1a8cc4;
}

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

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

.page-jackpot-games__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit from section for contrast */
}

.page-jackpot-games__sub-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: inherit;
}

.page-jackpot-games__text-block {
    margin-bottom: 15px;
    font-size: 1rem;
}

.page-jackpot-games__highlight {
    color: var(--page-jackpot-games-primary-color);
    font-weight: 700;
}

.page-jackpot-games__highlight-link {
    color: var(--page-jackpot-games-primary-color);
    text-decoration: underline;
}

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

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

.page-jackpot-games__card {
    background-color: var(--page-jackpot-games-background-light);
    color: var(--page-jackpot-games-dark-text);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.page-jackpot-games__list {
    list-style: disc inside;
    margin-bottom: 15px;
    padding-left: 20px;
}

.page-jackpot-games__list li {
    margin-bottom: 8px;
}

.page-jackpot-games__image-container {
    text-align: center;
    margin-top: 40px;
}

.page-jackpot-games__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.page-jackpot-games__centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-jackpot-games__cta-card {
    background-color: var(--page-jackpot-games-primary-color);
    color: var(--page-jackpot-games-light-text);
    border-radius: 10px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-jackpot-games__cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--page-jackpot-games-secondary-color);
}

.page-jackpot-games__cta-text {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.page-jackpot-games__btn-full-width {
    width: 100%;
    display: block;
}

.page-jackpot-games__ordered-list {
    list-style: decimal inside;
    margin-bottom: 15px;
    padding-left: 20px;
}

.page-jackpot-games__ordered-list li {
    margin-bottom: 8px;
}

.page-jackpot-games__faq-list {
    margin-top: 30px;
}

.page-jackpot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Light background for items on dark section */
    color: var(--page-jackpot-games-light-text);
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.page-jackpot-games__faq-item[open] {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-jackpot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none; /* For details/summary */
}

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

.page-jackpot-games__faq-qtext {
    flex-grow: 1;
}

.page-jackpot-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    width: 20px;
    text-align: center;
}

.page-jackpot-games__faq-answer {
    padding: 15px 25px 25px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--page-jackpot-games-secondary-color); /* Ensure readability on dark background */
}

.page-jackpot-games__faq-answer p {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-jackpot-games__grid-2-columns {
        grid-template-columns: 1fr;
    }
    .page-jackpot-games__hero-content {
        padding: 20px;
    }
    .page-jackpot-games__grid-item:nth-child(2) {
        order: 1; /* Move image above text on smaller screens for some sections */
    }
    .page-jackpot-games__guide-section .page-jackpot-games__grid-item:nth-child(2) {
        order: 2;
    }
}

@media (max-width: 768px) {
    .page-jackpot-games__hero-section {
        min-height: 450px;
        padding-bottom: 40px;
    }
    .page-jackpot-games__main-title {
        font-size: 2rem;
    }
    .page-jackpot-games__hero-description {
        font-size: 1rem;
    }
    .page-jackpot-games__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-jackpot-games__sub-title {
        font-size: 1.3rem;
    }
    .page-jackpot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-jackpot-games__btn-primary,
    .page-jackpot-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1rem;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-jackpot-games__cta-buttons,
    .page-jackpot-games__button-group,
    .page-jackpot-games__btn-container {
        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__container,
    .page-jackpot-games__section,
    .page-jackpot-games__card,
    .page-jackpot-games__cta-card {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-jackpot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-jackpot-games__video-section {
        padding-top: 10px !important;
    }
    .page-jackpot-games__hero-image-wrapper {
        padding: 0;
    }
    .page-jackpot-games__image-container {
        padding: 0;
    }
    .page-jackpot-games p,
    .page-jackpot-games li,
    .page-jackpot-games__text-block {
        font-size: 0.95rem;
    }
    .page-jackpot-games__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-jackpot-games__faq-answer {
        padding: 10px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-jackpot-games__main-title {
        font-size: 1.8rem;
    }
    .page-jackpot-games__section-title {
        font-size: 1.6rem;
    }
    .page-jackpot-games__sub-title {
        font-size: 1.2rem;
    }
    .page-jackpot-games__hero-section {
        padding-bottom: 30px;
    }
}