/* style/slots-how-to-play.css */
.page-slots-how-to-play {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light gray for general text on dark background */
    line-height: 1.6;
    background-color: #0A2342;
}

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

.page-slots-how-to-play__hero-section {
    background: linear-gradient(135deg, #0A2342 0%, #1A3F6C 100%);
    color: #FFFFFF;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid #FFD700;
}

.page-slots-how-to-play__hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, rgba(10, 35, 66, 0) 70%);
    animation: page-slots-how-to-play__pulse 15s infinite alternate;
    z-index: 0;
}

@keyframes page-slots-how-to-play__pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

.page-slots-how-to-play__title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.page-slots-how-to-play__subtitle {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.page-slots-how-to-play__section-heading {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.page-slots-how-to-play__content-section {
    padding: 60px 0;
}

.page-slots-how-to-play__content-section:nth-of-type(even) {
    background-color: #0F2F52;
}

.page-slots-how-to-play__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .page-slots-how-to-play__grid {
        grid-template-columns: 1fr 1fr;
    }
    .page-slots-how-to-play__grid--reverse {
        grid-template-columns: 1fr 1fr;
    }
    .page-slots-how-to-play__grid--reverse .page-slots-how-to-play__text-content {
        order: 2;
    }
    .page-slots-how-to-play__grid--reverse .page-slots-how-to-play__image-wrapper {
        order: 1;
    }
}

.page-slots-how-to-play__text-content p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #E0E0E0;
}

.page-slots-how-to-play__text-content h3 {
    color: #FFD700;
    font-size: 1.5em;
    margin-top: 25px;
    margin-bottom: 10px;
}

.page-slots-how-to-play__image-wrapper {
    text-align: center;
}

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

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

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

.page-slots-how-to-play__button--primary {
    background-color: #FFD700;
    color: #0A2342;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-slots-how-to-play__button--primary:hover {
    background-color: #E0B500;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-slots-how-to-play__button--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
    margin-left: 15px;
}

.page-slots-how-to-play__button--secondary:hover {
    background-color: #FFD700;
    color: #0A2342;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.page-slots-how-to-play__button--large {
    padding: 18px 40px;
    font-size: 1.3em;
}

.page-slots-how-to-play__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 30px;
}

.page-slots-how-to-play__cta-group {
    text-align: center;
    margin-top: 40px;
}

.page-slots-how-to-play__terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-slots-how-to-play__term-item {
    background-color: #1A3F6C;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-left: 5px solid #FFD700;
}

.page-slots-how-to-play__term-item h3 {
    color: #FFD700;
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-slots-how-to-play__term-item p {
    color: #D0D0D0;
    font-size: 1em;
}

.page-slots-how-to-play__steps {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.page-slots-how-to-play__steps li {
    background-color: #1A3F6C;
    margin-bottom: 20px;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-left: 80px;
}

.page-slots-how-to-play__steps li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #FFD700;
    color: #0A2342;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

.page-slots-how-to-play__steps li h3 {
    color: #FFD700;
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-slots-how-to-play__steps li p {
    color: #D0D0D0;
    font-size: 1.1em;
}

.page-slots-how-to-play__steps li a {
    color: #FFD700;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-slots-how-to-play__steps li a:hover {
    color: #E0B500;
}

.page-slots-how-to-play__list {
    list-style: none;
    padding: 0;
}

.page-slots-how-to-play__list li {
    background-color: #1A3F6C;
    margin-bottom: 20px;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-left: 5px solid #FFD700;
}

.page-slots-how-to-play__list li h3 {
    color: #FFD700;
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-slots-how-to-play__list li p {
    color: #D0D0D0;
    font-size: 1.1em;
}

.page-slots-how-to-play__list li a {
    color: #FFD700;
    text-decoration: underline;
}

.page-slots-how-to-play__list li a:hover {
    color: #E0B500;
}

.page-slots-how-to-play__advantages-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-slots-how-to-play__advantages-list li {
    background-color: #1A3F6C;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-bottom: 3px solid #FFD700;
    color: #D0D0D0;
    font-size: 1.1em;
}

.page-slots-how-to-play__advantages-list li strong {
    color: #FFD700;
    display: block;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.page-slots-how-to-play__faq-item {
    background-color: #1A3F6C;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-right: 5px solid #FFD700;
}

.page-slots-how-to-play__faq-item h3 {
    color: #FFD700;
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-slots-how-to-play__faq-item p {
    color: #D0D0D0;
    font-size: 1.1em;
}

.page-slots-how-to-play__faq-item a {
    color: #FFD700;
    text-decoration: underline;
}

.page-slots-how-to-play__faq-item a:hover {
    color: #E0B500;
}

.page-slots-how-to-play__cta-final {
    background-color: #0A2342;
    text-align: center;
    padding: 80px 0;
    border-top: 5px solid #FFD700;
}

.page-slots-how-to-play__cta-final .page-slots-how-to-play__section-heading {
    margin-bottom: 20px;
}

.page-slots-how-to-play__cta-final p {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #E0E0E0;
}

/* Floating Ad */
.page-slots-how-to-play__floating-ad {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #FFD700;
    color: #0A2342;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    animation: page-slots-how-to-play__float-in 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(100%);
}

@keyframes page-slots-how-to-play__float-in {
    to { opacity: 1; transform: translateY(0); }
}

.page-slots-how-to-play__floating-ad-content p {
    margin: 0;
    font-weight: bold;
    font-size: 1.1em;
    color: #0A2342; /* Ensure text is dark on yellow background */
}

.page-slots-how-to-play__floating-ad .page-slots-how-to-play__button {
    background-color: #0A2342;
    color: #FFD700;
    padding: 8px 18px;
    font-size: 0.9em;
    border-radius: 30px;
    box-shadow: none;
}

.page-slots-how-to-play__floating-ad .page-slots-how-to-play__button:hover {
    background-color: #1A3F6C;
    color: #FFD700;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-slots-how-to-play__title {
        font-size: 2.8em;
    }
    .page-slots-how-to-play__section-heading {
        font-size: 2em;
    }
    .page-slots-how-to-play__button--primary, .page-slots-how-to-play__button--secondary {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-slots-how-to-play__cta-group {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .page-slots-how-to-play__button--secondary {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .page-slots-how-to-play__title {
        font-size: 2em;
    }
    .page-slots-how-to-play__subtitle {
        font-size: 1em;
    }
    .page-slots-how-to-play__section-heading {
        font-size: 1.8em;
    }
    .page-slots-how-to-play__content-section {
        padding: 40px 0;
    }
    .page-slots-how-to-play__term-item, .page-slots-how-to-play__steps li, .page-slots-how-to-play__list li, .page-slots-how-to-play__advantages-list li, .page-slots-how-to-play__faq-item {
        padding: 20px;
    }
    .page-slots-how-to-play__steps li {
        padding-left: 65px;
    }
    .page-slots-how-to-play__steps li::before {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
        left: 15px;
    }
    .page-slots-how-to-play__floating-ad {
        flex-direction: column;
        align-items: flex-end;
        bottom: 10px;
        right: 10px;
        padding: 10px 15px;
        text-align: right;
    }
    .page-slots-how-to-play__floating-ad-content p {
        font-size: 0.9em;
        margin-bottom: 10px;
    }
    .page-slots-how-to-play__floating-ad .page-slots-how-to-play__button {
        align-self: flex-end;
    }
}