/* style/x-s.css */
.page-x-s {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light gray for general text on dark background */
    background-color: #1A202C; /* Auxiliary dark color */
    line-height: 1.6;
}

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

.page-x-s .highlight {
    color: #FFD700; /* Main golden color */
}

.page-x-s .highlight-text {
    color: #FFD700; /* Main golden color for inline text */
    font-weight: bold;
}

.page-x-s .section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    font-weight: bold;
}

.page-x-s .section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 60px;
    color: #B0B0B0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-x-s .btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

.page-x-s .btn-primary {
    background-color: #FFD700; /* Main golden color */
    color: #1A202C; /* Dark text on golden background */
}

.page-x-s .btn-primary:hover {
    background-color: #E0C000; /* Slightly darker golden on hover */
    color: #0F141A;
}

.page-x-s .btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    margin-left: 20px;
}

.page-x-s .btn-secondary:hover {
    background-color: #FFD700;
    color: #1A202C;
}

.page-x-s .btn-tertiary {
    background-color: #333C4A; /* Darker shade for subtle CTA */
    color: #FFD700;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 0.9em;
    margin-top: 20px;
}

.page-x-s .btn-tertiary:hover {
    background-color: #4A5568;
}

.page-x-s .btn-large {
    padding: 15px 35px;
    font-size: 1.2em;
}

/* Hero Section */
.page-x-s .hero-section {
    background: linear-gradient(135deg, #1A202C 0%, #333C4A 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-x-s .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:bg:abstract,geometric,dark_pattern]');
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.page-x-s .hero-section > .container {
    position: relative;
    z-index: 1;
}

.page-x-s .hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    font-weight: 700;
    line-height: 1.2;
}

.page-x-s .hero-subtitle {
    font-size: 1.4em;
    color: #B0B0B0;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-x-s .hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* About Lottery Section */
.page-x-s .about-lottery-section {
    padding: 80px 0;
    background-color: #222B38;
}

.page-x-s .content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-x-s .text-content {
    flex: 1;
}

.page-x-s .text-content p {
    margin-bottom: 20px;
    color: #E0E0E0;
}

.page-x-s .image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-x-s .responsive-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Lottery Types Section */
.page-x-s .lottery-types-section {
    padding: 80px 0;
    background-color: #1A202C;
}

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

.page-x-s .lottery-card {
    background-color: #222B38;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-x-s .lottery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
}

.page-x-s .card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-x-s .card-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-x-s .card-text {
    color: #B0B0B0;
    margin-bottom: 20px;
}

.page-x-s .card-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #FFD700;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-x-s .card-link:hover {
    background-color: #FFD700;
    color: #1A202C;
}

/* How to Play Section */
.page-x-s .how-to-play-section {
    padding: 80px 0;
    background-color: #222B38;
}

.page-x-s .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.page-x-s .step-card {
    background-color: #1A202C;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.page-x-s .step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #FFD700;
    color: #1A202C;
    border-radius: 50%;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.3);
}

.page-x-s .step-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-x-s .step-text {
    color: #B0B0B0;
}

.page-x-s .step-text a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.page-x-s .step-text a:hover {
    text-decoration: underline;
}

.page-x-s .cta-bottom {
    text-align: center;
}

/* Tips Section */
.page-x-s .tips-section {
    padding: 80px 0;
    background-color: #1A202C;
}

.page-x-s .tip-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px auto;
    max-width: 800px;
}

.page-x-s .tip-list li {
    background-color: #222B38;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    color: #E0E0E0;
    font-size: 1.1em;
}

.page-x-s .tip-list li strong {
    color: #FFD700;
}

.page-x-s .tips-image {
    display: block;
    margin: 40px auto 0 auto;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Why Choose Section */
.page-x-s .why-choose-section {
    padding: 80px 0;
    background-color: #222B38;
}

.page-x-s .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-x-s .feature-item {
    background-color: #1A202C;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-x-s .feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-x-s .feature-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-x-s .feature-text {
    color: #B0B0B0;
}

/* Promotion Section */
.page-x-s .promotion-section {
    padding: 80px 0;
    background-color: #1A202C;
}

.page-x-s .promotion-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-x-s .promo-card {
    background-color: #222B38;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-x-s .promo-card:hover {
    transform: translateY(-10px);
}

.page-x-s .promo-image {
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-x-s .promo-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-x-s .promo-text {
    color: #B0B0B0;
    margin-bottom: 25px;
}

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

.page-x-s .faq-item {
    background-color: #1A202C;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-x-s .faq-question {
    font-size: 1.3em;
    color: #FFD700;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-x-s .faq-answer {
    color: #E0E0E0;
    font-size: 1.05em;
    padding-top: 10px;
    border-top: 1px solid #333C4A;
    margin-top: 10px;
}

/* Final CTA Section */
.page-x-s .final-cta-section {
    padding: 80px 0;
    background: linear-gradient(90deg, #FFD700 0%, #E0C000 100%);
    text-align: center;
    color: #1A202C;
}

.page-x-s .final-cta-section .section-title {
    color: #1A202C;
    padding-top: 0;
}

.page-x-s .final-cta-section .section-description {
    color: #333C4A;
    margin-bottom: 40px;
}

.page-x-s .final-cta-section .btn-primary {
    background-color: #1A202C;
    color: #FFD700;
}

.page-x-s .final-cta-section .btn-primary:hover {
    background-color: #333C4A;
    color: #FFD700;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-x-s .hero-title {
        font-size: 2.8em;
    }

    .page-x-s .hero-subtitle {
        font-size: 1.2em;
    }

    .page-x-s .section-title {
        font-size: 2em;
    }

    .page-x-s .content-grid {
        flex-direction: column;
    }

    .page-x-s .hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-x-s .btn-secondary {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .page-x-s .hero-title {
        font-size: 2.2em;
    }

    .page-x-s .hero-subtitle {
        font-size: 1em;
    }

    .page-x-s .section-title {
        font-size: 1.8em;
    }

    .page-x-s .card-grid, .page-x-s .steps-grid, .page-x-s .feature-grid, .page-x-s .promotion-cards {
        grid-template-columns: 1fr;
    }

    .page-x-s .promo-image {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .page-x-s .hero-title {
        font-size: 1.8em;
    }

    .page-x-s .hero-subtitle {
        font-size: 0.9em;
    }

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

    .page-x-s .btn-large {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-x-s .section-title {
        font-size: 1.5em;
    }

    .page-x-s .section-description {
        font-size: 0.9em;
    }

    .page-x-s .faq-question {
        font-size: 1.1em;
    }

    .page-x-s .faq-answer {
        font-size: 0.95em;
    }
}