/* style/x-s.css */
:root {
    --primary-color: #FFD700; /* Vàng sang trọng */
    --secondary-color: #1A2B3C; /* Xanh đậm chuyên nghiệp */
    --text-light: #ffffff;
    --text-dark: #1A2B3C;
    --background-light: #F0F2F5; /* Nền sáng nhẹ */
    --background-dark: #2C3E50; /* Nền tối */
    --accent-color: #FF6347; /* Đỏ cam nhấn nhá */
}

.page-x-s {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--background-light);
}

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

/* HERO Section */
.page-x-s .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--secondary-color), #0F1A25); /* Gradient tối */
    color: var(--text-light);
    overflow: hidden;
}

.page-x-s .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.page-x-s .hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-x-s .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.page-x-s .hero-image img:hover {
    transform: scale(1.03);
}

.page-x-s .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-x-s .hero-content h1 {
    font-size: 3.2em;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    font-weight: bold;
}

.page-x-s .hero-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-x-s .cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-x-s .cta-button:hover {
    background: #FFEB3B; /* Vàng sáng hơn */
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* General Section Styling */
.page-x-s section {
    padding: 60px 0;
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-x-s section:nth-of-type(even) {
    background-color: #E8EBF0; /* Nền xen kẽ */
}

.page-x-s h2 {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-x-s h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-x-s h3 {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

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

.page-x-s a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-x-s a:hover {
    color: var(--primary-color);
}

/* Introduction Section */
.page-x-s .introduction-section p {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-x-s .feature-cards .card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--primary-color);
}

.page-x-s .feature-cards .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-x-s .feature-cards .card h3 {
    color: var(--secondary-color);
    font-size: 1.5em;
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-x-s .feature-cards .card h3 a {
    color: var(--secondary-color);
}

.page-x-s .feature-cards .card h3 a:hover {
    color: var(--primary-color);
}

.page-x-s .feature-cards .card p {
    font-size: 1em;
    color: #555;
}

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

.page-x-s .game-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-x-s .game-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-x-s .game-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 4px solid var(--primary-color);
}

.page-x-s .game-item h3 {
    font-size: 1.4em;
    color: var(--secondary-color);
    padding: 15px 20px 0;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-x-s .game-item h3 a {
    color: var(--secondary-color);
}

.page-x-s .game-item h3 a:hover {
    color: var(--primary-color);
}

.page-x-s .game-item p {
    font-size: 1em;
    color: #555;
    padding: 0 20px 20px;
}

/* Guide Section */
.page-x-s .guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-x-s .guide-list li {
    background-color: #ffffff;
    margin-bottom: 20px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    border-left: 8px solid var(--primary-color);
}

.page-x-s .guide-list li h3 {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-x-s .guide-list li h3 a {
    color: var(--secondary-color);
}

.page-x-s .guide-list li h3 a:hover {
    color: var(--primary-color);
}

.page-x-s .guide-list li p {
    font-size: 1em;
    color: #555;
}

/* Tips Section */
.page-x-s .tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-x-s .tips-list li {
    background-color: #ffffff;
    margin-bottom: 20px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-right: 8px solid var(--primary-color);
}

.page-x-s .tips-list li h3 {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-x-s .tips-list li p {
    font-size: 1em;
    color: #555;
}

/* Promotions Section */
.page-x-s .promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.page-x-s .promo-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-x-s .promo-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-x-s .promo-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 4px solid var(--primary-color);
}

.page-x-s .promo-item h3 {
    font-size: 1.4em;
    color: var(--secondary-color);
    padding: 15px 20px 0;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-x-s .promo-item h3 a {
    color: var(--secondary-color);
}

.page-x-s .promo-item h3 a:hover {
    color: var(--primary-color);
}

.page-x-s .promo-item p {
    font-size: 1em;
    color: #555;
    padding: 0 20px 20px;
}

/* Security & FAQ Section */
.page-x-s .security-faq-section {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-x-s .security-faq-section h2 {
    color: var(--primary-color);
}

.page-x-s .security-faq-section h3 {
    color: var(--primary-color);
}

.page-x-s .security-faq-section a {
    color: var(--primary-color);
}

.page-x-s .security-faq-section a:hover {
    color: #FFEB3B;
}

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

.page-x-s .security-features .feature-item {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

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

.page-x-s .security-features .feature-item h3 {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 15px;
}

.page-x-s .security-features .feature-item p {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.8);
}

.page-x-s .faq-items {
    margin-top: 40px;
}

.page-x-s .faq-item {
    background-color: var(--secondary-color);
    border-radius: 12px;
    margin-bottom: 15px;
    padding: 25px 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--primary-color);
}

.page-x-s .faq-item h3 {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-x-s .faq-item h3 a {
    color: var(--primary-color);
}

.page-x-s .faq-item h3 a:hover {
    color: #FFEB3B;
}

.page-x-s .faq-item p {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.85);
}

/* Bottom CTA Section */
.page-x-s .cta-bottom-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color), #FFEB3B); /* Gradient vàng */
    color: var(--secondary-color);
}

.page-x-s .cta-bottom-section h2 {
    color: var(--secondary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.page-x-s .cta-bottom-section h2::after {
    background-color: var(--secondary-color);
}

.page-x-s .cta-bottom-section p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--secondary-color);
}

.page-x-s .cta-bottom-section .small-text {
    font-size: 0.9em;
    margin-top: 20px;
    opacity: 0.9;
}

.page-x-s .cta-bottom-section .cta-button {
    background: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(26, 43, 60, 0.4);
}

.page-x-s .cta-bottom-section .cta-button:hover {
    background: #0F1A25; /* Xanh đậm hơn */
    color: #FFEB3B;
    box-shadow: 0 6px 20px rgba(26, 43, 60, 0.6);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-x-s .hero-content h1 {
        font-size: 2.8em;
    }
    .page-x-s .hero-content p {
        font-size: 1.1em;
    }
    .page-x-s h2 {
        font-size: 2em;
    }
    .page-x-s h3 {
        font-size: 1.6em;
    }
    .page-x-s .cta-button {
        padding: 15px 35px;
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-x-s .hero-section {
        padding: 40px 15px;
    }
    .page-x-s .hero-image {
        margin-bottom: 20px;
    }
    .page-x-s .hero-content h1 {
        font-size: 2.2em;
    }
    .page-x-s .hero-content p {
        font-size: 1em;
    }
    .page-x-s section {
        padding: 40px 0;
    }
    .page-x-s h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-x-s h3 {
        font-size: 1.4em;
    }
    .page-x-s .feature-cards, .page-x-s .game-grid, .page-x-s .promo-grid, .page-x-s .security-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-x-s .guide-list li, .page-x-s .tips-list li, .page-x-s .faq-item {
        padding: 20px;
    }
    .page-x-s .cta-bottom-section {
        padding: 60px 15px;
    }
    .page-x-s .cta-bottom-section p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-x-s .hero-content h1 {
        font-size: 1.8em;
    }
    .page-x-s .hero-content p {
        font-size: 0.95em;
    }
    .page-x-s h2 {
        font-size: 1.6em;
    }
    .page-x-s h3 {
        font-size: 1.2em;
    }
    .page-x-s .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}