.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Default text color for dark body background */
    line-height: 1.6;
    background-color: #121212; /* Matches body background from shared.css */
}

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

.page-slot-games__hero-section {
    position: relative;
    padding-top: 10px; /* Adjusting for fixed header, small top padding */
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

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

.page-slot-games__hero-content {
    padding: 40px 20px;
    width: 100%;
    background: linear-gradient(to bottom, rgba(1, 116, 57, 0.8), #017439); /* Brand green with transparency */
    color: #ffffff;
    box-sizing: border-box;
}

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    line-height: 1.2;
}

.page-slot-games__description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-slot-games__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-slot-games__btn-primary:hover {
    background-color: #a00606;
    transform: translateY(-2px);
}

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

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

.page-slot-games__btn-tertiary {
    background-color: transparent;
    color: #017439;
    border: 2px solid #017439;
}

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

.page-slot-games__light-bg {
    background-color: #ffffff;
    color: #333333;
    padding: 60px 0;
}

.page-slot-games__dark-bg {
    background-color: #017439;
    color: #ffffff;
    padding: 60px 0;
}

.page-slot-games__section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: inherit;
}

.page-slot-games__description-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
}

.page-slot-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.page-slot-games__feature-item {
    text-align: center;
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-slot-games__feature-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 20px;
}

.page-slot-games__feature-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #017439;
}

.page-slot-games__feature-text {
    font-size: 1rem;
    color: #555555;
}

.page-slot-games__game-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-slot-games__game-type-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-slot-games__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-slot-games__card-text {
    font-size: 1rem;
    color: #f0f0f0;
}

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

.page-slot-games__step-item {
    text-align: center;
    background-color: #f8f8f8;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.page-slot-games__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #017439;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #ffffff;
}

.page-slot-games__step-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 15px;
    color: #017439;
}

.page-slot-games__step-text {
    font-size: 1rem;
    color: #555555;
    margin-bottom: 20px;
}

.page-slot-games__btn-register {
    background-color: #C30808;
    color: #FFFF00;
    border-color: #C30808;
}

.page-slot-games__btn-register:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-slot-games__btn-play-now {
    background-color: #017439;
    color: #ffffff;
    border-color: #017439;
}

.page-slot-games__btn-play-now:hover {
    background-color: #005a2d;
    border-color: #005a2d;
}

.page-slot-games__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-slot-games__promotion-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__promotion-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-slot-games__promotion-card .page-slot-games__card-title {
    color: #ffffff;
    margin-bottom: 10px;
}

.page-slot-games__promotion-card .page-slot-games__card-text {
    color: #f0f0f0;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-slot-games__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-slot-games__tip-item {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-slot-games__tip-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #017439;
}

.page-slot-games__tip-text {
    font-size: 1rem;
    color: #555555;
}

.page-slot-games__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-slot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    color: #ffffff;
}

.page-slot-games__faq-question::-webkit-details-marker {
    display: none;
}

.page-slot-games__faq-question .page-slot-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: #ffffff;
}

.page-slot-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: #f0f0f0;
}

.page-slot-games__faq-answer p {
    margin-bottom: 10px;
}

.page-slot-games__faq-answer a {
    color: #FFFF00;
    text-decoration: underline;
}

.page-slot-games__cta-final {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* General image and container responsiveness */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-slot-games__section,
.page-slot-games__card,
.page-slot-games__container {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-slot-games__hero-section {
        padding-top: 10px !important;
    }

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

    .page-slot-games__hero-content {
        padding: 30px 15px;
    }

    .page-slot-games__main-title {
        font-size: 2rem;
    }

    .page-slot-games__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 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__light-bg,
    .page-slot-games__dark-bg {
        padding: 40px 0;
    }

    .page-slot-games__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .page-slot-games__description-text {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .page-slot-games__features-grid,
    .page-slot-games__game-type-grid,
    .page-slot-games__steps-grid,
    .page-slot-games__promotions-grid,
    .page-slot-games__tips-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-slot-games__feature-item,
    .page-slot-games__game-type-card,
    .page-slot-games__step-item,
    .page-slot-games__promotion-card,
    .page-slot-games__tip-item {
        padding: 25px;
    }

    .page-slot-games__feature-title,
    .page-slot-games__card-title,
    .page-slot-games__step-title,
    .page-slot-games__tip-title {
        font-size: 1.3rem;
    }

    .page-slot-games__feature-text,
    .page-slot-games__card-text,
    .page-slot-games__step-text,
    .page-slot-games__tip-text {
        font-size: 0.95rem;
    }

    .page-slot-games__step-number {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
        top: -15px;
    }

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

    .page-slot-games__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95rem;
    }

    .page-slot-games__cta-final {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
    }

    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Ensure button containers handle wrap */
    .page-slot-games__cta-buttons,
    .page-slot-games__button-group,
    .page-slot-games__btn-container,
    .page-slot-games__cta-final {
        flex-wrap: wrap !important;
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__cta-buttons {
        display: flex;
        flex-direction: column; /* Mobile vertical stacking */
    }
}