:root {
    --main-color: #1A1A2E;
    --aux-color: #FFD700;
    --text-on-dark: #FFFFFF;
    --text-on-light: #1A1A2E;
    --text-link-color: #FFD700;
    --btn-bg-primary: #FFD700;
    --btn-text-primary: #1A1A2E;
    --btn-bg-secondary: #1A1A2E;
    --btn-text-secondary: #FFD700;
    --border-color: #3a3a5e;
}

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

.page-lottery-games-how-to-play__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-lottery-games-how-to-play__hero-section {
    background: linear-gradient(135deg, var(--main-color) 0%, #3a3a5e 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-lottery-games-how-to-play__hero-title {
    font-size: 3.5em;
    color: var(--aux-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.page-lottery-games-how-to-play__hero-subtitle {
    font-size: 1.5em;
    color: var(--text-on-dark);
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.page-lottery-games-how-to-play__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
    position: relative;
    z-index: 1;
}

.page-lottery-games-how-to-play__btn--primary {
    background-color: var(--btn-bg-primary);
    color: var(--btn-text-primary);
}

.page-lottery-games-how-to-play__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-lottery-games-how-to-play__btn--secondary {
    background-color: var(--btn-bg-secondary);
    color: var(--btn-text-secondary);
    border: 2px solid var(--btn-text-secondary);
    margin-left: 20px;
}

.page-lottery-games-how-to-play__btn--secondary:hover {
    background-color: var(--btn-text-secondary);
    color: var(--btn-bg-secondary);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-lottery-games-how-to-play__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
    background-color: var(--btn-bg-primary);
    color: var(--btn-text-primary);
}

.page-lottery-games-how-to-play__btn--small:hover {
    background-color: #e6c200;
}

.page-lottery-games-how-to-play__section-title {
    font-size: 2.8em;
    color: var(--aux-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    position: relative;
}

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

.page-lottery-games-how-to-play__section-description {
    font-size: 1.2em;
    text-align: center;
    color: var(--text-on-dark);
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-lottery-games-how-to-play__introduction-section,
.page-lottery-games-how-to-play__why-choose-scv388,
.page-lottery-games-how-to-play__game-types,
.page-lottery-games-how-to-play__how-to-play-guide,
.page-lottery-games-how-to-play__tips-strategies,
.page-lottery-games-how-to-play__faq-section,
.page-lottery-games-how-to-play__cta-section {
    padding: 80px 0;
    background-color: var(--main-color);
}

.page-lottery-games-how-to-play__introduction-section {
    background-color: #1A1A2E;
}

.page-lottery-games-how-to-play__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.page-lottery-games-how-to-play__content-wrapper:nth-child(even) {
    flex-direction: row-reverse;
}

.page-lottery-games-how-to-play__text-content {
    flex: 1;
}

.page-lottery-games-how-to-play__image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-lottery-games-how-to-play__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-lottery-games-how-to-play__text-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-on-dark);
}

.page-lottery-games-how-to-play__text-link {
    color: var(--text-link-color);
    text-decoration: underline;
}

.page-lottery-games-how-to-play__text-link:hover {
    color: #e6c200;
}

.page-lottery-games-how-to-play__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin-top: 60px;
}

.page-lottery-games-how-to-play__feature-item {
    background-color: #2a2a4a;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-lottery-games-how-to-play__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--aux-color));
}

.page-lottery-games-how-to-play__feature-item h3 {
    font-size: 1.5em;
    color: var(--aux-color);
    margin-bottom: 15px;
}

.page-lottery-games-how-to-play__feature-item p {
    font-size: 1em;
    color: var(--text-on-dark);
}

.page-lottery-games-how-to-play__game-type-card {
    background-color: #2a2a4a;
    border-radius: 12px;
    margin-bottom: 40px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
}

.page-lottery-games-how-to-play__game-type-card:nth-child(even) {
    flex-direction: column-reverse;
}

.page-lottery-games-how-to-play__game-type-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.page-lottery-games-how-to-play__game-type-content {
    padding: 30px;
}

.page-lottery-games-how-to-play__game-type-content h3 {
    font-size: 2em;
    color: var(--aux-color);
    margin-bottom: 15px;
}

.page-lottery-games-how-to-play__game-type-content h4 {
    font-size: 1.4em;
    color: var(--text-on-dark);
    margin-top: 25px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
}

.page-lottery-games-how-to-play__game-type-content p {
    color: var(--text-on-dark);
    margin-bottom: 15px;
}

.page-lottery-games-how-to-play__game-type-content ol,
.page-lottery-games-how-to-play__game-type-content ul {
    color: var(--text-on-dark);
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-lottery-games-how-to-play__game-type-content ol li,
.page-lottery-games-how-to-play__game-type-content ul li {
    margin-bottom: 10px;
    font-size: 1em;
}

.page-lottery-games-how-to-play__how-to-play-guide {
    background-color: #1a1a2e;
}

.page-lottery-games-how-to-play__guide-step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 50px;
    background-color: #2a2a4a;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-lottery-games-how-to-play__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--aux-color);
    background-color: #4a4a7a;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-lottery-games-how-to-play__step-content h3 {
    font-size: 1.8em;
    color: var(--aux-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.page-lottery-games-how-to-play__step-content p {
    color: var(--text-on-dark);
    margin-bottom: 15px;
}

.page-lottery-games-how-to-play__step-content ul {
    list-style-type: disc;
    margin-left: 20px;
    color: var(--text-on-dark);
}

.page-lottery-games-how-to-play__step-content ul li {
    margin-bottom: 8px;
}

.page-lottery-games-how-to-play__tips-strategies {
    background-color: #1A1A2E;
}

.page-lottery-games-how-to-play__tips-strategies .page-lottery-games-how-to-play__content-wrapper:nth-child(even) {
    flex-direction: row;
}

.page-lottery-games-how-to-play__tips-strategies ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-on-dark);
}

.page-lottery-games-how-to-play__tips-strategies ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-lottery-games-how-to-play__faq-section {
    background-color: #2a2a4a;
}

.page-lottery-games-how-to-play__faq-accordion {
    max-width: 900px;
    margin: 60px auto 0;
}

.page-lottery-games-how-to-play__accordion-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-lottery-games-how-to-play__accordion-header {
    background-color: var(--main-color);
    color: var(--aux-color);
    padding: 20px 25px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.3em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-lottery-games-how-to-play__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-lottery-games-how-to-play__accordion-header.active {
    background-color: #3a3a5e;
}

.page-lottery-games-how-to-play__accordion-header.active::after {
    transform: rotate(45deg);
}

.page-lottery-games-how-to-play__accordion-content {
    padding: 0 25px;
    background-color: #3a3a5e;
    color: var(--text-on-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-lottery-games-how-to-play__accordion-content.open {
    max-height: 300px; /* Adjust as needed */
    padding: 20px 25px;
}

.page-lottery-games-how-to-play__accordion-content p {
    margin-bottom: 15px;
}

.page-lottery-games-how-to-play__cta-section {
    background: linear-gradient(45deg, var(--main-color) 0%, #3a3a5e 100%);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-lottery-games-how-to-play__cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,lottery,pattern,dark]') no-repeat center center/cover;
    opacity: 0.05;
    z-index: 0;
}

.page-lottery-games-how-to-play__cta-image {
    max-width: 150px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.7));
    position: relative;
    z-index: 1;
}

.page-lottery-games-how-to-play__cta-title {
    font-size: 2.8em;
    color: var(--aux-color);
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.page-lottery-games-how-to-play__cta-description {
    font-size: 1.2em;
    color: var(--text-on-dark);
    max-width: 800px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .page-lottery-games-how-to-play__hero-title {
        font-size: 2.8em;
    }

    .page-lottery-games-how-to-play__hero-subtitle {
        font-size: 1.3em;
    }

    .page-lottery-games-how-to-play__section-title {
        font-size: 2.2em;
    }

    .page-lottery-games-how-to-play__content-wrapper {
        flex-direction: column;
    }

    .page-lottery-games-how-to-play__content-wrapper:nth-child(even) {
        flex-direction: column;
    }

    .page-lottery-games-how-to-play__game-type-card {
        flex-direction: column;
    }
    .page-lottery-games-how-to-play__game-type-card:nth-child(even) {
        flex-direction: column;
    }

    .page-lottery-games-how-to-play__guide-step {
        flex-direction: column;
        text-align: center;
    }

    .page-lottery-games-how-to-play__step-number {
        margin: 0 auto 20px;
    }

    .page-lottery-games-how-to-play__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-lottery-games-how-to-play__hero-title {
        font-size: 2.2em;
    }

    .page-lottery-games-how-to-play__hero-subtitle {
        font-size: 1.1em;
    }

    .page-lottery-games-how-to-play__btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-lottery-games-how-to-play__btn--secondary {
        margin-left: 0;
        margin-top: 15px;
    }

    .page-lottery-games-how-to-play__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-lottery-games-how-to-play__section-description {
        font-size: 1em;
        margin-bottom: 40px;
    }

    .page-lottery-games-how-to-play__feature-list {
        grid-template-columns: 1fr;
    }

    .page-lottery-games-how-to-play__game-type-content h3 {
        font-size: 1.6em;
    }

    .page-lottery-games-how-to-play__game-type-content h4 {
        font-size: 1.2em;
    }

    .page-lottery-games-how-to-play__step-content h3 {
        font-size: 1.5em;
    }

    .page-lottery-games-how-to-play__accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-lottery-games-how-to-play__accordion-content.open {
        padding: 15px 20px;
    }

    .page-lottery-games-how-to-play__cta-title {
        font-size: 1.8em;
    }

    .page-lottery-games-how-to-play__cta-description {
        font-size: 1em;
    }
}