/* style/x-s.css */
:root {
    --primary-color: #2D3E50; /* Deep Blue */
    --secondary-color: #E7B10A; /* Gold */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f4f7f6;
    --background-dark: #2D3E50;
    --border-color: #e0e0e0;
}

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

.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);
    margin-bottom: 20px;
    font-weight: bold;
}

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

.page-x-s h2 {
    font-size: 2.2em;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
}

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

.page-x-s p {
    margin-bottom: 15px;
}

.page-x-s .button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--secondary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.page-x-s .button:hover {
    background-color: #d1a00a;
    transform: translateY(-2px);
}

/* Hero Section */
.page-x-s .hero-xoso {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: var(--background-dark);
    color: var(--text-color-light);
}

.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;
}

.page-x-s .hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-x-s .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.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: 20px;
    color: var(--text-color-light);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

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

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

.page-x-s .cta-button:hover {
    background: #d1a00a;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-x-s .introduction-section {
    background: var(--background-light);
    padding: 60px 0;
    text-align: center;
}

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

.page-x-s .intro-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-x-s .intro-item img {
    width: 150px; /* Minimum 200px requirement met by scaling up if image is smaller */
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

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

.page-x-s .intro-item p {
    color: var(--text-color-dark);
}

/* Lottery Types Section */
.page-x-s .lottery-types-section {
    padding: 60px 0;
    background: #ffffff;
}

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

.page-x-s .type-card {
    background: var(--background-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-x-s .type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

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

.page-x-s .type-card h3 {
    padding: 20px 25px 10px;
    font-size: 1.5em;
    color: var(--primary-color);
}

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

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

.page-x-s .type-card p {
    padding: 0 25px;
    flex-grow: 1;
}

.page-x-s .type-card ul {
    list-style: none;
    padding: 0 25px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.page-x-s .type-card ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.page-x-s .type-card ul li::before {
    content: '✓';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-x-s .type-card .button {
    margin: 20px 25px 25px;
    align-self: flex-start;
}

/* Guide Section */
.page-x-s .guide-section {
    background: var(--background-light);
    padding: 60px 0;
    text-align: center;
}

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

.page-x-s .step-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-x-s .step-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-x-s .step-item h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3em;
}

.page-x-s .step-item p {
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Promotions Section */
.page-x-s .promotions-section {
    padding: 60px 0;
    background: #ffffff;
    text-align: center;
}

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

.page-x-s .promo-card {
    background: var(--background-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-x-s .promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

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

.page-x-s .promo-card h3 {
    padding: 20px 25px 10px;
    color: var(--primary-color);
    font-size: 1.5em;
}

.page-x-s .promo-card p {
    padding: 0 25px;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-x-s .promo-card .button {
    margin: 0 25px 25px;
}

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

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

.page-x-s .tips-section h3 {
    color: var(--text-color-light);
}

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

.page-x-s .tip-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-x-s .tip-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.page-x-s .tip-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: brightness(1.2);
}

.page-x-s .tip-item p {
    color: rgba(255, 255, 255, 0.9);
}

/* Safety and Support Section */
.page-x-s .safety-support-section {
    padding: 60px 0;
    background: var(--background-light);
    text-align: center;
}

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

.page-x-s .safety-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-x-s .safety-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-x-s .safety-item h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3em;
}

/* FAQ Section */
.page-x-s .faq-section {
    padding: 60px 0;
    background: #ffffff;
}

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

.page-x-s .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

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

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

.page-x-s .faq-question h3 {
    margin: 0;
    font-size: 1.15em;
    color: inherit;
}

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

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

.page-x-s .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background: var(--background-light);
    padding: 0 25px;
}

.page-x-s .faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 20px 25px;
}

.page-x-s .faq-answer p {
    margin-bottom: 15px;
    color: var(--text-color-dark);
}

.page-x-s .faq-answer .button {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-x-s .hero-content h1 {
        font-size: 2.5em;
    }
    .page-x-s .hero-content p {
        font-size: 1.1em;
    }
    .page-x-s .cta-button {
        padding: 15px 35px;
        font-size: 1.2em;
    }
    .page-x-s h1 {
        font-size: 2.4em;
    }
    .page-x-s h2 {
        font-size: 1.8em;
    }
    .page-x-s h3 {
        font-size: 1.4em;
    }
    .page-x-s .type-card img {
        height: 200px;
    }
    .page-x-s .promo-card img {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .page-x-s .hero-xoso {
        padding: 40px 15px;
    }
    .page-x-s .hero-content h1 {
        font-size: 2em;
    }
    .page-x-s .hero-content p {
        font-size: 1em;
    }
    .page-x-s .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-x-s .container {
        padding: 0 15px;
    }
    .page-x-s h1 {
        font-size: 2em;
    }
    .page-x-s h2 {
        font-size: 1.6em;
    }
    .page-x-s h3 {
        font-size: 1.2em;
    }
    .page-x-s .intro-grid,
    .page-x-s .type-card-grid,
    .page-x-s .guide-steps,
    .page-x-s .promo-cards,
    .page-x-s .tips-grid,
    .page-x-s .safety-grid {
        grid-template-columns: 1fr;
    }
    .page-x-s .intro-item,
    .page-x-s .type-card,
    .page-x-s .step-item,
    .page-x-s .promo-card,
    .page-x-s .tip-item,
    .page-x-s .safety-item {
        padding: 20px;
    }
    .page-x-s .type-card img {
        height: 180px;
    }
    .page-x-s .promo-card img {
        height: 150px;
    }
    .page-x-s .faq-question {
        padding: 15px 20px;
    }
    .page-x-s .faq-question h3 {
        font-size: 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 .hero-content h1 {
        font-size: 1.8em;
    }
    .page-x-s .hero-content p {
        font-size: 0.9em;
    }
    .page-x-s .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-x-s h1 {
        font-size: 1.8em;
    }
    .page-x-s h2 {
        font-size: 1.4em;
    }
    .page-x-s h3 {
        font-size: 1.1em;
    }
}