/* style/fortune-mouse.css */

/* Base styles for the page */
.page-fortune-mouse {
    font-family: 'Arial', sans-serif; /* Example font */
    color: #FFF6D6; /* Text Main color on dark background */
    background-color: #0A0A0A; /* Page background color */
    line-height: 1.6;
}

.page-fortune-mouse__dark-bg {
    background-color: #0A0A0A; /* Consistent dark background */
    color: #FFF6D6;
}

.page-fortune-mouse__light-bg {
    background-color: #111111; /* Card BG color, slightly lighter dark */
    color: #FFF6D6;
}

/* Hero Section */
.page-fortune-mouse__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0; /* Image takes full width, content overlays */
    overflow: hidden;
}

.page-fortune-mouse__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for aesthetic reasons */
    overflow: hidden;
}

.page-fortune-mouse__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-fortune-mouse__hero-content {
    position: relative; /* Not absolute, just normal flow */
    padding: 40px 20px;
    max-width: 900px;
    z-index: 2;
    background-color: rgba(10, 10, 10, 0.8); /* Semi-transparent background for readability */
    border-radius: 8px;
    margin-top: -100px; /* Pull content up slightly over the image if desired, but not over text */
    margin-bottom: 40px;
}

.page-fortune-mouse__main-title {
    font-size: clamp(2em, 5vw, 3.2em); /* Responsive font size */
    font-weight: bold;
    color: #F2C14E; /* Main color for title */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-fortune-mouse__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #FFF6D6;
}

/* Video Section */
.page-fortune-mouse__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #0A0A0A;
}

.page-fortune-mouse__video-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 30px;
}

.page-fortune-mouse__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-fortune-mouse__video-caption {
    text-align: center;
    max-width: 800px;
}

/* General Section Styles */
.page-fortune-mouse__section-title {
    font-size: 2.5em;
    color: #F2C14E;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
}

.page-fortune-mouse__content-block {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: #111111; /* Card BG */
    border-radius: 8px;
    border: 1px solid #3A2A12; /* Border color */
    margin-bottom: 40px;
}

.page-fortune-mouse__content-block p {
    margin-bottom: 15px;
    color: #FFF6D6;
}

.page-fortune-mouse__content-block a {
    color: #FFD36B; /* Auxiliary color for links */
    text-decoration: underline;
}

.page-fortune-mouse__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
    object-fit: cover;
}

/* Lists */
.page-fortune-mouse__numbered-list,
.page-fortune-mouse__bullet-list {
    list-style-position: inside;
    margin-bottom: 20px;
    padding-left: 20px; /* Indent list items */
    color: #FFF6D6;
}

.page-fortune-mouse__numbered-list li,
.page-fortune-mouse__bullet-list li {
    margin-bottom: 10px;
}

.page-fortune-mouse__bullet-list {
    list-style-type: disc;
}

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

.page-fortune-mouse__btn-primary,
.page-fortune-mouse__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

.page-fortune-mouse__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Dark text on bright button */
    border: 2px solid transparent;
}

.page-fortune-mouse__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-fortune-mouse__btn-secondary {
    background: transparent;
    color: #FFD36B; /* Auxiliary color */
    border: 2px solid #FFD36B; /* Auxiliary color border */
}

.page-fortune-mouse__btn-secondary:hover {
    background: #FFD36B;
    color: #111111; /* Dark text on auxiliary color */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

/* FAQ Section */
.page-fortune-mouse__faq-section {
    padding: 60px 20px;
    background-color: #111111; /* Card BG color */
}

.page-fortune-mouse__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-fortune-mouse__faq-item {
    background-color: #0A0A0A; /* Darker background for FAQ items */
    border: 1px solid #3A2A12;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-fortune-mouse__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    color: #F2C14E; /* Main color for questions */
    font-size: 1.1em;
    list-style: none; /* For <details> summary */
}

.page-fortune-mouse__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for <details> */
}

.page-fortune-mouse__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFD36B; /* Auxiliary color for toggle */
}

.page-fortune-mouse__faq-item[open] .page-fortune-mouse__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or '−' */
}

.page-fortune-mouse__faq-answer {
    padding: 0 25px 20px;
    color: #FFF6D6;
    font-size: 0.95em;
    line-height: 1.6;
}

/* Final CTA Section */
.page-fortune-mouse__cta-final-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #0A0A0A;
}

.page-fortune-mouse__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF6D6;
}

/* Global image styles to ensure minimum size and responsiveness */
.page-fortune-mouse img {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
    max-width: 100%;
    height: auto;
    display: block;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .page-fortune-mouse__hero-content {
        margin-top: -80px;
        padding: 30px 20px;
    }
    .page-fortune-mouse__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-fortune-mouse__hero-content {
        margin-top: -60px;
        padding: 25px 15px;
    }
    .page-fortune-mouse__main-title {
        font-size: clamp(1.8em, 7vw, 2.8em);
    }
    .page-fortune-mouse__hero-description {
        font-size: 1em;
    }
    .page-fortune-mouse__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fortune-mouse__btn-primary,
    .page-fortune-mouse__btn-secondary {
        width: 100% !important; /* Force full width on mobile */
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-fortune-mouse__video-section,
    .page-fortune-mouse__about-section,
    .page-fortune-mouse__how-to-play-section,
    .page-fortune-mouse__strategies-section,
    .page-fortune-mouse__promotions-section,
    .page-fortune-mouse__why-bbs-bet-section,
    .page-fortune-mouse__faq-section,
    .page-fortune-mouse__cta-final-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fortune-mouse__video-section {
        padding-top: 10px !important; /* body already handles header offset */
    }

    .page-fortune-mouse__content-block {
        padding: 15px;
    }
    
    .page-fortune-mouse__section-title {
        font-size: 1.8em;
    }

    /* Mobile image and video responsiveness */
    .page-fortune-mouse img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fortune-mouse video,
    .page-fortune-mouse__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    /* Video and image containers */
    .page-fortune-mouse__video-wrapper,
    .page-fortune-mouse__hero-image-wrapper,
    .page-fortune-mouse__content-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    /* Ensure lists are readable */
    .page-fortune-mouse__numbered-list,
    .page-fortune-mouse__bullet-list {
        padding-left: 10px;
    }
    .page-fortune-mouse__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-fortune-mouse__faq-answer {
        padding: 0 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-fortune-mouse__section-title {
        font-size: 1.6em;
    }
    .page-fortune-mouse__hero-content {
        margin-top: -40px;
    }
}