/* style/x-s.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1E90FF; /* Dodger Blue */
    --dark-bg: #1a1a1a;
    --light-text: #ffffff;
    --dark-text: #333333;
    --light-gray: #f4f4f4;
    --mid-gray: #e0e0e0;
}

.page-x-s {
    font-family: 'Arial', sans-serif;
    color: var(--light-text);
    background-color: var(--dark-bg);
    line-height: 1.6;
}

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

.page-x-s h1, .page-x-s h2, .page-x-s h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-x-s h1 {
    font-size: 2.8em;
    text-align: center;
}

.page-x-s h2 {
    font-size: 2.2em;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
}

.page-x-s h3 {
    font-size: 1.8em;
    color: var(--secondary-color);
}

.page-x-s p {
    margin-bottom: 15px;
    color: var(--light-text);
}

.page-x-s a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-x-s a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-x-s .cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--primary-color);
    color: var(--dark-text);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
}

.page-x-s .cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
    transform: translateY(-2px);
}

.page-x-s .cta-button.small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-x-s section {
    padding: 60px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-x-s section:last-of-type {
    border-bottom: none;
}

.page-x-s img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Hero Section Specific for Xổ Số Page */
.page-x-s .hero-lottery {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #333333 100%);
    padding: 80px 0;
    text-align: center;
}

.page-x-s .hero-lottery .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-x-s .hero-lottery .hero-content h1 {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-x-s .hero-lottery .hero-content p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-x-s .hero-lottery .hero-image {
    width: 100%;
    max-width: 800px;
}

.page-x-s .hero-lottery .hero-image img {
    border: 3px solid var(--primary-color);
}

/* Section Intro & Games */
.page-x-s .section-intro p,
.page-x-s .section-games p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

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

.page-x-s .game-item {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-x-s .game-item:hover {
    transform: translateY(-5px);
    background-color: #3a3a3a;
}

.page-x-s .game-item h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-x-s .game-item p {
    color: var(--light-text);
    font-size: 0.95em;
}

/* Section Guide */
.page-x-s .guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-x-s .step-item {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: left;
    border-left: 5px solid var(--secondary-color);
}

.page-x-s .step-item h3 {
    color: var(--secondary-color);
    font-size: 1.4em;
    margin-bottom: 15px;
}

.page-x-s .step-item p {
    color: var(--light-text);
    font-size: 0.95em;
}

/* Section Benefits */
.page-x-s .benefit-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-x-s .benefit-list li {
    background-color: #2a2a2a;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-right: 5px solid var(--primary-color);
}

.page-x-s .benefit-list li h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.6em;
}

.page-x-s .benefit-list li p {
    color: var(--light-text);
}

/* Section Promotions */
.page-x-s .section-promotions .promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-x-s .promo-card {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(30, 144, 255, 0.2);
}

.page-x-s .promo-card:hover {
    transform: translateY(-5px);
    background-color: #3a3a3a;
}

.page-x-s .promo-card h3 {
    color: var(--secondary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-x-s .promo-card p {
    color: var(--light-text);
    font-size: 0.95em;
}

.page-x-s .section-promotions .cta-button {
    margin: 40px auto 0 auto;
    display: block;
}

/* FAQ Section */
.page-x-s .section-faq {
    background-color: #222222;
    padding: 60px 0;
}

.page-x-s .faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-x-s .faq-question:hover {
    background: #444444;
}

.page-x-s .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

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

.page-x-s .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.page-x-s .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #2a2a2a;
    color: var(--light-text);
    border-top: none;
    border-left: 1px solid var(--primary-color);
    border-right: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
    border-radius: 0 0 8px 8px;
}

.page-x-s .faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding: 20px 25px;
}

.page-x-s .faq-answer p {
    margin: 0;
    color: var(--light-text);
}

/* Contact Section */
.page-x-s .section-contact {
    text-align: center;
}

.page-x-s .contact-channels {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.page-x-s .contact-channels li {
    background-color: #2a2a2a;
    padding: 15px 25px;
    border-radius: 8px;
    color: var(--primary-color);
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-x-s h1 {
        font-size: 2.5em;
    }
    .page-x-s h2 {
        font-size: 1.8em;
    }
    .page-x-s h3 {
        font-size: 1.5em;
    }
    .page-x-s .hero-lottery .hero-content p {
        font-size: 1.1em;
    }
    .page-x-s .game-grid, .page-x-s .guide-steps, .page-x-s .promo-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-x-s h1 {
        font-size: 2em;
    }
    .page-x-s h2 {
        font-size: 1.6em;
    }
    .page-x-s .hero-lottery .container {
        flex-direction: column;
    }
    .page-x-s .hero-lottery .hero-content {
        order: 2;
    }
    .page-x-s .hero-lottery .hero-image {
        order: 1;
    }
    .page-x-s .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-x-s .faq-question {
        padding: 15px 20px;
    }
    .page-x-s .faq-question h3 {
        font-size: 1.1em;
    }
    .page-x-s .faq-answer {
        padding: 15px 20px;
    }
    .page-x-s .contact-channels {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-x-s h1 {
        font-size: 1.8em;
    }
    .page-x-s h2 {
        font-size: 1.4em;
    }
    .page-x-s h3 {
        font-size: 1.3em;
    }
    .page-x-s .game-grid, .page-x-s .guide-steps, .page-x-s .promo-cards {
        grid-template-columns: 1fr;
    }
    .page-x-s .benefit-list li {
        padding: 20px;
    }
    .page-x-s .faq-question h3 {
        font-size: 1em;
    }
    .page-x-s .faq-toggle {
        font-size: 1.5em;
    }
}