/* style/x-s.css */
.page-x-s {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light gray for general text */
    background-color: #0A2540; /* Dark blue background */
    line-height: 1.6;
}

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

.page-x-s__hero-section {
    background: linear-gradient(135deg, #0A2540 0%, #1A406C 100%); /* Dark blue gradient */
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
}

.page-x-s__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFD700; /* Gold for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-x-s__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #E0E0E0;
}

.page-x-s__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.page-x-s__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.page-x-s__btn--primary {
    background-color: #FFD700; /* Gold */
    color: #0A2540; /* Dark blue */
    border: 2px solid #FFD700;
}

.page-x-s__btn--primary:hover {
    background-color: #E0B500; /* Darker gold */
    border-color: #E0B500;
    transform: translateY(-2px);
}

.page-x-s__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold */
    border: 2px solid #FFD700;
}

.page-x-s__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A2540;
    transform: translateY(-2px);
}

.page-x-s__btn--outline {
    background-color: transparent;
    color: #FFD700;
    border: 1px solid #FFD700;
    padding: 10px 20px;
    font-size: 1em;
}

.page-x-s__btn--outline:hover {
    background-color: #FFD700;
    color: #0A2540;
}

.page-x-s__btn--small {
    padding: 8px 15px;
    font-size: 0.9em;
    border-radius: 5px;
}

.page-x-s__btn--center {
    display: block;
    margin: 40px auto 0;
    max-width: 250px;
}

.page-x-s__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
    border-radius: 10px;
}

.page-x-s__hero-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    margin-top: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-x-s__intro-section, .page-x-s__game-types-section, .page-x-s__how-to-play-section, .page-x-s__why-choose-section, .page-x-s__tips-section, .page-x-s__cta-section, .page-x-s__faq-section {
    padding: 60px 0;
    background-color: #0A2540;
}

.page-x-s__intro-section {
    background-color: #1A355A; /* Slightly lighter dark blue */
    border-bottom: 1px solid #2A4F7F;
}

.page-x-s__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-x-s__highlight {
    color: #FFFFFF;
}

.page-x-s__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #E0E0E0;
    text-align: justify;
}

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

.page-x-s__game-card {
    background-color: #1A355A; /* Dark blue */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-x-s__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-x-s__game-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    object-fit: contain;
}

.page-x-s__game-card-title {
    font-size: 1.5em;
    color: #FFD700; /* Gold */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-x-s__game-card-description {
    font-size: 1em;
    color: #C0C0C0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-x-s__how-to-play-section {
    background-color: #0A2540;
    border-bottom: 1px solid #2A4F7F;
}

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

.page-x-s__step {
    background-color: #1A355A;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-x-s__step-icon {
    width: 60px;
    height: 60px;
    background-color: #FFD700; /* Gold */
    color: #0A2540; /* Dark blue */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
}

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

.page-x-s__step-description {
    font-size: 1em;
    color: #C0C0C0;
    margin-bottom: 20px;
}

.page-x-s__why-choose-section {
    background-color: #1A355A;
    border-bottom: 1px solid #2A4F7F;
}

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

.page-x-s__advantage-item {
    background-color: #0A2540;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.page-x-s__advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    object-fit: contain;
}

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

.page-x-s__advantage-description {
    font-size: 1em;
    color: #C0C0C0;
}

.page-x-s__tips-section {
    background-color: #0A2540;
    border-bottom: 1px solid #2A4F7F;
}

.page-x-s__tip-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-x-s__tip-list li {
    background-color: #1A355A;
    border-left: 5px solid #FFD700; /* Gold accent */
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #E0E0E0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

.page-x-s__cta-section {
    background: linear-gradient(90deg, #0A2540 0%, #1A355A 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
}

.page-x-s__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
}

.page-x-s__cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.page-x-s__cta-title {
    font-size: 3em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-x-s__cta-description {
    font-size: 1.3em;
    color: #E0E0E0;
    margin-bottom: 40px;
}

.page-x-s__faq-section {
    background-color: #0A2540;
    padding-bottom: 80px;
}

.page-x-s__faq-accordion {
    margin-top: 40px;
}

.page-x-s__faq-item {
    background-color: #1A355A;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-x-s__faq-question {
    font-size: 1.2em;
    color: #FFD700;
    padding: 18px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    position: relative;
}

.page-x-s__faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-x-s__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-x-s__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    color: #C0C0C0;
}

.page-x-s__faq-answer.active {
    max-height: 200px; /* Adjust based on content */
    padding: 15px 25px 25px;
}

.page-x-s__faq-answer p {
    margin-bottom: 10px;
}

.page-x-s__faq-link {
    color: #FFD700;
    text-decoration: underline;
    font-weight: bold;
}

.page-x-s__faq-link:hover {
    color: #E0B500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-x-s__hero-title {
        font-size: 2.8em;
    }
    .page-x-s__hero-description {
        font-size: 1.1em;
    }
    .page-x-s__section-title {
        font-size: 2em;
    }
    .page-x-s__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-x-s__hero-section {
        padding: 80px 0 40px;
    }
    .page-x-s__hero-title {
        font-size: 2.2em;
    }
    .page-x-s__hero-description {
        font-size: 1em;
    }
    .page-x-s__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-x-s__btn {
        width: 80%;
        max-width: 300px;
    }
    .page-x-s__section-title {
        font-size: 1.8em;
    }
    .page-x-s__game-card, .page-x-s__step, .page-x-s__advantage-item {
        padding: 25px;
    }
    .page-x-s__cta-title {
        font-size: 2em;
    }
    .page-x-s__cta-description {
        font-size: 1.1em;
    }
}

@media (max-width: 576px) {
    .page-x-s__hero-section, .page-x-s__intro-section, .page-x-s__game-types-section, .page-x-s__how-to-play-section, .page-x-s__why-choose-section, .page-x-s__tips-section, .page-x-s__cta-section, .page-x-s__faq-section {
        padding: 40px 0;
    }
    .page-x-s__hero-title {
        font-size: 1.8em;
    }
    .page-x-s__section-title {
        font-size: 1.5em;
    }
    .page-x-s__text-content {
        font-size: 0.95em;
    }
    .page-x-s__game-card-title, .page-x-s__step-title, .page-x-s__advantage-title {
        font-size: 1.2em;
    }
    .page-x-s__cta-title {
        font-size: 1.8em;
    }
    .page-x-s__cta-description {
        font-size: 1em;
    }
    .page-x-s__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-x-s__faq-answer {
        padding: 10px 20px 20px;
    }
}