  :root {
            --bg-color: #f4f1e9;
            --card-bg: #fffdf5;
            --text-main: #333;
            --text-sub: #666;
            --primary-red: #cc2222;
            --card-border: 2px solid rgba(204, 34, 34, 0.15);
            --nav-card-bg: #ffffff;
            --nav-card-border: rgba(204, 34, 34, 0.1);
            --timer-bg: #cc2222;
            --fu-color: #cc2222;
            --v-bg: rgba(204, 34, 34, 0.04);
            --transition-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            --transition-fast: 0.3s ease;
        }

        :root[theme="dark"] {
            --bg-color: radial-gradient(circle at center, #4a0000 0%, #000000 100%);
            --card-bg: rgba(25, 10, 10, 0.96);
            --text-main: #ffffff;
            --text-sub: rgba(255, 255, 255, 0.6);
            --primary-red: #ffcc00;
            --card-border: 2px solid rgba(255, 204, 0, 0.3);
            --nav-card-bg: rgba(255, 255, 255, 0.08);
            --nav-card-border: rgba(255, 204, 0, 0.2);
            --timer-bg: rgba(255, 77, 77, 0.4);
            --fu-color: #ffcc00;
            --v-bg: rgba(255, 204, 0, 0.08);
        }

        body, html {
            margin: 0; padding: 0; width: 100%; height: 100%;
            font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
            background: var(--bg-color); color: var(--text-main);
            display: flex; justify-content: center; align-items: center;
            overflow: hidden;
            transition: background var(--transition-slow);
        }

        /* 粒子背景动画 */
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            pointer-events: none;
        }
        .particle {
            position: absolute;
            background: var(--primary-red);
            border-radius: 50%;
            opacity: 0.2;
            animation: float 6s infinite ease-in-out;
        }
        @keyframes float {
            0% { transform: translateY(0) rotate(0deg); opacity: 0.2; }
            50% { transform: translateY(-20px) rotate(180deg); opacity: 0.4; }
            100% { transform: translateY(0) rotate(360deg); opacity: 0.2; }
        }

        /* 流光效果 */
        .glow-effect {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
            background: linear-gradient(
                60deg,
                transparent 30%,
                rgba(204, 34, 34, 0.05) 50%,
                transparent 70%
            );
            transform: translateX(-100%);
            animation: glowMove 8s infinite;
        }
        @keyframes glowMove {
            to {
                transform: translateX(100vw);
            }
        }

        #fu-bg { 
            position: fixed; 
            top: 0; 
            left: 0; 
            width: 100%; 
            height: 100%; 
            z-index: 1; 
            pointer-events: none; 
        }
        
        .floating-fu { 
            position: absolute; 
            font-family: '楷体'; 
            font-weight: 900; 
            color: var(--fu-color); 
            opacity: 0.18; 
            animation: fuFade 8s linear forwards; 
            text-shadow: 0 0 10px var(--fu-color);
            transform: translateZ(0);
        }
        
        @keyframes fuFade { 
            from { 
                transform: translateY(20px) rotate(0deg); 
                opacity: 0; 
            } 
            20% { 
                opacity: 0.18; 
            } 
            80% { 
                opacity: 0.18; 
            } 
            to { 
                transform: translateY(-40px) rotate(360deg); 
                opacity: 0; 
            } 
        }

        .container {
            position: relative;
            width: 90%; max-width: 680px;
            height: 92vh;
            background: var(--card-bg);
            border: var(--card-border); border-radius: 40px;
            padding: 35px 50px 20px;
            text-align: center;
            display: flex; flex-direction: column;
            box-sizing: border-box;
            box-shadow: 0 15px 45px rgba(0,0,0,0.08);
            overflow: hidden;
            z-index: 2;
            opacity: 1;
            transform: translateY(0);
        }

        /* 头像动画 */
        .avatar { 
            width: 100px; height: 100px; border-radius: 50%; border: 3.5px solid var(--primary-red); padding: 5px; margin: 0 auto 10px; flex-shrink: 0; 
            transition: all var(--transition-fast);
            box-shadow: 0 5px 15px rgba(204, 34, 34, 0.2);
            animation: pulseShadow 4s infinite alternate;
        }
        
        .avatar:hover {
            transform: scale(1.1) rotate(360deg);
            box-shadow: 0 10px 25px rgba(204, 34, 34, 0.3);
        }
        
        @keyframes pulseShadow {
            0% { box-shadow: 0 5px 15px rgba(204, 34, 34, 0.2); }
            100% { box-shadow: 0 8px 20px rgba(204, 34, 34, 0.25); }
        }

        /* 时钟样式增强 */
        #big-clock { 
            font-size: 2.1rem; font-weight: bold; color: var(--primary-red); line-height: 1.1; margin-bottom: 5px; 
            text-shadow: 0 0 10px rgba(204, 34, 34, 0.3);
            letter-spacing: 2px;
            animation: pulseText 2s infinite;
            background: linear-gradient(45deg, #cc2222, #ff6b35);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        @keyframes pulseText {
            0% { text-shadow: 0 0 10px rgba(204, 34, 34, 0.3); }
            50% { text-shadow: 0 0 20px rgba(204, 34, 34, 0.5), 0 0 30px rgba(204, 34, 34, 0.3); }
            100% { text-shadow: 0 0 10px rgba(204, 34, 34, 0.3); }
        }

        /* 导航网格 */
        .nav-grid { 
            display: grid; 
            grid-template-columns: 1fr 1fr; 
            gap: 14px; 
            margin: 10px 0; 
            flex: 1; 
            align-content: center; 
        }
        
        .nav-card {
            background: var(--nav-card-bg); 
            border-radius: 20px; 
            padding: 18px 12px;
            text-decoration: none; 
            border: 2px solid var(--nav-card-border); 
            transition: all var(--transition-fast);
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
            opacity: 0;
            transform: translateY(20px);
        }
        
        /* 卡片悬停效果 */
        .nav-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(204, 34, 34, 0.1) 0%, transparent 70%);
            transform: scale(0);
            transition: transform 0.5s;
            pointer-events: none;
        }
        
        .nav-card:hover::before {
            transform: scale(1);
        }
        
        .nav-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            border-color: var(--primary-red);
        }
        
        .nav-title { 
            font-weight: bold; 
            color: var(--text-main); 
            font-size: 1.15rem; 
            display: block; 
            transition: all var(--transition-fast); 
            position: relative;
            z-index: 1;
        }
        
        .nav-desc { 
            font-size: 0.8rem; 
            color: var(--text-sub); 
            margin-top: 5px; 
            transition: all var(--transition-fast); 
            position: relative;
            z-index: 1;
        }

        .nav-card:hover .nav-title,
        .nav-card:hover .nav-desc {
            color: var(--primary-red);
        }

        /* 底部区域 */
        .footer-zone {
            border-top: 1.5px solid rgba(0,0,0,0.04);
            padding-top: 10px;
            margin-top: auto;
            flex-shrink: 0;
            opacity: 0;
            transform: translateY(20px);
        }

        /* 倒计时盒子 */
        #timer-box {
            background: var(--timer-bg);
            padding: 5px 18px;
            border-radius: 50px;
            font-size: 0.85rem;
            color: #fff;
            font-weight: bold;
            display: inline-block;
            margin-bottom: 10px;
            animation: pulse 2s infinite;
            text-shadow: 0 0 5px rgba(0,0,0,0.2);
            border: 1px solid rgba(255,255,255,0.2);
            backdrop-filter: blur(5px);
        }
        
        @keyframes pulse {
            0% { 
                transform: scale(1); 
                box-shadow: 0 0 0 rgba(204, 34, 34, 0.7); 
            }
            50% { 
                transform: scale(1.05); 
                box-shadow: 0 0 20px rgba(204, 34, 34, 0.7); 
            }
            100% { 
                transform: scale(1); 
                box-shadow: 0 0 0 rgba(204, 34, 34, 0.7); 
            }
        }

        /* 吉祥话动画 */
        #idiom-show { 
            font-size: 1.45rem; 
            font-weight: bold; 
            letter-spacing: 6px; 
            margin: 3px 0; 
            animation: colorChange 8s infinite;
            background: linear-gradient(45deg, #cc2222, #ff6b35, #f7931e, #cc2222);
            background-size: 300% 300%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 10px rgba(204, 34, 34, 0.2);
            position: relative;
            z-index: 1;
        }
        
        @keyframes colorChange {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* 访客统计 */
        .visitor {
            display: inline-flex; 
            align-items: center;
            background: var(--v-bg);
            padding: 5px 22px; 
            border-radius: 25px;
            font-size: 0.75rem; 
            color: var(--text-sub);
            border: 1px solid var(--nav-card-border);
            margin-bottom: 5px;
            letter-spacing: 1px;
            transition: all var(--transition-fast);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(204, 34, 34, 0.1);
        }
        
        .visitor:hover {
            transform: scale(1.05);
            background: var(--primary-red);
            color: white;
            border-color: var(--primary-red);
        }
        
        .visitor:hover .v-dot {
            background: white;
            box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
        }

        /* 在线状态点 */
        .v-dot { 
            width: 7px; height: 7px; background: #52c41a; border-radius: 50%; margin-right: 10px; box-shadow: 0 0 8px rgba(82, 196, 26, 0.6); animation: pulse 2s infinite; 
        }

        /* 音乐播放器 */
        .music-player { 
            position: absolute; top: 25px; left: 30px; width: 42px; height: 42px; border-radius: 50%; border: 2.5px solid var(--primary-red); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--primary-red); font-size: 20px;
            transition: all var(--transition-fast);
            box-shadow: 0 5px 15px rgba(204, 34, 34, 0.2);
            animation: floatButton 3s infinite alternate;
        }
        
        .music-player:hover {
            transform: scale(1.1) rotate(15deg);
            box-shadow: 0 8px 20px rgba(204, 34, 34, 0.3);
        }
        
        @keyframes floatButton {
            0% { transform: translateY(0); }
            100% { transform: translateY(2px); }
        }

        /* 主题切换 */
        .switch-box { 
            position: absolute; top: 25px; right: 30px; width: 60px; height: 32px; border: 2.5px solid var(--primary-red); border-radius: 20px; cursor: pointer; display: flex; align-items: center; padding: 0 4px; 
            transition: all var(--transition-fast);
            box-shadow: 0 5px 15px rgba(204, 34, 34, 0.2);
        }
        
        .switch-box:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 20px rgba(204, 34, 34, 0.3);
        }
        
        .switch-ball { 
            width: 24px; height: 24px; background: var(--primary-red); border-radius: 50%; transition: 0.3s; display: flex; align-items: center; justify-content: center; color: #fff; transform: translateX(28px); 
        }
        
        [theme="dark"] .switch-ball { transform: translateX(0px); }

        /* 淡入动画 */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* 响应式设计 */
        @media screen and (max-width: 768px) {
            .container { padding: 65px 15px 15px; }
            .avatar { width: 80px; height: 80px; margin-bottom: 5px; }
            #big-clock { font-size: 2.5rem; }
            .nav-grid { gap: 10px; margin: 5px 0; }
            .nav-card { padding: 14px 8px; }
            #idiom-show { font-size: 1.25rem; letter-spacing: 3px; }
            .visitor { margin-bottom: 2px; padding: 4px 18px; }
            #timer-box { margin-bottom: 5px; }
        }