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

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

.page-x-s .text-center {
    text-align: center;
}

.page-x-s .mt-4 {
    margin-top: 2rem;
}

.page-x-s .bg-light {
    background-color: #f2f4f7;
}

.page-x-s .bg-primary-dark {
    background-color: #0056b3; /* Darker shade of primary for contrast */
    color: #fff;
}

.page-x-s .highlight-brand {
    color: #ffc107;
    font-weight: bold;
}

/* Buttons */
.page-x-s .btn {
    display: inline-block;
    font-weight: 600;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-color: #007bff;
    border: 1px solid #007bff;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.page-x-s .btn:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.page-x-s .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.page-x-s .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.page-x-s .btn-secondary {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #333;
}

.page-x-s .btn-secondary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    color: #333;
}

.page-x-s .btn-outline {
    background-color: transparent;
    color: #007bff;
    border: 1px solid #007bff;
}

.page-x-s .btn-outline:hover {
    background-color: #007bff;
    color: #fff;
}

.page-x-s .btn-outline-light {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.page-x-s .btn-outline-light:hover {
    background-color: #fff;
    color: #007bff;
}

.page-x-s .btn-link {
    background: none;
    border: none;
    color: #007bff;
    padding: 0;
    font-size: 0.9rem;
    text-decoration: underline;
}

.page-x-s .btn-link:hover {
    color: #0056b3;
}

.page-x-s .btn-lg {
    padding: 15px 30px;
    font-size: 1.15rem;
}

.page-x-s .btn-sm {
    padding: 8px 15px;
    font-size: 0.85rem;
}

/* Sections */
.page-x-s section {
    padding: 60px 0;
}

.page-x-s .hero-section {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.page-x-s .hero-title {
    font-size: 3.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
}

.page-x-s .hero-description {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #e0e0e0;
}

.page-x-s .hero-cta {
    margin: 0 10px;
}

.page-x-s .section-title {
    font-size: 2.5rem;
    color: #007bff;
    text-align: center;
    margin-bottom: 20px;
}

.page-x-s .section-description {
    font-size: 1.1rem;
    color: #555;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

/* Intro Section */
.page-x-s .intro-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-x-s .intro-content .text-content {
    flex: 1;
}

.page-x-s .intro-content .text-content p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #444;
}

.page-x-s .intro-content .image-wrapper {
    flex: 1;
    text-align: center;
}

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

/* Lottery Types Section */
.page-x-s .grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-x-s .lottery-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-x-s .lottery-card .card-image {
    max-width: 100px;
    height: auto;
    margin-bottom: 20px;
}

.page-x-s .lottery-card .card-title {
    font-size: 1.5rem;
    color: #007bff;
    margin-bottom: 15px;
}

.page-x-s .lottery-card .card-text {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* How-to-Play Section */
.page-x-s .step-by-step-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-x-s .guide-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
}

.page-x-s .guide-item .icon-wrapper {
    background-color: #e6f0ff;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
}

.page-x-s .guide-item .guide-icon {
    max-width: 50px;
    height: auto;
}

.page-x-s .guide-item .guide-title {
    font-size: 1.4rem;
    color: #007bff;
    margin-bottom: 10px;
}

.page-x-s .guide-item .guide-text {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Tips Section */
.page-x-s .grid-2-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.page-x-s .tip-card {
    background-color: #fff;
    border-left: 5px solid #ffc107;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
}

.page-x-s .tip-card .tip-title {
    font-size: 1.3rem;
    color: #007bff;
    margin-bottom: 10px;
}

.page-x-s .tip-card .tip-text {
    color: #555;
    font-size: 0.98rem;
}

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

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

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

.page-x-s .feature-item .feature-icon {
    max-width: 60px;
    height: auto;
    margin-bottom: 20px;
}

.page-x-s .feature-item .feature-title {
    font-size: 1.4rem;
    color: #007bff;
    margin-bottom: 10px;
}

.page-x-s .feature-item .feature-text {
    color: #666;
    font-size: 0.95rem;
}

/* FAQ Section */
.page-x-s .faq-accordion {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-x-s .faq-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-x-s .faq-question {
    font-size: 1.2rem;
    color: #007bff;
    padding: 20px 25px;
    cursor: pointer;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #eaf4ff;
    border-bottom: 1px solid #ddd;
}

.page-x-s .faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

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

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

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

.page-x-s .faq-answer p {
    margin-bottom: 10px;
    color: #555;
    font-size: 0.95rem;
}

/* CTA Section */
.page-x-s .cta-section {
    padding: 80px 0;
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: #fff;
}

.page-x-s .cta-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #fff;
}

.page-x-s .cta-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #e0e0e0;
}

.page-x-s .cta-button {
    margin: 0 10px;
}