/* style/slot-games.css */

/* Variables for colors */
:root {
    --page-slot-games-primary-color: #11A84E;
    --page-slot-games-secondary-color: #22C768;
    --page-slot-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-slot-games-card-bg: #11271B;
    --page-slot-games-background: #08160F;
    --page-slot-games-text-main: #F2FFF6;
    --page-slot-games-text-secondary: #A7D9B8;
    --page-slot-games-border-color: #2E7A4E;
    --page-slot-games-glow-color: #57E38D;
    --page-slot-games-gold-color: #F2C14E;
    --page-slot-games-divider-color: #1E3A2A;
    --page-slot-games-deep-green: #0A4B2C;
    --page-slot-games-text-dark-contrast: #333333; /* For light backgrounds */
    --page-slot-games-text-light-contrast: #ffffff; /* For dark backgrounds */
}

.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-slot-games-text-dark-contrast); /* Default for light body background */
    background-color: var(--page-slot-games-background);
}

.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom for content */
    text-align: center;
    overflow: hidden;
    background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6); /* Slightly dim image for text readability */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    color: var(--page-slot-games-text-light-contrast);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--page-slot-games-gold-color);
}

.page-slot-games__description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--page-slot-games-text-main);
}

.page-slot-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
}

.page-slot-games__btn-primary {
    background: var(--page-slot-games-button-gradient);
    color: var(--page-slot-games-text-light-contrast);
    border: none;
}

.page-slot-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary {
    background: transparent;
    color: var(--page-slot-games-gold-color);
    border: 2px solid var(--page-slot-games-gold-color);
}

.page-slot-games__btn-secondary:hover {
    background: var(--page-slot-games-gold-color);
    color: var(--page-slot-games-background);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__section {
    padding: 60px 20px;
    border-bottom: 1px solid var(--page-slot-games-divider-color);
}

.page-slot-games__introduction,
.page-slot-games__game-types,
.page-slot-games__promotions,
.page-slot-games__responsible-gaming,
.page-slot-games__cta-final {
    background-color: var(--page-slot-games-background);
    color: var(--page-slot-games-text-main);
}

.page-slot-games__why-choose,
.page-slot-games__how-to-play,
.page-slot-games__tips,
.page-slot-games__faq-section {
    background-color: var(--page-slot-games-deep-green);
    color: var(--page-slot-games-text-main);
}

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

.page-slot-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--page-slot-games-gold-color);
    text-align: center;
    margin-bottom: 40px;
}

.page-slot-games__text-block {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--page-slot-games-text-secondary);
}

.page-slot-games__highlight {
    color: var(--page-slot-games-gold-color);
    font-weight: 600;
}

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

.page-slot-games__feature-item {
    background-color: var(--page-slot-games-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--page-slot-games-text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--page-slot-games-border-color);
}

.page-slot-games__feature-title {
    font-size: 1.5rem;
    color: var(--page-slot-games-gold-color);
    margin-bottom: 15px;
}

.page-slot-games__feature-text {
    font-size: 0.95rem;
    color: var(--page-slot-games-text-secondary);
    margin-bottom: 20px;
}

.page-slot-games__feature-image,
.page-slot-games__illustration-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    object-fit: cover;
    max-width: 100%; /* Ensure images don't overflow */
}

.page-slot-games__list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.page-slot-games__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--page-slot-games-text-secondary);
}

.page-slot-games__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--page-slot-games-primary-color);
    font-size: 1.2em;
    line-height: 1;
}

.page-slot-games__steps-list {
    list-style: none;
    padding-left: 0;
    counter-reset: step-counter;
    margin-top: 30px;
}

.page-slot-games__step-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 25px;
    font-size: 1.05rem;
    color: var(--page-slot-games-text-main);
    border-left: 2px solid var(--page-slot-games-border-color);
    padding-bottom: 10px;
}

.page-slot-games__step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: -15px;
    top: 0;
    background-color: var(--page-slot-games-gold-color);
    color: var(--page-slot-games-background);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
}

.page-slot-games__step-item:last-child {
    border-left: none;
}

.page-slot-games__promotions-list .page-slot-games__list-item {
    color: var(--page-slot-games-text-main);
}

.page-slot-games__text-link {
    color: var(--page-slot-games-gold-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-slot-games__text-link:hover {
    color: var(--page-slot-games-primary-color);
}

/* FAQ Section */
.page-slot-games__faq-section {
    background-color: var(--page-slot-games-deep-green);
    padding: 60px 20px;
    color: var(--page-slot-games-text-main);
}

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

.page-slot-games__faq-item {
    background-color: var(--page-slot-games-card-bg);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--page-slot-games-border-color);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--page-slot-games-gold-color);
    transition: background-color 0.3s ease;
    list-style: none;
}

.page-slot-games__faq-question::-webkit-details-marker {
    display: none;
}

.page-slot-games__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.page-slot-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--page-slot-games-primary-color);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    content: '−';
}

.page-slot-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 0.95rem;
    color: var(--page-slot-games-text-secondary);
}

.page-slot-games__faq-answer p {
    margin-bottom: 0;
}

/* Image and Video Responsiveness */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-slot-games video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Ensure content containers are responsive */
.page-slot-games__section,
.page-slot-games__container,
.page-slot-games__features-grid,
.page-slot-games__feature-item,
.page-slot-games__cta-buttons,
.page-slot-games__faq-list,
.page-slot-games__faq-item {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-slot-games {
        font-size: 15px;
    }

    .page-slot-games__hero-section {
        min-height: 400px;
        padding: 10px 0 40px 0;
    }

    .page-slot-games__main-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .page-slot-games__description {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 300px;
        padding: 0 15px;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .page-slot-games__section {
        padding: 40px 10px;
    }

    .page-slot-games__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 30px;
    }

    .page-slot-games__text-block,
    .page-slot-games__list-item,
    .page-slot-games__step-item,
    .page-slot-games__feature-text,
    .page-slot-games__faq-answer {
        font-size: 0.9rem;
    }

    .page-slot-games__feature-title {
        font-size: 1.3rem;
    }

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

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

    .page-slot-games__container {
        padding: 0 10px;
    }

    .page-slot-games__features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-slot-games__feature-item {
        padding: 20px;
    }
    
    .page-slot-games__hero-content {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .page-slot-games__description {
        font-size: clamp(0.85rem, 3.5vw, 1rem);
    }
    .page-slot-games__section-title {
        font-size: clamp(1.3rem, 6.5vw, 1.8rem);
    }
}

/* CSS for details/summary FAQ */
.page-slot-games__faq-item summary {
    list-style: none;
}
.page-slot-games__faq-item summary::-webkit-details-marker {
    display: none;
}