/* style/slot-games.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-dark: #1a1a2e; /* From body background info */
    --login-color: #EA7C07;
}

/* Base styles for the page content */
.page-slot-games {
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark); /* Ensure main content area matches body if not specified otherwise */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-slot-games__dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-slot-games__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    overflow: hidden;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    filter: brightness(0.5); /* Slightly darken image for text readability */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    margin-top: 100px; /* Push content below the image's top edge */
}

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-slot-games__description {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.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-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
    text-align: center;
}

.page-slot-games__btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.page-slot-games__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-slot-games__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-slot-games__btn-link {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 15px;
    font-size: 0.9rem;
}

.page-slot-games__btn-link:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Sections */
.page-slot-games__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

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

.page-slot-games__sub-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: inherit;
}

.page-slot-games__text-block {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: inherit;
}

/* Cards */
.page-slot-games__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent for dark bg */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: var(--text-light); /* For dark sections */
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__light-bg .page-slot-games__card {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border: 1px solid #e0e0e0;
}

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

.page-slot-games__card-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

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

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

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

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

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

.page-slot-games__step-card {
    padding-top: 40px;
    position: relative;
}

.page-slot-games__step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 0 0 5px var(--primary-color);
}

/* Promotions */
.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 {
    text-align: left;
}

.page-slot-games__promo-card .page-slot-games__card-image {
    height: 225px; /* Fixed height for consistent look */
}

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

.page-slot-games__info-item {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__info-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-slot-games__info-text {
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* Mobile Section */
.page-slot-games__mobile-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-slot-games__mobile-image {
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

.page-slot-games__mobile-text-content {
    flex: 1;
}

/* FAQ Section */
.page-slot-games__faq-list {
    margin-top: 40px;
}

.page-slot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-light);
}

.page-slot-games__light-bg .page-slot-games__faq-item {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border: 1px solid #e0e0e0;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none; /* For details/summary */
}

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

.page-slot-games__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
    color: inherit;
}

.page-slot-games__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    width: 25px;
    text-align: center;
    color: var(--primary-color);
}

.page-slot-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: inherit;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__light-bg .page-slot-games__faq-item[open] .page-slot-games__faq-question {
    border-bottom: 1px solid #e0e0e0;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-slot-games__hero-content {
        margin-top: 60px;
    }
    .page-slot-games__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-slot-games__description {
        font-size: 1.1rem;
    }
    .page-slot-games__mobile-content {
        flex-direction: column;
        text-align: center;
    }
    .page-slot-games__mobile-image {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .page-slot-games__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__hero-section {
        padding-bottom: 40px;
    }
    .page-slot-games__hero-content {
        margin-top: 40px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-slot-games__description {
        font-size: 1rem;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-link {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Images and Videos responsiveness */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-slot-games video,
    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__video-section,
    .page-slot-games__video-container,
    .page-slot-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-slot-games__hero-image {
        min-height: 300px; /* Ensure hero image is not too small on mobile */
    }
    .page-slot-games__mobile-image {
        max-width: 100%;
    }
    .page-slot-games__video-section {
        padding-top: 10px !important; /* body handles --header-offset */
    }
}

@media (max-width: 480px) {
    .page-slot-games__section-title {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
    }
    .page-slot-games__section-description {
        font-size: 0.9rem;
    }
    .page-slot-games__card-title {
        font-size: 1.2rem;
    }
    .page-slot-games__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-slot-games__faq-answer {
        padding: 0 20px 15px 20px;
    }
}