.page-jackpot-games {
    --primary-color: #007bff;
    --secondary-color: #ffc107;
    --text-color-dark: #333;
    --text-color-light: #fff;
    --bg-light: #f8f9fa;
    --bg-dark: #343a40;
    font-family: 'Arial', sans-serif;
    color: var(--text-color-dark);
}

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

.page-jackpot-games .text-center {
    text-align: center;
}

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

.page-jackpot-games h1 {
    font-size: 2.8em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--text-color-light);
}

.page-jackpot-games h2 {
    font-size: 2.2em;
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
}

.page-jackpot-games h3 {
    font-size: 1.6em;
    color: var(--text-color-dark);
}

.page-jackpot-games p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.page-jackpot-games .cta-button, .page-jackpot-games .card-button, .page-jackpot-games .guide-button, .page-jackpot-games .tips-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
}

.page-jackpot-games .cta-button:hover, .page-jackpot-games .card-button:hover, .page-jackpot-games .guide-button:hover, .page-jackpot-games .tips-button:hover {
    background: #e0a800; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-jackpot-games .hero-section {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%); /* Darker blue gradient */
    padding: 80px 0;
    overflow: hidden;
    color: var(--text-color-light);
}

.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;
    text-align: center;
}

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

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

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

.page-jackpot-games .hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* Section Intro */
.page-jackpot-games .section-intro {
    background: var(--bg-light);
    padding: 60px 0;
    border-bottom: 1px solid #e9ecef;
}

/* Section Features */
.page-jackpot-games .section-features {
    padding: 60px 0;
    background: var(--text-color-light);
}

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

.page-jackpot-games .feature-item {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-jackpot-games .feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-jackpot-games .feature-item img {
    width: 150px; /* Min size 200px, but for icons, 150px could be an exception if it's a "feature icon" */
    height: 150px;
    margin-bottom: 20px;
    object-fit: contain;
}

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

.page-jackpot-games .feature-item p {
    font-size: 0.95em;
    color: #555;
}

/* Section Games */
.page-jackpot-games .section-games {
    background: var(--bg-light);
    padding: 60px 0;
    border-top: 1px solid #e9ecef;
}

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

.page-jackpot-games .game-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

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

.page-jackpot-games .game-card .card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-jackpot-games .game-card .card-content h3 {
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 10px;
}

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

.page-jackpot-games .game-card .card-content h3 a:hover {
    color: var(--secondary-color);
}

.page-jackpot-games .game-card .card-content p {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 20px;
}

.page-jackpot-games .card-button {
    margin-top: auto;
    align-self: flex-start;
    padding: 10px 25px;
    font-size: 0.9em;
}

/* Section Guide */
.page-jackpot-games .section-guide {
    padding: 60px 0;
    background: var(--text-color-light);
}

.page-jackpot-games .section-guide ol {
    list-style: none;
    counter-reset: guide-counter;
    padding: 0;
    margin-top: 30px;
}

.page-jackpot-games .section-guide ol li {
    counter-increment: guide-counter;
    margin-bottom: 30px;
    padding-left: 60px;
    position: relative;
}

.page-jackpot-games .section-guide ol li::before {
    content: counter(guide-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-color);
    color: var(--text-color-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-jackpot-games .section-guide ol li h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

/* Section Tips */
.page-jackpot-games .section-tips {
    background: var(--bg-light);
    padding: 60px 0;
    border-top: 1px solid #e9ecef;
}

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

.page-jackpot-games .section-tips ul li {
    background: #fff;
    border-left: 5px solid var(--secondary-color);
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.page-jackpot-games .section-tips ul li h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-jackpot-games .tips-button {
    padding: 10px 25px;
    font-size: 0.9em;
    margin-top: 15px;
}

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

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

.page-jackpot-games .promo-item {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-jackpot-games .promo-item img {
    width: 180px;
    height: 180px;
    margin-bottom: 20px;
    object-fit: contain;
}

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

.page-jackpot-games .promo-item p {
    font-size: 0.95em;
    color: #555;
}

/* Section FAQ */
.page-jackpot-games .section-faq {
    background: var(--bg-light);
    padding: 60px 0;
    border-top: 1px solid #e9ecef;
}

.page-jackpot-games .faq-list {
    margin-top: 30px;
}

.page-jackpot-games .faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.page-jackpot-games .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.page-jackpot-games .faq-question h3 {
    margin: 0;
    font-size: 1.15em;
    color: var(--primary-color);
}

.page-jackpot-games .faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.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.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #f9f9f9;
    color: #444;
}

.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-bottom: 0;
}

/* Section CTA Bottom */
.page-jackpot-games .section-cta-bottom {
    background: linear-gradient(135deg, #0056b3 0%, var(--primary-color) 100%);
    padding: 80px 0;
    color: var(--text-color-light);
    text-align: center;
}

.page-jackpot-games .section-cta-bottom h2 {
    color: var(--secondary-color);
    font-size: 2.5em;
    margin-bottom: 20px;
}

.page-jackpot-games .section-cta-bottom p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-jackpot-games h1 {
        font-size: 2.2em;
    }
    .page-jackpot-games h2 {
        font-size: 1.8em;
    }
    .page-jackpot-games h3 {
        font-size: 1.3em;
    }
    .page-jackpot-games .hero-image {
        max-width: 600px;
    }
    .page-jackpot-games .feature-grid, .page-jackpot-games .game-cards, .page-jackpot-games .promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-jackpot-games .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-jackpot-games h1 {
        font-size: 1.8em;
    }
    .page-jackpot-games h2 {
        font-size: 1.6em;
    }
    .page-jackpot-games h3 {
        font-size: 1.2em;
    }
    .page-jackpot-games .hero-section, .page-jackpot-games .section-cta-bottom {
        padding: 60px 0;
    }
    .page-jackpot-games .hero-content p {
        font-size: 1em;
    }
    .page-jackpot-games .feature-grid, .page-jackpot-games .game-cards, .page-jackpot-games .promo-grid {
        grid-template-columns: 1fr;
    }
    .page-jackpot-games .feature-item, .page-jackpot-games .game-card, .page-jackpot-games .promo-item {
        padding: 20px;
    }
    .page-jackpot-games .section-guide ol li {
        padding-left: 50px;
    }
    .page-jackpot-games .section-guide ol li::before {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }
    .page-jackpot-games .faq-question {
        padding: 15px 20px;
    }
    .page-jackpot-games .faq-question h3 {
        font-size: 1em;
    }
    .page-jackpot-games .faq-toggle {
        font-size: 1.5em;
    }
    .page-jackpot-games .faq-answer {
        padding: 0 20px;
    }
    .page-jackpot-games .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 576px) {
    .page-jackpot-games h1 {
        font-size: 1.5em;
    }
    .page-jackpot-games .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-jackpot-games .hero-image {
        margin-bottom: 20px;
    }
    .page-jackpot-games .section-intro, .page-jackpot-games .section-features, .page-jackpot-games .section-games, .page-jackpot-games .section-guide, .page-jackpot-games .section-tips, .page-jackpot-games .section-promotions, .page-jackpot-games .section-faq, .page-jackpot-games .section-cta-bottom {
        padding: 40px 0;
    }
}