/* style/slot-games-jackpot-winners.css */

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #000000; /* Black */
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-light: #f5f5f5;
    --background-dark: #1a1a1a;
    --border-color: #e0e0e0;
    --button-hover-darken: #e6c200;
}

/* Base styles for the page content, assuming a light body background from shared.css */
.page-slot-games-jackpot-winners {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark); /* Default dark text for light background */
    background-color: var(--background-light); /* Assuming light background for the page content */
    line-height: 1.6;
}

.page-slot-games-jackpot-winners__section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.page-slot-games-jackpot-winners__section-description {
    font-size: 18px;
    color: var(--text-dark);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

.page-slot-games-jackpot-winners__btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.page-slot-games-jackpot-winners__btn-primary:hover {
    background-color: var(--button-hover-darken);
    border-color: var(--button-hover-darken);
    transform: translateY(-2px);
}

.page-slot-games-jackpot-winners__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-slot-games-jackpot-winners__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Hero Section */
.page-slot-games-jackpot-winners__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0; /* Assuming shared.css handles body padding-top */
    margin-top: 0;
    background-color: var(--background-dark);
}

.page-slot-games-jackpot-winners__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-slot-games-jackpot-winners__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* Darken image to ensure text contrast */
}

.page-slot-games-jackpot-winners__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    color: var(--text-light);
    padding: 40px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
    border-radius: 12px;
    margin: 20px;
}

.page-slot-games-jackpot-winners__hero-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.2;
}

.page-slot-games-jackpot-winners__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.page-slot-games-jackpot-winners__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Latest Winners Section */
.page-slot-games-jackpot-winners__latest-winners-section {
    padding: 80px 20px;
    background-color: var(--background-light);
}

.page-slot-games-jackpot-winners__winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px auto;
}

.page-slot-games-jackpot-winners__winner-card {
    background-color: var(--text-light);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games-jackpot-winners__winner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games-jackpot-winners__winner-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    margin-bottom: 15px;
}

.page-slot-games-jackpot-winners__winner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-slot-games-jackpot-winners__winner-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-slot-games-jackpot-winners__winner-details {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.page-slot-games-jackpot-winners__winner-details strong {
    color: #ff0000; /* Red for emphasis on amount */
    font-size: 18px;
}

.page-slot-games-jackpot-winners__cta-section {
    text-align: center;
    margin-top: 40px;
}

/* How to Win Section */
.page-slot-games-jackpot-winners__how-to-win-section {
    padding: 80px 20px;
    background-color: var(--background-dark);
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-slot-games-jackpot-winners__how-to-win-section .page-slot-games-jackpot-winners__section-title,
.page-slot-games-jackpot-winners__how-to-win-section .page-slot-games-jackpot-winners__section-description {
    color: var(--text-light);
}

.page-slot-games-jackpot-winners__how-to-win-content {
    flex: 1;
}

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

.page-slot-games-jackpot-winners__steps-list li {
    font-size: 18px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.page-slot-games-jackpot-winners__steps-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
}

.page-slot-games-jackpot-winners__how-to-win-image {
    flex: 1;
    text-align: center;
}

.page-slot-games-jackpot-winners__how-to-win-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsible Gambling Section */
.page-slot-games-jackpot-winners__responsible-gambling-section {
    padding: 80px 20px;
    background-color: var(--background-light);
}

.page-slot-games-jackpot-winners__responsible-gambling-content {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-slot-games-jackpot-winners__responsible-gambling-image {
    flex: 1;
    text-align: center;
}

.page-slot-games-jackpot-winners__responsible-gambling-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-slot-games-jackpot-winners__responsible-gambling-text {
    flex: 1;
}

.page-slot-games-jackpot-winners__responsible-gambling-text p {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

/* FAQ Section */
.page-slot-games-jackpot-winners__faq-section {
    padding: 80px 20px;
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-slot-games-jackpot-winners__faq-section .page-slot-games-jackpot-winners__section-title {
    color: var(--primary-color);
}

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

.page-slot-games-jackpot-winners__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--secondary-color);
}

.page-slot-games-jackpot-winners__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--secondary-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-slot-games-jackpot-winners__faq-question:hover {
    background: #1f1f1f;
    border-color: rgba(255, 255, 255, 0.2);
}

.page-slot-games-jackpot-winners__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-light);
    pointer-events: none;
}

.page-slot-games-jackpot-winners__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    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: 32px;
    height: 32px;
}

.page-slot-games-jackpot-winners__faq-item.active .page-slot-games-jackpot-winners__faq-toggle {
    color: var(--text-light);
    transform: rotate(45deg);
}

