/* ===== 季节背景组件样式 ===== */

 /* 全局样式 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            min-height: 100vh;
            overflow-x: hidden;
            color: white;
        }
/* ===== 1. 背景层 ===== */
.seasonal-background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -9999;
    overflow: hidden;
}

.seasonal-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    filter: brightness(0.7) contrast(1.2);
}

.seasonal-bg-image.active { opacity: 1; }

#season-bg-spring {
    background-image: url('../../assets/backgrounds/spring.jpg');
    background-color: #4CAF50;
}

#season-bg-summer {
    background-image: url('../../assets/backgrounds/summer.jpg');
    background-color: #FF9800;
}

#season-bg-autumn {
    background-image: url('../../assets/backgrounds/autumn.jpg');
    background-color: #FF5722;
}

#season-bg-winter {
    background-image: url('../../assets/backgrounds/winter.jpg');
    background-color: #2196F3;
}

.seasonal-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
    backdrop-filter: blur(5px);
}

/* ===== 2. 飘落效果 ===== */
.seasonal-falling-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

.seasonal-particle {
    position: absolute;
    top: -50px;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    animation-name: seasonal-fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    font-size: 24px;
    opacity: 0;
    text-shadow: 0 0 8px currentColor;
}

@keyframes seasonal-fall {
    0% {
        transform: translateY(-50px) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.9; }
    90% { opacity: 0.4; }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}
/* 春季 - 樱花 */
.seasonal-particle-spring {
    color: #ffb6c1;
    animation-name: seasonal-fall, seasonal-sway-spring;
    animation-timing-function: linear, ease-in-out;
}
@keyframes seasonal-sway-spring {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(80px) rotate(20deg); }
    50% { transform: translateX(40px) rotate(-10deg); }
    75% { transform: translateX(60px) rotate(15deg); }
}
/* 夏季 - 太阳 */
.seasonal-particle-summer {
    color: #ffeb3b;
    text-shadow: 0 0 15px rgba(255, 235, 59, 0.7);
    animation-name: seasonal-fall, seasonal-bounce-summer;
    animation-timing-function: linear, cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

@keyframes seasonal-bounce-summer {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.9;
    }
    25% { 
        transform: translateY(-40px) scale(1.2);
        opacity: 1;
    }
    50% { 
        transform: translateY(20px) scale(0.9);
        opacity: 0.8;
    }
    75% { 
        transform: translateY(-20px) scale(1.1);
        opacity: 0.95;
    }
}

/* 秋季 - 落叶 */
.seasonal-particle-autumn {
    color: #ff8c00;
    animation-name: seasonal-fall, seasonal-spin-autumn;
    animation-timing-function: linear, ease-in-out;
}

@keyframes seasonal-spin-autumn {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.1); }
    50% { transform: rotate(180deg) scale(0.9); }
    75% { transform: rotate(270deg) scale(1.05); }
    100% { transform: rotate(360deg) scale(1); }
}

.seasonal-particle-spring {
    color: #ffb6c1;
    animation-name: seasonal-fall, seasonal-sway;
    animation-timing-function: linear, ease-in-out;
}

.seasonal-particle-summer {
    color: #ffeb3b;
    text-shadow: 0 0 15px rgba(255, 235, 59, 0.7);
    animation-name: seasonal-fall, seasonal-float;
    animation-timing-function: linear, ease-in-out;
}

.seasonal-particle-autumn {
    color: #ff8c00;
    animation-name: seasonal-fall, seasonal-sway;
    animation-timing-function: linear, ease-in-out;
}

.seasonal-particle-winter {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

@keyframes seasonal-sway {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(120px); }
}

@keyframes seasonal-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

/* ===== 3. 专业头部 ===== */
.professional-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background: rgba(15, 15, 25, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.professional-header.scrolled {
    background: rgba(10, 10, 20, 0.95);
    padding: 10px 0;
}

/* 头部布局 */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 30px;
}

