/* style/x-s.css */
:root {
    --primary-color: #0A1931; /* Deep Blue/Black */
    --secondary-color: #FFD700; /* Gold */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f4f7f6;
    --bg-dark: #1a2a44;
    --accent-color-hover: #e0b800;
    --border-color: #e0e0e0;
}

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

.page-x-s .section-wrapper {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.page-x-s .section-wrapper:nth-of-type(even) {
    background-color: #ffffff;
}

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

.page-x-s h1, .page-x-s h2, .page-x-s h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-x-s h1 {
    font-size: 2.8em;
    color: var(--text-light);
}

.page-x-s h2 {
    font-size: 2.2em;
    margin-top: 40px;
    color: var(--primary-color);
}

.page-x-s h3 {
    font-size: 1.6em;
    color: var(--primary-color);
}

.page-x-s p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-x-s .center-content {
    text-align: center;
    margin-top: 30px;
}

/* Hero Section */
.page-x-s .xoso-hero-section {
    position: relative;
    width: 100%;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a60 100%);
    color: var(--text-light);
    overflow: hidden;
}

.page-x-s .xoso-hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.page-x-s .xoso-hero-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
    object-fit: cover;
}

.page-x-s .xoso-hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-x-s .xoso-hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
    max-width: 800px;
}

.page-x-s .cta-button {
    display: inline-block;
    padding: 18px 45px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.3em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--secondary-color);
}

.page-x-s .cta-button:hover {
    background-color: var(--accent-color-hover);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

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

.page-x-s .feature-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-x-s .feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-x-s .feature-item .feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-x-s .feature-item h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-x-s .feature-item p {
    font-size: 1em;
    color: var(--text-dark);
    text-align: center;
}

/* Xổ Số Card Grid */
.page-x-s .xoso-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-x-s .xoso-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-x-s .xoso-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-x-s .xoso-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-x-s .xoso-card-content {
    padding: 25px;
    text-align: center;
}

.page-x-s .xoso-card-content h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-x-s .xoso-card-content p {
    font-size: 1em;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 20px;
}

.page-x-s .button-small {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 1px solid var(--secondary-color);
}

.page-x-s .button-small:hover {
    background-color: var(--accent-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

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

.page-x-s .guide-step-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    padding-top: 60px; /* Space for step number */
    border: 1px solid var(--border-color);
}

.page-x-s .guide-step-item .step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-x-s .guide-step-item p {
    font-size: 1em;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 20px;
}

.page-x-s .button-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.page-x-s .button-primary:hover {
    background-color: #0d284f;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Tips List */
.page-x-s .tips-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto 0;
}

.page-x-s .tips-list li {
    background-color: #ffffff;
    border-left: 5px solid var(--secondary-color);
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    color: var(--text-dark);
    transition: transform 0.2s ease;
}

.page-x-s .tips-list li:hover {
    transform: translateX(5px);
}

.page-x-s .tips-list li strong {
    color: var(--primary-color);
}

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

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

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

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

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

.page-x-s .promo-item p {
    font-size: 1em;
    color: var(--text-dark);
    padding: 0 20px 25px;
    text-align: center;
}

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

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

.page-x-s .faq-section p {
    color: #cccccc;
}

.page-x-s .faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

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

.page-x-s .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--primary-color);
    color: var(--text-light);
    border: 1px solid #1a3a60;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-x-s .faq-question:hover {
    background: #1a3a60;
}

.page-x-s .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--text-light);
    text-align: left;
}

.page-x-s .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-x-s .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

.page-x-s .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #2a4a70;
    color: #e0e0e0;
}

.page-x-s .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 20px 25px;
    border-radius: 0 0 8px 8px;
}

.page-x-s .faq-answer p {
    margin: 0;
    font-size: 1em;
    text-align: left;
    color: #e0e0e0;
}

/* Conclusion Section */
.page-x-s .xoso-conclusion-section {
    background-color: var(--bg-light);
    padding-bottom: 80px;
}

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

.page-x-s .xoso-conclusion-section p {
    font-size: 1.1em;
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-x-s h1 {
        font-size: 2.5em;
    }
    .page-x-s h2 {
        font-size: 1.8em;
    }
    .page-x-s h3 {
        font-size: 1.4em;
    }
    .page-x-s .cta-button {
        padding: 15px 35px;
        font-size: 1.1em;
    }
    .page-x-s .xoso-hero-image {
        max-width: 700px;
    }
    .page-x-s .feature-grid, .page-x-s .xoso-card-grid, .page-x-s .guide-steps, .page-x-s .promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .page-x-s .section-wrapper {
        padding: 40px 0;
    }
    .page-x-s .xoso-hero-section {
        padding: 60px 0;
    }
    .page-x-s .xoso-hero-content h1 {
        font-size: 2em;
    }
    .page-x-s .xoso-hero-content p {
        font-size: 1em;
    }
    .page-x-s h1 {
        font-size: 2em;
    }
    .page-x-s h2 {
        font-size: 1.6em;
    }
    .page-x-s h3 {
        font-size: 1.3em;
    }
    .page-x-s p {
        font-size: 0.95em;
    }
    .page-x-s .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-x-s .feature-item, .page-x-s .xoso-card, .page-x-s .guide-step-item, .page-x-s .promo-item {
        padding: 25px;
    }
    .page-x-s .guide-step-item .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.6em;
        top: -22px;
    }
    .page-x-s .tips-list li {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-x-s .faq-question {
        padding: 15px 20px;
    }
    .page-x-s .faq-question h3 {
        font-size: 1.1em;
    }
    .page-x-s .faq-toggle {
        font-size: 20px;
    }
    .page-x-s .faq-answer {
        padding: 0 20px;
    }
    .page-x-s .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-x-s .xoso-hero-content h1 {
        font-size: 1.8em;
    }
    .page-x-s h1 {
        font-size: 1.6em;
    }
    .page-x-s h2 {
        font-size: 1.4em;
    }
    .page-x-s .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-x-s .feature-grid, .page-x-s .xoso-card-grid, .page-x-s .guide-steps, .page-x-s .promo-grid {
        grid-template-columns: 1fr;
    }
}