/* style/jackpot-slots.css */
.page-jackpot-slots {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background handled by shared.css */
}

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

/* --- Hero Section --- */
.page-jackpot-slots__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    min-height: 600px;
    text-align: center;
    overflow: hidden;
    background-color: #017439;
    color: #ffffff;
}

.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; /* Slightly dim the background image */
}

.page-jackpot-slots__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-jackpot-slots__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-jackpot-slots__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

/* --- General Section Styling --- */
.page-jackpot-slots__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-jackpot-slots__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-jackpot-slots__cta-center {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* --- Buttons --- */
.page-jackpot-slots__btn-primary,
.page-jackpot-slots__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent; /* Default transparent border */
}

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

.page-jackpot-slots__btn-primary:hover {
    background-color: #a30707;
    transform: translateY(-2px);
}

.page-jackpot-slots__btn-secondary {
    background-color: #017439;
    color: #ffffff;
    border-color: #017439;
}

.page-jackpot-slots__btn-secondary:hover {
    background-color: #005a2e;
    transform: translateY(-2px);
}

/* --- Intro Section --- */
.page-jackpot-slots__intro-section {
    padding: 60px 0;
}

/* --- Benefits Section --- */
.page-jackpot-slots__benefits-section {
    padding: 60px 0;
    background-color: #017439;
    color: #ffffff;
}

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

.page-jackpot-slots__benefit-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.page-jackpot-slots__benefit-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-jackpot-slots__benefit-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFF00; /* Highlight title with yellow */
}

.page-jackpot-slots__benefit-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* --- Games Section --- */
.page-jackpot-slots__games-section {
    padding: 60px 0;
}

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

.page-jackpot-slots__game-card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark body */
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-jackpot-slots__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

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

.page-jackpot-slots__game-title a {
    color: #FFFF00; /* Yellow for game titles */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-jackpot-slots__game-title a:hover {
    color: #ffe000;
    text-decoration: underline;
}

.page-jackpot-slots__game-description {
    font-size: 0.95em;
    color: #e0e0e0;
}

/* --- Video Section --- */
.page-jackpot-slots__video-section {
    padding: 60px 0;
    background-color: #017439;
    color: #ffffff;
}

.page-jackpot-slots__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: 0 auto 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-jackpot-slots__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

.page-jackpot-slots__video-caption {
    text-align: center;
    font-style: italic;
    color: #f0f0f0;
    margin-top: 20px;
}

/* --- Registration Guide Section --- */
.page-jackpot-slots__register-guide {
    padding: 60px 0;
}

.page-jackpot-slots__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-jackpot-slots__guide-list li {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 5px solid #017439;
    margin-bottom: 20px;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-jackpot-slots__guide-title {
    font-size: 1.3em;
    color: #FFFF00; /* Yellow for guide titles */
    margin-bottom: 10px;
}

.page-jackpot-slots__guide-description {
    font-size: 1em;
    color: #e0e0e0;
}

/* --- Security Section --- */
.page-jackpot-slots__security-section {
    padding: 60px 0;
    background-color: #017439;
    color: #ffffff;
}

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

.page-jackpot-slots__security-list li {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-jackpot-slots__security-item-title {
    font-size: 1.4em;
    color: #FFFF00; /* Yellow for security titles */
    margin-bottom: 10px;
}

.page-jackpot-slots__security-item-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* --- FAQ Section --- */
.page-jackpot-slots__faq-section {
    padding: 60px 0;
}

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

.page-jackpot-slots__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    color: #ffffff;
}

.page-jackpot-slots__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease;
}

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

.page-jackpot-slots__faq-question h3 {
    margin: 0;
    color: #ffffff;
}

.page-jackpot-slots__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFFF00; /* Yellow toggle icon */
}

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

.page-jackpot-slots__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #e0e0e0;
}

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

/* --- Conclusion Section --- */
.page-jackpot-slots__conclusion-section {
    padding: 60px 0;
    background-color: #017439;
    color: #ffffff;
    text-align: center;
}

.page-jackpot-slots__conclusion-section .page-jackpot-slots__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Color Contrast Classes for Specific Backgrounds --- */
.page-jackpot-slots__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-jackpot-slots__light-bg {
  background-color: #222; /* Body background from shared.css */
  color: #ffffff;
}

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

@media (max-width: 768px) {
    .page-jackpot-slots__hero-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile content is below fixed header */
    }

    .page-jackpot-slots__hero-title {
        font-size: 2.5em;
    }

    .page-jackpot-slots__hero-description {
        font-size: 1em;
    }

    .page-jackpot-slots__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-jackpot-slots__btn-primary,
    .page-jackpot-slots__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
    }

    .page-jackpot-slots__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-jackpot-slots__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-jackpot-slots__text-block {
        font-size: 1em;
    }

    .page-jackpot-slots__benefit-item,
    .page-jackpot-slots__game-card,
    .page-jackpot-slots__security-list li {
        padding: 20px;
    }

    .page-jackpot-slots__benefit-image,
    .page-jackpot-slots__game-image {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-jackpot-slots__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-jackpot-slots__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-jackpot-slots__faq-question,
    .page-jackpot-slots__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-jackpot-slots__hero-title {
        font-size: 2em;
    }
    .page-jackpot-slots__section-title {
        font-size: 1.5em;
    }
    .page-jackpot-slots__hero-buttons {
        flex-direction: column;
    }
}