/* style/e-games-jackpot-games.css */

:root {
    --ga888-primary-color: #1A2B4C;
    --ga888-secondary-color: #F0B90B;
    --ga888-text-light: #ffffff;
    --ga888-text-dark: #333333;
    --ga888-background-dark: #0d1a2f;
    --ga888-background-light: #f4f7f9;
    --ga888-border-color: #3a4b6c;
}

.page-e-games-jackpot-games {
    font-family: 'Arial', sans-serif;
    color: var(--ga888-text-dark);
    line-height: 1.6;
    background-color: var(--ga888-background-light);
}

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

.page-e-games-jackpot-games__hero {
    background: linear-gradient(135deg, var(--ga888-primary-color), var(--ga888-background-dark));
    color: var(--ga888-text-light);
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: left;
    min-height: 450px;
    position: relative;
    overflow: hidden;
}

.page-e-games-jackpot-games__hero-content {
    max-width: 600px;
    z-index: 1;
}

.page-e-games-jackpot-games__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--ga888-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-e-games-jackpot-games__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-e-games-jackpot-games__hero-image-wrapper {
    flex-shrink: 0;
    z-index: 1;
}

.page-e-games-jackpot-games__hero-image {
    max-width: 450px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-e-games-jackpot-games__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-right: 15px;
    margin-bottom: 15px; /* For mobile stacking */
}

.page-e-games-jackpot-games__btn--primary {
    background-color: var(--ga888-secondary-color);
    color: var(--ga888-primary-color);
    border: 2px solid var(--ga888-secondary-color);
}

.page-e-games-jackpot-games__btn--primary:hover {
    background-color: #e0a80a;
    border-color: #e0a80a;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(240, 185, 11, 0.4);
}

.page-e-games-jackpot-games__btn--secondary {
    background-color: transparent;
    color: var(--ga888-secondary-color);
    border: 2px solid var(--ga888-secondary-color);
}

.page-e-games-jackpot-games__btn--secondary:hover {
    background-color: var(--ga888-secondary-color);
    color: var(--ga888-primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(240, 185, 11, 0.4);
}

.page-e-games-jackpot-games__btn--small {
    padding: 10px 20px;
    font-size: 0.95em;
    margin-right: 0;
}

.page-e-games-jackpot-games__btn--centered {
    display: block;
    margin: 40px auto 20px auto;
    text-align: center;
    width: fit-content;
}

.page-e-games-jackpot-games__section-title {
    font-size: 2.5em;
    color: var(--ga888-primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-e-games-jackpot-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--ga888-secondary-color);
    border-radius: 2px;
}

.page-e-games-jackpot-games__introduction,
.page-e-games-jackpot-games__featured-games,
.page-e-games-jackpot-games__how-to-play,
.page-e-games-jackpot-games__why-ga888,
.page-e-games-jackpot-games__testimonials,
.page-e-games-jackpot-games__cta {
    padding: 60px 0;
}

.page-e-games-jackpot-games__introduction p,
.page-e-games-jackpot-games__how-to-play li p,
.page-e-games-jackpot-games__cta p {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 20px auto;
    color: var(--ga888-text-dark);
}

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

.page-e-games-jackpot-games__game-card {
    background-color: var(--ga888-text-light);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--ga888-border-color);
}

.page-e-games-jackpot-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-e-games-jackpot-games__game-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--ga888-border-color);
}

.page-e-games-jackpot-games__game-title {
    font-size: 1.5em;
    color: var(--ga888-primary-color);
    margin: 20px 0 10px;
}

.page-e-games-jackpot-games__game-description {
    font-size: 0.95em;
    color: var(--ga888-text-dark);
    padding: 0 20px 20px;
}

.page-e-games-jackpot-games__game-card .page-e-games-jackpot-games__btn {
    margin-bottom: 20px;
}

.page-e-games-jackpot-games__more-games-text {
    text-align: center;
    margin-top: 30px;
    font-size: 1.1em;
    color: var(--ga888-text-dark);
}

