.page-slot-games {
    background-color: #08160F;
    color: #F2FFF6;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-slot-games__hero-content {
    padding: 20px;
    max-width: 900px;
    margin-top: 20px; /* Space below image */
}

.page-slot-games__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #F2FFF6;
    letter-spacing: 0.05em;
}

.page-slot-games__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #A7D9B8;
}

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

.page-slot-games__cta-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
}

.page-slot-games__games-showcase,
.page-slot-games__why-choose-us,
.page-slot-games__faq-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-slot-games__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    color: #F2FFF6;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-slot-games__section-description {
    font-size: 1.05em;
    color: #A7D9B8;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.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-color: #11271B;
    border: 1px solid #2E7A4E;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px #57E38D;
}

.page-slot-games__game-thumbnail {
    width: 100%;
    max-width: 400px; /* Max width for consistency */
    height: auto;
    min-height: 200px; /* Minimum size requirement */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-slot-games__game-title {
    font-size: 1.4em;
    color: #F2FFF6;
    margin-bottom: 10px;
    min-height: 50px; /* Ensure title has space */
}

.page-slot-games__game-title a {
    color: #F2FFF6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__game-title a:hover {
    color: #2AD16F;
}

.page-slot-games__game-excerpt {
    font-size: 0.95em;
    color: #A7D9B8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-slot-games__game-button {
    display: inline-block;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background 0.3s ease, transform 0.3s ease;
    min-width: 120px;
}

.page-slot-games__game-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
}

.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-item {
    background-color: #11271B;
    border: 1px solid #2E7A4E;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
}

.page-slot-games__feature-icon {
    width: 100%;
    max-width: 250px;
    height: auto;
    min-height: 200px; /* Minimum size requirement */
    object-fit: contain;
    margin-bottom: 20px;
}

.page-slot-games__feature-title {
    font-size: 1.5em;
    color: #F2FFF6;
    margin-bottom: 15px;
}

.page-slot-games__feature-description {
    font-size: 1em;
    color: #A7D9B8;
}

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

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

.page-slot-games__faq-question {
    width: 100%;
    background-color: #1E3A2A;
    color: #F2FFF6;
    padding: 18px 25px;
    border: none;
    text-align: left;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.page-slot-games__faq-question:hover {
    background-color: #0A4B2C;
}

.page-slot-games__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #A7D9B8;
}

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-slot-games__hero-content {
        padding: 15px;
    }

    .page-slot-games__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

    .page-slot-games__description {
        font-size: 1em;
    }

    .page-slot-games__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-slot-games__games-showcase,
    .page-slot-games__why-choose-us,
    .page-slot-games__faq-section {
        padding: 40px 15px;
    }

    .page-slot-games__section-title {
        font-size: clamp(1.6em, 6vw, 2.2em);
    }

    .page-slot-games__game-grid,
    .page-slot-games__features-grid {
        grid-template-columns: 1fr;
    }

    .page-slot-games__game-thumbnail,
    .page-slot-games__feature-icon {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure images are not too small */
        min-height: 200px;
    }

    .page-slot-games__game-card,
    .page-slot-games__feature-item {
        padding: 15px;
    }

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

    .page-slot-games__faq-answer.active {
        padding: 10px 20px;
    }

    /* Prevent content area images from causing horizontal scroll */
    .page-slot-games img {
        max-width: 100%;
        height: auto;
    }
}