/* style/lottery-games-how-to-play.css */
:root {
    --page-lottery-games-how-to-play-primary-color: #0A1931;
    --page-lottery-games-how-to-play-secondary-color: #FFD700;
    --page-lottery-games-how-to-play-text-dark: #0A1931; /* Text on light background */
    --page-lottery-games-how-to-play-text-light: #FFFFFF; /* Text on dark background */
    --page-lottery-games-how-to-play-background-light: #F8F8F8; /* General light background */
    --page-lottery-games-how-to-play-background-dark: #1A2E4B; /* Darker background variant */
    --page-lottery-games-how-to-play-accent-text-dark: #998100; /* Dark text for accent background */
    --page-lottery-games-how-to-play-accent-text-light: #FFFFFF; /* Light text for accent background */
}

.page-lottery-games-how-to-play {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-lottery-games-how-to-play-text-dark);
    background-color: var(--page-lottery-games-how-to-play-background-light);
}

.page-lottery-games-how-to-play__hero {
    background: linear-gradient(135deg, var(--page-lottery-games-how-to-play-primary-color), var(--page-lottery-games-how-to-play-background-dark));
    color: var(--page-lottery-games-how-to-play-text-light);
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.page-lottery-games-how-to-play__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.page-lottery-games-how-to-play__hero-title {
    font-size: 3.2em;
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--page-lottery-games-how-to-play-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-lottery-games-how-to-play__hero-title a.page-lottery-games-how-to-play__brand-link {
    color: var(--page-lottery-games-how-to-play-secondary-color);
    text-decoration: none;
}

.page-lottery-games-how-to-play__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-lottery-games-how-to-play__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

.page-lottery-games-how-to-play__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%) blur(3px);
}

.page-lottery-games-how-to-play__section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: var(--page-lottery-games-how-to-play-text-light);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-lottery-games-how-to-play__section-title {
    font-size: 2.5em;
    color: var(--page-lottery-games-how-to-play-primary-color);
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

.page-lottery-games-how-to-play__section-title a.page-lottery-games-how-to-play__brand-link {
    color: var(--page-lottery-games-how-to-play-primary-color);
    text-decoration: none;
}

.page-lottery-games-how-to-play__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--page-lottery-games-how-to-play-secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-lottery-games-how-to-play__sub-title {
    font-size: 1.8em;
    color: var(--page-lottery-games-how-to-play-primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--page-lottery-games-how-to-play-secondary-color);
    padding-bottom: 5px;
}

.page-lottery-games-how-to-play__sub-title a.page-lottery-games-how-to-play__brand-link {
    color: var(--page-lottery-games-how-to-play-primary-color);
    text-decoration: none;
}

.page-lottery-games-how-to-play p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #333;
}

.page-lottery-games-how-to-play p a.page-lottery-games-how-to-play__brand-link {
    color: var(--page-lottery-games-how-to-play-primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-lottery-games-how-to-play p a.page-lottery-games-how-to-play__brand-link:hover {
    color: var(--page-lottery-games-how-to-play-secondary-color);
}

.page-lottery-games-how-to-play__list-ordered,
.page-lottery-games-how-to-play__list-unordered {
    margin-left: 25px;
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #444;
}

.page-lottery-games-how-to-play__list-ordered li,
.page-lottery-games-how-to-play__list-unordered li {
    margin-bottom: 10px;
}

.page-lottery-games-how-to-play__list-unordered li strong {
    color: var(--page-lottery-games-how-to-play-primary-color);
}

.page-lottery-games-how-to-play__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-lottery-games-how-to-play__card {
    background-color: var(--page-lottery-games-how-to-play-background-light);
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery-games-how-to-play__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.page-lottery-games-how-to-play__card-title {
    font-size: 1.5em;
    color: var(--page-lottery-games-how-to-play-primary-color);
    margin-bottom: 15px;
}

.page-lottery-games-how-to-play__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

.page-lottery-games-how-to-play__btn--primary {
    background-color: var(--page-lottery-games-how-to-play-secondary-color);
    color: var(--page-lottery-games-how-to-play-text-dark);
    border: 2px solid var(--page-lottery-games-how-to-play-secondary-color);
}

.page-lottery-games-how-to-play__btn--primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    border-color: #e6c200;
}

.page-lottery-games-how-to-play__btn--secondary {
    background-color: transparent;
    color: var(--page-lottery-games-how-to-play-primary-color);
    border: 2px solid var(--page-lottery-games-how-to-play-primary-color);
}

.page-lottery-games-how-to-play__btn--secondary:hover {
    background-color: var(--page-lottery-games-how-to-play-primary-color);
    color: var(--page-lottery-games-how-to-play-text-light);
}

.page-lottery-games-how-to-play__cta-buttons {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-lottery-games-how-to-play__image-full-width {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-lottery-games-how-to-play__image-center {
    display: block;
    margin: 30px auto;
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-lottery-games-how-to-play__faq-item {
    background-color: var(--page-lottery-games-how-to-play-background-light);
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    transition: background-color 0.3s ease;
}

.page-lottery-games-how-to-play__faq-item:hover {
    background-color: #f0f0f0;
}

.page-lottery-games-how-to-play__faq-question {
    font-size: 1.3em;
    color: var(--page-lottery-games-how-to-play-primary-color);
    margin-bottom: 10px;
}

.page-lottery-games-how-to-play__faq-question a.page-lottery-games-how-to-play__brand-link {
    color: var(--page-lottery-games-how-to-play-primary-color);
    text-decoration: none;
}

.page-lottery-games-how-to-play__faq-answer {
    font-size: 1em;
    color: #555;
}

.page-lottery-games-how-to-play__faq-answer a.page-lottery-games-how-to-play__brand-link {
    color: var(--page-lottery-games-how-to-play-primary-color);
    text-decoration: none;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-lottery-games-how-to-play__hero-title {
        font-size: 2.5em;
    }
    .page-lottery-games-how-to-play__hero-subtitle {
        font-size: 1.2em;
    }
    .page-lottery-games-how-to-play__section-title {
        font-size: 2em;
    }
    .page-lottery-games-how-to-play__sub-title {
        font-size: 1.5em;
    }
    .page-lottery-games-how-to-play__grid {
        grid-template-columns: 1fr;
    }
    .page-lottery-games-how-to-play__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-lottery-games-how-to-play__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-lottery-games-how-to-play__hero {
        padding: 60px 15px;
    }
    .page-lottery-games-how-to-play__hero-title {
        font-size: 2em;
    }
    .page-lottery-games-how-to-play__hero-subtitle {
        font-size: 1em;
    }
    .page-lottery-games-how-to-play__section {
        margin: 20px auto;
        padding: 15px;
    }
    .page-lottery-games-how-to-play__section-title {
        font-size: 1.8em;
    }
    .page-lottery-games-how-to-play__sub-title {
        font-size: 1.3em;
    }
    .page-lottery-games-how-to-play p,
    .page-lottery-games-how-to-play__list-ordered,
    .page-lottery-games-how-to-play__list-unordered,
    .page-lottery-games-how-to-play__faq-answer {
        font-size: 0.95em;
    }
    .page-lottery-games-how-to-play__faq-question {
        font-size: 1.1em;
    }
    .page-lottery-games-how-to-play__btn {
        width: 100%;
        box-sizing: border-box;
    }
    .page-lottery-games-how-to-play__image-center {
        max-width: 95%;
    }
}