/* ===== 基础重置与字体 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { font-size: 13.333vw; }
@media (min-width: 540px) { html { font-size: 72px; } }
body { 
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    padding-bottom: 1.5rem;
}
a { text-decoration: none; color: inherit; }

/* ===== 头部 - 玻璃拟态 ===== */
.mobile-header {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(59, 130, 246, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #fff;
    padding: 0.25rem 0.35rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.1) inset;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-header h1 {
    font-size: 0.42rem;
    font-weight: 800;
    margin-bottom: 0.12rem;
    background: linear-gradient(90deg, #fff 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.02em;
}
.header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.24rem;
    opacity: 0.85;
}
.time { font-weight: 500; letter-spacing: 0.01em; }
.weather-container { display: flex; align-items: center; gap: 0.08rem; }
.weather-icon-anim { font-size: 0.28rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); }

/* ===== 卡片通用 - 玻璃拟态风格 ===== */
.card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(51, 65, 85, 0.85) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 0.24rem;
    margin: 0.3rem 0.3rem 0;
    padding: 0.35rem;
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        0 0 0 1px rgba(255,255,255,0.08) inset,
        0 1px 0 rgba(255,255,255,0.05) inset;
    border: 1px solid rgba(148, 163, 184, 0.1);
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    opacity: 0.6;
}
.card-title {
    font-size: 0.34rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.3rem;
    padding-left: 0.2rem;
    border-left: 3px solid #3b82f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    letter-spacing: 0.01em;
}
.card-title::after {
    content: '›';
    font-size: 0.4rem;
    color: #64748b;
    margin-left: 0.1rem;
}

/* ===== TOP5列表 - 霓虹光效 ===== */
.top5-list { display: flex; flex-direction: column; gap: 0.18rem; }
.top5-item {
    display: flex;
    align-items: center;
    gap: 0.22rem;
    padding: 0.22rem 0.25rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 0.16rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(148, 163, 184, 0.08);
    position: relative;
    overflow: hidden;
}
.top5-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #3b82f6, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s;
}
.top5-item:active { transform: scale(0.98); background: rgba(59, 130, 246, 0.25); }
.top5-item:active::after { opacity: 1; }
.top5-rank {
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.24rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}
.top5-rank.orange { 
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}
.top5-rank.green { 
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}
.top5-rank.blue { 
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
}
.top5-info { flex: 1; }
.top5-city {
    font-size: 0.28rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 0.06rem;
}
.top5-city a { color: #f1f5f9; }
.top5-data {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.24rem;
}
.top5-value { 
    color: #fbbf24; 
    font-weight: 800; 
    font-size: 0.3rem;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}
.top5-percent { color: #94a3b8; font-size: 0.22rem; }

/* ===== 中央数据球 - 发光球体 ===== */
.center-sphere {
    position: relative;
    padding: 0.4rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sphere-container {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 40%, #8b5cf6 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 
        0 0 40px rgba(59, 130, 246, 0.4),
        0 0 80px rgba(139, 92, 246, 0.2),
        inset 0 -3px 15px rgba(0,0,0,0.3),
        inset 0 3px 15px rgba(255,255,255,0.1);
    position: relative;
    z-index: 2;
    animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(59, 130, 246, 0.4), 0 0 80px rgba(139, 92, 246, 0.2); }
    50% { transform: scale(1.04); box-shadow: 0 0 60px rgba(59, 130, 246, 0.6), 0 0 100px rgba(139, 92, 246, 0.3); }
}
.sphere-title {
    font-size: 0.24rem;
    opacity: 0.9;
    margin-bottom: 0.08rem;
    font-weight: 500;
}
.sphere-value {
    font-size: 0.52rem;
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    letter-spacing: 0.02em;
}

/* 环绕球 */
.orbit-balls {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 0.35rem;
    flex-wrap: wrap;
}
.orbit-ball {
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(51, 65, 85, 0.9) 100%);
    border: 1px solid rgba(148, 163, 184, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.05) inset;
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(8px);
}
.orbit-ball:nth-child(2) { animation-delay: 0.5s; }
.orbit-ball:nth-child(3) { animation-delay: 1s; }
.orbit-ball:nth-child(4) { animation-delay: 1.5s; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.orbit-ball .city { font-size: 0.22rem; color: #94a3b8; font-weight: 600; }
.orbit-ball .percent { font-size: 0.26rem; color: #fbbf24; font-weight: 800; margin: 0.04rem 0; }
.orbit-ball .value { font-size: 0.2rem; color: #64748b; }

/* ===== 核心数据 - 网格卡片 ===== */
.core-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.12rem;
    margin-bottom: 0.12rem;
}
.stat-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 0.12rem;
    padding: 0.18rem 0.12rem;
    text-align: center;
    border: 1px solid rgba(148, 163, 184, 0.08);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    opacity: 0.5;
}
.stat-box:active { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3); }
.stat-label {
    font-size: 0.2rem;
    color: #94a3b8;
    margin-bottom: 0.06rem;
    white-space: nowrap;
    font-weight: 500;
}
.stat-value {
    font-size: 0.28rem;
    font-weight: 800;
    color: #60a5fa;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
}

/* ===== 年份数据 - 数据卡片 ===== */
.year-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.18rem; }
.year-item {
    display: flex;
    align-items: center;
    gap: 0.18rem;
    padding: 0.22rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.05) 100%);
    border-radius: 0.14rem;
    border: 1px solid rgba(245, 158, 11, 0.1);
    transition: all 0.3s;
}
.year-item:active { transform: scale(0.98); background: rgba(245, 158, 11, 0.2); }
.year-icon { font-size: 0.36rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.year-info { flex: 1; min-width: 0; }
.year-label {
    font-size: 0.22rem;
    color: #94a3b8;
    margin-bottom: 0.04rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}
.year-value {
    font-size: 0.28rem;
    font-weight: 800;
    color: #fbbf24;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.3);
}

/* ===== 完成情况 - 霓虹卡片 ===== */
.execution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.18rem;
}
.execution-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.1) 100%);
    border-radius: 0.16rem;
    padding: 0.25rem;
    text-align: center;
    border: 1px solid rgba(16, 185, 129, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}
