/* ========================================
   Mid-Autumn Festival Theme Styles - Replace Icons with Moon Festival Elements
   中秋节主题样式 - 替换图标为中秋节元素
   ======================================== */

/* Mid-Autumn Festival Color Variables */
:root.theme-mid-autumn {
    --mid-autumn-sandy: #f4a460;
    --mid-autumn-gold: #ffd700;
    --mid-autumn-orange: #ff8c00;
}

/* Hero Section Mid-Autumn Styling */
.theme-mid-autumn .hero-section {
    background: linear-gradient(135deg, #f4a460 0%, #ff8c00 50%, #ffd700 100%) !important;
}

/* Hide register button in header during Mid-Autumn (not in modals) */
.theme-mid-autumn .top-bar [data-bs-target="#registerModal"],
.theme-mid-autumn .top-bar button[data-bs-target="#registerModal"],
.theme-mid-autumn .top-bar .btn[data-bs-target="#registerModal"] {
    display: none !important;
}

/* Also hide by icon */
.theme-mid-autumn .top-bar .fa-user-plus {
    display: none !important;
}

.theme-mid-autumn .top-bar button:has(.fa-user-plus) {
    display: none !important;
}

/* Replace FontAwesome icons with Mid-Autumn emojis */
.theme-mid-autumn .fa-sign-in-alt::before {
    content: "🌕" !important;  /* Full Moon */
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
}

.theme-mid-autumn .fa-hotel::before {
    content: "🥮" !important;  /* Moon Cake */
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
}

.theme-mid-autumn .fa-globe::before {
    content: "🏮" !important;  /* Lantern */
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
}

.theme-mid-autumn .fa-search::before {
    content: "🌙" !important;  /* Crescent Moon */
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
}

.theme-mid-autumn .fa-user::before,
.theme-mid-autumn .fa-user-circle::before {
    content: "🐰" !important;  /* Rabbit (Jade Rabbit) */
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
}

.theme-mid-autumn .fa-heart::before {
    content: "⭐" !important;  /* Star */
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
}

.theme-mid-autumn .fa-building::before {
    content: "🏮" !important;  /* Lantern */
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
}

/* Button Styling */
.theme-mid-autumn .btn-dark {
    background: linear-gradient(135deg, #f4a460 0%, #d2691e 100%);
    border: none;
}

.theme-mid-autumn .btn-dark:hover {
    background: linear-gradient(135deg, #d2691e 0%, #f4a460 100%);
}

.theme-mid-autumn .btn-outline-primary {
    color: #f4a460;
    border-color: #f4a460;
}

.theme-mid-autumn .btn-outline-primary:hover {
    background-color: #f4a460;
    border-color: #f4a460;
    color: white;
}

/* Stats Section */
.theme-mid-autumn .stats-section {
    background: linear-gradient(180deg, #fffaf0 0%, #fff8dc 100%);
}

/* Card Hover Effects */
.theme-mid-autumn .card:hover {
    border-color: #ffd700;
    box-shadow: 0 5px 15px rgba(244, 164, 96, 0.3);
}

/* CTA Section */
.theme-mid-autumn .cta-section {
    background: linear-gradient(135deg, #f4a460 0%, #ff8c00 100%) !important;
}
