/* style/jackpot-slots.css */

/* Custom Colors */
:root {
    --jackpot-slots-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --jackpot-slots-card-bg: #11271B;
    --jackpot-slots-bg: #08160F;
    --jackpot-slots-text-main: #F2FFF6;
    --jackpot-slots-text-secondary: #A7D9B8;
    --jackpot-slots-border: #2E7A4E;
    --jackpot-slots-glow: #57E38D;
    --jackpot-slots-gold: #F2C14E;
    --jackpot-slots-divider: #1E3A2A;
    --jackpot-slots-deep-green: #0A4B2C;
}

/* General Page Styling */
.page-jackpot-slots {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--jackpot-slots-text-main); /* Default text color for the page */
    background-color: var(--jackpot-slots-bg); /* Default background for the page */
}

/* Sections */
.page-jackpot-slots__hero-section,
.page-jackpot-slots__about-section,
.page-jackpot-slots__how-to-play-section,
.page-jackpot-slots__games-section,
.page-jackpot-slots__promotions-section,
.page-jackpot-slots__safety-section,
.page-jackpot-slots__faq-section,
.page-jackpot-slots__call-to-action {
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.page-jackpot-slots__dark-bg {
    background-color: var(--jackpot-slots-bg);
    color: var(--jackpot-slots-text-main);
}

.page-jackpot-slots__light-bg {
    background-color: #f8f9fa; /* Using a light background for contrast on some sections */
    color: #333333;
}

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

/* Typography */
.page-jackpot-slots__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--jackpot-slots-gold);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-jackpot-slots__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--jackpot-slots-gold);
}

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

.page-jackpot-slots__description,
.page-jackpot-slots__section-description,
.page-jackpot-slots__text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-jackpot-slots__text-main {
    color: var(--jackpot-slots-text-main);
}

.page-jackpot-slots__text-secondary {
    color: var(--jackpot-slots-text-secondary);
}

/* Buttons */
.page-jackpot-slots__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-jackpot-slots__cta-center {
    margin-top: 40px;
}

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

.page-jackpot-slots__btn-primary {
    background: var(--jackpot-slots-btn-gradient);
    color: var(--jackpot-slots-text-main);
    border: 2px solid transparent;
}

.page-jackpot-slots__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-jackpot-slots__btn-secondary:hover {
    background-color: var(--jackpot-slots-gold);
    color: var(--jackpot-slots-bg);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-jackpot-slots__btn-text {
    color: var(--jackpot-slots-gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-jackpot-slots__btn-text:hover {
    color: var(--jackpot-slots-glow);
    text-decoration: underline;
}

/* Hero Section Specific */
.page-jackpot-slots__hero-section {
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 80px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.page-jackpot-slots__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}

.page-jackpot-slots__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

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

/* Features Grid */
.page-jackpot-slots__features-grid,
.page-jackpot-slots__games-grid,
.page-jackpot-slots__promo-grid,
.page-jackpot-slots__steps-grid,
.page-jackpot-slots__safety-grid {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.page-jackpot-slots__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-jackpot-slots__feature-card,
.page-jackpot-slots__game-card,
.page-jackpot-slots__promo-card,
.page-jackpot-slots__step-card {
    background-color: var(--jackpot-slots-card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    color: var(--jackpot-slots-text-main);
}

.page-jackpot-slots__feature-icon,
.page-jackpot-slots__game-image,
.page-jackpot-slots__promo-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-jackpot-slots__feature-title,
.page-jackpot-slots__game-title,
.page-jackpot-slots__promo-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--jackpot-slots-gold);
}

.page-jackpot-slots__feature-text,
.page-jackpot-slots__game-text,
.page-jackpot-slots__promo-text {
    font-size: 1rem;
    color: var(--jackpot-slots-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* How To Play Section */
.page-jackpot-slots__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    margin: 40px auto;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-jackpot-slots__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.page-jackpot-slots__video-caption {
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--jackpot-slots-text-secondary);
}

.page-jackpot-slots__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-top: 60px;
}

.page-jackpot-slots__step-card {
    padding: 25px;
}

.page-jackpot-slots__step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--jackpot-slots-gold);
    margin-bottom: 15px;
    background-color: var(--jackpot-slots-deep-green);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid var(--jackpot-slots-border);
}

.page-jackpot-slots__step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--jackpot-slots-gold);
}

.page-jackpot-slots__step-text {
    font-size: 0.95rem;
    color: var(--jackpot-slots-text-secondary);
}

