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

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

/* Hero Section */
.page-slot-games__hero-section {
    background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); /* Main/Auxiliary color gradient */
    color: #FFFFFF;
    padding: 60px 0;
    text-align: center;
    display: flex; /* For upper image, lower text on mobile */
    flex-direction: column; /* Default column for mobile-first, desktop will override */
    align-items: center;
    gap: 30px;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image width on desktop */
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-games__hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-slot-games__hero-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-slot-games__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #E0E0E0;
}

.page-slot-games__hero-cta-button,
.page-slot-games__promotions-cta-button,
.page-slot-games__join-cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 44px; /* Touch target size */
    box-sizing: border-box;
}

.page-slot-games__hero-cta-button:hover,
.page-slot-games__promotions-cta-button:hover,
.page-slot-games__join-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px #A5C4FF; /* Glow */
}

/* General Section Styling */
.page-slot-games__intro-section,
.page-slot-games__popular-games-section,
.page-slot-games__why-choose-section,
.page-slot-games__how-to-play-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section,
.page-slot-games__join-cta-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background */
}

.page-slot-games__intro-title,
.page-slot-games__popular-games-title,
.page-slot-games__why-choose-title,
.page-slot-games__how-to-play-title,
.page-slot-games__promotions-title,
.page-slot-games__faq-title,
.page-slot-games__join-cta-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #1F2D3D; /* Text Main */
}

.page-slot-games__intro-text {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 20px auto;
    color: #1F2D3D; /* Text Main */
}

/* Popular Games Grid */
.page-slot-games__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px;
    margin-top: 40px;
}

.page-slot-games__game-tile {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #FFFFFF; /* Card BG */
    border: 1px solid #D6E2FF; /* Border */
}

.page-slot-games__game-tile:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__game-tile img {
    width: 100%;
    height: 200px; /* Fixed height for game tiles, adjust for aspect ratio */
    object-fit: cover;
    display: block;
}

/* Why Choose Section & Promotions Section */
.page-slot-games__why-choose-content,
.page-slot-games__promotions-content,
.page-slot-games__join-cta-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    background-color: #FFFFFF; /* Card BG */
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #D6E2FF; /* Border */
}

.page-slot-games__why-choose-text-wrapper,
.page-slot-games__promotions-text-wrapper,
.page-slot-games__join-cta-text-wrapper {
    flex: 1;
    min-width: 300px;
}

.page-slot-games__why-choose-image-wrapper,
.page-slot-games__promotions-image-wrapper,
.page-slot-games__join-cta-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-slot-games__why-choose-image,
.page-slot-games__promotions-image,
.page-slot-games__join-cta-image {
    width: 100%;
    height: auto;
    max-width: 600px; /* Max width for images in these sections */
    border-radius: 12px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__why-choose-title,
.page-slot-games__promotions-title,
.page-slot-games__join-cta-title {
    text-align: left;
    margin-bottom: 25px;
    font-size: 2em;
}

.page-slot-games__why-choose-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-slot-games__why-choose-item {
    margin-bottom: 20px;
}

.page-slot-games__why-choose-item-title {
    font-size: 1.3em;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 5px;
}

.page-slot-games__promotions-description {
    margin-bottom: 20px;
    color: #1F2D3D; /* Text Main */
}

/* How To Play Section */
.page-slot-games__how-to-play-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-slot-games__how-to-play-item {
    background-color: #FFFFFF; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #D6E2FF; /* Border */
    text-align: center;
}

.page-slot-games__how-to-play-item-title {
    font-size: 1.4em;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 10px;
}

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

.page-slot-games__faq-item {
    background-color: #FFFFFF; /* Card BG */
    border: 1px solid #D6E2FF; /* Border */
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-slot-games__faq-question {
    font-size: 1.2em;
    color: #000000; /* Custom Color_1776249996415 */
    padding: 20px;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    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-item.is-active .page-slot-games__faq-question::after {
    transform: rotate(45deg);
}

.page-slot-games__faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    color: #1F2D3D; /* Text Main */
}

.page-slot-games__faq-answer p {
    padding-bottom: 20px;
    margin: 0;
}

/* Join CTA Section */
.page-slot-games__join-cta-section {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); /* Main/Auxiliary color gradient */
    color: #FFFFFF;
}

.page-slot-games__join-cta-title {
    color: #FFFFFF;
    font-size: 2.8em;
}

.page-slot-games__join-cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 20px auto 40px auto;
    color: #E0E0E0;
}

