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

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

.page-x-s-lottery-types-rules__highlight {
    color: #FFD700;
}

.page-x-s-lottery-types-rules__strong {
    font-weight: bold;
    color: #1A2B3C;
}

.page-x-s-lottery-types-rules__hero-section {
    background: linear-gradient(135deg, #1A2B3C 0%, #3a506b 100%);
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-x-s-lottery-types-rules__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    z-index: 1;
    position: relative;
    color: #ffffff;
}

.page-x-s-lottery-types-rules__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: #e0e0e0;
    z-index: 1;
    position: relative;
}

.page-x-s-lottery-types-rules__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 1;
    position: relative;
}

.page-x-s-lottery-types-rules__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    font-size: 1.1em;
    text-align: center;
}

.page-x-s-lottery-types-rules__btn--primary {
    background-color: #FFD700;
    color: #1A2B3C;
    border: 2px solid #FFD700;
}

.page-x-s-lottery-types-rules__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-x-s-lottery-types-rules__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-x-s-lottery-types-rules__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A2B3C;
    transform: translateY(-2px);
}

.page-x-s-lottery-types-rules__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-x-s-lottery-types-rules__btn--link {
    background-color: transparent;
    color: #1A2B3C;
    border: none;
    padding: 5px 0;
    font-size: 1em;
    text-decoration: underline;
}

.page-x-s-lottery-types-rules__btn--link:hover {
    color: #FFD700;
    text-decoration: none;
    transform: none;
}

.page-x-s-lottery-types-rules__section-title {
    font-size: 2.5em;
    color: #1A2B3C;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-x-s-lottery-types-rules__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-lottery-types-rules__paragraph {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
    text-align: justify;
}

.page-x-s-lottery-types-rules__intro-section,
.page-x-s-lottery-types-rules__lottery-types-section,
.page-x-s-lottery-types-rules__how-to-play-section,
.page-x-s-lottery-types-rules__tips-section,
.page-x-s-lottery-types-rules__cta-section {
    padding: 60px 0;
}

.page-x-s-lottery-types-rules__lottery-types-section {
    background-color: #f0f2f5;
}

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

.page-x-s-lottery-types-rules__type-card {
    background-color: #ffffff;
    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;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-x-s-lottery-types-rules__type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-x-s-lottery-types-rules__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.page-x-s-lottery-types-rules__card-title {
    font-size: 1.6em;
    color: #1A2B3C;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-x-s-lottery-types-rules__card-description {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: justify;
}

.page-x-s-lottery-types-rules__list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: left;
}

.page-x-s-lottery-types-rules__list li {
    margin-bottom: 8px;
    color: #444;
    position: relative;
    padding-left: 25px;
}

.page-x-s-lottery-types-rules__list li::before {
    content: '✓';
    color: #FFD700;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

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

.page-x-s-lottery-types-rules__step-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    border-top: 5px solid #FFD700;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-x-s-lottery-types-rules__step-icon {
    background-color: #1A2B3C;
    color: #FFD700;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-x-s-lottery-types-rules__step-title {
    font-size: 1.8em;
    color: #1A2B3C;
    margin-bottom: 15px;
}

.page-x-s-lottery-types-rules__tips-section {
    background-color: #f0f2f5;
}

.page-x-s-lottery-types-rules__list--tips {
    list-style: decimal;
    padding-left: 20px;
    margin-top: 20px;
    text-align: justify;
}

.page-x-s-lottery-types-rules__list--tips li {
    margin-bottom: 15px;
    padding-left: 0;
}

.page-x-s-lottery-types-rules__list--tips li::before {
    content: none;
}

.page-x-s-lottery-types-rules__cta-section {
    background-color: #1A2B3C;
    color: #ffffff;
    text-align: center;
    padding: 80px 0;
}

.page-x-s-lottery-types-rules__cta-section .page-x-s-lottery-types-rules__section-title {
    color: #ffffff;
}

.page-x-s-lottery-types-rules__cta-section .page-x-s-lottery-types-rules__section-title::after {
    background-color: #FFD700;
}

.page-x-s-lottery-types-rules__cta-section .page-x-s-lottery-types-rules__paragraph {
    color: #e0e0e0;
    font-size: 1.2em;
    margin-bottom: 40px;
}

.page-x-s-lottery-types-rules__cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-x-s-lottery-types-rules__hero-title {
        font-size: 2.8em;
    }

    .page-x-s-lottery-types-rules__hero-subtitle {
        font-size: 1.2em;
    }

    .page-x-s-lottery-types-rules__section-title {
        font-size: 2em;
    }

    .page-x-s-lottery-types-rules__type-card-grid, .page-x-s-lottery-types-rules__step-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-x-s-lottery-types-rules__hero-section {
        padding: 80px 0;
    }

    .page-x-s-lottery-types-rules__hero-title {
        font-size: 2.2em;
    }

    .page-x-s-lottery-types-rules__hero-subtitle {
        font-size: 1em;
    }

    .page-x-s-lottery-types-rules__hero-actions,
    .page-x-s-lottery-types-rules__cta-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-x-s-lottery-types-rules__btn {
        width: 80%;
        margin: 0 auto;
    }

    .page-x-s-lottery-types-rules__section-title {
        font-size: 1.8em;
    }

    .page-x-s-lottery-types-rules__intro-section,
    .page-x-s-lottery-types-rules__lottery-types-section,
    .page-x-s-lottery-types-rules__how-to-play-section,
    .page-x-s-lottery-types-rules__tips-section,
    .page-x-s-lottery-types-rules__cta-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .page-x-s-lottery-types-rules__hero-title {
        font-size: 1.8em;
    }

    .page-x-s-lottery-types-rules__btn {
        width: 100%;
        padding: 12px 20px;
    }

    .page-x-s-lottery-types-rules__section-title {
        font-size: 1.5em;
    }

    .page-x-s-lottery-types-rules__type-card-grid, .page-x-s-lottery-types-rules__step-grid {
        grid-template-columns: 1fr;
    }
}