/* ===== 4. 左侧品牌区 ===== */
.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

/* 浮动标识 */
.floating-identifier {
    position: relative;
    width: 60px;
    height: 60px;
}

.floating-core {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,255,255,0.15), rgba(255,0,255,0.15));
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 1.8rem;
    color: white;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2), inset 0 0 20px rgba(255,255,255,0.1);
    animation: core-float 3s ease-in-out infinite;
}

@keyframes core-float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
        box-shadow: 0 10px 30px rgba(0,0,0,0.2), inset 0 0 20px rgba(255,255,255,0.1);
    }
    50% { 
        transform: translateY(-8px) rotate(5deg);
        box-shadow: 0 20px 50px rgba(0,0,0,0.3), inset 0 0 25px rgba(255,255,255,0.15);
    }
}

/* 光环 */
.floating-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0,255,255,0.3);
    border-radius: 50%;
    animation: ring-pulse 4s ease-in-out infinite;
}

.ring-1 { width: 70px; height: 70px; animation-delay: 0s; }
.ring-2 { width: 80px; height: 80px; animation-delay: 0.5s; }
.ring-3 { width: 90px; height: 90px; animation-delay: 1s; }

@keyframes ring-pulse {
    0%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* 品牌文字 */
.brand-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.site-title {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1;
}

.site-subtitle {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    font-weight: 300;
    letter-spacing: 1px;
}

/* ===== 5. 中间时间区 ===== */
.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.time-display-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.time-bubble {
    display: flex;
    align-items: baseline;
    gap: 15px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    animation: time-float 6s ease-in-out infinite;
}

@keyframes time-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.time-current {
    font-family: 'Courier New', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0,255,255,0.5);
    letter-spacing: 1px;
    transition: color 0.5s ease, text-shadow 0.5s ease;
}

.date-current {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.greeting-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    font-style: italic;
    padding: 0 20px;
    text-align: center;
}

/* ===== 6. 右侧导航区 ===== */
.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-shrink: 0;
}