/* Responsive design */
@media (min-width: 850px) {
    .page-slot-games__hero-section {
        flex-direction: column; /* Desktop hero is image on top, text below */
    }
    .page-slot-games__hero-title {
        font-size: clamp(2.5rem, 4.5vw, 3.5rem); /* Example clamp for H1 */
    }
    .page-slot-games__why-choose-content,
    .page-slot-games__promotions-content,
    .page-slot-games__join-cta-content {
        flex-wrap: nowrap; /* Prevent wrapping on desktop */
    }
    .page-slot-games__promotions-content {
        flex-direction: row-reverse; /* Image on right, text on left */
    }
    .page-slot-games__why-choose-image-wrapper,
    .page-slot-games__promotions-image-wrapper,
    .page-slot-games__join-cta-image-wrapper {
        flex: 0 0 45%; /* Adjust width for images */
        max-width: 45%;
    }
    .page-slot-games__why-choose-text-wrapper,
    .page-slot-games__promotions-text-wrapper,
    .page-slot-games__join-cta-text-wrapper {
        flex: 0 0 50%; /* Adjust width for text */
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .page-slot-games__container {
        padding: 15px;
    }
    .page-slot-games__hero-section {
        padding: 40px 0;
    }
    .page-slot-games__hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem); /* Smaller H1 on mobile */
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__hero-cta-button,
    .page-slot-games__promotions-cta-button,
    .page-slot-games__join-cta-button {
        width: 100%;
        max-width: 280px; /* Constrain button width */
        margin: 0 auto;
        display: block;
    }
    .page-slot-games__intro-title,
    .page-slot-games__popular-games-title,
    .page-slot-games__why-choose-title,
    .page-slot-games__how-to-play-title,
    .page-slot-games__promotions-title,
    .page-slot-games__faq-title,
    .page-slot-games__join-cta-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-slot-games__why-choose-content,
    .page-slot-games__promotions-content,
    .page-slot-games__join-cta-content {
        flex-direction: column;
        padding: 25px;
        gap: 25px;
    }
    .page-slot-games__why-choose-title,
    .page-slot-games__promotions-title,
    .page-slot-games__join-cta-title {
        text-align: center;
    }
    .page-slot-games__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Smaller grid items on mobile */
    }
    .page-slot-games__game-tile img,
    .page-slot-games__why-choose-image,
    .page-slot-games__promotions-image,
    .page-slot-games__join-cta-image {
        max-width: 100%; /* Ensure images don't overflow */
        height: auto;
    }
    .page-slot-games__how-to-play-list {
        grid-template-columns: 1fr; /* Stack steps on mobile */
    }
    .page-slot-games__faq-question {
        font-size: 1.1em;
    }
    .page-slot-games__join-cta-title {
        font-size: 2.2em;
    }
    .page-slot-games__join-cta-description {
        font-size: 1.1em;
    }
}

@media (max-width: 549px) {
    .page-slot-games__hero-section {
        padding: 30px 0;
    }
    .page-slot-games__hero-title {
        font-size: clamp(1.8rem, 9vw, 2.2rem);
    }
    .page-slot-games__intro-title,
    .page-slot-games__popular-games-title,
    .page-slot-games__why-choose-title,
    .page-slot-games__how-to-play-title,
    .page-slot-games__promotions-title,
    .page-slot-games__faq-title,
    .page-slot-games__join-cta-title {
        font-size: 1.8em;
    }
    .page-slot-games__game-grid {
        grid-template-columns: 1fr; /* Single column for very small screens */
    }
    .page-slot-games__game-tile img {
        height: auto; /* Allow height to adjust naturally */
    }
    .page-slot-games__why-choose-item-title,
    .page-slot-games__how-to-play-item-title {
        font-size: 1.2em;
    }
    .page-slot-games__faq-question {
        font-size: 1em;
    }
    .page-slot-games__join-cta-title {
        font-size: 2em;
    }
}

/* Global image CSS rules from requirements */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensure content area images are never smaller than 200px */
.page-slot-games__game-tile img,
.page-slot-games__why-choose-image,
.page-slot-games__promotions-image,
.page-slot-games__join-cta-image {
    min-width: 200px;
    min-height: 200px;
}

/* Special rule for Hero image to prevent text overlay, enforcing upper image lower text */
.page-slot-games__hero-section {
    display: flex;
    flex-direction: column; /* Ensures image is above content */
}

/* Text color contrast */
.page-slot-games h1, .page-slot-games h2, .page-slot-games h3, .page-slot-games h4, .page-slot-games h5, .page-slot-games h6 {
    color: #1F2D3D; /* Text Main */
}
.page-slot-games__hero-title, .page-slot-games__hero-description, .page-slot-games__join-cta-title, .page-slot-games__join-cta-description {
    color: #FFFFFF; /* White text on dark hero/join section */
}
.page-slot-games__why-choose-item-title, .page-slot-games__how-to-play-item-title, .page-slot-games__faq-question {
    color: #000000; /* Custom Color_1776249996415 */
}