:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1E90FF; /* Dodger Blue */
    --dark-bg-color: #1a1a1a; /* Very dark grey for main background */
    --light-text-color: #f0f0f0; /* Light grey for text on dark backgrounds */
    --dark-text-color: #333333; /* Dark grey for text on light backgrounds */
    --accent-dark-gold: #998100; /* Darker gold for text on light gold */
    --border-color: #333333;
    --card-bg-color: #2a2a2a;
    --button-hover-color: #e6c200;
    --button-secondary-hover-color: #007bff;
}

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

.page-lottery-games-how-to-play__hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-bg-color) 100%);
}

.page-lottery-games-how-to-play__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    color: var(--light-text-color);
}

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

.page-lottery-games-how-to-play__title {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-lottery-games-how-to-play__subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--light-text-color);
}

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

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

.page-lottery-games-how-to-play__button--primary:hover {
    background-color: var(--button-hover-color);
    border-color: var(--button-hover-color);
}

.page-lottery-games-how-to-play__button--secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    margin-left: 15px;
}

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

.page-lottery-games-how-to-play__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-lottery-games-how-to-play__section--dark-bg {
    background-color: var(--card-bg-color);
}

.page-lottery-games-how-to-play__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-lottery-games-how-to-play__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-lottery-games-how-to-play__text-content {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--light-text-color);
}

.page-lottery-games-how-to-play__game-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-lottery-games-how-to-play__game-card {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-lottery-games-how-to-play__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-lottery-games-how-to-play__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-lottery-games-how-to-play__game-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-lottery-games-how-to-play__game-description {
    color: var(--light-text-color);
    margin-bottom: 15px;
}

.page-lottery-games-how-to-play__list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--light-text-color);
}

.page-lottery-games-how-to-play__list li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

.page-lottery-games-how-to-play__list li::before {
    content: '✓';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

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

.page-lottery-games-how-to-play__step-card {
    background-color: var(--dark-bg-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-lottery-games-how-to-play__step-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-lottery-games-how-to-play__step-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-lottery-games-how-to-play__step-description {
    color: var(--light-text-color);
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-lottery-games-how-to-play__strategy-item {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
    border: 1px solid var(--border-color);
}

.page-lottery-games-how-to-play__strategy-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-lottery-games-how-to-play__strategy-item p {
    color: var(--light-text-color);
}

.page-lottery-games-how-to-play__strategy-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-lottery-games-how-to-play__advantage-item {
    background-color: var(--dark-bg-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
    border: 1px solid var(--border-color);
}

.page-lottery-games-how-to-play__advantage-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-lottery-games-how-to-play__advantage-item p {
    color: var(--light-text-color);
}

.page-lottery-games-how-to-play__advantage-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-lottery-games-how-to-play__faq-container {
    margin-top: 40px;
    text-align: left;
}

.page-lottery-games-how-to-play__faq-item {
    background-color: var(--card-bg-color);
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-lottery-games-how-to-play__faq-question {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-lottery-games-how-to-play__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.page-lottery-games-how-to-play__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-lottery-games-how-to-play__faq-answer {
    color: var(--light-text-color);
    font-size: 1.05em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    padding-left: 10px;
}

.page-lottery-games-how-to-play__faq-answer.active {
    max-height: 200px; /* Adjust as needed for content */
    padding-top: 10px;
}

.page-lottery-games-how-to-play__cta {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 80px 20px;
    text-align: center;
    color: var(--dark-text-color);
}

.page-lottery-games-how-to-play__cta-title {
    font-size: 2.8em;
    color: var(--dark-text-color);
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.page-lottery-games-how-to-play__cta-text {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--dark-text-color);
}

.page-lottery-games-how-to-play__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-lottery-games-how-to-play__cta .page-lottery-games-how-to-play__button--primary {
    background-color: var(--dark-bg-color);
    color: var(--primary-color);
    border: 2px solid var(--dark-bg-color);
}

.page-lottery-games-how-to-play__cta .page-lottery-games-how-to-play__button--primary:hover {
    background-color: #333333;
    color: var(--primary-color);
}

.page-lottery-games-how-to-play__cta .page-lottery-games-how-to-play__button--secondary {
    background-color: transparent;
    color: var(--dark-bg-color);
    border: 2px solid var(--dark-bg-color);
}

.page-lottery-games-how-to-play__cta .page-lottery-games-how-to-play__button--secondary:hover {
    background-color: var(--dark-bg-color);
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-lottery-games-how-to-play__title {
        font-size: 3em;
    }
    .page-lottery-games-how-to-play__section-title {
        font-size: 2.2em;
    }
    .page-lottery-games-how-to-play__game-types,
    .page-lottery-games-how-to-play__guide-steps,
    .page-lottery-games-how-to-play__strategy-grid,
    .page-lottery-games-how-to-play__advantages {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-lottery-games-how-to-play__hero {
        min-height: 400px;
        padding: 60px 15px;
    }
    .page-lottery-games-how-to-play__title {
        font-size: 2.5em;
    }
    .page-lottery-games-how-to-play__subtitle {
        font-size: 1em;
    }
    .page-lottery-games-how-to-play__button {
        padding: 10px 20px;
        font-size: 1em;
    }
    .page-lottery-games-how-to-play__button--secondary {
        margin-left: 10px;
    }
    .page-lottery-games-how-to-play__section {
        padding: 40px 15px;
    }
    .page-lottery-games-how-to-play__section-title {
        font-size: 2em;
    }
    .page-lottery-games-how-to-play__text-content {
        font-size: 1em;
    }
    .page-lottery-games-how-to-play__game-card, 
    .page-lottery-games-how-to-play__step-card, 
    .page-lottery-games-how-to-play__strategy-item, 
    .page-lottery-games-how-to-play__advantage-item {
        padding: 20px;
    }
    .page-lottery-games-how-to-play__cta-title {
        font-size: 2.2em;
    }
    .page-lottery-games-how-to-play__cta-text {
        font-size: 1.1em;
    }
    .page-lottery-games-how-to-play__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-lottery-games-how-to-play__button--secondary {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .page-lottery-games-how-to-play__title {
        font-size: 2em;
    }
    .page-lottery-games-how-to-play__section-title {
        font-size: 1.8em;
    }
    .page-lottery-games-how-to-play__game-types,
    .page-lottery-games-how-to-play__guide-steps,
    .page-lottery-games-how-to-play__strategy-grid,
    .page-lottery-games-how-to-play__advantages {
        grid-template-columns: 1fr;
    }
    .page-lottery-games-how-to-play__game-title,
    .page-lottery-games-how-to-play__step-title,
    .page-lottery-games-how-to-play__strategy-title,
    .page-lottery-games-how-to-play__advantage-title {
        font-size: 1.4em;
    }
    .page-lottery-games-how-to-play__faq-question {
        font-size: 1.2em;
    }
    .page-lottery-games-how-to-play__cta-title {
        font-size: 1.8em;
    }
}