/* style/slot-games.css */

/* Base styles for the page */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0d0d0d; /* Matching body background */
}

/* Sections */
.page-slot-games__section {
    padding: 60px 0;
    text-align: center;
}

.page-slot-games__dark-bg {
    background-color: #0d0d0d; /* Dark background from body */
    color: #ffffff;
}

.page-slot-games__light-bg {
    background-color: #ffffff; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
}

.page-slot-games__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #26A9E0; /* Primary color for titles on dark background */
    font-weight: bold;
}

.page-slot-games__section-title--dark {
    color: #333333; /* Dark color for titles on light background */
}

.page-slot-games__section-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0; /* Slightly off-white for description on dark bg */
}

.page-slot-games__section-description--dark {
    color: #666666; /* Darker color for description on light bg */
}

/* Container for content */
.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;
    width: 100%;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

.page-slot-games__video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-slot-games__hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire area */
    display: block;
}

.page-slot-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-slot-games__hero-content {
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
    z-index: 2;
}

.page-slot-games__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #26A9E0; /* Brand primary color for hero title */
}

.page-slot-games__hero-description {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: #ffffff;
}

.page-slot-games__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    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%; /* For mobile responsiveness */
    white-space: normal;
    word-wrap: break-word;
}

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

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

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

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

.page-slot-games__btn-inline {
    margin-top: 20px;
}

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

/* Introduction Section */
.page-slot-games__introduction {
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-slot-games__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.page-slot-games__text-block {
    flex: 1;
}

.page-slot-games__text-block p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-slot-games__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-slot-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: block; /* Ensure no extra space below image */
}

/* Popular Games Section */
.page-slot-games__popular-games {
    background-color: #ffffff; /* Light background */
    color: #333333;
}

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

.page-slot-games__game-card {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: #333333;
}

.page-slot-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__game-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-slot-games__game-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #26A9E0; /* Primary color for game titles */
}

.page-slot-games__game-description {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
    color: #666666;
}

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

.page-slot-games__benefit-item {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.page-slot-games__benefit-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    /* filter: brightness(1.2); Removed as per instruction to not use filter */
}

.page-slot-games__benefit-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #26A9E0; /* Primary color for benefit titles */
}

.page-slot-games__benefit-description {
    font-size: 1em;
    color: #f0f0f0;
}

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

.page-slot-games__step-item {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    color: #333333;
}

.page-slot-games__step-number {
    width: 50px;
    height: 50px;
    background-color: #26A9E0;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

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

.page-slot-games__step-description {
    font-size: 1em;
    color: #666666;
}

/* Promotions Section */
.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: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__promo-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

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

/* Tips Section */
.page-slot-games__tip-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
}

.page-slot-games__tip-item {
    background-color: #f8f8f8;
    border-left: 5px solid #26A9E0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333;
}

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

.page-slot-games__tip-description {
    font-size: 1em;
    color: #666666;
}

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

.page-slot-games__faq-item {
    background: rgba(255, 255, 255, 0.08); /* Slightly lighter on dark background */
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    color: #ffffff;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    background-color: #26A9E0; /* Primary color for question background */
    transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-question h3 {
    margin: 0;
    color: #ffffff;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #ffffff;
}

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

.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: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
    color: #f0f0f0;
}

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

.page-slot-games__faq-answer p {
    margin: 0;
    font-size: 1em;
    color: #f0f0f0;
}

.page-slot-games__faq-answer a {
    color: #26A9E0; /* Link color within FAQ answer */
    text-decoration: underline;
}

.page-slot-games__faq-answer a:hover {
    color: #1e87b7;
}

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

/* Ensure no image filters */
.page-slot-games img {
    filter: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 3em;
    }
    .page-slot-games__hero-description {
        font-size: 1.3em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__content-grid {
        flex-direction: column;
    }
    .page-slot-games__text-block,
    .page-slot-games__image-block {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        height: 60vh; /* Adjust hero height for mobile */
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
    }
    .page-slot-games__hero-title {
        font-size: 2.2em;
    }
    .page-slot-games__hero-description {
        font-size: 1.1em;
    }
    .page-slot-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-slot-games__section {
        padding: 40px 0;
    }
    .page-slot-games__container {
        padding: 0 15px; /* Mobile padding for content */
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
    }
    .page-slot-games__section-description {
        font-size: 1em;
    }

    /* Images and Videos Mobile Responsive */
    .page-slot-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games video,
    .page-slot-games__hero-video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games__video-wrapper,
    .page-slot-games__image-block,
    .page-slot-games__game-card,
    .page-slot-games__benefit-item,
    .page-slot-games__step-item,
    .page-slot-games__promo-card,
    .page-slot-games__tip-item,
    .page-slot-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-slot-games__game-grid,
    .page-slot-games__benefits-grid,
    .page-slot-games__guide-steps,
    .page-slot-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__faq-question,
    .page-slot-games__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
}