/* style/slot-games.css */

/* Base Styles for the page-slot-games scope */
.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 (#000000) */
}

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

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

/* Section Descriptions */
.page-slot-games__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0; /* Lighter white for descriptions */
}

/* Dark Background Sections */
.page-slot-games__dark-bg {
    background-color: #0d0d0d; /* Slightly lighter than body for contrast, but still dark */
    padding: 60px 0;
}

/* Light Background Sections */
.page-slot-games__light-bg {
    background-color: #ffffff;
    color: #333333; /* Dark text for light background */
    padding: 60px 0;
}

/* Text Contrast Fix for light background sections */
.page-slot-games__text-contrast-fix {
    color: #333333;
}

/* Card Contrast Fix for light background sections */
.page-slot-games__contrast-fix {
    background: #ffffff;
    color: #333333;
    border: 1px solid #e0e0e0;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-slot-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.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 */
    z-index: 2;
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.7); /* Dark background for hero content */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Ensure padding is included in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
}

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

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

.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-link {
    background: none;
    border: none;
    color: #26A9E0;
    padding: 0;
    text-decoration: underline;
    font-size: 1em;
}

.page-slot-games__btn-link:hover {
    color: #1a7fb3;
}

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

.page-slot-games__feature-card {
    background-color: #ffffff; /* Light background for cards */
    color: #333333; /* Dark text for light background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

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

.page-slot-games__card-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-slot-games__card-description {
    font-size: 1em;
    color: #555555;
}

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

.page-slot-games__game-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__game-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-slot-games__game-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-slot-games__game-title a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__game-title a:hover {
    color: #ffffff;
}

.page-slot-games__game-provider {
    font-size: 0.9em;
    color: #cccccc;
}

/* Jackpot Section */
.page-slot-games__jackpot-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-slot-games__jackpot-image {
    flex: 1;
    min-width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.page-slot-games__jackpot-text {
    flex: 2;
    min-width: 300px;
    color: #333333; /* Dark text for light background */
}

.page-slot-games__promo-list {
    list-style: disc inside;
    margin: 20px 0;
    padding-left: 20px;
    color: #555555;
}

.page-slot-games__promo-list li {
    margin-bottom: 10px;
}

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

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

.page-slot-games__step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: #26A9E0;
    color: #ffffff;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

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

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

/* Tips Section */
.page-slot-games__tips-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 800px;
    text-align: left;
    color: #333333; /* Dark text for light background */
}

.page-slot-games__tips-list li {
    background-color: #f9f9f9;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid #26A9E0;
    border-radius: 5px;
    font-size: 1.1em;
    color: #333333;
}

.page-slot-games__tips-list li strong {
    color: #26A9E0;
}

/* FAQ Section */
.page-slot-games__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: 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: 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games__faq-title {
    font-size: 1.3em;
    color: #26A9E0;
    margin: 0;
}

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

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Plus to X */
}

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

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

.page-slot-games__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
    color: #f0f0f0;
}

/* Final CTA Section */
.page-slot-games__cta-final {
    text-align: center;
    padding: 80px 0;
}

.page-slot-games__cta-final .page-slot-games__hero-buttons {
    margin-top: 40px;
}

/* Image Responsive Styles (Global for this page) */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 3em;
    }
    .page-slot-games__hero-description {
        font-size: 1.1em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__jackpot-content {
        flex-direction: column;
        align-items: center;
    }
    .page-slot-games__jackpot-image,
    .page-slot-games__jackpot-text {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

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

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

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

    .page-slot-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
}