/* Games Section */
.page-jackpot-slots__games-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-jackpot-slots__strategy-content {
    text-align: left;
    max-width: 900px;
    margin: 60px auto 0 auto;
    padding: 0 20px;
    color: #333333; /* Dark text on light background */
}

.page-jackpot-slots__strategy-content p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.page-jackpot-slots__list {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 20px;
    color: #333333; /* Dark text on light background */
}

.page-jackpot-slots__list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.page-jackpot-slots__list strong {
    color: #000000; /* Darker for emphasis */
}

/* Promotions Section */
.page-jackpot-slots__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Safety Section */
.page-jackpot-slots__safety-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.page-jackpot-slots__safety-item {
    background-color: var(--jackpot-slots-card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    color: var(--jackpot-slots-text-main);
    text-align: center;
}

.page-jackpot-slots__safety-icon {
    width: 100px; /* Min 200px requirement for content images, these are illustrative */
    height: 100px;
    margin-bottom: 15px;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-jackpot-slots__safety-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--jackpot-slots-gold);
}

.page-jackpot-slots__safety-text {
    font-size: 0.95rem;
    color: var(--jackpot-slots-text-secondary);
}

/* FAQ Section */
.page-jackpot-slots__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-jackpot-slots__faq-item {
    background-color: var(--jackpot-slots-card-bg);
    border: 1px solid var(--jackpot-slots-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--jackpot-slots-text-main);
}

.page-jackpot-slots__faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--jackpot-slots-gold);
    background-color: var(--jackpot-slots-deep-green);
    position: relative;
    user-select: none;
}

.page-jackpot-slots__faq-item details > summary {
    list-style: none;
}

.page-jackpot-slots__faq-item details > summary::-webkit-details-marker {
    display: none;
}

.page-jackpot-slots__faq-toggle {
    font-size: 1.5rem;
    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: 15px 25px 20px 25px;
    font-size: 1rem;
    color: var(--jackpot-slots-text-secondary);
    border-top: 1px solid var(--jackpot-slots-divider);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .page-jackpot-slots__hero-section,
    .page-jackpot-slots__about-section,
    .page-jackpot-slots__how-to-play-section,
    .page-jackpot-slots__games-section,
    .page-jackpot-slots__promotions-section,
    .page-jackpot-slots__safety-section,
    .page-jackpot-slots__faq-section,
    .page-jackpot-slots__call-to-action {
        padding: 40px 0;
    }
    .page-jackpot-slots__main-title {
        font-size: 2.8rem;
    }
    .page-jackpot-slots__section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .page-jackpot-slots__hero-section {
        padding-top: 10px !important;
        padding-bottom: 60px;
    }
    .page-jackpot-slots__hero-image-wrapper {
        max-height: 400px;
    }
    .page-jackpot-slots__main-title {
        font-size: 2.2rem !important;
        line-height: 1.3;
    }
    .page-jackpot-slots__section-title {
        font-size: 1.8rem !important;
    }
    .page-jackpot-slots__description,
    .page-jackpot-slots__section-description,
    .page-jackpot-slots__text,
    .page-jackpot-slots__strategy-content p,
    .page-jackpot-slots__list li {
        font-size: 1rem !important;
    }
    .page-jackpot-slots__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-jackpot-slots__btn-primary,
    .page-jackpot-slots__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
    }
    .page-jackpot-slots__container {
        padding: 0 15px;
    }
    .page-jackpot-slots__features-grid,
    .page-jackpot-slots__games-grid,
    .page-jackpot-slots__promo-grid,
    .page-jackpot-slots__steps-grid,
    .page-jackpot-slots__safety-grid {
        grid-template-columns: 1fr;
    }
    .page-jackpot-slots__feature-card,
    .page-jackpot-slots__game-card,
    .page-jackpot-slots__promo-card,
    .page-jackpot-slots__step-card,
    .page-jackpot-slots__safety-item {
        padding: 20px;
    }
    .page-jackpot-slots img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-jackpot-slots video,
    .page-jackpot-slots__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-jackpot-slots__video-wrapper,
    .page-jackpot-slots__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-jackpot-slots__video-section {
        padding-top: 10px !important;
    }
    .page-jackpot-slots__faq-question {
        font-size: 1rem !important;
        padding: 15px 20px;
    }
    .page-jackpot-slots__faq-answer {
        padding: 10px 20px 15px 20px;
    }
    .page-jackpot-slots__faq-list {
        padding: 0 15px;
    }
    .page-jackpot-slots__strategy-content {
        padding: 0 15px;
    }
    .page-jackpot-slots__safety-icon {
        width: 80px;
        height: 80px;
    }
}