/* style/slot-games.css */

/* Base styles for the page, ensuring light text on dark body background */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Light text on dark body background */
    background-color: #121212; /* Inherited from shared.css or set here if not */
    line-height: 1.6;
    font-size: 16px;
}

/* Section styling */
.page-slot-games__section {
    padding: 60px 20px;
    background-color: #1a1a1a; /* Slightly lighter dark background for sections */
    margin-bottom: 20px;
}

.page-slot-games__section:last-of-type {
    margin-bottom: 0;
}

.page-slot-games__dark-bg {
    background-color: #1a1a1a;
    color: #ffffff;
}

.page-slot-games__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* Container for content width */
.page-slot-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Add some padding for smaller screens */
    box-sizing: border-box;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom */
    overflow: hidden;
    background-color: #1a1a1a;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (height / width * 100%) */
    overflow: hidden;
}

.page-slot-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* No filter allowed */
}

.page-slot-games__hero-content {
    text-align: center;
    padding: 40px 15px;
    max-width: 900px;
    margin-top: -100px; /* Overlap with image slightly for visual effect */
    position: relative;
    z-index: 2;
    background-color: rgba(26, 26, 26, 0.8); /* Semi-transparent background for text */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Titles */
.page-slot-games__main-title {
    color: #26A9E0; /* Brand color for main title */
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-slot-games__section-title {
    color: #26A9E0; /* Brand color for section titles */
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

.page-slot-games__feature-title {
    color: #26A9E0;
    font-size: 1.5rem;
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: center;
}

/* Description and text blocks */
.page-slot-games__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-slot-games__text-block {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #e0e0e0;
}

/* CTA Buttons */
.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    margin-top: 30px;
}

.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.1rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button adapts to container */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.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: #1e87c0;
    border-color: #1e87c0;
}

.page-slot-games__btn-secondary {
    background-color: #EA7C07; /* Login/Register specific color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-slot-games__btn-secondary:hover {
    background-color: #c96706;
    border-color: #c96706;
}

.page-slot-games__btn-large {
    min-width: 220px;
}

/* Feature Grid */
.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: rgba(255, 255, 255, 0.08); /* Light transparent background for cards */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff; /* Light text for cards on dark background */
}

.page-slot-games__feature-card .page-slot-games__feature-title {
    color: #26A9E0;
}

.page-slot-games__feature-card .page-slot-games__feature-description {
    color: #e0e0e0;
}

.page-slot-games__feature-icon {
    width: 100%;
    height: auto;
    max-width: 250px; /* Constrain image size within card */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
    /* No filter allowed */
}

/* Lists */
.page-slot-games__list,
.page-slot-games__numbered-list {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-slot-games__numbered-list {
    list-style-type: decimal;
}

.page-slot-games__list-item {
    margin-bottom: 10px;
    font-size: 1rem;
}

.page-slot-games__list-item strong {
    color: #26A9E0;
}

.page-slot-games__list-item a {
    color: #26A9E0;
    text-decoration: underline;
}
.page-slot-games__list-item a:hover {
    color: #1e87c0;
}

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

.page-slot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Light transparent background for FAQ items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff; /* Light text */
}

.page-slot-games__faq-item details {
    border-radius: 8px;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #26A9E0; /* Brand color for question background */
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    list-style: none; /* For details/summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for details/summary */
}

.page-slot-games__faq-qtext {
    flex-grow: 1;
}

.page-slot-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to cross */
}

.page-slot-games__faq-answer {
    padding: 20px 25px;
    background-color: #2a2a2a; /* Slightly darker background for answer */
    color: #e0e0e0;
    font-size: 1rem;
}

.page-slot-games__faq-answer p {
    margin: 0;
}

/* Links within content */
.page-slot-games a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games a:hover {
    color: #1e87c0;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-content {
        margin-top: -80px;
        padding: 30px;
    }
    .page-slot-games__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-slot-games__section-title {
        font-size: clamp(1.6rem, 4vw, 2.5rem);
    }
    .page-slot-games__feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    /* General mobile padding */
    .page-slot-games__section,
    .page-slot-games__hero-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__container {
        padding: 0; /* Container already has padding, remove for sections */
    }

    .page-slot-games__hero-content {
        margin-top: -60px;
        padding: 25px 15px;
    }

    .page-slot-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

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

    .page-slot-games__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 25px;
    }

    .page-slot-games__cta-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: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__feature-grid {
        grid-template-columns: 1fr;
    }

    .page-slot-games__feature-card {
        padding: 25px;
    }

    .page-slot-games__list,
    .page-slot-games__numbered-list {
        padding-left: 20px;
    }

    .page-slot-games__list-item {
        font-size: 0.95rem;
    }

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

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

    /* Mobile image responsiveness */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Enforce minimum size */
        min-height: 200px !important; /* Enforce minimum size */
    }
    
    /* Ensure image containers adapt */
    .page-slot-games__hero-image-wrapper,
    .page-slot-games__feature-icon {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Video responsiveness - not present in this page, but good to have a placeholder */
    .page-slot-games video,
    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .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;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    /* Small top padding for video section, not var(--header-offset) */
    .page-slot-games__video-section {
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-content {
        margin-top: -40px;
        padding: 20px 10px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }
    .page-slot-games__section-title {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }
    .page-slot-games__btn-large {
        min-width: unset;
    }
}