.page-slot-games {
    font-family: Arial, sans-serif;
    color: var(--text-main, #333333);
    background-color: var(--background, #F5F7FA);
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding */
    background-color: #100224; /* Dark background */
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px; /* Limit height for aesthetic */
}

.page-slot-games__hero-content {
    text-align: center;
    padding: 40px 20px;
    color: #FFFFFF;
    max-width: 800px;
}

.page-slot-games__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFFFFF; /* Ensure good contrast */
}

.page-slot-games__hero-description {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-slot-games__hero-cta {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-slot-games__hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(229, 57, 53, 0.4);
}

/* General Sections */
.page-slot-games__about-slots-section,
.page-slot-games__popular-games-section,
.page-slot-games__promotions-section,
.page-slot-games__how-to-play-section,
.page-slot-games__faq-section {
    padding: 60px 0;
    background-color: var(--card-bg, #FFFFFF);
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-slot-games__section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-main, #333333);
    /* Optional: text-gradient for H2 */
    /* background: linear-gradient(90deg, #ff9500, #ff5e3a); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
}

.page-slot-games__section-description {
    font-size: 1.05rem;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-main, #333333);
}

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

.page-slot-games__feature-item {
    background-color: var(--card-bg, #FFFFFF);
    border: 1px solid var(--border, #E0E0E0);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

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

.page-slot-games__feature-image {
    width: 100%;
    height: auto;
    max-width: 400px; /* Ensure images are not too small */
    min-width: 200px; /* Minimum size */
    min-height: 200px; /* Minimum size */
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-main, #333333);
}

.page-slot-games__feature-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main, #333333);
}

/* Game Grid */
.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: var(--card-bg, #FFFFFF);
    border: 1px solid var(--border, #E0E0E0);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: transform 0.3s ease;
}

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

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

.page-slot-games__game-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 15px 10px 5px 10px;
    color: var(--text-main, #333333);
}

.page-slot-games__game-title a {
    color: var(--text-main, #333333);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__game-title a:hover {
    color: var(--main-color, #E53935);
}

.page-slot-games__game-provider {
    font-size: 0.95rem;
    color: #666666;
    margin-bottom: 15px;
}

.page-slot-games__game-play-button {
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-slot-games__game-play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(229, 57, 53, 0.3);
}

.page-slot-games__view-all-button {
    display: block;
    width: fit-content;
    margin: 40px auto 0 auto;
    padding: 12px 25px;
    border-radius: 8px;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-slot-games__view-all-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(229, 57, 53, 0.4);
}

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

.page-slot-games__promo-card {
    background-color: var(--card-bg, #FFFFFF);
    border: 1px solid var(--border, #E0E0E0);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-slot-games__promo-image {
    width: 100%;
    height: 180px; /* Fixed height for promo images */
    min-width: 200px; /* Minimum size */
    min-height: 200px; /* Minimum size */
    object-fit: cover;
    display: block;
}

.page-slot-games__promo-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 15px 10px 10px 10px;
    color: var(--text-main, #333333);
}

.page-slot-games__promo-title a {
    color: var(--text-main, #333333);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__promo-title a:hover {
    color: var(--main-color, #E53935);
}

.page-slot-games__promo-text {
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0 15px;
    color: var(--text-main, #333333);
    margin-bottom: 20px;
}

.page-slot-games__promo-button {
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-slot-games__promo-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(229, 57, 53, 0.3);
}

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

.page-slot-games__step-item {
    background-color: var(--card-bg, #FFFFFF);
    border: 1px solid var(--border, #E0E0E0);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.page-slot-games__step-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--main-color, #E53935); /* Use main color for step titles */
}

.page-slot-games__step-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main, #333333);
    margin-bottom: 20px;
}

.page-slot-games__step-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-slot-games__step-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(229, 57, 53, 0.3);
}

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

.page-slot-games__faq-item {
    background-color: var(--card-bg, #FFFFFF);
    border: 1px solid var(--border, #E0E0E0);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.page-slot-games__faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    padding: 20px 25px;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main, #333333);
    background-color: #f9f9f9;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, border-bottom 0.3s ease;
}

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

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

.page-slot-games__faq-item.active .page-slot-games__faq-question::after {
    transform: rotate(45deg);
}

.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: var(--text-main, #333333);
}

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .page-slot-games__section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page-slot-games__container {
        padding: 15px;
    }
    .page-slot-games__hero-content {
        padding: 30px 15px;
    }
    .page-slot-games__hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-slot-games__hero-description {
        font-size: 1rem;
    }
    .page-slot-games__section-title {
        font-size: 1.8rem;
    }
    .page-slot-games__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .page-slot-games__features-grid,
    .page-slot-games__game-grid,
    .page-slot-games__promo-grid,
    .page-slot-games__steps-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    /* Mobile image overflow prevention */
    .page-slot-games__game-image,
    .page-slot-games__promo-image,
    .page-slot-games__feature-image {
        max-width: 100%;
        height: auto;
    }
    .page-slot-games__game-image,
    .page-slot-games__promo-image {
        height: auto; /* Allow auto height for responsive scaling */
        min-height: 200px; /* Still enforce minimum height */
    }

    /* Ensure content area images are not smaller than 200px (this is a general rule, actual display size depends on layout) */
    .page-slot-games img {
        min-width: 200px;
        min-height: 200px;
    }
}