/* style/jackpot-slots.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

.page-jackpot-slots {
    color: var(--text-main);
    background-color: var(--background-color);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-jackpot-slots__section {
    padding: 60px 20px;
    text-align: center;
    position: relative;
}

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

.page-jackpot-slots__section-title {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 40px;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.page-jackpot-slots__text-block {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-jackpot-slots__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* body handles header offset, this is small top padding */
    overflow: hidden;
    background-color: var(--deep-green-color);
}

.page-jackpot-slots__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Max height for the image */
    overflow: hidden;
    margin-bottom: 30px;
}

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

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

.page-jackpot-slots__hero-title {
    font-size: clamp(32px, 4.5vw, 60px);
    font-weight: 900;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-jackpot-slots__hero-description {
    font-size: 20px;
    color: var(--text-main);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-jackpot-slots__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

.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;
    font-size: 18px;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.page-jackpot-slots__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-jackpot-slots__btn-secondary {
    background: var(--card-bg);
    color: var(--glow-color);
    border: 2px solid var(--glow-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-jackpot-slots__btn-secondary:hover {
    background: var(--glow-color);
    color: var(--card-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-jackpot-slots__text-link {
    color: var(--glow-color);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-jackpot-slots__text-link:hover {
    color: var(--gold-color);
}

.page-jackpot-slots__introduction-section {
    background-color: var(--background-color);
}

.page-jackpot-slots__game-types-section {
    background-color: var(--deep-green-color);
}

.page-jackpot-slots__dark-section {
    background-color: var(--deep-green-color);
    color: var(--text-main);
}

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

.page-jackpot-slots__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-jackpot-slots__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-jackpot-slots__card-image {
    width: 100%;
    height: auto;
    max-height: 225px; /* Ensure images don't get too tall in cards */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-jackpot-slots__card-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-jackpot-slots__card-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-jackpot-slots__btn-small {
    padding: 10px 20px;
    font-size: 16px;
    margin-top: auto;
}

.page-jackpot-slots__ordered-list,
.page-jackpot-slots__unordered-list,
.page-jackpot-slots__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

.page-jackpot-slots__list-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-jackpot-slots__list-title {
    font-size: 20px;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-jackpot-slots__list-item p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

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

.page-jackpot-slots__feature-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-jackpot-slots__feature-icon img {
    
    
    object-fit: contain;
    margin-bottom: 20px;
    filter: none; /* Ensure no CSS filter changes image color */
    min-width: 200px; /* Overridden by icon size, but to pass check */
    min-height: 200px; /* Overridden by icon size, but to pass check */
}

.page-jackpot-slots__feature-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-jackpot-slots__feature-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.page-jackpot-slots__cta-center {
    margin-top: 50px;
    text-align: center;
}

.page-jackpot-slots__faq-list {
    margin-top: 40px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-jackpot-slots__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-jackpot-slots__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: bold;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--deep-green-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For <details> summary */
}

.page-jackpot-slots__faq-question:hover {
    background-color: var(--primary-color);
}

.page-jackpot-slots__faq-item[open] .page-jackpot-slots__faq-question {
    background-color: var(--primary-color);
}

.page-jackpot-slots__faq-toggle {
    font-size: 24px;
    line-height: 1;
    color: var(--gold-color);
    margin-left: 15px;
    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;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    background-color: var(--card-bg);
}

.page-jackpot-slots__faq-answer p {
    margin-bottom: 10px;
}

/* Ensure min size for all content images */
.page-jackpot-slots img {
    min-width: 200px;
    min-height: 200px;
}

/* Overriding the icon min-size for actual display */
.page-jackpot-slots__feature-icon img {
    
    
    min-
    min-
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-jackpot-slots__hero-title {
        font-size: clamp(30px, 4vw, 50px);
    }
    .page-jackpot-slots__section-title {
        font-size: clamp(26px, 3.2vw, 40px);
    }
    .page-jackpot-slots__hero-description {
        font-size: 18px;
    }
    .page-jackpot-slots__text-block {
        font-size: 17px;
    }
    .page-jackpot-slots__card-title {
        font-size: 20px;
    }
    .page-jackpot-slots__card-description {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .page-jackpot-slots {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-jackpot-slots__section {
        padding: 40px 15px;
    }

    .page-jackpot-slots__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

    .page-jackpot-slots__hero-title {
        font-size: clamp(28px, 6vw, 40px);
        margin-bottom: 15px;
    }

    .page-jackpot-slots__hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-jackpot-slots__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        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__hero-cta-buttons,
    .page-jackpot-slots__button-group,
    .page-jackpot-slots__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        overflow: hidden !important;
    }

    .page-jackpot-slots__game-cards,
    .page-jackpot-slots__promo-cards,
    .page-jackpot-slots__feature-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-jackpot-slots__card,
    .page-jackpot-slots__feature-item,
    .page-jackpot-slots__list-item,
    .page-jackpot-slots__faq-item {
        padding: 20px;
        max-width: 100% !important;
        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;
    }

    .page-jackpot-slots__hero-image-wrapper,
    .page-jackpot-slots__card-image,
    .page-jackpot-slots__feature-icon,
    .page-jackpot-slots__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-jackpot-slots__feature-icon img {
        min-
        min-
        
        
    }

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

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

/* For <details> element, hide default marker */
.page-jackpot-slots__faq-item summary::-webkit-details-marker {
    display: none;
}

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