:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-dark: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-slot-games {
    background-color: var(--background-dark);
    color: var(--text-main);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

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

.page-slot-games__hero-image-wrapper {
    position: relative;
    width: 100%;
    max-height: 700px; /* Limit height */
    overflow: hidden;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-slot-games__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    max-width: 900px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-slot-games__description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--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;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

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

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

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

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

.page-slot-games__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.page-slot-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

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

.page-slot-games__intro-section p,
.page-slot-games__how-to-play-section p,
.page-slot-games__promotions-section p,
.page-slot-games__faq-answer p,
.page-slot-games__cta-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: center;
}

.page-slot-games__why-choose-section {
    background-color: var(--deep-green);
    padding: 80px 0;
}

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

.page-slot-games__feature-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

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

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

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

.page-slot-games__game-types-section {
    padding: 60px 0;
    background-color: var(--background-dark);
}

.page-slot-games__game-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-slot-games__game-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-slot-games__game-type-title {
    font-size: 1.6rem;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-slot-games__game-item p {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: left;
}

.page-slot-games__how-to-play-section {
    background-color: var(--deep-green);
}

.page-slot-games__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.page-slot-games__step-item {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
}

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

.page-slot-games__step-item p {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: left;
}

.page-slot-games__step-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-slot-games__step-item a:hover {
    text-decoration: underline;
}

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

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

.page-slot-games__promo-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.page-slot-games__mobile-app-section {
    padding: 80px 0;
    background-color: var(--deep-green);
}

.page-slot-games__mobile-app-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.page-slot-games__mobile-text {
    flex: 1;
    min-width: 300px;
}

.page-slot-games__mobile-text .page-slot-games__section-title {
    text-align: left;
}

.page-slot-games__mobile-text p {
    text-align: left;
}

.page-slot-games__download-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-slot-games__mobile-image {
    flex: 1;
    min-width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-slot-games__mobile-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary-color);
}

.page-slot-games__video-overview-section {
    text-align: center;
}

.page-slot-games__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 2px solid var(--border-color);
    box-sizing: border-box;
}

.page-slot-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    cursor: pointer;
}

.page-slot-games__video-cta {
    margin-top: 20px;
}

.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(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--deep-green);
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: var(--primary-color);
}

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

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

.page-slot-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: left;
    line-height: 1.8;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
    background-color: var(--primary-color);
}

.page-slot-games__cta-section {
    background-color: var(--deep-green);
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__cta-content {
    max-width: 800px;
}

.page-slot-games__cta-content .page-slot-games__section-title {
    margin-bottom: 25px;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .page-slot-games__hero-content {
        max-width: 700px;
    }
    .page-slot-games__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-slot-games__description {
        font-size: clamp(0.9rem, 1.8vw, 1.15rem);
    }
    .page-slot-games__mobile-app-content {
        flex-direction: column;
    }
    .page-slot-games__mobile-text, .page-slot-games__mobile-image {
        min-width: unset;
        width: 100%;
    }
    .page-slot-games__mobile-text .page-slot-games__section-title {
        text-align: center;
    }
    .page-slot-games__mobile-text p {
        text-align: center;
    }
    .page-slot-games__download-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-content {
        padding: 15px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-slot-games__description {
        font-size: clamp(0.85rem, 2.5vw, 1rem);
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        padding: 12px 20px;
        font-size: 0.95rem;
        width: 100% !important;
        max-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__section-title {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
        margin-bottom: 30px;
    }
    .page-slot-games__intro-section,
    .page-slot-games__why-choose-section,
    .page-slot-games__game-types-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__promotions-section,
    .page-slot-games__mobile-app-section,
    .page-slot-games__video-overview-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-section {
        padding: 40px 0;
    }
    .page-slot-games__intro-section p,
    .page-slot-games__how-to-play-section p,
    .page-slot-games__promotions-section p,
    .page-slot-games__faq-answer p,
    .page-slot-games__cta-section p {
        font-size: 0.95rem;
    }
    .page-slot-games__features-grid,
    .page-slot-games__game-list,
    .page-slot-games__promotions-grid {
        gap: 20px;
    }
    .page-slot-games__feature-card,
    .page-slot-games__game-item,
    .page-slot-games__promo-card {
        padding: 20px;
    }
    .page-slot-games__feature-image {
        height: 180px;
    }
    .page-slot-games__feature-title,
    .page-slot-games__game-type-title,
    .page-slot-games__step-title,
    .page-slot-games__promo-title {
        font-size: 1.3rem;
    }
    .page-slot-games__video-wrapper {
        margin: 30px auto;
    }
    .page-slot-games__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-slot-games__faq-answer {
        padding: 0 20px 15px;
    }
    .page-slot-games__faq-toggle {
        font-size: 1.5rem;
    }

    /* Mobile Image/Video/Button Responsive Adapation */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .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__hero-section,
    .page-slot-games__intro-section,
    .page-slot-games__why-choose-section,
    .page-slot-games__game-types-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__promotions-section,
    .page-slot-games__mobile-app-section,
    .page-slot-games__video-overview-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-section,
    .page-slot-games__video-container,
    .page-slot-games__video-wrapper,
    .page-slot-games__cta-buttons,
    .page-slot-games__download-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-slot-games__video-section {
        padding-top: 10px !important; /* body handles --header-offset, this is decorative */
    }
    .page-slot-games__hero-image-wrapper {
        max-height: 400px;
    }
    .page-slot-games__hero-content {
        position: static; /* Remove absolute positioning on mobile */
        transform: none;
        padding: 20px 15px;
        background: rgba(0, 0, 0, 0.6); /* Add a background for readability */
        margin-top: -100px; /* Pull content up over image slightly */
    }
    .page-slot-games__hero-image {
        filter: brightness(0.5);
    }
    .page-slot-games__main-title,
    .page-slot-games__description {
        text-shadow: none;
    }
}