/* 主导航 */
.main-navigation {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 6px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.nav-list {
    display: flex;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 15px;
    border-radius: 12px;
    text-decoration: none;
    color: rgba(255,255,255,0.8);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    min-width: 70px;
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    transform: translateY(-2px);
}

.nav-icon {
    font-size: 1.2rem;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-link:hover .nav-icon {
    transform: scale(1.2);
    color: #00ffff;
}

.nav-text {
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.nav-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: linear-gradient(45deg, #ff4757, #ff3838);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 8px;
    animation: badge-pulse 2s ease-in-out infinite;
}

/* 活动状态 */
.nav-link.active {
    background: rgba(0,255,255,0.15) !important;
    border: 1px solid rgba(0,255,255,0.3) !important;
    color: #00ffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,255,255,0.2);
}

.nav-link.active .nav-icon {
    color: #00ffff !important;
    transform: scale(1.2);
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===== 7. 搜索组件 ===== */
.search-container {
    position: relative;
    display: inline-block;
    height: 45px;
}

.search-toggle { display: none; }

.search-trigger {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.9);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.search-trigger:hover {
    background: rgba(0,255,255,0.15);
    border-color: rgba(0,255,255,0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,255,255,0.15);
    color: white;
}

.search-wrapper {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 0;
    height: 50px;
    overflow: hidden;
    background: rgba(15,15,25,0.98);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 15px;
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    transition: width 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    opacity: 0;
    z-index: 10000;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.search-toggle:checked ~ .search-wrapper {
    width: 280px;
    opacity: 1;
    padding: 0 15px;
}

.search-toggle:checked ~ .search-trigger {
    background: rgba(0,255,255,0.2);
    border-color: rgba(0,255,255,0.4);
    color: #00ffff;
    box-shadow: 0 0 15px rgba(0,255,255,0.3);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 0.95rem;
    outline: none;
    width: 0;
    transition: width 0.3s ease 0.1s;
}

.search-toggle:checked ~ .search-wrapper .search-input {
    width: 100%;
}

.search-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.search-clear,
.search-submit {
    width: 35px;
    height: 35px;
    border: none;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 10px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease 0.2s;
}

.search-toggle:checked ~ .search-wrapper .search-clear,
.search-toggle:checked ~ .search-wrapper .search-submit {
    opacity: 1;
    transform: translateX(0);
}

.search-clear:hover { background: rgba(255,90,90,0.15); color: #ff5a5a; }
.search-submit:hover { background: rgba(0,255,157,0.15); color: #00ff9d; }

/* ===== 8. 行动按钮 ===== */
.action-buttons {
    display: flex;
    gap: 10px;
}

.action-btn {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.9);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
}

.action-btn:hover {
    background: rgba(0,255,255,0.15);
    border-color: rgba(0,255,255,0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,255,255,0.2);
    color: white;
}

.submit-btn {
    background: linear-gradient(135deg, rgba(0,255,157,0.1), rgba(0,200,255,0.1));
    border: 1px solid rgba(0,255,157,0.2);
}

.submit-btn:hover {
    background: linear-gradient(135deg, rgba(0,255,157,0.2), rgba(0,200,255,0.2));
    border-color: rgba(0,255,157,0.4);
    box-shadow: 0 10px 25px rgba(0,255,157,0.2);
}

/* ===== 9. 季节头部样式 ===== */

/* 春季头部 */
.header-spring .main-navigation {
    background: rgba(76, 175, 80, 0.2) !important;
    border-color: rgba(76, 175, 80, 0.4) !important;
}

.header-spring .nav-link:hover {
    background: rgba(76, 175, 80, 0.3) !important;
    color: #81c784 !important;
}

.header-spring .nav-link.active {
    background: rgba(76, 175, 80, 0.25) !important;
    border-color: rgba(76, 175, 80, 0.5) !important;
    color: #4CAF50 !important;
}

.header-spring .time-current {
    color: #4CAF50 !important;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.5) !important;
}

.header-spring .time-bubble {
    background: rgba(76, 175, 80, 0.1) !important;
    border-color: rgba(76, 175, 80, 0.3) !important;
}

/* 夏季头部 */
.header-summer .main-navigation {
    background: rgba(255, 152, 0, 0.2) !important;
    border-color: rgba(255, 152, 0, 0.4) !important;
}

.header-summer .nav-link:hover {
    background: rgba(255, 152, 0, 0.3) !important;
    color: #ffb74d !important;
}

.header-summer .nav-link.active {
    background: rgba(255, 152, 0, 0.25) !important;
    border-color: rgba(255, 152, 0, 0.5) !important;
    color: #FF9800 !important;
}

.header-summer .time-current {
    color: #FF9800 !important;
    text-shadow: 0 0 10px rgba(255, 152, 0, 0.5) !important;
}

.header-summer .time-bubble {
    background: rgba(255, 152, 0, 0.1) !important;
    border-color: rgba(255, 152, 0, 0.3) !important;
}

/* 秋季头部 */
.header-autumn .main-navigation {
    background: rgba(255, 87, 34, 0.2) !important;
    border-color: rgba(255, 87, 34, 0.4) !important;
}

.header-autumn .nav-link:hover {
    background: rgba(255, 87, 34, 0.3) !important;
    color: #ff8a65 !important;
}

.header-autumn .nav-link.active {
    background: rgba(255, 87, 34, 0.25) !important;
    border-color: rgba(255, 87, 34, 0.5) !important;
    color: #FF5722 !important;
}

.header-autumn .time-current {
    color: #FF5722 !important;
    text-shadow: 0 0 10px rgba(255, 87, 34, 0.5) !important;
}

.header-autumn .time-bubble {
    background: rgba(255, 87, 34, 0.1) !important;
    border-color: rgba(255, 87, 34, 0.3) !important;
}

/* 冬季头部 */
.header-winter .main-navigation {
    background: rgba(33, 150, 243, 0.2) !important;
    border-color: rgba(33, 150, 243, 0.4) !important;
}

.header-winter .nav-link:hover {
    background: rgba(33, 150, 243, 0.3) !important;
    color: #64b5f6 !important;
}

.header-winter .nav-link.active {
    background: rgba(33, 150, 243, 0.25) !important;
    border-color: rgba(33, 150, 243, 0.5) !important;
    color: #2196F3 !important;
}

.header-winter .time-current {
    color: #2196F3 !important;
    text-shadow: 0 0 10px rgba(33, 150, 243, 0.5) !important;
}

.header-winter .time-bubble {
    background: rgba(33, 150, 243, 0.1) !important;
    border-color: rgba(33, 150, 243, 0.3) !important;
}

/* 浮动核心季节颜色 */
.header-spring .floating-core {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.3), rgba(255, 182, 193, 0.1)) !important;
}

.header-summer .floating-core {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.3), rgba(255, 235, 59, 0.1)) !important;
}

.header-autumn .floating-core {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.3), rgba(255, 140, 0, 0.1)) !important;
}

