: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;
}

/* Base styles for the page content, assuming body background is dark */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--page-slot-games-text-main);
    background-color: var(--page-slot-games-background); /* Explicitly setting background to ensure contrast */
    line-height: 1.6;
}

.page-slot-games__dark-bg {
    background-color: var(--page-slot-games-background);
    color: var(--page-slot-games-text-main);
}

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

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

.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    overflow: hidden;
    min-height: 500px;
}

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

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

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 8px;
}

.page-slot-games__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 700;
    color: var(--page-slot-games-gold-color);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-slot-games__hero-description {
    font-size: clamp(1em, 1.5vw, 1.2em);
    color: var(--page-slot-games-text-main);
    margin-bottom: 30px;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
}

.page-slot-games__btn-primary {
    background: var(--page-slot-games-button-gradient);
    color: var(--page-slot-games-text-main);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__btn-secondary:hover {
    background: var(--page-slot-games-primary-color);
    color: var(--page-slot-games-text-main);
}

.page-slot-games__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: inherit; /* Inherit from section for contrast */
}

.page-slot-games__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: inherit;
}

.page-slot-games__section-description--small {
    font-size: 0.9em;
    margin-top: 20px;
    margin-bottom: 0;
}

.page-slot-games__intro-section,
.page-slot-games__highlights-section,
.page-slot-games__how-to-play-section,
.page-slot-games__promotions-section,
.page-slot-games__security-section,
.page-slot-games__faq-section,
.page-slot-games__cta-final-section {
    padding: 60px 0;
}

.page-slot-games__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-slot-games__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-slot-games__text-block {
    flex: 1;
}

.page-slot-games__image-block {
    flex: 1;
    min-width: 200px; /* Ensure images are not too small */
}

.page-slot-games__image-block img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.page-slot-games__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--page-slot-games-glow-color);
}

.page-slot-games__grid-3-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-slot-games__card {
    background-color: var(--page-slot-games-card-bg);
    color: var(--page-slot-games-text-main);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.page-slot-games__card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
    object-fit: cover;
    width: 100%; /* Ensure card images fill width */
    min-height: 200px; /* Minimum size for card images */
}

.page-slot-games__card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--page-slot-games-gold-color);
}

.page-slot-games__card-text {
    font-size: 0.95em;
    color: var(--page-slot-games-text-secondary);
}

.page-slot-games__provider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
    justify-items: center;
}

.page-slot-games__provider-item {
    text-align: center;
    background-color: var(--page-slot-games-card-bg);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__provider-item img {
    max-width: 100%;
    height: auto;
    
    object-fit: contain;
    margin-bottom: 10px;
    filter: brightness(0) invert(1) grayscale(100%) brightness(150%); /* For logos, make them visible on dark background */
}

.page-slot-games__provider-name {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--page-slot-games-text-main);
}

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

.page-slot-games__step-card {
    background-color: #ffffff;
    color: #333333;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-slot-games__step-icon {
    width: 60px;
    height: 60px;
    background: var(--page-slot-games-primary-color);
    color: var(--page-slot-games-text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: 700;
    margin: 0 auto 20px;
}

.page-slot-games__step-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--page-slot-games-deep-green);
}

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

.page-slot-games__cta-center {
    text-align: center;
    margin-top: 50px;
}

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

.page-slot-games__promotion-grid .page-slot-games__card {
    padding: 20px;
    background-color: #ffffff;
    color: #333333;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__promotion-grid .page-slot-games__card img {
    margin-bottom: 15px;
    border-radius: 8px;
}

.page-slot-games__promotion-grid .page-slot-games__card-title {
    color: var(--page-slot-games-deep-green);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.page-slot-games__promotion-grid .page-slot-games__card-text {
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-slot-games__promotion-grid .page-slot-games__btn-secondary {
    width: fit-content;
    margin-top: auto;
}

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

.page-slot-games__faq-item {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--page-slot-games-text-main);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1em;
    background-color: var(--page-slot-games-deep-green);
    border-bottom: 1px solid var(--page-slot-games-divider-color);
    color: var(--page-slot-games-text-main);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
    border-bottom: 1px solid var(--page-slot-games-border-color);
}

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

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

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-slot-games-glow-color);
}

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

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

/* Mobile responsiveness */
@media (max-width: 992px) {
    .page-slot-games__content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .page-slot-games__content-wrapper--reverse {
        flex-direction: column;
    }

    .page-slot-games__text-block,
    .page-slot-games__image-block {
        width: 100%;
    }

    .page-slot-games__hero-content {
        padding: 15px;
    }

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

    .page-slot-games__hero-description {
        font-size: clamp(1em, 2.5vw, 1.1em);
    }

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

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100%;
        max-width: 300px; /* Limit button width on smaller screens */
        margin: 0 auto;
    }

    .page-slot-games__section-title {
        font-size: clamp(1.5em, 5vw, 2em);
    }

    .page-slot-games__section-description {
        font-size: 1em;
    }

    .page-slot-games__grid-3-cols,
    .page-slot-games__provider-grid,
    .page-slot-games__steps-grid,
    .page-slot-games__promotion-grid {
        grid-template-columns: 1fr;
    }

    .page-slot-games__card,
    .page-slot-games__provider-item,
    .page-slot-games__step-card {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    /* General responsiveness for content containers */
    .page-slot-games__container,
    .page-slot-games__hero-section,
    .page-slot-games__intro-section,
    .page-slot-games__game-types-section,
    .page-slot-games__highlights-section,
    .page-slot-games__providers-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__tips-section,
    .page-slot-games__promotions-section,
    .page-slot-games__security-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-final-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Images responsiveness */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important; /* Explicitly set width to 100% */
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    
    .page-slot-games__provider-item img {
         /* Allow smaller for logos */
        height: auto !important;
        min-width: unset !important;
        min-height: unset !important;
    }

    /* Buttons responsiveness */
    .page-slot-games__cta-button,
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games a[class*="button"],
    .page-slot-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__cta-buttons,
    .page-slot-games__button-group,
    .page-slot-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column; /* Ensure vertical stacking for multiple buttons */
    }

    /* Video responsiveness - if any video elements are added */
    .page-slot-games video,
    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games__video-section,
    .page-slot-games__video-container,
    .page-slot-games__video-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .page-slot-games__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
    }
}

/* No CSS filters for images */
.page-slot-games img {
    filter: none;
}

.page-slot-games__provider-item img {
    /* Specific filter for provider logos to make them visible on dark backgrounds, not changing original color */
    filter: brightness(0) invert(1) grayscale(100%) brightness(150%);
}