/* ========== 全局重置 ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #fff;
}

/* ========== 全屏背景 ========== */
body {
    background: url("/static/img/bg.jpg") center center / cover no-repeat fixed;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
    z-index: 0;
}

/* ========== 主布局 ========== */
.container {
    position: relative;
    z-index: 1;
    display: flex;
    height: 100vh;
    width: 100%;
}

/* ========== 左侧面板 ========== */
.left-panel {
    width: 38%;
    min-width: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
}

.left-content {
    text-align: left;
    max-width: 360px;
}

.logo {
    font-size: 56px;
    font-weight: 400;
    letter-spacing: 8px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #b8d8c8 0%, #e8f5e9 35%, #a3c9b7 65%, #c8e6d8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(180, 220, 200, 0.25), 0 0 40px rgba(160, 210, 180, 0.10);
}

/* LOGO 链接重置：防止浏览器默认 visited 紫色透出 */
.logo-link,
.logo-link:link,
.logo-link:visited,
.logo-link:hover,
.logo-link:active {
    text-decoration: none;
    color: inherit;
    border: none;
    outline: none;
    background: transparent;
}

.logo-link::before,
.logo-link::after,
.logo::before,
.logo::after {
    display: none;
    content: none;
}

.tagline {
    font-size: 16px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 2px;
    margin-bottom: 40px;
    padding-bottom: 28px;
    line-height: 1.6;
}

/* ========== 网站链接图标 ========== */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.3s ease;
    text-decoration: none;
    flex-shrink: 0;
    position: relative;
}

.social-icon:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.social-icon img {
    border-radius: 4px;
}

/* ========== 左侧音乐播放器（紧凑） ========== */
.music-player-left {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 6px 14px;
}

.music-artwork-sm {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.music-text-left {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

/* ========== 右侧面板 ========== */
.right-panel {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 40px 56px;
    overflow-y: auto;
}

.right-content {
    width: 100%;
    max-width: 680px;
}

/* ========== 顶部行列：时钟 + 天气 ========== */
.top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}

.clock-section {
    flex: 1;
}

.clock-time {
    font-size: 48px;
    font-weight: 200;
    letter-spacing: 2px;
    font-variant-numeric: tabular-nums;
    font-family: "SF Mono", "JetBrains Mono", "Consolas", monospace;
    line-height: 1.1;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.clock-date {
    font-size: 16px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    letter-spacing: 1px;
}

.weather-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.weather-icon { color: rgba(255, 255, 255, 0.75); }

.weather-text {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
}

.weather-city {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ========== 全网热点入口卡片 ========== */
.hotspots-entry {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 22px 24px;
    margin-bottom: 24px;
    text-decoration: none;
    color: #fff;
    transition: all 0.35s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hotspots-entry:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hotspots-entry-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.55);
    flex-shrink: 0;
}

.hotspots-entry-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hotspots-entry-title {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
}

.hotspots-entry-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.hotspots-entry-arrow {
    color: rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

/* ========== 功能卡片 ========== */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.feature-card {
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 22px 18px;
    text-decoration: none;
    color: #fff;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.feature-card:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-icon {
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.3s ease;
}

.feature-card:hover .card-icon {
    color: rgba(170, 210, 255, 0.9);
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}

.card-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

/* ========== 响应式 ========== */
@media (max-width: 900px) {
    .container { flex-direction: column; }
    .left-panel {
        width: 100%;
        min-width: unset;
        padding: 36px 28px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .left-content { text-align: center; max-width: unset; }
    .logo { font-size: 36px; }
    .tagline { margin-bottom: 24px; padding-bottom: 20px; }
    .social-links { justify-content: center; }
    .music-player-left { justify-content: center; }
    .right-panel { padding: 24px 20px; overflow-y: auto; }
    .clock-time { font-size: 32px; }
    .feature-cards { grid-template-columns: 1fr; }
}
