/* style/fortune-mouse.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --bg-card: #11271B;
    --bg-page: #08160F;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-fortune-mouse {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for dark background */
    background-color: var(--bg-page);
}

.page-fortune-mouse__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* --- General Section Styles --- */
.page-fortune-mouse__section-title {
    font-size: 2.8em;
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-fortune-mouse__section-subtitle {
    font-size: 1.2em;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fortune-mouse__text-block {
    font-size: 1.05em;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-fortune-mouse__sub-title {
    font-size: 1.8em;
    font-weight: 600;
    color: var(--text-main);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-fortune-mouse__list-ordered {
    list-style-type: decimal;
    padding-left: 25px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.page-fortune-mouse__list-ordered li {
    margin-bottom: 10px;
}

.page-fortune-mouse__list-ordered li p {
    color: var(--text-secondary);
    margin: 0;
}

/* --- Buttons --- */
.page-fortune-mouse__cta-button,
.page-fortune-mouse__btn-primary,
.page-fortune-mouse__btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
}

.page-fortune-mouse__cta-button,
.page-fortune-mouse__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fortune-mouse__cta-button:hover,
.page-fortune-mouse__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fortune-mouse__btn-secondary {
    background: var(--bg-card);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-fortune-mouse__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* --- Image Styles --- */
.page-fortune-mouse img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Background Colors --- */
.page-fortune-mouse__dark-bg {
    background-color: var(--bg-page);
    color: var(--text-main);
}

.page-fortune-mouse__light-bg {
    background-color: #f8f8f8;
    color: #333333;
}

/* --- Card Styles --- */
.page-fortune-mouse__card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fortune-mouse__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-fortune-mouse__card img {
    border-radius: 8px;
    margin-bottom: 20px;
    width: 100%; /* Ensure image fills card width */
    height: auto;
    object-fit: cover;
}

.page-fortune-mouse__card-title {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-fortune-mouse__card-description {
    font-size: 0.95em;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* --- HERO Section --- */
.page-fortune-mouse__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
    background-color: var(--bg-page);
}

.page-fortune-mouse__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure container takes full width */
}

.page-fortune-mouse__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-fortune-mouse__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-fortune-mouse__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-fortune-mouse__main-title {
    font-size: 3.5em;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

.page-fortune-mouse__hero-description {
    font-size: 1.3em;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* --- Quick Access Section --- */
.page-fortune-mouse__quick-access-section {
    padding: 60px 20px;
    text-align: center;
}

.page-fortune-mouse__button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-fortune-mouse__button-group .page-fortune-mouse__btn-primary {
    flex-grow: 1;
    max-width: 300px;
}

/* --- Games Section --- */
.page-fortune-mouse__games-section {
    padding: 80px 20px;
}

.page-fortune-mouse__game-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-fortune-mouse__game-details {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--divider-color);
}

/* --- Promotions Section --- */
.page-fortune-mouse__promotions-section {
    padding: 80px 20px;
}

.page-fortune-mouse__promotion-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-fortune-mouse__promotion-card img {
    height: 200px;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
}

/* --- Security & Support Section --- */
.page-fortune-mouse__security-support-section {
    padding: 80px 20px;
}

.page-fortune-mouse__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.page-fortune-mouse__feature-item img {
    
    
    object-fit: contain;
    margin-bottom: 20px;
}

.page-fortune-mouse__feature-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #333333;
    margin-bottom: 10px;
}

.page-fortune-mouse__feature-description {
    font-size: 0.95em;
    color: #555555;
}

/* --- FAQ Section --- */
.page-fortune-mouse__faq-section {
    padding: 80px 20px;
}

details.page-fortune-mouse__faq-item {
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

details.page-fortune-mouse__faq-item summary.page-fortune-mouse__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}

details.page-fortune-mouse__faq-item summary.page-fortune-mouse__faq-question::-webkit-details-marker {
    display: none;
}

details.page-fortune-mouse__faq-item summary.page-fortune-mouse__faq-question:hover {
    background: rgba(var(--primary-color-rgb), 0.1);
}

.page-fortune-mouse__faq-qtext {
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main);
}

.page-fortune-mouse__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 20px;
    width: 30px;
    text-align: center;
}

details.page-fortune-mouse__faq-item .page-fortune-mouse__faq-answer {
    padding: 0 25px 25px;
    background: rgba(var(--bg-card-rgb), 0.8);
    border-radius: 0 0 12px 12px;
    color: var(--text-secondary);
    font-size: 1em;
    line-height: 1.7;
}

/* --- Blog Section --- */
.page-fortune-mouse__blog-section {
    padding: 80px 20px;
}

.page-fortune-mouse__blog-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-fortune-mouse__blog-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.page-fortune-mouse__blog-card .page-fortune-mouse__card-title {
    color: #333333; /* For light background */
}

.page-fortune-mouse__blog-card .page-fortune-mouse__card-description {
    color: #555555; /* For light background */
}

.page-fortune-mouse__blog-card img {
    border-radius: 8px;
    margin-bottom: 15px;
    width: 100%;
    
    object-fit: cover;
}

.page-fortune-mouse__view-all {
    text-align: center;
    margin-top: 50px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-fortune-mouse__main-title {
        font-size: 3em;
    }
    .page-fortune-mouse__hero-description {
        font-size: 1.2em;
    }
    .page-fortune-mouse__section-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-fortune-mouse__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fortune-mouse__hero-image img {
        border-radius: 8px;
    }
    .page-fortune-mouse__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-fortune-mouse__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-fortune-mouse__cta-button {
        padding: 12px 30px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fortune-mouse__section-title {
        font-size: 2em;
    }
    .page-fortune-mouse__section-subtitle {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-fortune-mouse__sub-title {
        font-size: 1.5em;
    }
    .page-fortune-mouse__text-block {
        font-size: 0.95em;
    }

    .page-fortune-mouse__button-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-fortune-mouse__button-group .page-fortune-mouse__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fortune-mouse__game-card-grid,
    .page-fortune-mouse__promotion-cards,
    .page-fortune-mouse__features-grid,
    .page-fortune-mouse__blog-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-fortune-mouse__card {
        padding: 20px;
    }

    details.page-fortune-mouse__faq-item summary.page-fortune-mouse__faq-question {
        padding: 15px 20px;
    }
    .page-fortune-mouse__faq-qtext {
        font-size: 1em;
    }
    .page-fortune-mouse__faq-toggle {
        font-size: 24px;
        margin-left: 15px;
    }
    details.page-fortune-mouse__faq-item .page-fortune-mouse__faq-answer {
        padding: 0 20px 20px;
    }

    /* Mobile image and container responsive styles */
    .page-fortune-mouse img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fortune-mouse__hero-image img {
        max-height: 250px; /* Limit height on mobile for hero */
        object-fit: cover;
    }

    .page-fortune-mouse__introduction-section,
    .page-fortune-mouse__quick-access-section,
    .page-fortune-mouse__games-section,
    .page-fortune-mouse__promotions-section,
    .page-fortune-mouse__security-support-section,
    .page-fortune-mouse__faq-section,
    .page-fortune-mouse__blog-section {
        padding: 40px 15px;
    }

    .page-fortune-mouse__container {
        padding: 0;
    }

    .page-fortune-mouse__card, .page-fortune-mouse__feature-item {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .page-fortune-mouse__main-title {
        font-size: 1.8em;
    }
    .page-fortune-mouse__section-title {
        font-size: 1.8em;
    }
    .page-fortune-mouse__hero-description {
        font-size: 0.95em;
    }
}