/* style/x-s.css */
.page-x-s {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

.page-x-s__hero-section {
    background: linear-gradient(135deg, #007BFF, #4da3ff);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-x-s__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-x-s__hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.5;
}

.page-x-s__hero-buttons .page-x-s__button {
    margin: 10px;
    padding: 15px 30px;
    font-size: 1.1em;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.page-x-s__button--primary {
    background-color: #FFC107;
    color: #333;
    border: 2px solid #FFC107;
}

.page-x-s__button--primary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    transform: translateY(-3px);
}

.page-x-s__button--secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.page-x-s__button--secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.page-x-s__button--small {
    padding: 8px 20px;
    font-size: 0.9em;
    border-radius: 25px;
    margin-top: 15px;
}

.page-x-s__section-title {
    font-size: 2.5em;
    color: #007BFF;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    position: relative;
    font-weight: bold;
}

.page-x-s__section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: #FFC107;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.page-x-s__section-subtitle {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 50px;
    color: #555;
}

.page-x-s__introduction-section,
.page-x-s__game-types-section,
.page-x-s__guide-section,
.page-x-s__benefits-section,
.page-x-s__tips-section,
.page-x-s__faq-section,
.page-x-s__final-cta-section {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-x-s__introduction-section {
    background-color: #f0f8ff;
}

.page-x-s__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-x-s__text-content {
    flex: 2;
    min-width: 300px;
}

.page-x-s__text-content p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-x-s__image-wrapper {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.page-x-s__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-x-s__grid-item {
    background-color: #fefefe;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid #007BFF;
}

.page-x-s__grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.page-x-s__item-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    border-radius: 50%;
    background-color: #e0f2ff;
    padding: 10px;
    display: inline-block;
}

.page-x-s__item-title {
    font-size: 1.5em;
    color: #007BFF;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-x-s__item-description {
    font-size: 1em;
    color: #666;
}

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

.page-x-s__step-item {
    background-color: #fefefe;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    border-bottom: 5px solid #FFC107;
}

.page-x-s__step-number {
    counter-increment: step-counter;
    font-size: 2.5em;
    font-weight: bold;
    color: #FFC107;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #007BFF;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    color: #fff;
    border: 3px solid #fefefe;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-x-s__step-item:nth-child(even) .page-x-s__step-number {
    background-color: #FFC107;
    color: #333;
}

.page-x-s__step-item:nth-child(even) {
    border-bottom-color: #007BFF;
}

.page-x-s__step-title {
    font-size: 1.6em;
    color: #007BFF;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-x-s__step-item:nth-child(even) .page-x-s__step-title {
    color: #e0a800;
}

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

.page-x-s__benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 50px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-x-s__benefits-list li {
    background-color: #f0f8ff;
    padding: 20px;
    border-left: 5px solid #007BFF;
    border-radius: 8px;
    font-size: 1.1em;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-x-s__benefits-list li:nth-child(even) {
    border-left-color: #FFC107;
    background-color: #fffbf0;
}

.page-x-s__list-highlight {
    color: #007BFF;
    font-weight: bold;
}

.page-x-s__benefits-list li:nth-child(even) .page-x-s__list-highlight {
    color: #e0a800;
}

.page-x-s__cta-banner {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #007BFF, #0056b3);
    border-radius: 10px;
    padding: 30px 40px;
    color: #fff;
    margin-top: 60px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    flex-wrap: wrap;
}

.page-x-s__banner-image {
    width: 150px;
    height: auto;
    margin-right: 30px;
    border-radius: 8px;
}

.page-x-s__banner-content {
    flex-grow: 1;
}

.page-x-s__banner-title {
    font-size: 2em;
    margin-bottom: 10px;
    font-weight: bold;
    color: #FFC107;
}

.page-x-s__banner-description {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.page-x-s__tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-x-s__tips-list li {
    background-color: #f0f9f0;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-left: 5px solid #007BFF;
    border-radius: 8px;
    font-size: 1.1em;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-x-s__tips-list li:last-child {
    margin-bottom: 0;
}

.page-x-s__faq-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.page-x-s__faq-item {
    background-color: #fefefe;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.page-x-s__faq-question {
    font-size: 1.3em;
    color: #007BFF;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-x-s__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #FFC107;
    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: 1.1em;
    color: #555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding-top: 0;
}

.page-x-s__faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    padding-top: 15px;
}

.page-x-s__final-cta-section {
    background: linear-gradient(45deg, #007BFF, #FFC107);
    color: #fff;
    text-align: center;
    padding: 80px 0;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-x-s__final-cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

.page-x-s__final-cta-description {
    font-size: 1.4em;
    max-width: 900px;
    margin: 0 auto 50px auto;
    line-height: 1.5;
}

.page-x-s__final-cta-buttons .page-x-s__button {
    margin: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-x-s__hero-title {
        font-size: 2.8em;
    }
    .page-x-s__hero-description,
    .page-x-s__final-cta-description {
        font-size: 1.1em;
    }
    .page-x-s__section-title {
        font-size: 2em;
    }
    .page-x-s__content-wrapper {
        flex-direction: column;
    }
    .page-x-s__cta-banner {
        flex-direction: column;
        text-align: center;
    }
    .page-x-s__banner-image {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .page-x-s__hero-section {
        padding: 80px 0;
    }
    .page-x-s__hero-title {
        font-size: 2.2em;
    }
    .page-x-s__hero-description {
        font-size: 1em;
    }
    .page-x-s__hero-buttons .page-x-s__button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-x-s__section-title {
        font-size: 1.8em;
    }
    .page-x-s__section-subtitle {
        font-size: 1em;
    }
    .page-x-s__grid-item,
    .page-x-s__step-item {
        padding: 25px;
    }
    .page-x-s__item-title,
    .page-x-s__step-title {
        font-size: 1.4em;
    }
    .page-x-s__banner-title {
        font-size: 1.6em;
    }
    .page-x-s__banner-description {
        font-size: 1em;
    }
    .page-x-s__final-cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 480px) {
    .page-x-s__hero-title {
        font-size: 1.8em;
    }
    .page-x-s__hero-description {
        font-size: 0.9em;
    }
    .page-x-s__hero-buttons .page-x-s__button {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    .page-x-s__section-title {
        font-size: 1.5em;
    }
    .page-x-s__final-cta-title {
        font-size: 2em;
    }
}