/* style/jackpot-slots.css */

/* Base styles for the page content, inherits from body if not overridden */
.page-jackpot-slots {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Text color for dark body background */
    background-color: transparent; /* Inherit from body or shared, ensuring dark background */
}

/* General container for content width */
.page-jackpot-slots__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section styling */
.page-jackpot-slots__hero-section,
.page-jackpot-slots__introduction-section,
.page-jackpot-slots__why-choose-section,
.page-jackpot-slots__game-types-section,
.page-jackpot-slots__how-to-play-section,
.page-jackpot-slots__promotions-section,
.page-jackpot-slots__faq-section,
.page-jackpot-slots__conclusion-section {
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden; /* Ensure content doesn't spill */
}

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

.page-jackpot-slots__hero-image-wrapper {
    position: relative;
    width: 100%;
    max-height: 500px; /* Limit height for aesthetic */
    overflow: hidden;
    margin-bottom: 40px;
}

.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: 2;
    max-width: 800px;
    padding: 0 20px;
}

.page-jackpot-slots__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-jackpot-slots__tagline {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* CTA Buttons */
.page-jackpot-slots__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure container takes full width for responsive buttons */
    max-width: 400px; /* Limit button group width */
    margin: 0 auto;
    box-sizing: border-box;
}

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

.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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
    flex-grow: 1; /* Allow buttons to grow */
    min-width: 180px; /* Minimum width for buttons */
}

.page-jackpot-slots__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

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

.page-jackpot-slots__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-jackpot-slots__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Section titles */
.page-jackpot-slots__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
}

/* Text blocks */
.page-jackpot-slots__text-block {
    max-width: 900px;
    margin: 0 auto 20px auto;
    font-size: 1.1rem;
    color: #f0f0f0;
}

.page-jackpot-slots__text-block a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-jackpot-slots__text-block a:hover {
    color: #1a8cc2;
}

/* Background variations */
.page-jackpot-slots__light-bg {
    background-color: rgba(255, 255, 255, 0.05); /* Light translucent on dark body */
    color: #ffffff;
}

.page-jackpot-slots__dark-section {
    background-color: #26A9E0; /* Brand color as background */
    color: #ffffff;
}

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

.page-jackpot-slots__feature-card {
    background-color: rgba(0, 0, 0, 0.2); /* Slightly darker for contrast */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-jackpot-slots__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-jackpot-slots__card-text {
    font-size: 1rem;
    color: #f0f0f0;
}

/* Game Types Grid */
.page-jackpot-slots__game-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-jackpot-slots__game-type-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

/* How to Play List */
.page-jackpot-slots__steps-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-jackpot-slots__list-item {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-jackpot-slots__list-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-jackpot-slots__list-item p {
    font-size: 1rem;
    color: #f0f0f0;
}

.page-jackpot-slots__list-item a {
    color: #EA7C07; /* Login color for specific links */
    text-decoration: underline;
}

.page-jackpot-slots__list-item a:hover {
    color: #d66a00;
}

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

.page-jackpot-slots__promo-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-jackpot-slots__read-more {
    display: inline-block;
    margin-top: 15px;
    color: #26A9E0;
    text-decoration: none;
    font-weight: 600;
}

.page-jackpot-slots__read-more:hover {
    text-decoration: underline;
    color: #1a8cc2;
}

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

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

.page-jackpot-slots__faq-item summary {
    list-style: none; /* Remove default marker */
}

.page-jackpot-slots__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for webkit browsers */
}

.page-jackpot-slots__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-jackpot-slots__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-jackpot-slots__faq-item[open] .page-jackpot-slots__faq-toggle {
    transform: rotate(45deg); /* Rotate + to become x or just - */
}

.page-jackpot-slots__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: #f0f0f0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-jackpot-slots__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles header offset */
    }

    .page-jackpot-slots__hero-image-wrapper {
        margin-bottom: 30px;
        max-height: 300px;
    }

    .page-jackpot-slots__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .page-jackpot-slots__tagline {
        font-size: 1rem;
    }

    .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;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-jackpot-slots__section-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
        margin-bottom: 20px;
    }

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

    .page-jackpot-slots__features-grid,
    .page-jackpot-slots__game-types-grid,
    .page-jackpot-slots__promo-list {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .page-jackpot-slots__feature-card,
    .page-jackpot-slots__game-type-card,
    .page-jackpot-slots__promo-item,
    .page-jackpot-slots__faq-item,
    .page-jackpot-slots__list-item {
        padding: 20px 15px;
        margin-left: 15px;
        margin-right: 15px;
        max-width: calc(100% - 30px) !important; /* Account for padding */
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-jackpot-slots img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-jackpot-slots__container {
        padding: 0 15px;
    }

    .page-jackpot-slots__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }

    .page-jackpot-slots__faq-answer {
        padding: 15px 20px;
        font-size: 0.95rem;
    }

    .page-jackpot-slots__list-title {
        font-size: 1.2rem;
    }
}

/* Ensure no filter on images */
.page-jackpot-slots img {
    filter: none !important;
}

/* Specific button color for login as per custom color rules */
.page-jackpot-slots__list-item a {
    color: #EA7C07; /* Custom color for login/register links within text */
}

.page-jackpot-slots__list-item a:hover {
    color: #d66a00;
}