/* General Styling */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light background */
    background: #F5F7FA; /* Page background color */
}

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

.page-slot-games__section-title {
    font-size: 36px;
    color: #E53935; /* Brand primary color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-slot-games__sub-section-title {
    font-size: 28px;
    color: #333333;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-slot-games__description,
.page-slot-games__text-block {
    font-size: 17px;
    line-height: 1.6;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
}

.page-slot-games__text-block {
    text-align: left;
    margin-bottom: 20px;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__game-btn,
.page-slot-games__step-btn,
.page-slot-games__promo-btn,
.page-slot-games a[class*="button"],
.page-slot-games a[class*="btn"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Important for responsiveness */
    box-sizing: border-box; /* Important for responsiveness */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Custom button color */
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

.page-slot-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.6);
}

.page-slot-games__btn-secondary {
    background: #ffffff;
    color: #E53935;
    border: 2px solid #E53935;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__btn-secondary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    /* No padding-top: var(--header-offset) here, relying on body padding */
    padding-top: 10px; /* Small top padding */
    padding-bottom: 50px;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Enforce image above text */
    align-items: center;
    background-color: #E53935; /* Fallback background */
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Limit height for aesthetic */
    margin-bottom: 30px; /* Space between image and content */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    color: #ffffff; /* White text on hero background */
}

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
    color: #ffffff;
}

.page-slot-games__hero-content .page-slot-games__description {
    color: #f0f0f0;
    margin-bottom: 40px;
    font-size: 19px;
}

.page-slot-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%; /* Important for responsiveness */
    box-sizing: border-box; /* Important for responsiveness */
    overflow: hidden; /* Prevent overflow */
}

/* Introduction Section */
.page-slot-games__introduction-section {
    padding: 60px 0;
    background: #F5F7FA; /* Background color for section */
}

/* Game Categories Section */
.page-slot-games__game-categories-section {
    padding: 60px 0;
    background: #E53935; /* Dark background for this section */
    color: #ffffff; /* White text on dark background */
}

.page-slot-games__game-categories-section .page-slot-games__section-title,
.page-slot-games__game-categories-section .page-slot-games__description {
    color: #ffffff;
}

.page-slot-games__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__category-card {
    background: #ffffff; /* Card background color */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-slot-games__category-card img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-slot-games__category-card .page-slot-games__card-title {
    font-size: 22px;
    font-weight: 700;
    color: #E53935; /* Primary color for card title */
    margin-bottom: 10px;
}

.page-slot-games__category-card p {
    font-size: 16px;
    color: #333333;
    line-height: 1.5;
    text-align: center;
}

/* Featured Games Section */
.page-slot-games__featured-games-section {
    padding: 60px 0;
    background: #F5F7FA;
}

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

.page-slot-games__game-card {
    background: #ffffff; /* Card background color */
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    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(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.page-slot-games__game-card img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-slot-games__game-card .page-slot-games__game-title {
    font-size: 20px;
    font-weight: 700;
    color: #E53935;
    margin-bottom: 5px;
}

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

.page-slot-games__game-card .page-slot-games__game-btn {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    width: 100%;
    max-width: 180px;
    box-sizing: border-box;
}

.page-slot-games__game-card .page-slot-games__game-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

/* How To Play Section */
.page-slot-games__how-to-play-section {
    padding: 60px 0;
    background: #F5F7FA; /* Background color for section */
}

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

.page-slot-games__step-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-slot-games__step-card .page-slot-games__step-title {
    font-size: 22px;
    font-weight: 700;
    color: #E53935;
    margin-bottom: 15px;
}

.page-slot-games__step-card p {
    font-size: 16px;
    color: #333333;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-slot-games__step-card .page-slot-games__step-btn {
    background: #FF5A4F; /* Auxiliary color for step buttons */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    width: 100%;
    max-width: 180px;
    box-sizing: border-box;
}

.page-slot-games__step-card .page-slot-games__step-btn:hover {
    background: #E53935;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 60px 0;
    background: #E53935; /* Dark background */
    color: #ffffff;
}

.page-slot-games__promotions-section .page-slot-games__section-title,
.page-slot-games__promotions-section .page-slot-games__description {
    color: #ffffff;
}

.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: #ffffff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-slot-games__promo-card img {
    width: 100%;
    height: auto;
    max-height: 225px;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-slot-games__promo-card .page-slot-games__promo-title {
    font-size: 20px;
    font-weight: 700;
    color: #E53935;
    margin-bottom: 10px;
}

.page-slot-games__promo-card p {
    font-size: 16px;
    color: #333333;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-slot-games__promo-card .page-slot-games__promo-btn {
    background: #FF5A4F;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    width: 100%;
    max-width: 180px;
    box-sizing: border-box;
}

.page-slot-games__promo-card .page-slot-games__promo-btn:hover {
    background: #E53935;
}

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

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

details.page-slot-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: #fff;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question::-webkit-details-marker {
    display: none;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
    background: #f5f5f5;
}
.page-slot-games__faq-qtext {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #333333;
}
.page-slot-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #666;
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-slot-games__faq-item .page-slot-games__faq-answer {
    padding: 0 20px 20px;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: #333333;
}

/* SEO Content Section */
.page-slot-games__seo-content-section {
    padding: 60px 0;
    background: #F5F7FA;
}

.page-slot-games__seo-content-section .page-slot-games__text-block {
    margin-bottom: 20px;
}

.page-slot-games__feature-list {
    list-style: disc;
    padding-left: 40px;
    margin-bottom: 30px;
    font-size: 17px;
    line-height: 1.6;
    color: #333333;
    max-width: 900px;
    margin: 0 auto 30px auto;
    text-align: left;
}

.page-slot-games__feature-list li {
    margin-bottom: 10px;
}

.page-slot-games__feature-list strong {
    color: #E53935;
}


/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-slot-games__container {
        padding: 0 15px;
    }

    .page-slot-games__section-title {
        font-size: 30px;
    }

    .page-slot-games__sub-section-title {
        font-size: 24px;
    }

    .page-slot-games__description,
    .page-slot-games__text-block {
        font-size: 16px;
    }

    .page-slot-games__hero-image {
        max-height: 400px;
    }

    .page-slot-games__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
}