.page-slot-games-jackpot-winners__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 25px;
    opacity: 0;
    color: var(--text-light);
    background-color: #1f1f1f;
    border-radius: 0 0 8px 8px;
}

.page-slot-games-jackpot-winners__faq-item.active .page-slot-games-jackpot-winners__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
}

.page-slot-games-jackpot-winners__faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

/* Join Now Section */
.page-slot-games-jackpot-winners__join-now-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    text-align: center;
    color: var(--text-light);
}

.page-slot-games-jackpot-winners__join-now-section .page-slot-games-jackpot-winners__section-title {
    color: var(--text-light);
    margin-bottom: 20px;
}

.page-slot-games-jackpot-winners__join-now-section .page-slot-games-jackpot-winners__section-description {
    color: var(--text-light);
    margin-bottom: 40px;
}

.page-slot-games-jackpot-winners__join-now-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive Design */
/* Mobile/Tablet images & buttons */
@media (max-width: 768px) {
    .page-slot-games-jackpot-winners {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-slot-games-jackpot-winners__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

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

    .page-slot-games-jackpot-winners__hero-section {
        min-height: 450px;
    }

    .page-slot-games-jackpot-winners__hero-content {
        padding: 20px;
        margin: 10px;
    }

    .page-slot-games-jackpot-winners__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-slot-games-jackpot-winners__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .page-slot-games-jackpot-winners__hero-cta {
        flex-direction: column;
        gap: 15px;
    }

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

    .page-slot-games-jackpot-winners__latest-winners-section,
    .page-slot-games-jackpot-winners__how-to-win-section,
    .page-slot-games-jackpot-winners__responsible-gambling-section,
    .page-slot-games-jackpot-winners__faq-section,
    .page-slot-games-jackpot-winners__join-now-section {
        padding: 40px 15px;
    }

    .page-slot-games-jackpot-winners__winners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games-jackpot-winners__winner-image {
        height: 200px;
    }

    .page-slot-games-jackpot-winners__winner-name {
        font-size: 20px;
    }

    .page-slot-games-jackpot-winners__winner-details {
        font-size: 14px;
    }

    .page-slot-games-jackpot-winners__winner-details strong {
        font-size: 16px;
    }

    .page-slot-games-jackpot-winners__how-to-win-section,
    .page-slot-games-jackpot-winners__responsible-gambling-content {
        flex-direction: column;
        gap: 30px;
    }

    .page-slot-games-jackpot-winners__how-to-win-image img,
    .page-slot-games-jackpot-winners__responsible-gambling-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-slot-games-jackpot-winners__steps-list li {
        font-size: 16px;
        padding-left: 25px;
    }

    .page-slot-games-jackpot-winners__faq-question {
        padding: 15px 20px;
    }

    .page-slot-games-jackpot-winners__faq-question h3 {
        font-size: 16px;
    }

    .page-slot-games-jackpot-winners__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }

    .page-slot-games-jackpot-winners__faq-answer {
        padding: 0 20px;
    }

    .page-slot-games-jackpot-winners__faq-item.active .page-slot-games-jackpot-winners__faq-answer {
        padding: 15px 20px !important;
    }

    .page-slot-games-jackpot-winners__faq-answer p {
        font-size: 14px;
    }

    /* Generic image responsive rules for content areas */
    .page-slot-games-jackpot-winners img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-slot-games-jackpot-winners__hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Ensure containers for images/buttons are also responsive */
    .page-slot-games-jackpot-winners__latest-winners-section,
    .page-slot-games-jackpot-winners__how-to-win-section,
    .page-slot-games-jackpot-winners__responsible-gambling-section,
    .page-slot-games-jackpot-winners__faq-section,
    .page-slot-games-jackpot-winners__join-now-section,
    .page-slot-games-jackpot-winners__hero-cta {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games-jackpot-winners__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 1024px) {
    .page-slot-games-jackpot-winners__hero-title {
        font-size: 40px;
    }
    .page-slot-games-jackpot-winners__hero-description {
        font-size: 18px;
    }
    .page-slot-games-jackpot-winners__how-to-win-section,
    .page-slot-games-jackpot-winners__responsible-gambling-content {
        flex-direction: column;
    }
    .page-slot-games-jackpot-winners__how-to-win-content, .page-slot-games-jackpot-winners__how-to-win-image,
    .page-slot-games-jackpot-winners__responsible-gambling-text, .page-slot-games-jackpot-winners__responsible-gambling-image {
        width: 100%;
        max-width: 100%;
    }
}