/* style/jackpot-games.css */
:root {
    --primary-color: #1A2B4C;
    --secondary-color: #FFD700;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --bg-light: #f4f7f6;
    --bg-dark: #1A2B4C;
    --border-color: #e0e0e0;
}

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

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

.page-jackpot-games section {
    padding: 60px 0;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.page-jackpot-games h1, .page-jackpot-games h2, .page-jackpot-games h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-jackpot-games h1 {
    font-size: 2.8em;
    color: var(--text-color-light);
}

.page-jackpot-games h2 {
    font-size: 2.2em;
}

.page-jackpot-games h3 {
    font-size: 1.6em;
}

.page-jackpot-games p {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.1em;
}

/* Hero Section */
.page-jackpot-games .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a1424 100%); /* Darker gradient */
    border-radius: 0;
    margin-bottom: 0;
}

.page-jackpot-games .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-jackpot-games .hero-image {
    width: 100%;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.page-jackpot-games .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-jackpot-games .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-jackpot-games .hero-content p {
    color: #e0e0e0;
    font-size: 1.2em;
    margin-bottom: 30px;
}

.page-jackpot-games .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-jackpot-games .cta-button:hover {
    background: #e6c200; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

/* Section Intro */
.page-jackpot-games .section-intro {
    background: var(--bg-light);
    padding: 80px 0;
    margin-top: -30px; /* Overlap with hero for smooth transition */
    border-radius: 0;
}

.page-jackpot-games .section-intro p {
    max-width: 900px;
    margin: 0 auto 30px auto;
    text-align: justify;
}

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

.page-jackpot-games .intro-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-jackpot-games .intro-item h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 1.4em;
}

.page-jackpot-games .intro-item p {
    text-align: center;
    font-size: 1em;
    color: var(--text-color-dark);
}

/* How To Play Section */
.page-jackpot-games .section-how-to-play {
    background: var(--bg-dark);
    color: var(--text-color-light);
    padding: 80px 0;
}

.page-jackpot-games .section-how-to-play h2 {
    color: var(--secondary-color);
}

.page-jackpot-games .section-how-to-play p {
    color: #e0e0e0;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

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

.page-jackpot-games .step-item {
    background: #2A3D5E; /* Slightly lighter dark blue */
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    padding-top: 60px; /* Space for step number */
}

.page-jackpot-games .step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-jackpot-games .step-item h3 {
    color: var(--secondary-color);
    margin-top: 15px;
    margin-bottom: 15px;
}

.page-jackpot-games .step-item p {
    color: #cccccc;
    font-size: 1em;
    text-align: center;
    margin-bottom: 20px;
}

.page-jackpot-games .button-small {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    transition: all 0.3s ease;
}

.page-jackpot-games .button-small:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

/* Game Showcase Section */
.page-jackpot-games .section-game-showcase {
    background: var(--bg-light);
    padding: 80px 0;
}

.page-jackpot-games .section-game-showcase p {
    max-width: 900px;
    margin: 0 auto 40px auto;
}

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

.page-jackpot-games .game-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-jackpot-games .game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-jackpot-games .game-card h3 {
    font-size: 1.3em;
    margin: 20px 0 10px;
    padding: 0 15px;
    color: var(--primary-color);
}

.page-jackpot-games .game-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-jackpot-games .game-card h3 a:hover {
    text-decoration: underline;
}

.page-jackpot-games .game-card p {
    font-size: 0.95em;
    color: #666;
    padding: 0 15px 20px;
    text-align: justify;
}

.page-jackpot-games .button-link {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.page-jackpot-games .button-link:hover {
    background: #101e35;
}

/* Promotions Section */
.page-jackpot-games .section-promotions {
    background: var(--bg-dark);
    color: var(--text-color-light);
    padding: 80px 0;
}

.page-jackpot-games .section-promotions h2 {
    color: var(--secondary-color);
}

.page-jackpot-games .section-promotions p {
    color: #e0e0e0;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

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

.page-jackpot-games .promo-item {
    background: #2A3D5E;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-jackpot-games .promo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-jackpot-games .promo-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

.page-jackpot-games .promo-item h3 {
    color: var(--secondary-color);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-jackpot-games .promo-item h3 a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-jackpot-games .promo-item h3 a:hover {
    text-decoration: underline;
}

.page-jackpot-games .promo-item p {
    color: #cccccc;
    font-size: 1em;
    text-align: center;
    margin-bottom: 20px;
}

.page-jackpot-games .button-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.page-jackpot-games .button-primary:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

/* Tips Section */
.page-jackpot-games .section-tips {
    background: var(--bg-light);
    padding: 80px 0;
}

.page-jackpot-games .section-tips p {
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-jackpot-games .tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-jackpot-games .tips-list li {
    background: #ffffff;
    margin-bottom: 20px;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.page-jackpot-games .tips-list li h3 {
    color: var(--primary-color);
    text-align: left;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-jackpot-games .tips-list li p {
    text-align: justify;
    font-size: 1em;
    color: var(--text-color-dark);
    margin-bottom: 0;
}

/* FAQ Section */
.page-jackpot-games .section-faq {
    background: #f0f2f5;
    padding: 80px 0;
}

.page-jackpot-games .section-faq h2 {
    color: var(--primary-color);
}

.page-jackpot-games .faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-jackpot-games .faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-jackpot-games .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-radius 0.3s ease;
}

.page-jackpot-games .faq-item.active .faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.page-jackpot-games .faq-question:hover {
    background: #f5f5f5;
}

.page-jackpot-games .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
    text-align: left;
    flex-grow: 1;
}

.page-jackpot-games .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-jackpot-games .faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.page-jackpot-games .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
    background: #f9f9f9;
    border: 1px solid var(--border-color);
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.page-jackpot-games .faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 20px 25px;
}

.page-jackpot-games .faq-answer p {
    margin: 0;
    text-align: justify;
    color: var(--text-color-dark);
    font-size: 1em;
}

/* Bottom CTA Section */
.page-jackpot-games .section-cta-bottom {
    background: linear-gradient(135deg, var(--secondary-color), #e6c200);
    padding: 80px 0;
    text-align: center;
    border-radius: 0;
}

.page-jackpot-games .section-cta-bottom h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-jackpot-games .section-cta-bottom p {
    color: var(--primary-color);
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-jackpot-games .section-cta-bottom .cta-button {
    background: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-jackpot-games .section-cta-bottom .cta-button:hover {
    background: #101e35;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-jackpot-games h1 {
        font-size: 2.4em;
    }
    .page-jackpot-games h2 {
        font-size: 1.8em;
    }
    .page-jackpot-games .hero-content p {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-jackpot-games section {
        padding: 40px 0;
    }
    .page-jackpot-games h1 {
        font-size: 2em;
    }
    .page-jackpot-games h2 {
        font-size: 1.6em;
    }
    .page-jackpot-games h3 {
        font-size: 1.3em;
    }
    .page-jackpot-games p {
        font-size: 1em;
    }
    .page-jackpot-games .hero-image {
        margin-bottom: 20px;
    }
    .page-jackpot-games .hero-content p {
        font-size: 1em;
    }
    .page-jackpot-games .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-jackpot-games .intro-grid, .page-jackpot-games .steps-grid, .page-jackpot-games .game-cards-grid, .page-jackpot-games .promo-grid {
        grid-template-columns: 1fr;
    }
    .page-jackpot-games .step-item {
        padding-top: 50px;
    }
    .page-jackpot-games .step-number {
        top: -15px;
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }
    .page-jackpot-games .tips-list li {
        padding: 20px;
    }
    .page-jackpot-games .faq-question {
        padding: 15px 20px;
    }
    .page-jackpot-games .faq-question h3 {
        font-size: 1.1em;
    }
    .page-jackpot-games .faq-toggle {
        font-size: 20px;
    }
    .page-jackpot-games .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-jackpot-games .container {
        padding: 0 15px;
    }
    .page-jackpot-games h1 {
        font-size: 1.8em;
    }
    .page-jackpot-games h2 {
        font-size: 1.4em;
    }
    .page-jackpot-games h3 {
        font-size: 1.2em;
    }
    .page-jackpot-games .cta-button {
        font-size: 14px;
        padding: 10px 25px;
    }
    .page-jackpot-games .hero-content p {
        font-size: 0.95em;
    }
    .page-jackpot-games .intro-item, .page-jackpot-games .step-item, .page-jackpot-games .game-card, .page-jackpot-games .promo-item {
        padding: 20px;
    }
    .page-jackpot-games .promo-item img {
        height: 150px;
    }
    .page-jackpot-games .faq-question {
        padding: 12px 15px;
    }
    .page-jackpot-games .faq-question h3 {
        font-size: 1em;
    }
    .page-jackpot-games .faq-answer {
        padding: 12px 15px;
    }
}