/* General Styling */
.page-slot-games {
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

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

.page-slot-games__section-title,
.page-slot-games__main-title,
.page-slot-games__cta-title {
    text-align: center;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-slot-games__main-title {
    font-size: clamp(1.8rem, 5vw, 3.5rem); /* Adjusted for larger main title on desktop, still using clamp */
    margin-bottom: 20px;
    padding-top: 10px; /* Small top padding for first section */
}

.page-slot-games__section-title {
    font-size: clamp(1.5rem, 4.5vw, 2.5rem);
    margin-top: 60px;
}

.page-slot-games__cta-title {
    font-size: clamp(1.5rem, 4.5vw, 2.8rem);
}

/* Buttons */
.page-slot-games__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.page-slot-games__btn--primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 15px #57E38D; /* Glow */
}

.page-slot-games__btn--secondary {
    background-color: transparent;
    border: 2px solid #2E7A4E; /* Border */
    color: #A7D9B8; /* Text Secondary */
}

.page-slot-games__btn--secondary:hover {
    background-color: #2E7A4E; /* Border */
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__btn--play {
    background: linear-gradient(180deg, #F2C14E 0%, #D4A73C 100%); /* Gold inspired */
    color: #08160F; /* Background for contrast */
    padding: 8px 18px;
    font-size: 0.9rem;
}

.page-slot-games__btn--play:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 10px #F2C14E; /* Gold */
}

.page-slot-games__btn--center {
    display: block;
    margin: 40px auto 0;
    max-width: 250px;
}

.page-slot-games__btn--large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    padding-bottom: 50px; /* Space below content */
    background-color: #0A4B2C; /* Deep Green for hero background */
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 16/9; /* Default for hero image */
}

.page-slot-games__hero-content {
    text-align: center;
    padding: 20px 15px;
    max-width: 900px;
    margin: 0 auto;
}

.page-slot-games__intro-text {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #A7D9B8; /* Text Secondary */
}

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

/* Features Section */
.page-slot-games__features-section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
}

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

.page-slot-games__feature-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__feature-icon {
    width: 200px; /* Min size */
    height: auto;
    max-width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    object-fit: cover;
    aspect-ratio: 3/2; /* Example aspect ratio */
}

.page-slot-games__feature-title {
    font-size: 1.4rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
}

.page-slot-games__feature-description {
    font-size: 0.95rem;
    color: #A7D9B8; /* Text Secondary */
}

/* Popular Games Section */
.page-slot-games__popular-games-section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
}

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

.page-slot-games__game-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__game-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3; /* Example aspect ratio */
}

.page-slot-games__game-title {
    font-size: 1.3rem;
    margin: 20px 15px 10px;
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__game-title a {
    color: inherit;
    text-decoration: none;
}

.page-slot-games__game-title a:hover {
    color: #2AD16F; /* Button primary color for hover */
}

.page-slot-games__game-description {
    font-size: 0.9rem;
    color: #A7D9B8; /* Text Secondary */
    margin: 0 15px 20px;
    flex-grow: 1; /* Push button to bottom */
}

.page-slot-games__game-card .page-slot-games__btn--play {
    margin: 0 15px 20px;
}

.page-slot-games__view-all-wrapper {
    text-align: center;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
    padding: 60px 0;
    background-color: #0A4B2C; /* Deep Green */
}

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

.page-slot-games__step-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #2AD16F; /* Primary button start color */
    color: #F2FFF6; /* Text Main */
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-slot-games__step-title {
    font-size: 1.3rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
}

.page-slot-games__step-description {
    font-size: 0.95rem;
    color: #A7D9B8; /* Text Secondary */
}

/* Tips Section */
.page-slot-games__tips-section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
}

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

.page-slot-games__tip-card {
    background-color: #11271B; /* Card BG */
    border-left: 5px solid #2AD16F; /* Primary button start color */
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__tip-title {
    font-size: 1.3rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
}

.page-slot-games__tip-description {
    font-size: 0.95rem;
    color: #A7D9B8; /* Text Secondary */
}

.page-slot-games__view-more-tips {
    text-align: center;
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 60px 0;
    background-color: #0A4B2C; /* Deep Green */
}

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

.page-slot-games__faq-item {
    background-color: #11271B; /* Card BG */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__faq-question {
    display: block;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    color: #F2FFF6; /* Text Main */
    user-select: none;
}

.page-slot-games__faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: #2AD16F; /* Primary button start color */
    font-size: 1.5rem;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

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

/* Call to Action Section */
.page-slot-games__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #08160F; /* Background */
}

.page-slot-games__cta-content {
    background-color: #11271B; /* Card BG */
    border-radius: 15px;
    padding: 50px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    margin: 0 auto;
}

.page-slot-games__cta-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 20px auto 40px;
    color: #A7D9B8; /* Text Secondary */
}

/* Global Image Responsiveness for content area */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block; /* Ensure images behave as blocks */
}

/* Ensure content area images are not too small */
.page-slot-games__features-grid img,
.page-slot-games__game-grid img,
.page-slot-games__how-to-play-section img,
.page-slot-games__tips-section img {
    min-width: 200px;
    min-height: 200px;
}

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-slot-games__hero-section {
        padding-bottom: 30px;
    }

    .page-slot-games__main-title {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }

    .page-slot-games__intro-text {
        font-size: 1rem;
    }

    .page-slot-games__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-slot-games__btn {
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-slot-games__section-title {
        font-size: clamp(1.3rem, 5vw, 2rem);
        margin-top: 40px;
    }

    .page-slot-games__cta-title {
        font-size: clamp(1.3rem, 5vw, 2.2rem);
    }
}

@media (max-width: 549px) {
    .page-slot-games__container {
        padding: 15px 10px;
    }

    .page-slot-games__hero-section {
        padding-bottom: 20px;
    }

    .page-slot-games__main-title {
        font-size: clamp(1.4rem, 7vw, 2rem);
        padding-top: 8px;
    }

    .page-slot-games__intro-text {
        font-size: 0.9rem;
    }

    .page-slot-games__btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

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

    .page-slot-games__feature-card,
    .page-slot-games__game-card,
    .page-slot-games__step-card,
    .page-slot-games__tip-card {
        padding: 20px;
    }

    .page-slot-games__feature-icon {
        width: 180px; /* Adjust for smaller screens */
        min-width: 180px; /* Ensure it doesn't go below this */
    }

    .page-slot-games__game-thumbnail {
        aspect-ratio: 16/9; /* More horizontal on small screens */
    }

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

    .page-slot-games__faq-question::after {
        right: 20px;
    }

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

    .page-slot-games__cta-content {
        padding: 40px 20px;
    }

    .page-slot-games__cta-description {
        font-size: 1rem;
        margin: 15px auto 30px;
    }
}

/* Mobile image constraint - crucial for preventing overflow */
@media (max-width: 768px) {
    .page-slot-games img {
        max-width: 100% !important; /* Ensure override */
        height: auto !important;
    }
    .page-slot-games {
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
}