.page-e-games-jackpot-games__link {
    color: var(--ga888-primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-e-games-jackpot-games__link:hover {
    color: var(--ga888-secondary-color);
    text-decoration: underline;
}

.page-e-games-jackpot-games__how-to-play ol {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    max-width: 900px;
    margin: 40px auto 0;
}

.page-e-games-jackpot-games__how-to-play li {
    background-color: var(--ga888-text-light);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    padding: 30px;
    position: relative;
    padding-left: 80px;
    border: 1px solid var(--ga888-border-color);
}

.page-e-games-jackpot-games__how-to-play li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 25px;
    top: 25px;
    background-color: var(--ga888-secondary-color);
    color: var(--ga888-primary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(240, 185, 11, 0.3);
}

.page-e-games-jackpot-games__step-title {
    font-size: 1.6em;
    color: var(--ga888-primary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-e-games-jackpot-games__why-ga888 {
    background-color: var(--ga888-background-dark);
    color: var(--ga888-text-light);
}

.page-e-games-jackpot-games__why-ga888 .page-e-games-jackpot-games__section-title {
    color: var(--ga888-secondary-color);
}

.page-e-games-jackpot-games__why-ga888 .page-e-games-jackpot-games__section-title::after {
    background-color: var(--ga888-text-light);
}

.page-e-games-jackpot-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-e-games-jackpot-games__feature-item {
    background-color: var(--ga888-primary-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--ga888-border-color);
}

.page-e-games-jackpot-games__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) saturate(100%) invert(80%) sepia(85%) saturate(1450%) hue-rotate(330deg) brightness(100%) contrast(100%); /* Makes icon golden */
}

.page-e-games-jackpot-games__feature-title {
    font-size: 1.6em;
    color: var(--ga888-secondary-color);
    margin-bottom: 15px;
}

.page-e-games-jackpot-games__feature-item p {
    font-size: 1em;
    color: #e0e0e0;
}

.page-e-games-jackpot-games__testimonials {
    background-color: var(--ga888-background-light);
}

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

.page-e-games-jackpot-games__testimonial-card {
    background-color: var(--ga888-text-light);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid var(--ga888-border-color);
}

.page-e-games-jackpot-games__testimonial-text {
    font-style: italic;
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--ga888-text-dark);
}

.page-e-games-jackpot-games__testimonial-author {
    font-weight: bold;
    color: var(--ga888-primary-color);
}

.page-e-games-jackpot-games__cta {
    background: linear-gradient(135deg, var(--ga888-background-dark), var(--ga888-primary-color));
    color: var(--ga888-text-light);
    text-align: center;
}

.page-e-games-jackpot-games__cta .page-e-games-jackpot-games__section-title {
    color: var(--ga888-secondary-color);
}

.page-e-games-jackpot-games__cta .page-e-games-jackpot-games__section-title::after {
    background-color: var(--ga888-text-light);
}

.page-e-games-jackpot-games__cta p {
    color: #e0e0e0;
}

.page-e-games-jackpot-games__cta .page-e-games-jackpot-games__link {
    color: var(--ga888-secondary-color);
}

.page-e-games-jackpot-games__cta .page-e-games-jackpot-games__link:hover {
    color: var(--ga888-text-light);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-e-games-jackpot-games__hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
        gap: 30px;
    }

    .page-e-games-jackpot-games__hero-title {
        font-size: 2.5em;
    }

    .page-e-games-jackpot-games__hero-subtitle {
        font-size: 1.1em;
    }

    .page-e-games-jackpot-games__hero-image {
        max-width: 350px;
    }

    .page-e-games-jackpot-games__section-title {
        font-size: 2em;
    }

    .page-e-games-jackpot-games__introduction p,
    .page-e-games-jackpot-games__how-to-play li p,
    .page-e-games-jackpot-games__cta p {
        font-size: 1em;
    }

    .page-e-games-jackpot-games__how-to-play li {
        padding: 25px;
        padding-left: 70px;
    }

    .page-e-games-jackpot-games__how-to-play li::before {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
        left: 20px;
        top: 20px;
    }

    .page-e-games-jackpot-games__step-title {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-e-games-jackpot-games__hero-title {
        font-size: 2em;
    }

    .page-e-games-jackpot-games__hero-subtitle {
        font-size: 1em;
    }

    .page-e-games-jackpot-games__hero-image {
        max-width: 300px;
    }

    .page-e-games-jackpot-games__btn {
        width: 100%;
        margin-right: 0;
    }

    .page-e-games-jackpot-games__game-grid,
    .page-e-games-jackpot-games__features-grid,
    .page-e-games-jackpot-games__testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-e-games-jackpot-games__hero {
        padding: 40px 15px;
    }

    .page-e-games-jackpot-games__hero-title {
        font-size: 1.8em;
    }

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

    .page-e-games-jackpot-games__introduction,
    .page-e-games-jackpot-games__featured-games,
    .page-e-games-jackpot-games__how-to-play,
    .page-e-games-jackpot-games__why-ga888,
    .page-e-games-jackpot-games__testimonials,
    .page-e-games-jackpot-games__cta {
        padding: 40px 0;
    }

    .page-e-games-jackpot-games__how-to-play li {
        padding: 20px;
        padding-left: 60px;
    }

    .page-e-games-jackpot-games__how-to-play li::before {
        width: 35px;
        height: 35px;
        font-size: 1.3em;
        left: 15px;
        top: 15px;
    }

    .page-e-games-jackpot-games__step-title {
        font-size: 1.3em;
    }
}