.execution-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #10b981, #34d399);
    opacity: 0.6;
}
.execution-box:active { transform: translateY(-2px); }
.exe-title {
    font-size: 0.24rem;
    color: #94a3b8;
    margin-bottom: 0.12rem;
    font-weight: 600;
}
.exe-title a { color: #34d399; }
.exe-value {
    font-size: 0.42rem;
    font-weight: 900;
    color: #34d399;
    margin-bottom: 0.15rem;
    text-shadow: 0 0 12px rgba(52, 211, 153, 0.4);
}

/* 车辆动画 */
.vehicle-transport {
    position: relative;
    height: 0.7rem;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-radius: 0.1rem;
    overflow: hidden;
    margin-top: 0.12rem;
    border: 1px solid rgba(148, 163, 184, 0.1);
}
.transport-road {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #334155;
    transform: translateY(-50%);
}
.road-marking {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: repeating-linear-gradient(90deg, #64748b 0px, #64748b 6px, transparent 6px, transparent 14px);
    transform: translateY(-50%);
    animation: roadMove 1.2s linear infinite;
}
@keyframes roadMove {
    0% { background-position: 0 0; }
    100% { background-position: 20px 0; }
}
.transport-car {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    font-size: 0.36rem;
    animation: carMove 3.5s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
    z-index: 2;
}
@keyframes carMove {
    0%, 100% { left: 10%; }
    50% { left: 70%; }
}
.transport-stats {
    display: flex;
    justify-content: space-between;
    padding: 0 0.12rem;
    font-size: 0.18rem;
    color: #64748b;
    position: absolute;
    bottom: 0.04rem;
    left: 0;
    right: 0;
}

/* ===== 各类车辆 - 进度条风格 ===== */
.vehicle-simple-list { display: flex; flex-direction: column; gap: 0.18rem; }
.vehicle-simple-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.22rem 0.25rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-radius: 0.14rem;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s;
}
.vehicle-simple-item:active { transform: scale(0.98); background: rgba(139, 92, 246, 0.2); }
.vehicle-simple-left {
    display: flex;
    align-items: center;
    gap: 0.12rem;
}
.vehicle-simple-icon { font-size: 0.34rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.vehicle-simple-name { font-size: 0.26rem; font-weight: 600; color: #e2e8f0; }
.vehicle-simple-right {
    display: flex;
    align-items: center;
    gap: 0.12rem;
    flex: 1;
    justify-content: flex-end;
}
.vehicle-simple-value {
    font-size: 0.24rem;
    font-weight: 700;
    color: #a78bfa;
    white-space: nowrap;
    text-shadow: 0 0 8px rgba(167, 139, 250, 0.3);
}
.vehicle-simple-bar {
    width: 1rem;
    height: 0.1rem;
    background: #1e293b;
    border-radius: 0.05rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.1);
}
.vehicle-simple-fill {
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
    border-radius: 0.05rem;
    animation: barGrow 1.5s ease-out forwards;
    transform-origin: left;
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.4);
}
@keyframes barGrow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* ===== 运输趋势 - 赛博朋克风格 ===== */
.chart-container { position: relative; padding: 0.15rem 0; }
.logistics-animation {
    position: relative;
    height: 3.2rem;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    border-radius: 0.16rem;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1) inset;
}
.percent-100 {
    position: absolute;
    top: 0.1rem;
    right: 0.18rem;
    font-size: 0.2rem;
    color: #475569;
    font-weight: 700;
}
.road-bg {
    position: absolute;
    bottom: 1rem;
    left: 0.18rem;
    right: 0.18rem;
    height: 0.12rem;
    background: #334155;
    border-radius: 0.06rem;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}
