/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #ffffff; /* Default text color for main content */
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, #000000 0%, #26A9E0 100%); /* Blend with brand color */
    text-align: center;
}

.page-slot-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3; /* Make background image subtle */
}

.page-slot-games__hero-section .page-slot-games__container {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-slot-games__hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-slot-games__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* For responsiveness */
}

/* General Button Styles */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-slot-games__btn-primary:hover {
    background-color: #1a8cc2;
    border-color: #1a8cc2;
}

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

.page-slot-games__btn-secondary:hover {
    background-color: #ffffff;
    color: #26A9E0;
}

.page-slot-games__btn-tertiary {
    background-color: #EA7C07; /* Login color */
    color: #ffffff;
    border: 2px solid #EA7C07;
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
}

.page-slot-games__btn-tertiary:hover {
    background-color: #c96a06;
    border-color: #c96a06;
}

.page-slot-games__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
}

.page-slot-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

/* Section Backgrounds */
.page-slot-games__dark-bg {
    background-color: #000000;
    color: #ffffff;
}

.page-slot-games__light-bg {
    background-color: #1a1a1a; /* Darker grey for contrast on black body */
    color: #ffffff;
}

/* About Section */
.page-slot-games__about-section,
.page-slot-games__game-types-section,
.page-slot-games__features-section,
.page-slot-games__benefits-section,
.page-slot-games__how-to-play-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section,
.page-slot-games__cta-final-section {
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* List Styles */
.page-slot-games__list {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px auto;
    max-width: 800px;
    text-align: left;
}

.page-slot-games__list-item {
    font-size: 1.1em;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #f0f0f0;
}

.page-slot-games__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #26A9E0;
}

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

.page-slot-games__feature-card,
.page-slot-games__promo-card {
    background-color: #0d0d0d; /* Slightly lighter than body for cards on dark background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__feature-title,
.page-slot-games__promo-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-slot-games__feature-description,
.page-slot-games__promo-description {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* How-To-Play Steps */
.page-slot-games__steps-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 60px auto;
    max-width: 900px;
    text-align: left;
}

.page-slot-games__steps-item {
    background-color: #0d0d0d;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    padding-left: 80px;
    color: #ffffff;
}

.page-slot-games__steps-item::before {
    content: attr(data-step); /* Use data attribute for step number */
    position: absolute;
    left: 20px;
    top: 30px;
    background-color: #26A9E0;
    color: #ffffff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}
.page-slot-games__steps-list .page-slot-games__steps-item:nth-child(1)::before { content: '1'; }
.page-slot-games__steps-list .page-slot-games__steps-item:nth-child(2)::before { content: '2'; }
.page-slot-games__steps-list .page-slot-games__steps-item:nth-child(3)::before { content: '3'; }
.page-slot-games__steps-list .page-slot-games__steps-item:nth-child(4)::before { content: '4'; }


.page-slot-games__steps-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-slot-games__steps-description {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 15px;
}

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

.page-slot-games__faq-item {
    background-color: #0d0d0d;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #1a1a1a; /* Slightly darker for question header */
    transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: #ffffff;
}

.page-slot-games__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease, color 0.3s ease;
}

.page-slot-games__faq-question:hover .page-slot-games__faq-toggle {
    color: #ffffff;
}

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #0d0d0d;
    color: #f0f0f0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 20px 25px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg);
    color: #ffffff;
}

.page-slot-games__faq-text {
    margin-bottom: 15px;
    font-size: 1em;
}

.page-slot-games__faq-text:last-child {
    margin-bottom: 0;
}

/* Final CTA Section */
.page-slot-games__cta-final-section {
    padding-top: 60px;
    padding-bottom: 80px;
}

.page-slot-games__cta-final-section .page-slot-games__section-title {
    color: #ffffff;
}

.page-slot-games__cta-final-section .page-slot-games__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 3em;
    }
    .page-slot-games__hero-description {
        font-size: 1.2em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        min-height: 500px;
        padding-bottom: 60px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-slot-games__hero-title {
        font-size: 2.5em;
    }
    .page-slot-games__hero-description {
        font-size: 1.1em;
    }
    .page-slot-games__hero-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-tertiary {
        max-width: 100% !important;
        width: calc(100% - 30px) !important; /* Account for padding */
        box-sizing: border-box !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;
        margin-bottom: 30px;
    }
    .page-slot-games__text-block,
    .page-slot-games__list-item,
    .page-slot-games__feature-description,
    .page-slot-games__promo-description,
    .page-slot-games__steps-description,
    .page-slot-games__faq-text {
        font-size: 1em;
    }

    .page-slot-games__about-section,
    .page-slot-games__game-types-section,
    .page-slot-games__features-section,
    .page-slot-games__benefits-section,
    .page-slot-games__how-to-play-section,
.page-slot-games__promotions-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-final-section {
        padding: 50px 0;
    }

    .page-slot-games__image-content {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games__container {
        padding: 0 15px; /* Add padding to prevent content touching edges */
    }

    .page-slot-games__feature-grid,
    .page-slot-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .page-slot-games__steps-item {
        padding-left: 60px;
    }
    .page-slot-games__steps-item::before {
        width: 30px;
        height: 30px;
        font-size: 1.2em;
        left: 15px;
        top: 25px;
    }

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

/* Ensure all image containers are responsive */
.page-slot-games__section,
.page-slot-games__card,
.page-slot-games__container,
.page-slot-games__promo-grid,
.page-slot-games__feature-grid,
.page-slot-games__cta-buttons {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* Prevent horizontal scroll from overflowing content */
}

/* Specific image styling to ensure no filter */
.page-slot-games img {
    filter: none; /* Explicitly disable any filters */
}