.header-winter .floating-core {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.3), rgba(255, 255, 255, 0.1)) !important;
}

/* 光环季节颜色 */
.header-spring .ring {
    border-color: rgba(76, 175, 80, 0.3) !important;
}

.header-summer .ring {
    border-color: rgba(255, 152, 0, 0.3) !important;
}

.header-autumn .ring {
    border-color: rgba(255, 87, 34, 0.3) !important;
}

.header-winter .ring {
    border-color: rgba(33, 150, 243, 0.3) !important;
}

/* ===== 10. 响应式设计 ===== */
@media (max-width: 1200px) {
    .header-content { padding: 0 30px; gap: 20px; }
    .floating-identifier { width: 50px; height: 50px; }
    .floating-core { width: 50px; height: 50px; font-size: 1.5rem; }
    .site-title { font-size: 1.4rem; }
    .time-current { font-size: 1.2rem; }
    .nav-link { padding: 8px 12px; min-width: 60px; }
}

@media (max-width: 992px) {
    .header-content { flex-wrap: wrap; padding: 0 20px; gap: 15px; }
    .header-left { order: 1; flex: 1; }
    .header-center { order: 3; flex: 100%; margin-top: 10px; }
    .header-right { order: 2; flex: 1; justify-content: flex-end; }
    .search-toggle:checked ~ .search-wrapper { width: 250px; }
}

@media (max-width: 768px) {
    .professional-header { padding: 12px 0; }
    .floating-identifier { width: 45px; height: 45px; }
    .floating-core { width: 45px; height: 45px; font-size: 1.3rem; }
    .site-title { font-size: 1.2rem; }
    .site-subtitle { display: none; }
    .search-trigger, .action-btn { width: 40px; height: 40px; font-size: 1rem; }
    .search-toggle:checked ~ .search-wrapper { width: 220px; padding: 0 12px; }
}

@media (max-width: 576px) {
    .header-content { padding: 0 15px; }
    .floating-identifier { width: 40px; height: 40px; }
    .floating-core { width: 40px; height: 40px; font-size: 1.2rem; }
    .site-title { font-size: 1.1rem; }
    .nav-link { padding: 5px 6px; min-width: 50px; }
    .nav-text { font-size: 0.65rem; }
    .search-toggle:checked ~ .search-wrapper { width: 180px; }
}

@media (max-width: 480px) {
    .nav-text { display: none; }
    .nav-link { min-width: 45px; padding: 8px; }
    .time-bubble { flex-direction: column; gap: 5px; padding: 6px 12px; }
    .search-toggle:checked ~ .search-wrapper { width: 150px !important; padding: 0 10px; }
}