/* style/slot-games.css */
.page-slot-games {
    color: #ffffff; /* Light text on dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-slot-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-slot-games__section-title,
.page-slot-games__hero-title,
.page-slot-games__cta-title {
    font-size: 2.5em;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-slot-games__section-description,
.page-slot-games__hero-description,
.page-slot-games__cta-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
}

.page-slot-games__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-slot-games__btn-primary:hover {
    background-color: #e00b0b;
    border-color: #e00b0b;
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-slot-games__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #FFFFFF;
}

.page-slot-games__hero-section {
    position: relative;
    padding: 100px 20px;
    padding-top: var(--header-offset, 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 600px;
}

.page-slot-games__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-slot-games__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-slot-games__light-bg .page-slot-games__section-title,
.page-slot-games__light-bg .page-slot-games__section-description,
.page-slot-games__light-bg .page-slot-games__feature-title,
.page-slot-games__light-bg .page-slot-games__feature-text,
.page-slot-games__light-bg .page-slot-games__step-title,
.page-slot-games__light-bg .page-slot-games__step-text,
.page-slot-games__light-bg .page-slot-games__advantage-title,
.page-slot-games__light-bg .page-slot-games__advantage-text,
.page-slot-games__light-bg .page-slot-games__faq-question span:first-child,
.page-slot-games__light-bg .page-slot-games__faq-answer p {
    color: #333333;
}

.page-slot-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
}

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-slot-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
}

.page-slot-games__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-slot-games__intro-section,
.page-slot-games__how-to-play,
.page-slot-games__why-choose,
.page-slot-games__faq-section {
    padding: 80px 0;
}

.page-slot-games__game-categories,
.page-slot-games__promotions,
.page-slot-games__game-providers,
.page-slot-games__cta-bottom {
    padding: 80px 0;
    background-color: #017439;
    color: #ffffff;
}

.page-slot-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-slot-games__feature-item {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-slot-games__feature-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-slot-games__feature-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #017439;
}

.page-slot-games__categories-grid,
.page-slot-games__promotions-grid,
.page-slot-games__providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__category-card,
.page-slot-games__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-slot-games__category-card:hover,
.page-slot-games__promo-card:hover {
    transform: translateY(-5px);
}

.page-slot-games__category-image,
.page-slot-games__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-slot-games__category-title,
.page-slot-games__promo-title {
    font-size: 1.4em;
    margin: 20px 15px 10px 15px;
    color: #FFFFFF;
}

.page-slot-games__category-title a,
.page-slot-games__promo-title a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__category-title a:hover,
.page-slot-games__promo-title a:hover {
    color: #FFFF00;
}

.page-slot-games__category-text,
.page-slot-games__promo-text {
    font-size: 0.95em;
    color: #f0f0f0;
    padding: 0 15px 20px 15px;
    flex-grow: 1;
}

.page-slot-games__play-steps {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__play-steps li {
    background-color: #f8f8f8;
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    color: #333333;
    counter-increment: step-counter;
    position: relative;
    padding-left: 70px;
}

.page-slot-games__play-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #017439;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
    font-weight: bold;
}

.page-slot-games__step-title {
    font-size: 1.3em;
    margin-bottom: 5px;
    color: #017439;
}

.page-slot-games__step-text {
    font-size: 1em;
    color: #555555;
}

.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.page-slot-games__cta-buttons--center {
    justify-content: center;
}

.page-slot-games__advantages-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-slot-games__advantages-list li {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-slot-games__advantage-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #017439;
}

.page-slot-games__advantage-text {
    font-size: 1em;
    color: #555555;
}

.page-slot-games__providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 40px;
    align-items: center;
    justify-content: center;
}

.page-slot-games__provider-logo {
    width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    display: block;
}

.page-slot-games__provider-logo:hover {
    opacity: 1;
}

.page-slot-games__faq-list {
    margin-top: 40px;
}

.page-slot-games__faq-item {
    background-color: #f8f8f8;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    background-color: #ffffff;
    color: #333333;
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: #f0f0f0;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #017439;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg);
}

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-slot-games__faq-answer p {
    margin: 0;
    color: #555555;
}

.page-slot-games__cta-bottom {
    text-align: center;
    padding: 100px 20px;
}

.page-slot-games__cta-content {
    max-width: 800px;
}

.page-slot-games__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
}

.page-slot-games__cta-description {
    font-size: 1.1em;
    margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 3em;
    }
    .page-slot-games__section-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-slot-games__hero-section {
        flex-direction: column;
        text-align: center;
        padding: 80px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    
    .page-slot-games__hero-image-wrapper {
        opacity: 0.15;
    }

    .page-slot-games__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-slot-games__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-slot-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 15px !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-slot-games__intro-section,
    .page-slot-games__how-to-play,
    .page-slot-games__why-choose,
    .page-slot-games__faq-section,
    .page-slot-games__game-categories,
    .page-slot-games__promotions,
    .page-slot-games__game-providers,
    .page-slot-games__cta-bottom {
        padding: 60px 0;
    }

    .page-slot-games__container {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-slot-games__section-title,
    .page-slot-games__cta-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-slot-games__section-description,
    .page-slot-games__cta-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-slot-games__features-grid,
    .page-slot-games__categories-grid,
    .page-slot-games__promotions-grid,
    .page-slot-games__advantages-list,
    .page-slot-games__providers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .page-slot-games__play-steps li {
        padding-left: 60px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .page-slot-games__play-steps li::before {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
        left: 15px;
    }

    .page-slot-games__step-title {
        font-size: 1.2em;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
    }

    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games__category-card,
    .page-slot-games__promo-card {
        margin: 0 auto;
        max-width: 400px;
    }

    .page-slot-games__faq-question {
        padding: 15px 20px;
        font-size: 1.05em;
    }

    .page-slot-games__faq-answer {
        padding: 0 20px;
    }

    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 10px 20px;
    }

    .page-slot-games__provider-logo {
        max-height: 80px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-title {
        font-size: 1.8em;
    }
    .page-slot-games__section-title,
    .page-slot-games__cta-title {
        font-size: 1.6em;
    }
    .page-slot-games__hero-description,
    .page-slot-games__section-description,
    .page-slot-games__cta-description {
        font-size: 0.9em;
    }
    .page-slot-games__feature-title,
    .page-slot-games__advantage-title {
        font-size: 1.2em;
    }
    .page-slot-games__category-title,
    .page-slot-games__promo-title {
        font-size: 1.1em;
    }
    .page-slot-games__faq-question {
        font-size: 1em;
    }
}