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

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

.page-x-s__hero-section {
    background: linear-gradient(135deg, #0A246A 0%, #3a5c9f 100%); /* Lighter variant for gradient */
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-x-s__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,geometric,pattern,blue]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-x-s__hero-section > .page-x-s__container {
    position: relative;
    z-index: 1;
}

.page-x-s__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-x-s__hero-description {
    font-size: 1.25em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-x-s__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

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

.page-x-s__btn--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-3px);
}

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

.page-x-s__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A246A;
    transform: translateY(-3px);
}

.page-x-s__hero-image {
    max-width: 100%;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-x-s__content-section {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-x-s__content-section:nth-of-type(even) {
    background-color: #f0f2f5;
}

.page-x-s__section-title {
    font-size: 2.5em;
    color: #0A246A;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-x-s__about p, .page-x-s__guide p, .page-x-s__prediction p, .page-x-s__types p, .page-x-s__tips p, .page-x-s__promotions p, .page-x-s__app-download p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #555;
}

.page-x-s__about a, .page-x-s__guide a, .page-x-s__prediction a, .page-x-s__types a, .page-x-s__tips a, .page-x-s__promotions a, .page-x-s__app-download a, .page-x-s__faq a {
    color: #0A246A;
    text-decoration: underline;
    font-weight: bold;
}

.page-x-s__about a:hover, .page-x-s__guide a:hover, .page-x-s__prediction a:hover, .page-x-s__types a:hover, .page-x-s__tips a:hover, .page-x-s__promotions a:hover, .page-x-s__app-download a:hover, .page-x-s__faq a:hover {
    color: #FFD700;
}

.page-x-s__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-x-s__list li {
    background-color: #e9ecef;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 5px solid #0A246A;
    border-radius: 5px;
    font-size: 1.05em;
}

.page-x-s__list li strong {
    color: #0A246A;
}

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

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

.page-x-s__grid-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-x-s__grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-x-s__item-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
}

.page-x-s__item-title {
    font-size: 1.8em;
    color: #0A246A;
    margin-bottom: 15px;
}

.page-x-s__item-title a {
    color: #0A246A;
    text-decoration: none;
}

.page-x-s__item-title a:hover {
    color: #FFD700;
}

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

.page-x-s__feature-item {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #eee;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

.page-x-s__feature-item h3 {
    font-size: 1.5em;
    color: #0A246A;
    margin-bottom: 10px;
}

.page-x-s__list--promotions li {
    background-color: #fefce8; /* Light yellow for promotions */
    border-left-color: #FFD700;
}

.page-x-s__app-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-x-s__btn--download {
    background-color: #0A246A;
    color: #fff;
    border: 2px solid #0A246A;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-x-s__btn--download:hover {
    background-color: #1a3c7d;
    border-color: #1a3c7d;
}

.page-x-s__app-icon {
    width: 24px;
    height: 24px;
}

.page-x-s__app-mockup {
    max-width: 400px;
    height: auto;
    margin-top: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-x-s__accordion {
    margin-top: 30px;
}

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

.page-x-s__accordion-header {
    width: 100%;
    background-color: #0A246A;
    color: #fff;
    padding: 18px 25px;
    text-align: left;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-x-s__accordion-header:hover, .page-x-s__accordion-header.active {
    background-color: #1a3c7d;
}

.page-x-s__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-x-s__accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

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

.page-x-s__accordion-content p {
    margin: 15px 0;
    color: #444;
}

.page-x-s__accordion-content.active {
    max-height: 200px; /* Adjust as needed */
    padding: 15px 25px;
}

.page-x-s__call-to-action {
    background: linear-gradient(90deg, #0A246A, #FFD700);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-x-s__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-x-s__cta-description {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-x-s__cta-description a {
    color: #0A246A;
    text-decoration: underline;
}

.page-x-s__cta-description a:hover {
    color: #e6c200;
}

.page-x-s__btn--large {
    padding: 18px 40px;
    font-size: 1.3em;
    border-radius: 10px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-x-s__hero-title {
        font-size: 2.8em;
    }
    .page-x-s__section-title {
        font-size: 2em;
    }
    .page-x-s__cta-title {
        font-size: 2.5em;
    }
    .page-x-s__grid, .page-x-s__feature-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-x-s__hero-title {
        font-size: 2.2em;
    }
    .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%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-x-s__section-title {
        font-size: 1.8em;
    }
    .page-x-s__cta-title {
        font-size: 2em;
    }
    .page-x-s__app-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .page-x-s__hero-title {
        font-size: 1.8em;
    }
    .page-x-s__hero-description {
        font-size: 1em;
    }
    .page-x-s__section-title {
        font-size: 1.5em;
    }
    .page-x-s__cta-title {
        font-size: 1.8em;
    }
    .page-x-s__btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-x-s__list li {
        padding: 10px 15px;
        font-size: 0.95em;
    }
    .page-x-s__grid-item, .page-x-s__feature-item {
        padding: 15px;
    }
    .page-x-s__accordion-header {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-x-s__accordion-content {
        padding: 0 20px;
    }
    .page-x-s__accordion-content.active {
        padding: 10px 20px;
    }
}