:root {
    --page-bg-color: #08160F; /* Background */
    --card-bg-color: #11271B; /* Card BG */
    --text-main-color: #F2FFF6; /* Text Main */
    --text-secondary-color: #A7D9B8; /* Text Secondary */
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    --border-color: #2E7A4E; /* Border */
    --glow-color: #57E38D; /* Glow */
    --gold-color: #F2C14E; /* Gold */
    --divider-color: #1E3A2A; /* Divider */
    --deep-green-color: #0A4B2C; /* Deep Green */
}

.page-slot-games {
    background-color: var(--page-bg-color); /* Apply page background */
    color: var(--text-main-color); /* Default text color on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Add some padding at the bottom */
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    text-align: center;
    overflow: hidden; /* Ensure nothing overflows */
}

.page-slot-games__hero-image {
    width: 100%;
    max-width: 1920px; /* Max width for the hero image */
    height: auto;
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and content */
}

.page-slot-games__hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1; /* Ensure content is above any potential background layers */
}

.page-slot-games__main-title {
    color: var(--gold-color); /* Use gold for main title */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    font-size: clamp(2.2rem, 5vw, 3.5rem); 
}

.page-slot-games__intro-text {
    font-size: 1.15rem;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
}

/* General Section Styling */
.page-slot-games__section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

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

.page-slot-games__section-title {
    color: var(--gold-color); /* Gold for section titles */
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-slot-games__section-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 40px auto;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-slot-games__text-block {
    font-size: 1.05rem;
    color: var(--text-main-color);
    margin-bottom: 20px;
}

.page-slot-games__text-block p {
    margin-bottom: 15px;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Ensure long words break */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    text-align: center;
}

.page-slot-games__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main-color); /* Light text on dark button */
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
    opacity: 0.9;
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: var(--gold-color); /* Gold text on transparent button */
    border: 2px solid var(--gold-color);
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-slot-games__btn-secondary:hover {
    background-color: var(--gold-color);
    color: var(--page-bg-color); /* Dark text on gold button */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

.page-slot-games__btn-link {
    background-color: transparent;
    color: var(--glow-color); /* Bright green text for links */
    border: 1px solid var(--glow-color);
    padding: 10px 20px;
    font-size: 0.95rem;
    margin-top: 15px;
}

.page-slot-games__btn-link:hover {
    background-color: var(--glow-color);
    color: var(--page-bg-color);
    border-color: var(--glow-color);
}


/* Why Choose Section */
.page-slot-games__why-choose {
    background-color: var(--deep-green-color); /* Darker green background for contrast */
}

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

.page-slot-games__feature-card {
    background-color: var(--card-bg-color); /* Card background */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.page-slot-games__feature-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

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

.page-slot-games__card-description {
    color: var(--text-secondary-color);
    font-size: 1rem;
    flex-grow: 1; /* Allow description to take available space */
}

/* How To Play Section */
.page-slot-games__how-to-play {
    background-color: var(--page-bg-color);
}

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

.page-slot-games__step-item {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--button-gradient);
    color: var(--text-main-color);
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 0 15px var(--glow-color);
}

.page-slot-games__step-title {
    color: var(--gold-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__step-description {
    color: var(--text-secondary-color);
    font-size: 1rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Game Types Section */
.page-slot-games__game-types {
    background-color: var(--deep-green-color);
    text-align: center;
}

.page-slot-games__game-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    text-align: left;
    color: var(--text-main-color);
    font-size: 1.05rem;
}

.page-slot-games__game-list li {
    background-color: var(--card-bg-color);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid var(--divider-color);
    display: flex;
    align-items: center;
}

.page-slot-games__game-list li::before {
    content: "•";
    color: var(--glow-color);
    font-size: 1.5em;
    line-height: 1;
    margin-right: 10px;
}

/* Promotions Section */
.page-slot-games__promotions {
    background-color: var(--page-bg-color);
}

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

.page-slot-games__promo-card {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__promo-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-slot-games__promo-note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-secondary-color);
    margin-top: 40px;
}

/* Tips Section */
.page-slot-games__tips {
    background-color: var(--deep-green-color);
    text-align: center;
}

.page-slot-games__tips-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    text-align: left;
    color: var(--text-main-color);
    font-size: 1.05rem;
}

.page-slot-games__tips-list li {
    background-color: var(--card-bg-color);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid var(--divider-color);
    display: flex;
    align-items: flex-start;
}

.page-slot-games__tips-list li::before {
    content: "💡"; /* Lightbulb emoji for tips */
    font-size: 1.2em;
    line-height: 1;
    margin-right: 10px;
    color: var(--gold-color);
    flex-shrink: 0;
}


/* FAQ Section */
.page-slot-games__faq {
    background-color: var(--page-bg-color);
}

.page-slot-games__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

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

.page-slot-games__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: var(--text-main-color);
    font-size: 1.1rem;
    background-color: var(--deep-green-color); /* Slightly different background for summary */
    border-bottom: 1px solid var(--divider-color);
}

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-slot-games__faq-qtext {
    flex-grow: 1;
    color: var(--gold-color);
}

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

.page-slot-games__faq-answer {
    padding: 20px;
    color: var(--text-secondary-color);
    font-size: 1rem;
    border-top: 1px solid var(--divider-color);
    background-color: var(--card-bg-color);
}
.page-slot-games__faq-item[open] .page-slot-games__faq-answer {
    border-top: none; /* Remove top border when open to merge with summary */
}
.page-slot-games__faq-item[open] summary {
    border-bottom: none; /* Remove bottom border when open */
}


/* Conclusion Section */
.page-slot-games__conclusion {
    background-color: var(--deep-green-color);
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .page-slot-games__section-title {
        font-size: clamp(1.6rem, 5vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding-bottom: 30px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-slot-games__intro-text {
        font-size: 1rem;
    }
    .page-slot-games__section {
        padding: 40px 0;
    }
    .page-slot-games__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }

    /* Mobile image adaptation */
    .page-slot-games img {
        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__hero-content, /* Ensure hero content respects padding */
    .page-slot-games__feature-card,
    .page-slot-games__step-item,
    .page-slot-games__promo-card,
    .page-slot-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Video section top padding */
    .page-slot-games__video-section {
        padding-top: 10px !important; /* body handles --header-offset, this is decorative */
    }

    /* Button responsiveness */
    .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__btn-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-slot-games__grid-container,
    .page-slot-games__steps-grid,
    .page-slot-games__promo-grid {
        grid-template-columns: 1fr; /* Single column layout */
    }

    .page-slot-games__faq-item summary {
        font-size: 1rem;
        padding: 15px;
    }
    .page-slot-games__faq-answer {
        padding: 15px;
        font-size: 0.95rem;
    }
}