.page-slot-games {
    color: #333333; /* Default text color for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #F5F7FA; /* Body background from shared.css */
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    background-color: #F5F7FA; /* Ensure consistent background */
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

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

.page-slot-games__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
    margin-top: -80px; /* Overlap slightly with the image for visual effect */
    background-color: #ffffff; /* White background for content block */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    position: relative;
}

.page-slot-games__hero-title {
    font-size: clamp(2em, 4vw, 3em); /* Responsive font size */
    font-weight: bold;
    color: #E53935;
    margin-bottom: 15px;
    line-height: 1.2;
}

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

.page-slot-games__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* General Section Styling */
.page-slot-games__about-section,
.page-slot-games__game-types-section,
.page-slot-games__features-section,
.page-slot-games__how-to-play-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section,
.page-slot-games__cta-bottom-section {
    padding: 60px 0;
    text-align: center;
}

.page-slot-games__dark-bg {
    background-color: #E53935; /* Main brand color for dark sections */
    color: #ffffff;
}

.page-slot-games__light-bg {
    background-color: #F5F7FA; /* Body background color */
    color: #333333;
}

.page-slot-games__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-slot-games__dark-bg .page-slot-games__section-title {
    color: #ffffff;
}

.page-slot-games__light-bg .page-slot-games__section-title {
    color: #E53935; /* Brand color for titles on light background */
}

.page-slot-games__section-description {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: inherit; /* Inherit from section, either #333333 or #ffffff */
}

.page-slot-games__text-block {
    text-align: left;
    margin-bottom: 20px;
    font-size: 1em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: inherit; /* Inherit from section */
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

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

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

.page-slot-games__btn-secondary {
    background-color: #ffffff;
    color: #E53935;
    border: 2px solid #E53935;
}

.page-slot-games__btn-secondary:hover {
    background-color: #E53935;
    color: #ffffff;
    transform: translateY(-2px);
}

.page-slot-games__btn-tertiary {
    background-color: transparent;
    color: #E53935;
    border: 2px solid #FF5A4F;
    padding: 8px 18px;
    border-radius: 30px;
}

.page-slot-games__btn-tertiary:hover {
    background-color: #FF5A4F;
    color: #ffffff;
}

.page-slot-games__cta-center {
    margin-top: 40px;
}

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

.page-slot-games__game-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__game-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-slot-games__game-card-title {
    font-size: 1.4em;
    color: #E53935;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-slot-games__game-card-text {
    font-size: 0.95em;
    color: #555555;
    margin-bottom: 20px;
    padding: 0 15px;
    flex-grow: 1;
}

/* Features Section */
.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: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
}

.page-slot-games__feature-icon {
    width: 200px; /* Explicitly set to meet minimum requirement */
    height: 200px;
    min-width: 200px; /* Enforce minimum size for all images */
    min-height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__feature-title {
    font-size: 1.3em;
    color: #E53935;
    margin-bottom: 10px;
}

.page-slot-games__feature-text {
    font-size: 0.95em;
    color: #555555;
}

/* How to Play Section */
.page-slot-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-slot-games__guide-step {
    background-color: #FF5A4F; /* Auxiliary brand color */
    color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: #E53935;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-title {
    font-size: 1.2em;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-slot-games__step-text {
    font-size: 0.95em;
    color: #f0f0f0;
}

.page-slot-games__guide-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}

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

.page-slot-games__promo-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
}

.page-slot-games__promo-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-slot-games__promo-card-title {
    font-size: 1.3em;
    color: #E53935;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-slot-games__promo-card-text {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px;
}

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

.page-slot-games__faq-item {
    background-color: #FF5A4F; /* Auxiliary brand color */
    color: #ffffff;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    background-color: #E53935; /* Main brand color for summary */
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-slot-games__faq-question::marker {
    display: none; /* Hide default marker */
}

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

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-slot-games__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1em;
    color: #f0f0f0;
    line-height: 1.5;
}

/* CTA Bottom Section */
.page-slot-games__cta-bottom-section .page-slot-games__cta-content {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 40px 20px;
    margin: 0 auto;
    max-width: 900px;
}

.page-slot-games__cta-bottom-section .page-slot-games__section-title {
    color: #E53935;
}

.page-slot-games__cta-bottom-section .page-slot-games__section-description {
    color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-content {
        margin-top: -60px;
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding: 10px 0 40px 0;
    }

    .page-slot-games__hero-content {
        margin-top: -40px;
        padding: 25px 15px;
    }

    .page-slot-games__hero-title {
        font-size: 2em;
    }

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

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }
    
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-tertiary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-slot-games__section-title {
        font-size: 1.8em;
    }

    .page-slot-games__section-description,
    .page-slot-games__text-block {
        font-size: 0.95em;
    }

    .page-slot-games__game-cards,
    .page-slot-games__features-grid,
    .page-slot-games__guide-steps,
    .page-slot-games__promo-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__game-card-image,
    .page-slot-games__promo-card-image {
        height: 180px;
    }

    /* Images responsiveness */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure minimum size is maintained or scaled down correctly */
        min-height: 200px !important;
    }
    
    /* All containers that hold images, videos, buttons */
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__hero-image-wrapper,
    .page-slot-games__cta-buttons,
    .page-slot-games__button-group,
    .page-slot-games__btn-container,
    .page-slot-games__game-card,
    .page-slot-games__feature-item,
    .page-slot-games__guide-step,
    .page-slot-games__promo-card,
    .page-slot-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent content overflow */
    }

    /* Specific padding for sections if needed */
    .page-slot-games__about-section,
    .page-slot-games__game-types-section,
    .page-slot-games__features-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__promotions-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-bottom-section {
        padding: 40px 0;
    }
}

/* Color contrast fixes if needed for specific elements */
.page-slot-games__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}