/* style/x-s.css */
.page-x-s {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light grey for general text on dark background */
    background-color: #0A2239; /* Deep Sea Blue primary background */
}

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

/* Hero Section */
.page-x-s .hero-section {
    background: linear-gradient(135deg, #0A2239 0%, #1A3A5A 100%); /* Dark gradient */
    padding: 100px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
}

.page-x-s .hero-content {
    max-width: 800px;
    z-index: 1;
}

.page-x-s .hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Gold for emphasis */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-x-s .hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #E0E0E0;
}

.page-x-s .hero-actions .btn {
    margin: 0 15px;
    padding: 15px 35px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-x-s .btn-primary {
    background-color: #FFD700;
    color: #0A2239;
    border: 2px solid #FFD700;
}

.page-x-s .btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

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

.page-x-s .btn-secondary:hover {
    background-color: #FFD700;
    color: #0A2239;
    transform: translateY(-3px);
}

.page-x-s .hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15; /* Subtle background image */
    z-index: 0;
}

.page-x-s .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* General Section Styles */
.page-x-s section {
    padding: 60px 0;
    text-align: center;
}

.page-x-s .section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for section titles */
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-x-s .section-text {
    font-size: 1.1em;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: #E0E0E0;
}

/* Introduction Section */
.page-x-s .introduction-section {
    background-color: #0A2239;
}

/* Game Types Section */
.page-x-s .game-types-section {
    background-color: #1A3A5A; /* Slightly lighter dark blue */
}

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

.page-x-s .game-card {
    background-color: #0A2239;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-x-s .game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 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-description {
    font-size: 1em;
    line-height: 1.7;
    color: #CCCCCC;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-x-s .btn-link {
    background-color: transparent;
    color: #FFD700;
    border: 1px solid #FFD700;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-x-s .btn-link:hover {
    background-color: #FFD700;
    color: #0A2239;
}

/* Why Choose Section */
.page-x-s .why-choose-section {
    background-color: #0A2239;
}

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

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

.page-x-s .feature-item:hover {
    transform: translateY(-5px);
}

.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-description {
    font-size: 1em;
    line-height: 1.7;
    color: #CCCCCC;
}

/* How to Play Section */
.page-x-s .how-to-play-section {
    background-color: #1A3A5A;
}

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

.page-x-s .step-item {
    background-color: #0A2239;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    position: relative;
    padding-top: 70px; /* Space for step number */
}

.page-x-s .step-number {
    position: absolute;
    top: 20px;
    left: 30px;
    background-color: #FFD700;
    color: #0A2239;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

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

.page-x-s .step-description {
    font-size: 1em;
    line-height: 1.7;
    color: #CCCCCC;
}

.page-x-s .btn-small {
    padding: 8px 20px;
    font-size: 0.9em;
    margin-top: 15px;
}

.page-x-s .full-width-cta {
    margin-top: 60px;
}

.page-x-s .btn-large {
    padding: 18px 45px;
    font-size: 1.2em;
    margin: 0 15px;
}

/* Tips Section */
.page-x-s .tips-section {
    background-color: #0A2239;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
}

.page-x-s .tips-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-x-s .tips-content {
    text-align: left;
    max-width: 900px;
    margin-bottom: 40px;
}

.page-x-s .tips-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.page-x-s .tips-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.7;
    color: #E0E0E0;
}

.page-x-s .tips-list li::before {
    content: '✓';
    color: #FFD700;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
}

.page-x-s .list-highlight {
    color: #FFD700;
}

.page-x-s .tips-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    margin-top: 40px;
}

/* Promotion Section */
.page-x-s .promotion-section {
    background-color: #1A3A5A;
}

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

.page-x-s .promo-card {
    background-color: #0A2239;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.page-x-s .card-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: contain;
}

/* FAQ Section */
.page-x-s .faq-section {
    background-color: #0A2239;
}

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

.page-x-s .faq-item {
    background-color: #1A3A5A;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-x-s .faq-question {
    font-size: 1.3em;
    color: #FFD700;
    padding: 20px 30px;
    cursor: pointer;
    margin: 0;
    position: relative;
}

.page-x-s .faq-question::after {
    content: '+';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-x-s .faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-x-s .faq-answer {
    font-size: 1em;
    color: #CCCCCC;
    padding: 0 30px 20px;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding-top 0.5s ease-out;
}

.page-x-s .faq-question.active + .page-x-s .faq-answer {
    max-height: 200px; /* Adjust as needed */
    padding-top: 10px;
}

/* Call to Action Bottom Section */
.page-x-s .cta-bottom-section {
    background: linear-gradient(135deg, #1A3A5A 0%, #0A2239 100%);
    padding: 80px 0;
    color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-x-s .hero-title {
        font-size: 3em;
    }
    .page-x-s .hero-description {
        font-size: 1.1em;
    }
    .page-x-s .section-title {
        font-size: 2em;
    }
    .page-x-s .game-cards-grid, .page-x-s .features-grid, .page-x-s .steps-grid, .page-x-s .promo-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-x-s .hero-section {
        padding: 80px 0;
    }
    .page-x-s .hero-title {
        font-size: 2.5em;
    }
    .page-x-s .hero-description {
        font-size: 1em;
    }
    .page-x-s .hero-actions .btn {
        margin: 10px 0;
        display: block;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
    .page-x-s .section-title {
        font-size: 1.8em;
    }
    .page-x-s .section-text {
        font-size: 0.95em;
    }
    .page-x-s .tips-content, .page-x-s .faq-accordion {
        padding: 0 15px;
    }
    .page-x-s .btn-large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-x-s .hero-section {
        padding: 60px 0;
    }
    .page-x-s .hero-title {
        font-size: 2em;
    }
    .page-x-s .hero-description {
        font-size: 0.9em;
    }
    .page-x-s .section-title {
        font-size: 1.5em;
    }
    .page-x-s .game-cards-grid, .page-x-s .features-grid, .page-x-s .steps-grid, .page-x-s .promo-cards-grid {
        grid-template-columns: 1fr;
    }
    .page-x-s .hero-actions .btn {
        width: 100%;
        max-width: 250px;
    }
    .page-x-s .btn-large {
        width: 100%;
        max-width: 300px;
        margin: 10px auto;
        display: block;
    }
    .page-x-s .faq-question, .page-x-s .faq-answer {
        padding-left: 20px;
        padding-right: 20px;
    }
    .page-x-s .faq-question::after {
        right: 20px;
    }
}