:root {
    --page-slot-games-primary: #11A84E; /* Main color */
    --page-slot-games-secondary: #22C768; /* Auxiliary color */
    --page-slot-games-card-bg: #11271B; /* Card background */
    --page-slot-games-background: #08160F; /* Section background */
    --page-slot-games-text-main: #F2FFF6; /* Main text color (light) */
    --page-slot-games-text-secondary: #A7D9B8; /* Secondary text color (lighter green) */
    --page-slot-games-border: #2E7A4E; /* Border color */
    --page-slot-games-glow: #57E38D; /* Glow color */
    --page-slot-games-gold: #F2C14E; /* Gold accent */
    --page-slot-games-divider: #1E3A2A; /* Divider color */
    --page-slot-games-deep-green: #0A4B2C; /* Deep Green */
    --page-slot-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */

    /* Generic light/dark text colors for contrast */
    --page-slot-games-text-on-dark: #F2FFF6;
    --page-slot-games-text-on-light: #333333;
    --page-slot-games-white: #ffffff;
    --page-slot-games-black: #000000;
}

.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-slot-games-text-on-dark); /* Default text color for the page, as body is dark */
    background-color: var(--page-slot-games-background); /* Ensure consistent background */
}

/* --- General Layout & Typography --- */
.page-slot-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-slot-games__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--page-slot-games-gold);
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.2;
}

.page-slot-games__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--page-slot-games-text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__text-secondary {
    color: var(--page-slot-games-text-secondary);
}

.page-slot-games a {
    color: var(--page-slot-games-glow);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games a:hover {
    color: var(--page-slot-games-gold);
    text-decoration: underline;
}

/* --- Hero Section --- */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding-top: 10px; /* Small top padding */
    background-color: var(--page-slot-games-background);
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darken image for better text contrast if text were overlaid, but not for changing color */
}

.page-slot-games__hero-content {
    width: 100%;
    max-width: 1200px;
    padding: 60px 20px;
    text-align: center;
    box-sizing: border-box;
    background: var(--page-slot-games-deep-green); /* Dark background for content */
    color: var(--page-slot-games-text-on-dark);
    margin-top: -50px; /* Overlap slightly with image for visual flow */
    position: relative;
    z-index: 10;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-slot-games__hero-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Using clamp for H1 as per rules */
    font-weight: 800;
    color: var(--page-slot-games-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-slot-games__hero-description {
    font-size: 1.2em;
    color: var(--page-slot-games-text-secondary);
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box; /* Ensure padding doesn't cause overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    max-width: 100%; /* Ensure button doesn't exceed container width */
}

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

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

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

.page-slot-games__btn-secondary:hover {
    transform: translateY(-3px);
    background: rgba(242, 193, 78, 0.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* --- Section Styling --- */
.page-slot-games__introduction-section,
.page-slot-games__features-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-background); /* Default background for light sections */
    color: var(--page-slot-games-text-on-dark);
}

.page-slot-games__game-types-section,
.page-slot-games__guide-section,
.page-slot-games__tips-section,
.page-slot-games__call-to-action-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-deep-green); /* Darker background for dark sections */
    color: var(--page-slot-games-text-on-dark);
}

.page-slot-games__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 50px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

/* --- Card Grid --- */
.page-slot-games__card-grid,
.page-slot-games__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-slot-games__card,
.page-slot-games__promo-card {
    background-color: var(--page-slot-games-card-bg); /* Card background */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: var(--page-slot-games-text-on-dark);
    border: 1px solid var(--page-slot-games-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__card-title,
.page-slot-games__promo-title {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--page-slot-games-gold);
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-slot-games__card-text,
.page-slot-games__promo-text {
    color: var(--page-slot-games-text-secondary);
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-slot-games__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* --- Feature List --- */
.page-slot-games__feature-list,
.page-slot-games__guide-list,
.page-slot-games__tips-list {
    list-style: none;
    padding: 0;
    margin: 50px auto 0 auto;
    max-width: 900px;
}

.page-slot-games__feature-item,
.page-slot-games__guide-item,
.page-slot-games__tips-item {
    background-color: var(--page-slot-games-card-bg);
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border-left: 5px solid var(--page-slot-games-primary);
}

.page-slot-games__feature-title,
.page-slot-games__guide-title,
.page-slot-games__tips-title {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--page-slot-games-gold);
    margin-bottom: 10px;
}

.page-slot-games__feature-item p,
.page-slot-games__guide-item p,
.page-slot-games__tips-item p {
    color: var(--page-slot-games-text-secondary);
}

/* --- FAQ Section --- */
.page-slot-games__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__faq-item {
    background-color: var(--page-slot-games-card-bg);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--page-slot-games-divider);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--page-slot-games-gold);
    background-color: var(--page-slot-games-deep-green);
    border-bottom: 1px solid var(--page-slot-games-divider);
    list-style: none; /* Remove default marker */
}

.page-slot-games__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-slot-games__faq-qtext {
    flex-grow: 1;
}

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

.page-slot-games__faq-answer {
    padding: 20px 25px;
    background-color: var(--page-slot-games-card-bg);
    color: var(--page-slot-games-text-secondary);
    font-size: 1em;
}

/* --- Call to Action Section --- */
.page-slot-games__cta-content {
    text-align: center;
    padding: 60px 20px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__hero-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }
    .page-slot-games__hero-description {
        font-size: 1.1em;
    }
    .page-slot-games__hero-content {
        padding: 40px 20px;
    }
}

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

    .page-slot-games__container {
        padding: 0 15px !important; /* Ensure padding on mobile */
    }

    .page-slot-games__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    .page-slot-games__hero-content {
        padding: 30px 15px;
        margin-top: -30px; /* Adjust overlap */
    }

    .page-slot-games__hero-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
        margin-bottom: 15px;
    }

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

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

    .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: 12px 20px !important; /* Adjust padding for smaller screens */
    }

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

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

    .page-slot-games__card-grid,
    .page-slot-games__promo-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
        margin-top: 30px;
    }

    .page-slot-games__card,
    .page-slot-games__promo-card {
        padding: 20px;
    }

    .page-slot-games__promo-image {
        height: 150px; /* Adjust height for mobile */
    }

    .page-slot-games__feature-item,
    .page-slot-games__guide-item,
    .page-slot-games__tips-item {
        padding: 20px;
        margin-bottom: 15px;
    }

    .page-slot-games__feature-title,
    .page-slot-games__guide-title,
    .page-slot-games__tips-title {
        font-size: 1.1em;
    }

    .page-slot-games__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }

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

    /* Mobile image and video responsiveness */
    .page-slot-games img,
    .page-slot-games video,
    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__video-section,
    .page-slot-games__video-container,
    .page-slot-games__video-wrapper,
    .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;
        overflow: hidden !important; /* Prevent content overflow */
    }
}

/* Ensure content area images are not too small (min 200x200px) */
.page-slot-games__image-content {
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__promo-image {
    min-width: 200px;
    min-height: 200px;
}

/* Specific rule for video container desktop width (though no video here, good practice) */
.page-slot-games__video-container {
    width: 100%; /* Explicitly set for desktop as well */
}