/* ================= 核心变量 ================= */
:root {
    --primary: #0d9488;        /* 极光青 */
    --primary-hover: #0f766e;
    --primary-light: #f0fdfa;  /* 极浅青色底 */
    --accent: #f97316;         /* 珊瑚橘 */
    --bg-body: #f4f7f9;        /* 清新干净的浅灰蓝背景 */
    --bg-sidebar: rgba(255, 255, 255, 0.9); 
    --text-main: #334155;
    --text-dark: #0f172a;
    --text-sub: #64748b;
    --radius-main: 24px;       
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px -10px rgba(13, 148, 136, 0.15);
}

/* ================= 基础布局与全局美化 ================= */
html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; outline: none; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; border: 2px solid var(--bg-body); }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

body {
    font-family: 'Inter', "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    font-size: 14px; line-height: 1.6; letter-spacing: 0.02em;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 32px 32px; position: relative; overflow-x: hidden;
}

body::before, body::after {
    content: ''; position: fixed; filter: blur(140px); z-index: -1; 
    opacity: 0.6; border-radius: 50%; pointer-events: none;
}
body::before { top: -10%; left: -10%; width: 60vw; height: 60vw; background: radial-gradient(circle, #ccfbf1, transparent 70%); }
body::after { bottom: -10%; right: -10%; width: 50vw; height: 50vw; background: radial-gradient(circle, #e0e7ff, transparent 70%); }

ul, li { list-style: none; }
a { text-decoration: none; color: inherit; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer;}
img { width: 100%; height: 100%; object-fit: cover; display: block; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-up { animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
.delay-1 { animation-delay: 0.1s; } .delay-2 { animation-delay: 0.2s; } .delay-3 { animation-delay: 0.3s; } .delay-4 { animation-delay: 0.4s; }

/* ================= 侧边栏导航 ================= */
.g-sidenav {
    position: fixed; left: 24px; top: 24px; bottom: 24px; width: 270px; 
    background: var(--bg-sidebar); border-radius: var(--radius-main); z-index: 1000; display: flex; flex-direction: column;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.04); border: 1px solid rgba(255,255,255,1); 
    backdrop-filter: blur(24px); overflow: hidden;
}
.brand-area { 
    height: 96px; display: flex; align-items: center; padding: 0 24px; 
    border-bottom: 1px dashed rgba(0,0,0,0.06); margin-bottom: 12px; position: relative;
}
.logo-icon {
    width: 44px; height: 44px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    margin-right: 14px; color: #fff; font-size: 20px; box-shadow: 0 8px 16px rgba(13, 148, 136, 0.25); flex-shrink: 0;
}
.logo-cn { font-size: 22px; font-weight: 900; letter-spacing: 2px; background: linear-gradient(to right, #0f172a, var(--primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.nav-list { padding: 0 16px 20px; flex: 1; overflow-y: auto; scrollbar-width: none; }
.nav-list::-webkit-scrollbar { display: none; }
.nav-title { font-size: 12px; font-weight: 800; color: #94a3b8; padding: 0 12px; margin: 24px 0 12px 0; text-transform: uppercase; letter-spacing: 2px; display: flex; align-items: center; }
.nav-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(0,0,0,0.05), transparent); margin-left: 12px; }
.nav-list li { margin-bottom: 8px; }
.nav-list li a { display: flex; align-items: center; padding: 12px 14px; color: #475569; border-radius: 16px; font-weight: 600; font-size: 15px; letter-spacing: 0.05em; transition: all 0.3s; position: relative; }
.nav-list li a i { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; margin-right: 14px; font-size: 16px; border-radius: 12px; background: rgba(0,0,0,0.03); color: #64748b; transition: all 0.3s; }
.nav-list li.active a { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%); color: #fff; box-shadow: 0 8px 20px -6px rgba(13, 148, 136, 0.5); }
.nav-list li.active a i { background: rgba(255,255,255,0.25); color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.nav-list li:not(.active) a:hover { background: rgba(13, 148, 136, 0.06); color: var(--primary-hover); transform: translateX(6px); }
.nav-list li:not(.active) a:hover i { background: #fff; color: var(--primary); box-shadow: 0 4px 12px rgba(13, 148, 136, 0.12); transform: scale(1.08) rotate(3deg); }

/* 左侧导航悬浮子菜单 */
.nav-submenu {
    position: fixed; background: rgba(255, 255, 255, 0.96); border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 15px 40px -5px rgba(13, 148, 136, 0.12); backdrop-filter: blur(24px); border-radius: 20px;
    padding: 24px; z-index: 1001; width: 440px; opacity: 0; visibility: hidden; transform: translateX(-15px);
    transition: all 0.3s; pointer-events: none; max-height: 85vh; overflow-y: auto;
}
.nav-submenu::-webkit-scrollbar { width: 4px; }
.nav-submenu::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.nav-submenu.show { opacity: 1; visibility: visible; transform: translateX(0); pointer-events: auto; }

#submenu-mobile { width: 620px; }
#submenu-mobile .submenu-grid { grid-template-columns: repeat(3, 1fr); }

.submenu-title { font-size: 16px; font-weight: 800; color: var(--text-dark); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px dashed rgba(0,0,0,0.06); display: flex; align-items: center; gap: 10px; }
.submenu-title i { color: var(--primary); font-size: 18px; }
.submenu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 16px; }
.submenu-grid a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; color: var(--text-main); font-size: 13px; font-weight: 700; background: rgba(0,0,0,0.02); border: 1px solid transparent; transition: 0.3s;}
.submenu-grid a i { color: var(--text-sub); width: 18px; text-align: center; transition: 0.3s; }
.submenu-grid a:hover { background: var(--primary-light); color: var(--primary-hover); transform: translateX(4px); border-color: rgba(13, 148, 136, 0.1);}
.submenu-grid a:hover i { color: var(--primary); transform: scale(1.1); }

/* 主体容器 */
.main-container { margin-left: 320px; padding: 30px 40px 60px 10px; max-width: 1700px; margin-right: auto; overflow-x: hidden; }

/* ================= 顶部导航与搜索 ================= */
.top-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; position: relative; z-index: 1000; }
.page-title-banner { font-size: 24px; font-weight: 900; color: var(--text-dark); display: flex; align-items: center; gap: 14px; letter-spacing: 1px;}
.page-title-banner i { color: var(--primary); background: var(--primary-light); width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 14px; font-size: 20px;}

.search-wrapper { position: relative; flex: 1; max-width: 580px; display: flex; align-items: center; margin-left: auto;}
.search-input {
    width: 100%; height: 50px; padding: 0 100px 0 24px; border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 1); background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px); box-shadow: var(--shadow-soft);
    color: var(--text-dark); font-size: 14px; font-weight: 600; transition: all 0.4s ease;
}
.search-input::placeholder { color: #94a3b8; font-weight: 500; }
.search-input:focus {
    background: #ffffff; border-color: var(--primary);
    box-shadow: 0 15px 35px -10px rgba(13, 148, 136, 0.25), 0 0 0 4px rgba(13, 148, 136, 0.1);
}
.search-btn {
    position: absolute; right: 5px; top: 5px; bottom: 5px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #fff; border-radius: 20px; padding: 0 24px; display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 800; cursor: pointer; transition: all 0.3s ease; letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}
.search-btn:hover { background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%); transform: translateY(-1px); box-shadow: 0 6px 15px rgba(13, 148, 136, 0.4); }

/* 搜索下拉热搜榜 */
.search-dropdown {
    position: absolute; top: calc(100% + 14px); left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.98); border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 25px 50px -10px rgba(13, 148, 136, 0.15); backdrop-filter: blur(24px);
    border-radius: 20px; padding: 24px; z-index: 1001; opacity: 0; visibility: hidden;
    transform: translateY(-10px); transition: all 0.3s; pointer-events: none;
}
.search-dropdown.show { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.sd-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px dashed rgba(0,0,0,0.06); }
.sd-title { font-size: 16px; font-weight: 800; color: var(--text-dark); display: flex; align-items: center; gap: 8px; }
.sd-title i { color: #ef4444; font-size: 18px; } 
.sd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.sd-item { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; color: var(--text-main); cursor: pointer; padding: 8px 12px; border-radius: 12px; transition: 0.2s; border: 1px solid transparent;}
.sd-item:hover { background: var(--primary-light); color: var(--primary-hover); transform: translateX(4px); border-color: rgba(13,148,136,0.1);}
.sd-idx { font-size: 15px; font-weight: 900; font-style: italic; color: #94a3b8; width: 22px; text-align: center; }
.sd-item:nth-child(1) .sd-idx { color: #ef4444; } .sd-item:nth-child(2) .sd-idx { color: #f97316; } .sd-item:nth-child(3) .sd-idx { color: #f59e0b; }
.sd-name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-tag { font-size: 11px; padding: 2px 6px; border-radius: 4px; font-weight: 900; line-height: 1; }
.sd-tag.hot { background: #fee2e2; color: #ef4444; } .sd-tag.new { background: #e0f2fe; color: #0284c7; } .sd-tag.up { background: #dcfce7; color: #059669; }

/* ================= 顶级门户视觉横幅 Hero Banner ================= */
.mobile-hero {
    background: linear-gradient(135deg, #090e17 0%, #020617 100%);
    border-radius: 28px; padding: 40px 50px; color: #fff; margin-bottom: 45px; 
    box-shadow: 0 30px 60px -20px rgba(13, 148, 136, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.08); 
    position: relative; overflow: hidden; display: flex; align-items: center;
}
.mobile-hero::before {
    content: ''; position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1542751371-adc38448a05e?w=1600&fit=crop') center/cover;
    opacity: 0.15; mix-blend-mode: color-dodge; pointer-events: none; z-index: 1;
}
.hero-grid {
    position: absolute; inset: -50%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px; transform: perspective(600px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 15s linear infinite; pointer-events: none; z-index: 2;
    mask-image: linear-gradient(to top, transparent 0%, black 80%); -webkit-mask-image: linear-gradient(to top, transparent 0%, black 80%);
}
@keyframes gridMove {
    0% { transform: perspective(600px) rotateX(60deg) translateY(0) translateZ(-200px); }
    100% { transform: perspective(600px) rotateX(60deg) translateY(60px) translateZ(-200px); }
}

.hero-glow { position: absolute; border-radius: 50%; filter: blur(100px); z-index: 0; pointer-events: none; mix-blend-mode: screen;}
.hero-glow-1 { left: -10%; top: -30%; width: 400px; height: 400px; background: #0d9488; opacity: 0.4; animation: pulseGlow 8s infinite alternate; } 
.hero-glow-2 { right: 10%; bottom: -50%; width: 500px; height: 500px; background: #3b82f6; opacity: 0.3; animation: pulseGlow 10s infinite alternate-reverse;} 
.hero-glow-3 { right: 40%; top: -20%; width: 300px; height: 300px; background: #8b5cf6; opacity: 0.3; animation: pulseGlow 12s infinite alternate;} 
.hero-glow-4 { left: 40%; bottom: -30%; width: 250px; height: 250px; background: #f97316; opacity: 0.2; animation: pulseGlow 9s infinite alternate-reverse;} 
@keyframes pulseGlow { 0% { opacity: 0.2; transform: scale(0.85); } 100% { opacity: 0.5; transform: scale(1.15); } }

.hud-element { position: absolute; z-index: 3; pointer-events: none; opacity: 0.4;}
.hud-cross { width: 24px; height: 24px; }
.hud-cross::before, .hud-cross::after { content:''; position:absolute; background: #5eead4; }
.hud-cross::before { top: 50%; left: 0; width: 100%; height: 1px; transform: translateY(-50%); }
.hud-cross::after { left: 50%; top: 0; height: 100%; width: 1px; transform: translateX(-50%); }
.hud-box { width: 40px; height: 40px; border: 1px solid rgba(94, 234, 212, 0.3); border-radius: 6px; backdrop-filter: blur(4px); }
.hud-dot { width: 4px; height: 4px; background: #3b82f6; border-radius: 50%; box-shadow: 0 0 10px #3b82f6; }
.hud-1 { top: 30px; left: 30px; animation: floatSlow 6s ease-in-out infinite alternate; }
.hud-2 { bottom: 40px; right: 450px; animation: floatSlow 8s ease-in-out infinite alternate-reverse; }
.hud-3 { top: 60px; right: 30px; }
@keyframes floatSlow { 0% { transform: translateY(0px) rotate(0deg); } 100% { transform: translateY(-10px) rotate(5deg); } }

.hero-content { position: relative; z-index: 10; max-width: 600px; }
.hero-tag-wrap { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; background: rgba(13, 148, 136, 0.15); backdrop-filter: blur(12px); border-radius: 30px; font-size: 13px; font-weight: 800; letter-spacing: 1px; border: 1px solid rgba(45, 212, 191, 0.4); box-shadow: 0 0 20px rgba(13, 148, 136, 0.3); color: #ccfbf1; margin: 0;}
.blink-dot { font-size: 6px; color: #5eead4; animation: blink 1.5s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; text-shadow: 0 0 10px #5eead4; } 50% { opacity: 0.2; text-shadow: none; } }
.hero-date-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; background: rgba(255,255,255,0.05); backdrop-filter: blur(12px); border-radius: 30px; font-size: 13px; font-weight: 600; color: #cbd5e1; border: 1px solid rgba(255,255,255,0.15); letter-spacing: 0.5px;}

.hero-content h1, .hero-content h2 { font-size: 40px; font-weight: 900; margin-bottom: 16px; letter-spacing: 1px; line-height: 1.25; color: #f8fafc; text-shadow: 0 10px 30px rgba(0,0,0,0.6); }
.text-gradient { background: linear-gradient(270deg, #5eead4, #60a5fa, #c084fc, #5eead4); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: gradientShine 5s linear infinite; }
@keyframes gradientShine { to { background-position: 200% center; } }
.hero-content p { font-size: 15px; font-weight: 500; color: #cbd5e1; line-height: 1.6; margin-bottom: 0; text-shadow: 0 2px 4px rgba(0,0,0,0.5);}
.hero-content p b { color: #fff; font-weight: 800; text-shadow: 0 0 10px rgba(255,255,255,0.3); }

.hero-actions { display: flex; gap: 16px; margin-top: 24px; }
.h-btn { padding: 12px 30px; border-radius: 100px; font-size: 14px; font-weight: 800; cursor: pointer; transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); display: flex; align-items: center; gap: 10px; letter-spacing: 1px; position: relative; overflow: hidden;}
.h-btn-primary { background: linear-gradient(135deg, #0d9488, #0284c7); color: #fff; box-shadow: 0 8px 25px -5px rgba(13, 148, 136, 0.6); border: 1px solid rgba(255,255,255,0.25); text-shadow: 0 2px 4px rgba(0,0,0,0.2);}
.h-btn-primary::after { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent); transform: skewX(-20deg); transition: 0.6s; }
.h-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px -5px rgba(13, 148, 136, 0.8); border-color: rgba(255,255,255,0.6);}
.h-btn-primary:hover::after { left: 150%; }
.h-btn-glass { background: rgba(255,255,255,0.03); backdrop-filter: blur(16px); color: #fff; border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 8px 25px -5px rgba(0,0,0,0.3);}
.h-btn-glass:hover { background: rgba(255,255,255,0.1); border-color: #5eead4; transform: translateY(-3px); color: #5eead4; box-shadow: 0 10px 30px -5px rgba(94, 234, 212, 0.3);}

.hero-stats { position: absolute; right: 40px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 16px; z-index: 10; perspective: 1000px;}
.stat-box { 
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 100%); backdrop-filter: blur(30px); 
    border: 1px solid rgba(255,255,255,0.1); border-top: 1px solid rgba(255,255,255,0.3); border-left: 1px solid rgba(255,255,255,0.2); border-radius: 18px; 
    padding: 16px 24px; display: flex; align-items: center; gap: 16px; min-width: 240px; 
    box-shadow: 0 15px 30px -10px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,255,255,0.02); position: relative; overflow: hidden; transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); transform-style: preserve-3d;
}
.stat-box::before { content: ''; position: absolute; top: 0; left: -150%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent); transform: skewX(-20deg); transition: 0.5s; }
.stat-box:hover::before { left: 150%; transition: 0.8s; }
.stat-box:hover { transform: translateY(-5px) scale(1.02) rotateX(3deg) rotateY(-3deg); background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 100%); border-color: rgba(94, 234, 212, 0.5); box-shadow: 0 25px 40px -10px rgba(0,0,0,0.6), 0 0 30px rgba(45, 212, 191, 0.15); }
.stat-icon { font-size: 32px; color: rgba(255,255,255,0.7); z-index: 1; transition: 0.5s; text-shadow: 0 0 15px rgba(255,255,255,0.2);}
.stat-box:hover .stat-icon { color: #5eead4; transform: scale(1.1); text-shadow: 0 0 20px #5eead4;}
.stat-text { display: flex; flex-direction: column; text-align: left; }
.stat-num { font-size: 24px; font-weight: 900; color: #fff; line-height: 1.1; letter-spacing: 1px; font-family: 'Inter', sans-serif; text-shadow: 0 3px 8px rgba(0,0,0,0.3);}
.stat-label { font-size: 12px; font-weight: 600; color: #94a3b8; letter-spacing: 0.5px; transition: 0.3s;}
.stat-box:hover .stat-label { color: #e2e8f0; }

/* ================= 专属主题色彩设定 ================= */
.theme-mobile { --theme-color: #0d9488; --theme-light: #f0fdfa; --theme-gradient: linear-gradient(135deg, #0d9488, #0f766e); }
.theme-pc { --theme-color: #3b82f6; --theme-light: #eff6ff; --theme-gradient: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.theme-web { --theme-color: #8b5cf6; --theme-light: #f5f3ff; --theme-gradient: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.theme-mini { --theme-color: #f59e0b; --theme-light: #fffbeb; --theme-gradient: linear-gradient(135deg, #f59e0b, #d97706); }

/* ================= 板块标题与标签云 ================= */
.mb-sec { margin-bottom: 80px; }
.sec-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; padding-left: 20px; position: relative; }
.theme-sec .sec-header::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); height: 28px; width: 6px; border-radius: 4px; background: var(--theme-gradient); box-shadow: 0 0 12px rgba(0,0,0,0.15); }
.theme-sec .sec-title i { color: var(--theme-color) !important; }
.sec-title-wrap { display: flex; flex-direction: column; gap: 6px;}
.sec-title { font-size: 26px; font-weight: 900; color: var(--text-dark); display: flex; align-items: center; gap: 12px; line-height: 1.1; letter-spacing: 0.05em;}
.sec-subtitle { font-size: 13px; font-weight: 800; color: #94a3b8; text-transform: uppercase; letter-spacing: 3px; }

/* ================= 排行榜核心样式 ================= */
.rank-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.rank-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.rank-col { 
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(24px); border-radius: var(--radius-main); 
    box-shadow: var(--shadow-soft); border: 1px solid rgba(255,255,255,1); display: flex; flex-direction: column; position: relative; overflow: hidden; transition: 0.4s;
} 
.rank-col:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }

.rank-head-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 260px; background-size: cover; background-position: center top;
    mask-image: linear-gradient(to bottom, rgba(255,255,255,0.7) 0%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, rgba(255,255,255,0.7) 0%, transparent 100%);
    z-index: 0; opacity: 0.15; transition: opacity 0.5s;
}
.rank-col:hover .rank-head-bg { opacity: 0.25; }
.rank-head { padding: 24px 24px 16px; font-size: 20px; font-weight: 900; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; letter-spacing: 0.5px; }
.rank-grid-4 .rank-head { padding: 20px 20px 14px; font-size: 18px; }
.rank-head-left { display: flex; align-items: center; gap: 10px; color: var(--text-dark); }

.theme-mobile .rank-head i { color: var(--theme-color) !important; filter: drop-shadow(0 2px 4px rgba(13,148,136,0.2)); }
.theme-pc .rank-head i { color: var(--theme-color) !important; filter: drop-shadow(0 2px 4px rgba(59,130,246,0.2)); }
.theme-web .rank-head i { color: var(--theme-color) !important; filter: drop-shadow(0 2px 4px rgba(139,92,246,0.2)); }
.theme-mini .rank-head i { color: var(--theme-color) !important; filter: drop-shadow(0 2px 4px rgba(245,158,11,0.2)); }
.rank-head i { font-size: 22px; }

.rank-list-content { padding: 0 16px 16px; flex: 1; display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
.rank-grid-4 .rank-list-content { padding: 0 12px 14px; gap: 8px; }

.rank-item { padding: 0; height: 80px; border-radius: 14px; position: relative; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid transparent; background: transparent; display: flex; align-items: center; }
.theme-sec .rank-item:hover { background: #ffffff; transform: translateX(6px) scale(1.02); box-shadow: 0 10px 20px rgba(0,0,0,0.06); border-color: var(--theme-color); z-index: 20; }
.theme-sec .rank-item::before { content: ''; position: absolute; left: -1px; top: 20%; height: 60%; width: 4px; border-radius: 4px; background: var(--theme-color); opacity: 0; transform: scaleY(0); transition: 0.3s; }
.theme-sec .rank-item:hover::before { opacity: 1; transform: scaleY(1); }

a.rank-inner { display: flex; align-items: center; height: 100%; width: 100%; padding: 8px 10px 8px 12px; gap: 12px; position: relative; z-index: 1; }
.rank-img-wrap { width: 90px; height: 56px; border-radius: 10px; overflow: hidden; flex-shrink: 0; border: 1px solid rgba(0,0,0,0.03); background:#f1f5f9; aspect-ratio: 90 / 56; }
.rank-img { width: 100%; height: 100%; object-fit: cover; transition: all 0.4s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.06); }
.rank-item:hover .rank-img { transform: scale(1.05); box-shadow: 0 8px 15px rgba(0,0,0,0.1);}

.rank-info { flex: 1; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 4px;}
.rank-title-row { display: flex; align-items: center; gap: 8px; }
.rank-idx { width: auto; min-width: 22px; height: 22px; border-radius: 6px; padding: 0 5px; background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; font-size: 12px; font-weight: 900; text-align: center; line-height: 20px; flex-shrink: 0; font-style: normal; font-family: 'Inter', sans-serif; }
.rank-item:nth-child(1) .rank-idx { background: linear-gradient(135deg, #fef08a, #f59e0b); color: #fff; box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3); border:none;}
.rank-item:nth-child(2) .rank-idx { background: linear-gradient(135deg, #e2e8f0, #94a3b8); color: #fff; box-shadow: 0 4px 10px rgba(148, 163, 184, 0.3); border:none;}
.rank-item:nth-child(3) .rank-idx { background: linear-gradient(135deg, #fed7aa, #ea580c); color: #fff; box-shadow: 0 4px 10px rgba(234, 88, 12, 0.3); border:none;}

.rank-name { font-size: 14px; font-weight: 800; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: 0.3s; }
.theme-sec .rank-item:hover .rank-name { color: var(--theme-color); }
.rank-sub { font-size: 12px; color: var(--text-sub); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.rank-score { color: var(--accent); font-weight: 800; margin-right: 4px; font-family: 'Inter', sans-serif;}

.rank-footer { padding: 0 20px 20px; position: relative; z-index: 1;}
.rank-grid-4 .rank-footer { padding: 0 14px 16px; }
.btn-rank-more { display: block; width: 100%; padding: 12px; background: #f8fafc; border-radius: 12px; color: var(--text-sub); font-size: 13px; font-weight: 800; text-align: center; transition: 0.3s; border: 1px solid rgba(0,0,0,0.05); letter-spacing: 1px; display: flex; align-items: center; justify-content: center; gap: 8px;}
.theme-sec .btn-rank-more:hover { background: var(--theme-light); color: var(--theme-color); border-color: rgba(0,0,0,0.1); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }

/* ================= 悬浮预览弹窗 ================= */
.global-rank-popover {
    position: absolute; width: 340px; background: rgba(255, 255, 255, 0.98); border: 1px solid rgba(255,255,255,1);
    backdrop-filter: blur(20px); border-radius: 20px; padding: 18px; box-shadow: 0 30px 60px -15px rgba(0,0,0,0.2); 
    pointer-events: none; opacity: 0; visibility: hidden;
    transform: translateX(15px) translateY(5px) scale(0.98); transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); z-index: 9999;
}
.global-rank-popover.show { opacity: 1; visibility: visible; transform: translateX(0) translateY(0) scale(1); }
.global-rank-popover.left-side { transform: translateX(-15px) translateY(5px) scale(0.98); }
.global-rank-popover.left-side.show { transform: translateX(0) translateY(0) scale(1); }

.grp-cover-wrap { width: 100%; height: 180px; border-radius: 12px; overflow: hidden; margin-bottom: 16px; background: #f1f5f9; box-shadow: 0 6px 15px rgba(0,0,0,0.08); border: 1px solid rgba(0,0,0,0.03); aspect-ratio: 302 / 180; }
.grp-cover { width: 100%; height: 100%; object-fit: cover; }
.grp-title { color: var(--text-dark); font-size: 22px; font-weight: 900; margin-bottom: 12px; line-height: 1.3; }
.grp-tag-bar { background: var(--primary-light); border-radius: 10px; padding: 8px 14px; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; border: 1px solid rgba(13,148,136,0.1);}
.grp-tag-icon { color: var(--primary); font-size: 14px; } .grp-tag-text { color: var(--primary-hover); font-size: 14px; font-weight: 800; } 
.grp-desc { color: var(--text-sub); font-size: 13px; line-height: 1.7; text-align: justify; font-weight: 500;}

/* ================= 页脚 ================= */
.site-footer {
    background-color: #0f172a; color: #94a3b8; padding: 60px 40px 25px; border-radius: var(--radius-main);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 1px solid rgba(255,255,255,0.05); position: relative; overflow: hidden; margin-top: 40px;
}
.site-footer::before { content: ''; position: absolute; top:0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--primary), #3b82f6); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin: 0 auto 40px; max-width: 900px; }
.footer-col h4 { color: #f8fafc; font-size: 16px; font-weight: 900; margin-bottom: 25px; position: relative; letter-spacing: 1px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: -10px; width: 30px; height: 3px; background: var(--primary); border-radius: 2px; }
.footer-logo { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 24px; font-weight: 900; margin-bottom: 20px; }
.footer-logo i { color: var(--primary); font-size: 30px; text-shadow: 0 0 15px rgba(13, 148, 136, 0.5);}
.footer-desc { line-height: 1.8; font-size: 14px; margin-bottom: 25px; color: #94a3b8; font-weight: 500; }
.footer-links { display: flex; flex-direction: column; gap: 14px; }
.footer-links a { color: #94a3b8; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.footer-links a::before { content: '›'; color: var(--primary); font-size: 18px; font-weight: bold; opacity: 0; transform: translateX(-5px); transition: 0.3s; }
.footer-links a:hover { color: #fff; } .footer-links a:hover::before { opacity: 1; transform: translateX(0); }
.footer-bottom { text-align: center; padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 13px; font-weight: 500; color: #64748b; }
.footer-bottom span { color: rgba(255,255,255,0.1); margin: 0 10px; }

/* 回到顶部按钮 */
.back-to-top {
    position: fixed; bottom: 40px; right: 40px; width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 22px; box-shadow: 0 10px 25px rgba(13, 148, 136, 0.4);
    cursor: pointer; z-index: 1000; opacity: 0; visibility: hidden;
    transform: translateY(20px); transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 35px rgba(13, 148, 136, 0.6); }

/* ================= 媒体查询响应式 ================= */
@media (max-width: 1600px) { .rank-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1400px) { .rank-grid-3 { grid-template-columns: repeat(2, 1fr); } .hero-stats { display: none; } }
@media (max-width: 1100px) { .rank-grid-3, .rank-grid-4 { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr; text-align: center; } .footer-col h4::after { left: 50%; transform: translateX(-50%); } .footer-logo { justify-content: center; } .footer-links { align-items: center; } }