:root {
    --page-slots-how-to-play-primary-color: #0A244A;
    --page-slots-how-to-play-secondary-color: #FFD700;
    --page-slots-how-to-play-text-dark: #333;
    --page-slots-how-to-play-text-light: #FFF;
    --page-slots-how-to-play-background-light: #F8F8F8;
    --page-slots-how-to-play-background-dark: #0A244A;
}

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

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

.page-slots-how-to-play__hero {
    background: linear-gradient(135deg, var(--page-slots-how-to-play-primary-color) 0%, #1A3C6B 100%);
    color: var(--page-slots-how-to-play-text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-slots-how-to-play__hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--page-slots-how-to-play-secondary-color); /* Gold for emphasis */
}

.page-slots-how-to-play__hero p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-slots-how-to-play__section {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.page-slots-how-to-play__section:last-of-type {
    border-bottom: none;
}

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

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

.page-slots-how-to-play__section h3 {
    font-size: 1.8em;
    color: var(--page-slots-how-to-play-primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 5px solid var(--page-slots-how-to-play-secondary-color);
    padding-left: 15px;
}

.page-slots-how-to-play__section p {
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-slots-how-to-play__section ul,
.page-slots-how-to-play__section ol {
    margin-left: 25px;
    margin-bottom: 20px;
    font-size: 1.05em;
}

.page-slots-how-to-play__section li {
    margin-bottom: 8px;
}

.page-slots-how-to-play__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.page-slots-how-to-play__image:hover {
    transform: translateY(-5px);
}

.page-slots-how-to-play__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}

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

.page-slots-how-to-play__btn--primary:hover {
    background-color: #E6C200;
    border-color: #E6C200;
    transform: translateY(-3px);
}

.page-slots-how-to-play__btn--secondary {
    background-color: transparent;
    color: var(--page-slots-how-to-play-secondary-color);
    border: 2px solid var(--page-slots-how-to-play-secondary-color);
    margin-left: 20px;
}

.page-slots-how-to-play__btn--secondary:hover {
    background-color: var(--page-slots-how-to-play-secondary-color);
    color: var(--page-slots-how-to-play-primary-color);
    transform: translateY(-3px);
}

.page-slots-how-to-play__btn--tertiary {
    background-color: var(--page-slots-how-to-play-primary-color);
    color: var(--page-slots-how-to-play-secondary-color);
    border: 2px solid var(--page-slots-how-to-play-primary-color);
    margin-left: 20px;
}

.page-slots-how-to-play__btn--tertiary:hover {
    background-color: #1A3C6B;
    border-color: #1A3C6B;
    transform: translateY(-3px);
}

.page-slots-how-to-play__buttons {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-slots-how-to-play__section--cta {
    background-color: var(--page-slots-how-to-play-primary-color);
    color: var(--page-slots-how-to-play-text-light);
    text-align: center;
    padding: 80px 0;
}

.page-slots-how-to-play__section--cta h2 {
    color: var(--page-slots-how-to-play-secondary-color);
}

.page-slots-how-to-play__section--cta h2::after {
    background-color: var(--page-slots-how-to-play-text-light);
}

.page-slots-how-to-play__section--cta p {
    font-size: 1.15em;
    max-width: 900px;
    margin: 20px auto 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-slots-how-to-play__hero h1 {
        font-size: 2.8em;
    }
    .page-slots-how-to-play__section h2 {
        font-size: 2em;
    }
    .page-slots-how-to-play__section h3 {
        font-size: 1.5em;
    }
    .page-slots-how-to-play__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-slots-how-to-play__btn--secondary,
    .page-slots-how-to-play__btn--tertiary {
        margin-left: 10px;
    }
    .page-slots-how-to-play__buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-slots-how-to-play__btn--secondary,
    .page-slots-how-to-play__btn--tertiary {
        margin-left: 0;
        margin-top: 15px; /* Add space between stacked buttons */
    }
}

@media (max-width: 768px) {
    .page-slots-how-to-play__hero {
        padding: 60px 0;
    }
    .page-slots-how-to-play__hero h1 {
        font-size: 2.2em;
    }
    .page-slots-how-to-play__hero p {
        font-size: 1em;
    }
    .page-slots-how-to-play__section {
        padding: 40px 0;
    }
    .page-slots-how-to-play__section h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-slots-how-to-play__section h3 {
        font-size: 1.3em;
    }
    .page-slots-how-to-play__image {
        margin: 30px auto;
    }
    .page-slots-how-to-play__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-slots-how-to-play__section--cta {
        padding: 60px 0;
    }
    .page-slots-how-to-play__section--cta p {
        font-size: 1em;
    }
}

@media (max-width: 576px) {
    .page-slots-how-to-play__hero h1 {
        font-size: 1.8em;
    }
    .page-slots-how-to-play__section h2 {
        font-size: 1.6em;
    }
    .page-slots-how-to-play__section h3 {
        font-size: 1.2em;
    }
    .page-slots-how-to-play__buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .page-slots-how-to-play__btn {
        width: 100%;
        margin-left: 0 !important;
        margin-top: 15px;
    }
    .page-slots-how-to-play__btn:first-child {
        margin-top: 0;
    }
}