/* General Styling */
.page-slot-games-jackpots {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Body background from shared.css is white */
}

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

.page-slot-games-jackpots__section-title {
    font-size: 2.5em;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
    font-weight: bold;
}

.page-slot-games-jackpots__section-title--light {
    color: #FFFFFF;
}

.page-slot-games-jackpots__sub-title {
    font-size: 2em;
    color: #017439;
    margin-top: 50px;
    margin-bottom: 25px;
    font-weight: 600;
}

.page-slot-games-jackpots__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-slot-games-jackpots__list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-slot-games-jackpots__list li {
    background-color: #f9f9f9;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 5px solid #017439;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-slot-games-jackpots__list-item-title {
    color: #017439;
    font-size: 1.2em;
    margin-top: 0;
    margin-bottom: 5px;
}

.page-slot-games-jackpots__ordered-list {
    list-style-type: decimal;
    padding-left: 25px;
    margin-bottom: 30px;
}

.page-slot-games-jackpots__ordered-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}
.page-slot-games-jackpots__ordered-list li p {
    margin-top: 5px;
}

.page-slot-games-jackpots__image-wrapper {
    text-align: center;
    margin: 40px 0;
}

.page-slot-games-jackpots__image-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Hero Section */
.page-slot-games-jackpots__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background: linear-gradient(135deg, #017439, #3f9b6c); /* Gradient background */
    color: #FFFFFF;
}

.page-slot-games-jackpots__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-slot-games-jackpots__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-slot-games-jackpots__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.page-slot-games-jackpots__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-slot-games-jackpots__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFF00; /* Yellow for prominence */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-slot-games-jackpots__intro-text {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games-jackpots__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-slot-games-jackpots__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box; /* Crucial for responsive buttons */
    max-width: 100%; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-slot-games-jackpots__btn-primary {
    background: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-slot-games-jackpots__btn-primary:hover {
    background: #a80707;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.page-slot-games-jackpots__btn-secondary {
    background: #017439; /* Main theme color */
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-slot-games-jackpots__btn-secondary:hover {
    background: #005a2e;
    border-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* Content Sections */
.page-slot-games-jackpots__content-section {
    padding: 80px 0;
}

.page-slot-games-jackpots__dark-bg {
    background-color: #017439;
    color: #FFFFFF;
}

.page-slot-games-jackpots__dark-bg .page-slot-games-jackpots__paragraph,
.page-slot-games-jackpots__dark-bg .page-slot-games-jackpots__list-item-title,
.page-slot-games-jackpots__dark-bg .page-slot-games-jackpots__list li {
    color: #FFFFFF;
}

.page-slot-games-jackpots__dark-bg .page-slot-games-jackpots__list li {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: #FFFF00;
}

/* FAQ Section */
.page-slot-games-jackpots__faq-section {
    padding: 80px 0;
}

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

.page-slot-games-jackpots__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-slot-games-jackpots__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-slot-games-jackpots__faq-item.active .page-slot-games-jackpots__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f0f0f0; /* Slightly off-white for contrast */
    border-radius: 0 0 5px 5px;
    color: #333333;
}

.page-slot-games-jackpots__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-slot-games-jackpots__dark-bg .page-slot-games-jackpots__faq-question {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.page-slot-games-jackpots__dark-bg .page-slot-games-jackpots__faq-question h3 {
    color: #FFFFFF;
}

.page-slot-games-jackpots__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-slot-games-jackpots__dark-bg .page-slot-games-jackpots__faq-question:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.page-slot-games-jackpots__faq-question:active {
    background: #eeeeee;
}

.page-slot-games-jackpots__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.15em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: #333333;
}

.page-slot-games-jackpots__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #017439;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-slot-games-jackpots__dark-bg .page-slot-games-jackpots__faq-toggle {
    color: #FFFF00;
}

.page-slot-games-jackpots__faq-item.active .page-slot-games-jackpots__faq-toggle {
    color: #C30808; /* Red for active toggle */
    transform: rotate(45deg); /* Rotate for minus sign */
}

/* CTA Banner */
.page-slot-games-jackpots__cta-banner {
    padding: 80px 20px;
    text-align: center;
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
}

.page-slot-games-jackpots__cta-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-slot-games-jackpots__cta-title {
    font-size: 2.2em;
    color: #017439;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-slot-games-jackpots__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Floating Buttons for Mobile */
.page-slot-games-jackpots__floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.page-slot-games-jackpots__floating-buttons.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.page-slot-games-jackpots__floating-btn {
    display: block;
    padding: 12px 25px;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap; /* Keep text on one line */
}

.page-slot-games-jackpots__floating-btn--register {
    background-color: #C30808; /* Register color */
    color: #FFFF00; /* Register font color */
}

.page-slot-games-jackpots__floating-btn--register:hover {
    background-color: #a80707;
    transform: translateY(-2px);
}

.page-slot-games-jackpots__floating-btn--login {
    background-color: #017439; /* Main theme color */
    color: #FFFFFF;
}

.page-slot-games-jackpots__floating-btn--login:hover {
    background-color: #005a2e;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games-jackpots__main-title {
        font-size: 2.8em;
    }
    .page-slot-games-jackpots__intro-text {
        font-size: 1.1em;
    }
    .page-slot-games-jackpots__section-title {
        font-size: 2em;
    }
    .page-slot-games-jackpots__sub-title {
        font-size: 1.7em;
    }
}

@media (max-width: 768px) {
    .page-slot-games-jackpots__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games-jackpots__hero-image img {
        border-radius: 4px;
    }

    .page-slot-games-jackpots__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-slot-games-jackpots__intro-text {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-slot-games-jackpots__cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%; /* Ensure container takes full width */
        padding: 0 15px; /* Add padding to container */
    }

    .page-slot-games-jackpots__cta-button {
        padding: 12px 30px;
        font-size: 1em;
        width: 100% !important; /* Force full width */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-slot-games-jackpots__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
        margin-top: 40px;
    }

    .page-slot-games-jackpots__sub-title {
        font-size: 1.5em;
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .page-slot-games-jackpots__paragraph {
        font-size: 1em;
    }

    .page-slot-games-jackpots__list li,
    .page-slot-games-jackpots__ordered-list li {
        font-size: 1em;
        padding: 12px 15px;
    }

    .page-slot-games-jackpots__list-item-title {
        font-size: 1.1em;
    }

    .page-slot-games-jackpots__image-wrapper img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 4px;
    }
    
    .page-slot-games-jackpots__content-section,
    .page-slot-games-jackpots__faq-section,
    .page-slot-games-jackpots__cta-banner {
        padding: 40px 0;
    }

    .page-slot-games-jackpots__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }

    .page-slot-games-jackpots__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-slot-games-jackpots__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-slot-games-jackpots__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-slot-games-jackpots__faq-answer {
        padding: 0 15px;
    }
    
    .page-slot-games-jackpots__faq-item.active .page-slot-games-jackpots__faq-answer {
        padding: 15px !important;
    }

    .page-slot-games-jackpots__cta-title {
        font-size: 1.8em;
    }

    .page-slot-games-jackpots__cta-description {
        font-size: 1em;
    }

    .page-slot-games-jackpots__floating-buttons {
        flex-direction: row; /* Horizontal for mobile bottom bar */
        width: calc(100% - 30px); /* Adjust for padding */
        left: 15px;
        right: 15px;
        bottom: 15px;
        justify-content: space-around;
        gap: 10px;
    }

    .page-slot-games-jackpots__floating-btn {
        flex: 1; /* Distribute space evenly */
        padding: 12px 15px;
        font-size: 1em;
    }
}