.page-slot-games {
    background-color: #08160F; /* Custom background color */
    color: #F2FFF6; /* Main text color */
    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;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px; /* Small top padding, larger bottom padding */
    overflow: hidden; /* Ensure no overflow */
}

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

.page-slot-games__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Adjust to position content over the image's lower part without overlapping text on the image */
    position: relative;
    z-index: 1;
    background: linear-gradient(to top, rgba(8, 22, 15, 0.95), rgba(8, 22, 15, 0.8), transparent); /* Gradient to blend with background */
    border-radius: 10px;
}

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    color: #F2FFF6; /* Main text color */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-slot-games__description {
    font-size: 1.1rem;
    color: #A7D9B8; /* Secondary text color */
    margin-bottom: 30px;
}

.page-slot-games__cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #F2FFF6; /* Button text color */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: opacity 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-slot-games__cta-button:hover {
    opacity: 0.9;
}

.page-slot-games__cta-button--secondary {
    background: #11271B; /* Card background for secondary button */
    border: 1px solid #2E7A4E; /* Border color */
    color: #F2FFF6;
}

.page-slot-games__cta-button--secondary:hover {
    background: #2E7A4E; /* Border color on hover */
}

/* General Section Styling */
.page-slot-games__section {
    padding: 60px 0;
    text-align: center;
}

.page-slot-games__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #F2FFF6; /* Main text color */
    margin-bottom: 40px;
    font-weight: bold;
}

.page-slot-games__text-block {
    font-size: 1rem;
    color: #A7D9B8; /* Secondary text color */
    margin-bottom: 20px;
    text-align: left;
}

.page-slot-games__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Feature Grid */
.page-slot-games__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-slot-games__feature-card {
    background-color: #11271B; /* Card background color */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Border color */
    transition: transform 0.3s ease;
}

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

.page-slot-games__card-title {
    font-size: 1.5rem;
    color: #F2FFF6; /* Main text color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__card-text {
    font-size: 1rem;
    color: #A7D9B8; /* Secondary text color */
}

/* Game Types Cards */
.page-slot-games__type-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-slot-games__type-card {
    background-color: #11271B; /* Card background color */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Border color */
}

/* Lists */
.page-slot-games__ordered-list,
.page-slot-games__unordered-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.page-slot-games__ordered-list li,
.page-slot-games__unordered-list li {
    background-color: #11271B; /* Card background color */
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    color: #A7D9B8; /* Secondary text color */
    font-size: 1rem;
    border-left: 5px solid #13994A; /* Deep Green for accent */
}

.page-slot-games__list-item-title {
    color: #F2FFF6; /* Main text color */
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.page-slot-games__nested-list {
    list-style: disc;
    margin-left: 20px;
    margin-top: 10px;
}

.page-slot-games__nested-list li {
    background-color: transparent;
    border: none;
    padding: 5px 0;
    margin-bottom: 5px;
    color: #A7D9B8;
}

.page-slot-games__text-link {
    color: #2AD16F; /* A vibrant green for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__text-link:hover {
    color: #57E38D; /* Glow color on hover */
    text-decoration: underline;
}

/* FAQ Section */
.page-slot-games__faq-list {
    margin-top: 40px;
    text-align: left;
}

.page-slot-games__faq-item {
    background-color: #11271B; /* Card background color */
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #2E7A4E; /* Border color */
    overflow: hidden;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    color: #F2FFF6; /* Main text color */
    background-color: #11271B; /* Card background color */
    user-select: none;
}

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

.page-slot-games__faq-question::marker {
    display: none;
}

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

.page-slot-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: #2AD16F; /* Vibrant green for toggle */
}

.page-slot-games__faq-answer {
    padding: 0 20px 20px;
    color: #A7D9B8; /* Secondary text color */
    font-size: 1rem;
    text-align: left;
}

.page-slot-games__faq-answer p {
    margin-bottom: 10px;
}

.page-slot-games__view-all-faq {
    display: inline-block;
    margin-top: 30px;
    font-size: 1rem;
    padding: 10px 20px;
    border: 1px solid #2AD16F;
    border-radius: 5px;
    text-decoration: none;
    color: #2AD16F;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-slot-games__view-all-faq:hover {
    background-color: #2AD16F;
    color: #08160F;
}

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

    .page-slot-games__container {
        padding: 0 15px;
    }

    .page-slot-games__hero-section {
        padding: 10px 0 30px;
    }

    .page-slot-games__hero-content {
        padding: 20px 15px;
        margin-top: -60px; /* Adjust for smaller screens */
    }

    .page-slot-games__main-title {
        font-size: clamp(2rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-slot-games__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-slot-games__cta-button,
    .page-slot-games__cta-button--secondary {
        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;
        font-size: 1rem !important;
    }

    .page-slot-games__section {
        padding: 40px 0;
    }

    .page-slot-games__section-title {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-slot-games__text-block {
        font-size: 0.95rem;
    }

    .page-slot-games__image-content {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 30px auto !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__feature-grid,
    .page-slot-games__type-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__feature-card,
    .page-slot-games__type-card {
        padding: 20px;
    }

    .page-slot-games__card-title {
        font-size: 1.3rem;
    }

    .page-slot-games__faq-question {
        font-size: 1rem;
        padding: 15px;
    }

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

    .page-slot-games__ordered-list li,
    .page-slot-games__unordered-list li {
        padding: 15px;
        font-size: 0.95rem;
    }
    
    .page-slot-games__list-item-title {
        font-size: 1rem;
    }
}