.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--page-text-color, #F2FFF6); /* Default to light text */
    background: var(--page-background-color, #08160F); /* Default to dark background */
}

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

.page-slot-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small padding top as body has header offset */
    color: #F2FFF6;
    background: #08160F;
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.page-slot-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-slot-games__hero-content {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
    position: relative; /* Ensure content is above image wrapper if any z-index issues */
    z-index: 2; /* Place content above image */
}

.page-slot-games__main-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #F2C14E; /* Gold color for main title */
    line-height: 1.2;
}

.page-slot-games__hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    color: #A7D9B8; /* Secondary text color */
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__game-btn,
.page-slot-games__promo-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    border: none;
}

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

.page-slot-games__btn-secondary {
    background: transparent;
    color: #2AD16F;
    border: 2px solid #2AD16F;
}

.page-slot-games__btn-secondary:hover {
    background: #2AD16F;
    color: #F2FFF6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.2);
}

.page-slot-games__section-title {
    font-size: 38px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #F2C14E;
}

.page-slot-games__section-description {
    font-size: 17px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #A7D9B8;
}

/* Game Showcase Section */
.page-slot-games__game-showcase-section {
    padding: 80px 0;
    background: #08160F; /* Background color */
    color: #F2FFF6; /* Main text color */
}

.page-slot-games__dark-section {
    background: #08160F;
    color: #F2FFF6;
}

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

.page-slot-games__game-card {
    background: #11271B; /* Card BG color */
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2E7A4E; /* Border color */
}

.page-slot-games__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-games__game-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-slot-games__game-title {
    font-size: 24px;
    font-weight: bold;
    margin: 20px 15px 10px;
    color: #F2C14E; /* Gold for titles */
}

.page-slot-games__game-description {
    font-size: 15px;
    padding: 0 15px 20px;
    color: #A7D9B8; /* Secondary text */
}

.page-slot-games__game-btn {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    border: none;
    padding: 12px 25px;
    margin-bottom: 20px;
    font-size: 16px;
    border-radius: 6px;
}

.page-slot-games__game-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(42, 209, 111, 0.3);
}

/* Features Section */
.page-slot-games__features-section {
    padding: 80px 0;
    background: #11271B; /* Card BG color as background */
    color: #F2FFF6;
}

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

.page-slot-games__feature-item {
    background: #0A4B2C; /* Deep Green */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E;
    transition: transform 0.3s ease;
}

.page-slot-games__feature-item:hover {
    transform: translateY(-5px);
}

.page-slot-games__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__feature-heading {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #F2C14E;
}

.page-slot-games__feature-description {
    font-size: 15px;
    color: #A7D9B8;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
    padding: 80px 0;
    background: #08160F;
    color: #F2FFF6;
}

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

.page-slot-games__step-card {
    background: #11271B;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E;
}

.page-slot-games__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-slot-games__step-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #F2C14E;
}

.page-slot-games__step-description {
    font-size: 15px;
    color: #A7D9B8;
}

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

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 80px 0;
    background: #11271B;
    color: #F2FFF6;
}

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

.page-slot-games__promo-card {
    background: #0A4B2C;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E;
    transition: transform 0.3s ease;
}

.page-slot-games__promo-card:hover {
    transform: translateY(-8px);
}

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

.page-slot-games__promo-title {
    font-size: 24px;
    font-weight: bold;
    margin: 20px 15px 10px;
    color: #F2C14E;
    text-align: center;
}

.page-slot-games__promo-text {
    font-size: 15px;
    padding: 0 15px 20px;
    color: #A7D9B8;
    text-align: center;
}

.page-slot-games__promo-btn {
    display: block;
    width: calc(100% - 30px);
    margin: 0 15px 20px 15px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    border: none;
    padding: 12px 0;
    font-size: 16px;
    border-radius: 6px;
}

.page-slot-games__promo-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(42, 209, 111, 0.3);
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 80px 0;
    background: #08160F;
    color: #F2FFF6;
}

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

details.page-slot-games__faq-item {
    margin-bottom: 15px;
    border-radius: 8px; /* Slightly larger border-radius for modern look */
    border: 1px solid #2E7A4E; /* Border color */
    overflow: hidden;
    background: #11271B; /* Card BG color */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px; /* Increased padding */
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    background: #0A4B2C; /* Deep Green for summary */
    color: #F2FFF6; /* Main text color */
    font-weight: bold;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question::-webkit-details-marker {
    display: none;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
    background: #13994A; /* Slightly lighter green on hover */
}
.page-slot-games__faq-qtext {
    flex: 1;
    font-size: 18px; /* Slightly larger font size */
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #F2C14E; /* Gold for question text */
}
.page-slot-games__faq-toggle {
    font-size: 28px; /* Larger toggle icon */
    font-weight: bold;
    color: #57E38D; /* Glow color for toggle */
    flex-shrink: 0;
    margin-left: 15px;
    width: 32px; /* Larger toggle area */
    text-align: center;
}
details.page-slot-games__faq-item .page-slot-games__faq-answer {
    padding: 0 25px 25px;
    background: #11271B; /* Card BG color for answer */
    border-radius: 0 0 8px 8px;
    color: #A7D9B8; /* Secondary text color */
    font-size: 16px;
}
.page-slot-games__faq-answer p {
    margin: 0;
    padding-top: 15px;
}


/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: 42px;
    }
    .page-slot-games__section-title {
        font-size: 34px;
    }
    .page-slot-games__hero-content {
        padding: 40px 20px;
    }
}

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

    /* Hero Section */
    .page-slot-games__hero-section {
        padding-top: 10px !important; /* Ensure small padding */
    }
    .page-slot-games__hero-content {
        padding: 40px 15px;
    }
    .page-slot-games__main-title {
        font-size: 36px;
        margin-bottom: 15px;
    }
    .page-slot-games__hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__game-btn,
    .page-slot-games__promo-btn {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        font-size: 16px;
        padding: 12px 20px;
    }

    /* Section Titles and Descriptions */
    .page-slot-games__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-slot-games__section-description {
        font-size: 15px;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    /* Generic Image and Container adaptation */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-slot-games__container,
    .page-slot-games__game-showcase-section,
    .page-slot-games__features-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__promotions-section,
    .page-slot-games__faq-section,
    .page-slot-games__game-card,
    .page-slot-games__feature-item,
    .page-slot-games__step-card,
    .page-slot-games__promo-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__game-showcase-section,
    .page-slot-games__features-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__promotions-section,
    .page-slot-games__faq-section {
        padding: 50px 0;
    }


    /* Game Grid */
    .page-slot-games__game-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__game-image {
        height: 200px; /* Adjust height for mobile */
    }

    /* Features List */
    .page-slot-games__features-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__feature-item {
        padding: 25px;
    }

    /* Steps Grid */
    .page-slot-games__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__step-number {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    .page-slot-games__step-title {
        font-size: 20px;
    }

    /* Promo Cards */
    .page-slot-games__promo-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__promo-image {
        height: 180px;
    }

    /* FAQ Section */
    details.page-slot-games__faq-item summary.page-slot-games__faq-question {
        padding: 15px 20px;
    }
    .page-slot-games__faq-qtext {
        font-size: 16px;
    }
    .page-slot-games__faq-toggle {
        font-size: 24px;
        width: 28px;
    }
    details.page-slot-games__faq-item .page-slot-games__faq-answer {
        padding: 0 20px 20px;
        font-size: 15px;
    }
}