/* style/x-s.css */

/* General styles for the page */
.page-x-s {
    font-family: 'Arial', sans-serif;
    color: #e5e5e5; /* Light grey for text on dark background */
    background-color: #1A202C; /* Main dark background color */
    line-height: 1.6;
}

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

.page-x-s__section-title {
    font-size: 2.8em;
    color: #FFD700; /* Accent gold for titles */
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
    font-weight: bold;
}

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

.page-x-s__highlight {
    color: #FFD700;
    font-weight: bold;
}

/* Buttons */
.page-x-s__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

.page-x-s__btn--primary {
    background-color: #FFD700;
    color: #1A202C;
    border: 2px solid #FFD700;
}

.page-x-s__btn--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

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

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

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

.page-x-s__btn--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Hero Section */
.page-x-s__hero {
    background: linear-gradient(135deg, #1A202C 0%, #3a4a6b 100%); /* Dark gradient */
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-x-s__hero-title {
    font-size: 4em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-x-s__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Features Section */
.page-x-s__features {
    padding: 80px 0;
    background-color: #2a3342; /* Slightly lighter dark background */
}

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

.page-x-s__feature-item {
    background-color: #1A202C;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-x-s__feature-item:hover {
    transform: translateY(-10px);
}

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

.page-x-s__feature-heading {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-x-s__feature-text {
    font-size: 1em;
    color: #b0b0b0;
}

/* Games Section */
.page-x-s__games {
    padding: 80px 0;
    background-color: #1A202C;
}

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

.page-x-s__game-card {
    background-color: #2a3342;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

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

.page-x-s__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-x-s__game-title {
    font-size: 1.6em;
    color: #FFD700;
    margin: 20px 15px 10px 15px;
}

.page-x-s__game-description {
    font-size: 0.95em;
    color: #b0b0b0;
    padding: 0 15px 20px 15px;
    flex-grow: 1;
}

.page-x-s__game-card .page-x-s__btn {
    margin: 0 15px 20px 15px;
}

/* Guide Section */
.page-x-s__guide {
    padding: 80px 0;
    background-color: #2a3342;
}

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

.page-x-s__step-item {
    background-color: #1A202C;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-x-s__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #FFD700;
    color: #1A202C;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-x-s__step-heading {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-x-s__step-text {
    font-size: 1em;
    color: #b0b0b0;
}

.page-x-s__step-text a {
    color: #FFD700;
    text-decoration: underline;
}

.page-x-s__step-text a:hover {
    color: #e6c200;
}

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

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

.page-x-s__tip-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.page-x-s__tip-list li {
    background-color: #2a3342;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    color: #e5e5e5;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-x-s__tip-icon {
    color: #FFD700;
    font-size: 1.5em;
    margin-right: 15px;
    line-height: 1;
}

.page-x-s__tip-list a {
    color: #FFD700;
    text-decoration: underline;
}

.page-x-s__tip-list a:hover {
    color: #e6c200;
}

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

/* CTA Banner */
.page-x-s__cta-banner {
    background-color: #FFD700; /* Accent gold background */
    padding: 60px 0;
    color: #1A202C;
}

.page-x-s__cta-banner .page-x-s__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.page-x-s__cta-content {
    flex: 1;
    min-width: 300px;
}

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

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

.page-x-s__cta-banner .page-x-s__highlight {
    color: #8B4513; /* Darker brown for contrast on gold background */
}

.page-x-s__cta-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-x-s__hero-title {
        font-size: 3.5em;
    }
    .page-x-s__hero-description {
        font-size: 1.3em;
    }
    .page-x-s__section-title {
        font-size: 2.2em;
    }
    .page-x-s__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-x-s__hero {
        padding: 80px 0;
    }
    .page-x-s__hero-title {
        font-size: 2.8em;
    }
    .page-x-s__hero-description {
        font-size: 1.1em;
    }
    .page-x-s__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-x-s__btn {
        width: 80%;
        margin: 0 auto;
    }
    .page-x-s__section-title {
        font-size: 2em;
    }
    .page-x-s__section-subtitle {
        font-size: 1em;
    }
    .page-x-s__feature-item, .page-x-s__game-card, .page-x-s__step-item {
        padding: 25px;
    }
    .page-x-s__cta-banner .page-x-s__container {
        flex-direction: column;
        text-align: center;
    }
    .page-x-s__cta-image {
        order: -1; /* Image above text on mobile */
        margin-bottom: 30px;
    }
    .page-x-s__cta-title {
        font-size: 2em;
    }
    .page-x-s__cta-description {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-x-s__hero-title {
        font-size: 2.2em;
    }
    .page-x-s__hero-description {
        font-size: 1em;
    }
    .page-x-s__btn {
        width: 100%;
        padding: 12px 20px;
    }
    .page-x-s__section-title {
        font-size: 1.8em;
    }
    .page-x-s__feature-grid, .page-x-s__game-card-grid, .page-x-s__guide-steps {
        grid-template-columns: 1fr;
    }
    .page-x-s__cta-title {
        font-size: 1.8em;
    }
}