.road-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: repeating-linear-gradient(90deg, #60a5fa 0px, #60a5fa 5px, transparent 5px, transparent 12px);
    transform: translateY(-50%);
    animation: roadLine 0.8s linear infinite;
}
.road-line.delay { animation-delay: 0.4s; }
@keyframes roadLine {
    0% { background-position: 0 0; }
    100% { background-position: 12px 0; }
}

/* 卡车 */
.truck-container {
    position: absolute;
    bottom: 1.3rem;
    left: 0.25rem;
    animation: truckDrive 4s ease-in-out infinite;
    z-index: 3;
}
@keyframes truckDrive {
    0%, 100% { left: 0.25rem; }
    50% { left: calc(100% - 1.8rem); }
}
.truck { display: flex; align-items: flex-end; }
.truck-body { display: flex; align-items: center; }
.truck-cab { font-size: 0.46rem; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5)); }
.truck-trailer {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    padding: 0.04rem 0.12rem;
    border-radius: 0.06rem;
    font-size: 0.18rem;
    margin-left: -0.04rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}
.truck-wheels {
    display: flex;
    gap: 0.12rem;
    margin-left: 0.08rem;
}
.wheel {
    font-size: 0.2rem;
    animation: wheelSpin 0.4s linear infinite;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}
@keyframes wheelSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 数据点 */
.data-points {
    position: absolute;
    bottom: 0.25rem;
    left: 0.18rem;
    right: 0.18rem;
    height: 0.9rem;
}
.data-point {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    bottom: 0;
}
.point-dot {
    width: 0.14rem;
    height: 0.14rem;
    border-radius: 50%;
    background: #3b82f6;
    margin-bottom: 0.06rem;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
    animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(59, 130, 246, 0.6); }
    50% { box-shadow: 0 0 20px rgba(59, 130, 246, 1); }
}
.point-label { font-size: 0.18rem; color: #94a3b8; font-weight: 600; }
.point-value { font-size: 0.22rem; color: #fbbf24; font-weight: 800; text-shadow: 0 0 8px rgba(251, 191, 36, 0.3); }

/* 数据流 */
.data-stream {
    position: absolute;
    top: 0.4rem;
    left: 0.18rem;
    right: 0.18rem;
    display: flex;
    justify-content: space-around;
}
.stream-item {
    text-align: center;
    background: rgba(30, 41, 59, 0.8);
    padding: 0.08rem 0.16rem;
    border-radius: 0.1rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(148, 163, 184, 0.1);
}
.stream-label { font-size: 0.18rem; color: #64748b; display: block; font-weight: 500; }
.stream-value { font-size: 0.26rem; font-weight: 800; color: #60a5fa; text-shadow: 0 0 8px rgba(96, 165, 250, 0.3); }
.stream-value.green { color: #34d399; text-shadow: 0 0 8px rgba(52, 211, 153, 0.3); }

/* ===== 底部安全区 ===== */
.safe-bottom { height: 1.4rem; }

/* ===== 底部导航 - 玻璃拟态 ===== */
.mobile-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
.footer-nav {
    display: flex;
    justify-content: space-around;
    padding: 0.12rem 0 0.08rem;
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.04rem;
    font-size: 0.2rem;
    color: #64748b;
    transition: all 0.3s;
    padding: 0.08rem 0.15rem;
    border-radius: 0.12rem;
}
.nav-item:active { color: #60a5fa; background: rgba(59, 130, 246, 0.15); }
.nav-text { font-weight: 600; }
.footer-time {
    text-align: center;
    font-size: 0.18rem;
    color: #475569;
    padding-bottom: 0.08rem;
}

/* ===== 响应式 ===== */
@media (max-width: 360px) {
    .core-stats { grid-template-columns: repeat(2, 1fr); }
    .year-stats { grid-template-columns: 1fr; }
    .execution-grid { grid-template-columns: 1fr; }
}

/* ===== 加载动画 ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.card { animation: fadeInUp 0.6s ease-out forwards; }
.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }
.card:nth-child(4) { animation-delay: 0.3s; }
.card:nth-child(5) { animation-delay: 0.4s; }
.card:nth-child(6) { animation-delay: 0.5s; }
.card:nth-child(7) { animation-delay: 0.6s; }