/* style/jackpot-slots.css */
.page-jackpot-slots {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: var(--secondary-color, #FFFFFF); /* Ensure default is white if shared not loaded */
}

.page-jackpot-slots__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 80px 20px 40px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    text-align: center;
    overflow: hidden;
}

.page-jackpot-slots__dark-bg {
    background-color: #017439;
    color: #FFFFFF;
}

.page-jackpot-slots__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

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

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

.page-jackpot-slots__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-jackpot-slots__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFF00; /* Register and Login font color for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-jackpot-slots__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-jackpot-slots__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-jackpot-slots__btn-primary:hover {
    background-color: #e02020;
    border-color: #e02020;
}

.page-jackpot-slots__btn-secondary {
    background-color: #017439;
    color: #FFFFFF;
    border: 2px solid #017439;
}

.page-jackpot-slots__btn-secondary:hover {
    background-color: #005a2e;
    border-color: #005a2e;
}

.page-jackpot-slots__section {
    padding: 60px 20px;
}

.page-jackpot-slots__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-jackpot-slots__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
}

.page-jackpot-slots__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
}

.page-jackpot-slots__inline-link {
    color: #017439;
    text-decoration: underline;
    font-weight: bold;
}

.page-jackpot-slots__dark-bg .page-jackpot-slots__inline-link {
    color: #FFFF00;
}

.page-jackpot-slots__image-inline {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-jackpot-slots__game-card,
.page-jackpot-slots__promo-card,
.page-jackpot-slots__app-feature-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
    color: #333333;
}

.page-jackpot-slots__dark-bg .page-jackpot-slots__game-card,
.page-jackpot-slots__dark-bg .page-jackpot-slots__promo-card,
.page-jackpot-slots__dark-bg .page-jackpot-slots__app-feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.page-jackpot-slots__game-card:hover,
.page-jackpot-slots__promo-card:hover,
.page-jackpot-slots__app-feature-card:hover {
    transform: translateY(-5px);
}

.page-jackpot-slots__card-image {
    width: 100%;
    height: 250px; /* Consistent height for cards */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-jackpot-slots__card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #017439;
}

.page-jackpot-slots__dark-bg .page-jackpot-slots__card-title {
    color: #FFFF00;
}

.page-jackpot-slots__card-title a {
    color: inherit;
    text-decoration: none;
}

.page-jackpot-slots__card-title a:hover {
    text-decoration: underline;
}

.page-jackpot-slots__card-description {
    font-size: 0.95em;
    line-height: 1.7;
}

.page-jackpot-slots__step-list,
.page-jackpot-slots__tip-list,
.page-jackpot-slots__security-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-jackpot-slots__list-item {
    background-color: #ffffff;
    border-left: 5px solid #017439;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-jackpot-slots__dark-bg .page-jackpot-slots__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: #FFFF00;
    color: #FFFFFF;
}

.page-jackpot-slots__list-item h3 {
    font-size: 1.4em;
    color: #017439;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-jackpot-slots__dark-bg .page-jackpot-slots__list-item h3 {
    color: #FFFF00;
}

.page-jackpot-slots__list-item p {
    font-size: 1em;
    line-height: 1.7;
}

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

.page-jackpot-slots__faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    color: #333333;
}

.page-jackpot-slots__dark-bg .page-jackpot-slots__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.page-jackpot-slots__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: #017439;
    list-style: none; /* For details/summary */
}

.page-jackpot-slots__dark-bg .page-jackpot-slots__faq-question {
    color: #FFFF00;
}

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

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

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

.page-jackpot-slots__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    line-height: 1.7;
    color: #555555;
}

.page-jackpot-slots__dark-bg .page-jackpot-slots__faq-answer {
    color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-jackpot-slots__hero-title {
        font-size: 2.8em;
    }
    .page-jackpot-slots__hero-description {
        font-size: 1.1em;
    }
    .page-jackpot-slots__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-jackpot-slots {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-jackpot-slots__hero-section {
        min-height: 500px;
        padding: 60px 15px 30px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-jackpot-slots__hero-title {
        font-size: 2.2em;
    }
    .page-jackpot-slots__hero-description {
        font-size: 1em;
    }
    .page-jackpot-slots__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }
    .page-jackpot-slots__btn-primary,
    .page-jackpot-slots__btn-secondary,
    .page-jackpot-slots a[class*="button"],
    .page-jackpot-slots a[class*="btn"] {
        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-slots__section,
    .page-jackpot-slots__content-area,
    .page-jackpot-slots__game-grid,
    .page-jackpot-slots__promo-grid,
    .page-jackpot-slots__app-download-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-jackpot-slots__section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .page-jackpot-slots__section-title {
        font-size: 1.8em;
    }
    .page-jackpot-slots__text-block {
        font-size: 0.95em;
    }
    .page-jackpot-slots img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-jackpot-slots__game-grid,
    .page-jackpot-slots__promo-grid,
    .page-jackpot-slots__app-download-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-jackpot-slots__card-image {
        height: 200px;
    }
    .page-jackpot-slots__list-item {
        padding: 15px;
    }
    .page-jackpot-slots__list-item h3 {
        font-size: 1.2em;
    }
    .page-jackpot-slots__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-jackpot-slots__faq-answer {
        padding: 0 15px 15px;
    }
}

@media (max-width: 480px) {
    .page-jackpot-slots__hero-title {
        font-size: 1.8em;
    }
    .page-jackpot-slots__hero-description {
        font-size: 0.9em;
    }
    .page-jackpot-slots__section-title {
        font-size: 1.5em;
    }
}