: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: #57E38D;
    --page-slot-games-gold: #F2C14E;
    --page-slot-games-divider: #1E3A2A;
    --page-slot-games-deep-green: #0A4B2C;
    --page-slot-games-text-dark: #333333; /* For light backgrounds */
}

.page-slot-games {
    color: var(--page-slot-games-text-main); /* Default for dark body background */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: var(--page-slot-games-background); /* This will be overridden by body's background-color from shared.css */
    padding: 20px;
    box-sizing: border-box;
}

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

/* Sections with dark background (like default body background) */
.page-slot-games__dark-bg {
    background-color: var(--page-slot-games-background);
    color: var(--page-slot-games-text-main);
    padding: 60px 0;
}

/* Sections with light background (overriding default) */
.page-slot-games__light-bg {
    background-color: #ffffff; /* Use white for light background sections */
    color: var(--page-slot-games-text-dark); /* Dark text for light background */
    padding: 60px 0;
}

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

.page-slot-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__text-center {
    text-align: center;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Stacks image and content vertically */
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    overflow: hidden;
    background-color: var(--page-slot-games-background);
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Adjust height as needed */
    overflow: hidden;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.6);
}

.page-slot-games__hero-content {
    padding: 40px 20px;
    max-width: 1200px;
    width: 100%;
    text-align: center;
    background-color: var(--page-slot-games-background); /* Ensure background for content */
    color: var(--page-slot-games-text-main);
    box-sizing: border-box;
}

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--page-slot-games-gold);
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-slot-games__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    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;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-sizing: border-box;
    max-width: 100%;
}

.page-slot-games__btn-primary {
    background: var(--page-slot-games-button-gradient);
    color: #ffffff;
    border: 2px solid var(--page-slot-games-primary-color);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-slot-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

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

.page-slot-games__btn-secondary:hover {
    background-color: var(--page-slot-games-primary-color);
    color: #ffffff;
    transform: translateY(-3px);
}

.page-slot-games__btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* Introduction Section */
.page-slot-games__introduction-section .page-slot-games__image-content {
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Why Choose Section */
.page-slot-games__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

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

.page-slot-games__feature-card .page-slot-games__card-description {
    color: var(--page-slot-games-text-secondary);
    font-size: 1rem;
}

/* Popular Games Section */
.page-slot-games__game-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-slot-games__game-card {
    overflow: hidden;
    text-align: left;
    padding: 0;
    border-radius: 10px;
    background-color: var(--page-slot-games-card-bg);
}

.page-slot-games__game-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--page-slot-games-border-color);
}

.page-slot-games__game-card h3 {
    padding: 15px 20px 5px;
    font-size: 1.3rem;
}

.page-slot-games__game-card h3 a {
    color: var(--page-slot-games-gold);
    text-decoration: none;
}

.page-slot-games__game-card h3 a:hover {
    text-decoration: underline;
}

.page-slot-games__game-card .page-slot-games__game-description {
    padding: 0 20px 15px;
    font-size: 0.95rem;
    color: var(--page-slot-games-text-secondary);
}

.page-slot-games__btn-play {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 10px 15px;
    background: var(--page-slot-games-button-gradient);
    color: #ffffff;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.page-slot-games__btn-play:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* How To Play Section */
.page-slot-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-slot-games__step-card .page-slot-games__step-number {
    background-color: var(--page-slot-games-primary-color);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 0 15px rgba(17, 168, 78, 0.6);
}

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

.page-slot-games__step-card .page-slot-games__card-description {
    color: var(--page-slot-games-text-secondary);
    font-size: 1rem;
}

/* Tips & Strategies Section */
.page-slot-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__strategy-list .page-slot-games__list-item {
    background-color: #f8f8f8;
    border-left: 5px solid var(--page-slot-games-primary-color);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    color: var(--page-slot-games-text-dark);
    font-size: 1.05rem;
}

.page-slot-games__strategy-list .page-slot-games__list-item strong {
    color: var(--page-slot-games-primary-color);
}

.page-slot-games__tips-strategies-section .page-slot-games__image-content {
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Promotions Section */
.page-slot-games__promo-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

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

.page-slot-games__promo-card .page-slot-games__card-description {
    color: var(--page-slot-games-text-secondary);
    font-size: 1rem;
    margin-bottom: 20px;
}

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

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

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

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
    border-bottom-color: transparent;
}

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

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

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

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

/* More Info Section */
.page-slot-games__related-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-slot-games__link-item {
    display: inline-block;
    background-color: var(--page-slot-games-primary-color);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-slot-games__link-item:hover {
    background-color: var(--page-slot-games-secondary-color);
    transform: translateY(-2px);
}

.page-slot-games__more-info-section .page-slot-games__image-content {
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* General image styling */
.page-slot-games__image-content {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin: 30px auto;
    max-width: 800px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    .page-slot-games__section-title {
        font-size: 2rem;
    }
    .page-slot-games__hero-image-wrapper {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        padding: 10px;
        font-size: 16px;
        line-height: 1.6;
    }
    .page-slot-games__container {
        padding: 10px;
    }
    .page-slot-games__dark-bg, .page-slot-games__light-bg {
        padding: 40px 0;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-slot-games__section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    .page-slot-games__hero-description {
        font-size: 1rem;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        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-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__hero-image-wrapper {
        max-height: 300px;
    }
    .page-slot-games__image-content {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games__feature-grid,
    .page-slot-games__game-list,
    .page-slot-games__steps-grid,
    .page-slot-games__promo-list {
        grid-template-columns: 1fr;
    }
    .page-slot-games__card {
        padding: 20px;
    }
    .page-slot-games__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-slot-games__faq-answer {
        padding: 15px 20px;
    }
    .page-slot-games__video-section {
        padding-top: 10px !important;
    }
    .page-slot-games__video-container,
    .page-slot-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-slot-games__link-item {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-slot-games__main-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }
    .page-slot-games__section-title {
        font-size: 1.5rem;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1rem;
    }
}