.page-slot-games {
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for the first section */
}

.page-slot-games__hero-section {
    position: relative;
    text-align: center;
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.page-slot-games__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: auto; /* Ensure aspect ratio is maintained */
    margin-bottom: 20px; /* Space between image and text */
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Ensure minimum size */
}

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

.page-slot-games__main-title {
    font-size: clamp(2.2em, 4vw, 3.2em); /* Use clamp for h1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, #F2C14E, #FFD700); /* Gold gradient for title */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback for browsers not supporting text-fill-color */
    max-width: 100%; /* Ensure it doesn't overflow */
}

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

.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4); /* Glow effect */
    min-width: 200px; /* Ensure button is not too small */
    text-align: center;
}

.page-slot-games__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-slot-games__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__section-description {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    text-align: center;
    max-width: 800px;
    margin: -20px auto 50px auto;
    padding: 0 15px;
}

/* Features Section */
.page-slot-games__features-section {
    padding: 40px 20px;
    background-color: #0A4B2C; /* Deep Green for a section */
    margin-bottom: 60px;
}

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

.page-slot-games__feature-item {
    background-color: #11271B; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E; /* Border */
}

.page-slot-games__feature-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-slot-games__feature-title {
    font-size: 1.5em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    font-weight: 600;
}

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

/* Popular Games Section */
.page-slot-games__popular-games-section {
    padding: 40px 20px;
    margin-bottom: 60px;
}

.page-slot-games__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.page-slot-games__game-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid #2E7A4E; /* Border */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.page-slot-games__game-button {
    display: block;
    width: calc(100% - 30px);
    margin: 0 15px 20px 15px;
    padding: 12px 20px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    text-align: center;
}

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

.page-slot-games__view-all {
    text-align: center;
    margin-top: 20px;
}

.page-slot-games__view-all-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #22C768; /* Auxiliary color */
    color: #F2FFF6;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-slot-games__view-all-button:hover {
    background-color: #11A84E; /* Main color */
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
    padding: 40px 20px;
    background-color: #11271B; /* Card BG */
    margin-bottom: 60px;
}

.page-slot-games__how-to-play-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-slot-games__guide-image {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    min-height: 200px; /* Ensure minimum size */
}

.page-slot-games__guide-list {
    flex: 1;
    min-width: 300px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-slot-games__guide-item {
    background-color: #0A4B2C; /* Deep Green */
    border-left: 5px solid #2AD16F;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__guide-step-title {
    font-size: 1.4em;
    color: #F2FFF6; /* Text Main */
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-slot-games__guide-step-description {
    color: #A7D9B8; /* Text Secondary */
    font-size: 0.95em;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 40px 20px;
    margin-bottom: 60px;
}

.page-slot-games__promo-card {
    display: flex;
    flex-wrap: wrap;
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E; /* Border */
}

.page-slot-games__promo-image {
    flex: 1;
    min-width: 300px;
    height: auto;
    object-fit: cover;
    min-height: 200px; /* Ensure minimum size */
}

.page-slot-games__promo-content {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-slot-games__promo-title {
    font-size: 1.8em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    font-weight: 700;
}

.page-slot-games__promo-description {
    color: #A7D9B8; /* Text Secondary */
    font-size: 1em;
    margin-bottom: 25px;
}

.page-slot-games__promo-button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: opacity 0.3s ease;
    align-self: flex-start;
}

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

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 40px 20px 80px 20px;
}

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

.page-slot-games__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__faq-question {
    font-size: 1.2em;
    color: #F2FFF6; /* Text Main */
    padding: 20px 25px;
    margin: 0;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    background-color: #0A4B2C; /* Deep Green */
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question::after {
    content: '+';
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-slot-games__faq-question.active::after {
    content: '-';
    transform: rotate(0deg);
}

.page-slot-games__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    color: #A7D9B8; /* Text Secondary */
    font-size: 0.95em;
}

.page-slot-games__faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    padding: 15px 25px 25px 25px;
}

.page-slot-games__faq-answer p {
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-slot-games__main-title {
        font-size: clamp(2em, 5vw, 2.8em);
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__how-to-play-content {
        flex-direction: column;
        align-items: center;
    }
    .page-slot-games__guide-image {
        max-width: 100%;
        margin-bottom: 30px;
    }
    .page-slot-games__promo-card {
        flex-direction: column;
    }
    .page-slot-games__promo-image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        padding-top: 8px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }
    .page-slot-games__intro-text {
        font-size: 1em;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
        padding-top: 40px;
    }
    .page-slot-games__section-description {
        font-size: 0.9em;
        margin-bottom: 40px;
    }
    .page-slot-games__features-grid,
    .page-slot-games__games-grid {
        grid-template-columns: 1fr;
    }
    .page-slot-games__game-image,
    .page-slot-games__feature-image,
    .page-slot-games__guide-image,
    .page-slot-games__promo-image {
        max-width: 100%;
        height: auto; /* Ensure aspect ratio is maintained */
        min-width: 200px; /* Enforce minimum size */
        min-height: 200px; /* Enforce minimum size */
    }
    /* Enforce max-width: 100% for all images in content area */
    .page-slot-games img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-slot-games__cta-button {
        padding: 12px 20px;
        font-size: 0.9em;
    }
    .page-slot-games__feature-item,
    .page-slot-games__game-card {
        padding: 20px;
    }
    .page-slot-games__feature-title,
    .page-slot-games__game-title {
        font-size: 1.2em;
    }
    .page-slot-games__guide-item {
        padding: 15px;
    }
    .page-slot-games__guide-step-title {
        font-size: 1.2em;
    }
    .page-slot-games__promo-title {
        font-size: 1.5em;
    }
    .page-slot-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
}