@media (max-width: 768px) {
    /* General Responsive */
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-slot-games__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-slot-games__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-slot-games__sub-section-title {
        font-size: 22px;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-slot-games__description,
    .page-slot-games__text-block {
        font-size: 15px;
        margin-bottom: 20px;
        text-align: left; /* Adjust for better mobile readability */
    }
    .page-slot-games img { /* Universal image responsive rule */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games__card,
    .page-slot-games__section,
    .page-slot-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Hero Section Responsive */
    .page-slot-games__hero-section {
        padding-top: 10px;
        padding-bottom: 30px;
    }
    .page-slot-games__hero-image {
        max-height: 250px;
        object-fit: cover;
        margin-bottom: 20px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-slot-games__hero-content .page-slot-games__description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-slot-games__cta-buttons .page-slot-games__btn-primary,
    .page-slot-games__cta-buttons .page-slot-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 15px 20px;
    }

    /* Game Categories Section Responsive */
    .page-slot-games__grid-layout {
        grid-template-columns: repeat(2, 1fr); /* Two columns for categories */
        gap: 20px;
    }
    .page-slot-games__category-card {
        padding: 15px;
    }
    .page-slot-games__category-card img {
        min-
        min-
        max-width: 100%;
    }
    .page-slot-games__category-card .page-slot-games__card-title {
        font-size: 18px;
    }
    .page-slot-games__category-card p {
        font-size: 14px;
    }

    /* Featured Games Section Responsive */
    .page-slot-games__game-list {
        grid-template-columns: 1fr; /* Single column for game list */
        gap: 20px;
    }
    .page-slot-games__game-card {
        padding: 15px;
    }
    .page-slot-games__game-card img {
        min-width: 200px;
        min-height: 200px;
        max-width: 100%;
    }
    .page-slot-games__game-card .page-slot-games__game-title {
        font-size: 18px;
    }
    .page-slot-games__game-card .page-slot-games__game-btn {
        max-width: 100%;
    }
    .page-slot-games__view-all-games-container {
        margin-top: 30px;
    }
    .page-slot-games__view-all-games-container .page-slot-games__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 15px 20px;
    }


    /* How To Play Section Responsive */
    .page-slot-games__steps-grid {
        grid-template-columns: 1fr; /* Single column for steps */
        gap: 20px;
    }
    .page-slot-games__step-card {
        padding: 20px;
    }
    .page-slot-games__step-card .page-slot-games__step-title {
        font-size: 20px;
    }
    .page-slot-games__step-card p {
        font-size: 15px;
    }
    .page-slot-games__step-card .page-slot-games__step-btn {
        max-width: 100%;
    }

    /* Promotions Section Responsive */
    .page-slot-games__promo-grid {
        grid-template-columns: 1fr; /* Single column for promotions */
        gap: 20px;
    }
    .page-slot-games__promo-card {
        padding: 20px;
    }
    .page-slot-games__promo-card img {
        min-width: 200px;
        min-height: 200px;
        max-width: 100%;
    }
    .page-slot-games__promo-card .page-slot-games__promo-title {
        font-size: 18px;
    }
    .page-slot-games__promo-card .page-slot-games__promo-btn {
        max-width: 100%;
    }
    .page-slot-games__view-all-promos-container {
        margin-top: 30px;
    }
    .page-slot-games__view-all-promos-container .page-slot-games__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 15px 20px;
    }

    /* FAQ Section Responsive */
    details.page-slot-games__faq-item summary.page-slot-games__faq-question {
        padding: 15px;
    }
    .page-slot-games__faq-qtext {
        font-size: 15px;
    }
    details.page-slot-games__faq-item .page-slot-games__faq-answer {
        padding: 0 15px 15px;
    }

    /* SEO Content Section Responsive */
    .page-slot-games__feature-list {
        padding-left: 20px;
        font-size: 15px;
    }
}