/* 字体配置 - 使用系统默认字体（确保国内可用） */
/* 标题字体：系统等宽字体（科技感强） */
/* 正文字体：系统默认字体（清晰易读） */

:root {
    --bg-color: #050b1a;
    --accent-color: #00f2ff;
    --text-color: #e0e0e0;
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Light Theme */
body.light-theme {
    --bg-color: #f5f5f5;
    --accent-color: #0088cc;
    --text-color: #333333;
    --card-bg: rgba(0, 0, 0, 0.05);
    --glass-border: rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

body.light-theme .stars-container {
    opacity: 0.3;
}

body.light-theme .scanline {
    background: rgba(0, 136, 204, 0.1);
}

/* Header Info */
.header-info {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(5, 11, 26, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 242, 255, 0.2);
    z-index: 1000;
    transition: all 0.5s ease;
}

body.light-theme .header-info {
    background: rgba(255, 255, 255, 0.8);
    border-bottom-color: rgba(0, 136, 204, 0.2);
}

.top-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.clock-small {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.clock-small .time {
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
    letter-spacing: 1px;
    margin: 0;
}

.clock-small .date {
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 0.8rem;
    color: rgba(224, 224, 224, 0.8);
    letter-spacing: 1px;
    margin: 2px 0 0 0;
}

.weather-small {
    display: flex;
    align-items: center;
    gap: 10px;
}

.weather-small .weather-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 5px rgba(0, 242, 255, 0.3));
}

.weather-small .weather-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.weather-small .temperature {
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 1rem;
    font-weight: bold;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
    margin: 0;
}

.weather-small .weather-desc {
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 0.8rem;
    color: rgba(224, 224, 224, 0.8);
    margin: 2px 0 0 0;
}

/* Theme Toggle */
.theme-toggle {
    position: relative;
    z-index: 1001;
}

.theme-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--accent-color);
    font-size: 16px;
    backdrop-filter: blur(10px);
}

.theme-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

.theme-btn .light-icon {
    display: none;
}

.theme-btn.light-theme .dark-icon {
    display: none;
}

.theme-btn.light-theme .light-icon {
    display: block;
}

body.light-theme .theme-btn {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 136, 204, 0.3);
    color: var(--accent-color);
}

body.light-theme .theme-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 20px rgba(0, 136, 204, 0.3);
}

body.light-theme .clock-small .time {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(0, 136, 204, 0.3);
}

body.light-theme .clock-small .date {
    color: rgba(51, 51, 51, 0.8);
}

body.light-theme .weather-small .weather-icon {
    filter: drop-shadow(0 0 5px rgba(0, 136, 204, 0.3));
}

body.light-theme .weather-small .temperature {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(0, 136, 204, 0.3);
}

body.light-theme .weather-small .weather-desc {
    color: rgba(51, 51, 51, 0.8);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
    background: radial-gradient(circle at center, #0a1931 0%, #050b1a 100%);
    transition: all 0.5s ease;
}

body.light-theme {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

/* 扫描线特效 */
.scanline {
    width: 100%; height: 2px;
    background: rgba(0, 242, 255, 0.1);
    position: fixed; top: 0; z-index: 10;
    animation: scan 8s linear infinite;
}

@keyframes scan {
    0% { top: -10%; }
    100% { top: 110%; }
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 20px 50px;
}

.header {
    text-align: center;
    margin-bottom: 60px;
}

.logo {
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 3rem;
    letter-spacing: 5px;
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.5);
}

.logo span { color: #fff; font-weight: 300; }

.category-section { margin-bottom: 40px; }

.category-title {
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid var(--accent-color);
    text-transform: uppercase;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

/* 科技感卡片 */
.card {
    position: relative;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border-radius: 4px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
}

.card-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.info h3 { font-size: 1rem; margin-bottom: 4px; }
.info p { font-size: 0.8rem; opacity: 0.6; }

/* 边框装饰 */
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 10px; height: 10px;
    border-top: 2px solid var(--accent-color);
    border-left: 2px solid var(--accent-color);
}

/* CSS Icons */
.icon {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.1), rgba(0, 242, 255, 0.05));
    border: 1px solid rgba(0, 242, 255, 0.3);
    border-radius: 6px;
    overflow: hidden;
}

.icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 242, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: icon-shine 3s infinite;
}

@keyframes icon-shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* AI Icon */
.icon-ai::before {
    content: 'AI';
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 14px;
    font-weight: bold;
    color: var(--accent-color);
    z-index: 1;
}

/* GitHub Icon */
.icon-github::before {
    content: 'GH';
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 14px;
    font-weight: bold;
    color: var(--accent-color);
    z-index: 1;
}

/* Docs Icon */
.icon-docs::before {
    content: 'Docs';
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 10px;
    font-weight: bold;
    color: var(--accent-color);
    z-index: 1;
}

/* Vue Icon */
.icon-vue::before {
    content: 'Vue';
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 12px;
    font-weight: bold;
    color: var(--accent-color);
    z-index: 1;
}

/* Design Icon */
.icon-design::before {
    content: 'Design';
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 8px;
    font-weight: bold;
    color: var(--accent-color);
    z-index: 1;
}

/* Stars Background */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

/* Clock */
.clock-container {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: rgba(5, 11, 26, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.1);
}

.time {
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
    letter-spacing: 4px;
    margin-bottom: 10px;
    animation: clock-pulse 2s infinite alternate;
}

.date {
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 1rem;
    color: rgba(224, 224, 224, 0.8);
    letter-spacing: 2px;
}

@keyframes clock-pulse {
    0% { text-shadow: 0 0 20px rgba(0, 242, 255, 0.5); }
    100% { text-shadow: 0 0 30px rgba(0, 242, 255, 0.8); }
}

/* System Info Panel */
.system-info-container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 20px;
    background: rgba(5, 11, 26, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.1);
}

.system-info-title {
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid var(--accent-color);
    text-transform: uppercase;
}

.system-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.system-info-item {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.system-info-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
}

.system-info-label {
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 0.8rem;
    color: rgba(224, 224, 224, 0.6);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.system-info-value {
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: bold;
}

/* System Monitor */
.system-monitor {
    max-width: 1100px;
    margin: 30px auto;
    padding: 20px;
    background: rgba(5, 11, 26, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.1);
}

.monitor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.monitor-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 6px;
    padding: 15px;
    transition: all 0.3s ease;
}

.monitor-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
}

.monitor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.monitor-label {
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 0.9rem;
    color: rgba(224, 224, 224, 0.8);
}

.monitor-value {
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: bold;
}

.monitor-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.monitor-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 242, 255, 0.5), var(--accent-color));
    border-radius: 4px;
    transition: width 0.5s ease;
    position: relative;
}

.monitor-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: monitor-shine 2s infinite;
}

@keyframes monitor-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Calendar Widget */
.calendar-widget {
    max-width: 1100px;
    margin: 30px auto;
    padding: 20px;
    background: rgba(5, 11, 26, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.1);
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.calendar-nav {
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.3);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--accent-color);
    font-size: 12px;
}

.calendar-nav:hover {
    background: rgba(0, 242, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

.calendar-title {
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 1.2rem;
    color: var(--accent-color);
    margin: 0;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.calendar-day-name {
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 0.8rem;
    color: rgba(224, 224, 224, 0.8);
    text-align: center;
    padding: 10px;
    border-bottom: 1px solid rgba(0, 242, 255, 0.2);
    text-transform: uppercase;
}

.calendar-days {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
    color: rgba(224, 224, 224, 0.8);
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    cursor: pointer;
}

.calendar-day:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

.calendar-day.today {
    background: rgba(0, 242, 255, 0.2);
    border-color: var(--accent-color);
    color: var(--accent-color);
    font-weight: bold;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.3);
}

.calendar-day.empty {
    background: transparent;
    border: none;
    cursor: default;
}

/* Weather Widget */
.weather-widget {
    max-width: 1100px;
    margin: 30px auto;
    padding: 20px;
    background: rgba(5, 11, 26, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.1);
}

.widget-title {
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid var(--accent-color);
    text-transform: uppercase;
}

.weather-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.weather-main {
    display: flex;
    align-items: center;
    gap: 20px;
}

.weather-icon {
    font-size: 4rem;
    filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.3));
}

.weather-info {
    display: flex;
    flex-direction: column;
}

.temperature {
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.5);
}

.weather-desc {
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 1.1rem;
    color: rgba(224, 224, 224, 0.8);
}

.weather-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    flex: 1;
    min-width: 300px;
}

.weather-detail-item {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.weather-detail-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
}

.detail-label {
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 0.8rem;
    color: rgba(224, 224, 224, 0.6);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: bold;
}

/* Music Player */
.music-player {
    position: fixed;
    bottom: 20px;
    left: 20px;
    transform: none;
    width: 280px;
    background: rgba(5, 11, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.1);
    transition: all 0.3s ease;
}

.music-player:hover {
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.2);
    transform: translateY(-3px);
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.control-btn {
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.3);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--accent-color);
    font-size: 11px;
}

.control-btn:hover {
    background: rgba(0, 242, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

.control-btn.playing .play-icon {
    display: none;
}

.control-btn .pause-icon {
    display: none;
}

.control-btn.playing .pause-icon {
    display: block;
}

.player-info {
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 0.8rem;
    color: rgba(224, 224, 224, 0.9);
    text-align: center;
    min-height: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 242, 255, 0.5), var(--accent-color));
    border-radius: 3px;
    transition: width 0.1s ease;
    position: relative;
}

.volume-control {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-control input[type="range"] {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 3px;
    background: rgba(224, 224, 224, 0.2);
    border-radius: 3px;
    outline: none;
}

.volume-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0, 242, 255, 0.5);
}

.volume-control input[type="range"]::-moz-range-thumb {
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 8px rgba(0, 242, 255, 0.5);
}

/* Light Theme Styles for Components */
body.light-theme .clock-container {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 136, 204, 0.2);
    box-shadow: 0 0 30px rgba(0, 136, 204, 0.1);
}

body.light-theme .time {
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(0, 136, 204, 0.3);
}

body.light-theme .date {
    color: rgba(51, 51, 51, 0.8);
}

body.light-theme .system-info-container {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 136, 204, 0.2);
    box-shadow: 0 0 30px rgba(0, 136, 204, 0.1);
}

body.light-theme .system-info-title {
    color: var(--accent-color);
    border-left-color: var(--accent-color);
}

body.light-theme .system-info-item {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 136, 204, 0.1);
}

body.light-theme .system-info-item:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 136, 204, 0.1);
}

body.light-theme .system-info-label {
    color: rgba(51, 51, 51, 0.6);
}

body.light-theme .system-info-value {
    color: var(--accent-color);
}

body.light-theme .weather-widget {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 136, 204, 0.2);
    box-shadow: 0 0 30px rgba(0, 136, 204, 0.1);
}

body.light-theme .widget-title {
    color: var(--accent-color);
    border-left-color: var(--accent-color);
}

body.light-theme .weather-icon {
    filter: drop-shadow(0 0 10px rgba(0, 136, 204, 0.3));
}

body.light-theme .temperature {
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(0, 136, 204, 0.3);
}

body.light-theme .weather-desc {
    color: rgba(51, 51, 51, 0.8);
}

body.light-theme .weather-detail-item {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 136, 204, 0.1);
}

body.light-theme .weather-detail-item:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 136, 204, 0.1);
}

body.light-theme .detail-label {
    color: rgba(51, 51, 51, 0.6);
}

body.light-theme .detail-value {
    color: var(--accent-color);
}

body.light-theme .calendar-widget {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 136, 204, 0.2);
    box-shadow: 0 0 30px rgba(0, 136, 204, 0.1);
}

body.light-theme .calendar-title {
    color: var(--accent-color);
}

body.light-theme .calendar-nav {
    background: rgba(0, 136, 204, 0.1);
    border-color: rgba(0, 136, 204, 0.3);
    color: var(--accent-color);
}

body.light-theme .calendar-nav:hover {
    background: rgba(0, 136, 204, 0.2);
    box-shadow: 0 0 10px rgba(0, 136, 204, 0.3);
}

body.light-theme .calendar-day-name {
    color: rgba(51, 51, 51, 0.8);
    border-bottom-color: rgba(0, 136, 204, 0.2);
}

body.light-theme .calendar-day {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 136, 204, 0.1);
    color: rgba(51, 51, 51, 0.8);
}

body.light-theme .calendar-day:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 136, 204, 0.2);
}

body.light-theme .calendar-day.today {
    background: rgba(0, 136, 204, 0.2);
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 136, 204, 0.3);
}

body.light-theme .system-monitor {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 136, 204, 0.2);
    box-shadow: 0 0 30px rgba(0, 136, 204, 0.1);
}

body.light-theme .monitor-item {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 136, 204, 0.1);
}

body.light-theme .monitor-item:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 136, 204, 0.1);
}

body.light-theme .monitor-label {
    color: rgba(51, 51, 51, 0.8);
}

body.light-theme .monitor-value {
    color: var(--accent-color);
}

body.light-theme .monitor-bar {
    background: rgba(0, 0, 0, 0.05);
}

body.light-theme .monitor-fill {
    background: linear-gradient(90deg, rgba(0, 136, 204, 0.5), var(--accent-color));
}

body.light-theme .music-player {
    background: rgba(255, 255, 255, 0.95);
    border-top-color: rgba(0, 136, 204, 0.2);
}

body.light-theme .control-btn {
    background: rgba(0, 136, 204, 0.1);
    border-color: rgba(0, 136, 204, 0.3);
    color: var(--accent-color);
}

body.light-theme .control-btn:hover {
    background: rgba(0, 136, 204, 0.2);
    box-shadow: 0 0 15px rgba(0, 136, 204, 0.3);
}

body.light-theme .volume-control input[type="range"] {
    background: rgba(51, 51, 51, 0.2);
}

body.light-theme .volume-control input[type="range"]::-webkit-slider-thumb {
    background: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 136, 204, 0.5);
}

body.light-theme .volume-control input[type="range"]::-moz-range-thumb {
    background: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 136, 204, 0.5);
}

body.light-theme .equalizer-bar {
    background: linear-gradient(to top, var(--accent-color), rgba(0, 136, 204, 0.3));
}

body.light-theme .player-info {
    color: rgba(51, 51, 51, 0.8);
}

body.light-theme .card {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 136, 204, 0.1);
    color: var(--text-color);
}

body.light-theme .card:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 136, 204, 0.2);
}

body.light-theme .card::before {
    border-top-color: var(--accent-color);
    border-left-color: var(--accent-color);
}

body.light-theme .category-title {
    color: var(--accent-color);
    border-left-color: var(--accent-color);
}

body.light-theme .logo {
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(0, 136, 204, 0.3);
}

body.light-theme .logo span {
    color: #333;
}

body.light-theme .subtitle {
    color: rgba(51, 51, 51, 0.8);
}

body.light-theme .footer {
    background: rgba(255, 255, 255, 0.8);
    border-top-color: rgba(0, 136, 204, 0.2);
}

body.light-theme .footer-content {
    color: rgba(51, 51, 51, 0.6);
}

body.light-theme .footer-content a {
    color: var(--accent-color);
}

body.light-theme .footer-content a:hover {
    color: #006699;
}

body.light-theme .footer-content a::after {
    background: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .clock-container,
    .system-info-container,
    .weather-widget,
    .calendar-widget,
    .system-monitor {
        margin: 20px;
        padding: 15px;
    }
    
    .time {
        font-size: 2.5rem;
    }
    
    .temperature {
        font-size: 2.5rem;
    }
    
    .header-info {
        padding: 10px 15px;
    }
    
    .top-info {
        gap: 15px;
    }
    
    .clock-small .time {
        font-size: 1rem;
    }
    
    .clock-small .date {
        font-size: 0.7rem;
    }
    
    .weather-small .weather-icon {
        font-size: 1.2rem;
    }
    
    .weather-small .temperature {
        font-size: 0.9rem;
    }
    
    .weather-small .weather-desc {
        font-size: 0.7rem;
    }
    
    .container {
        padding: 90px 20px 50px;
    }
}

@media (max-width: 768px) {
    .header-info {
        padding: 8px 10px;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    
    .top-info {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
        flex: 1;
    }
    
    .theme-toggle {
        align-self: center;
        margin-top: 0;
    }
    
    .theme-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .clock-small .time {
        font-size: 0.9rem;
    }
    
    .clock-small .date {
        font-size: 0.6rem;
    }
    
    .weather-small .weather-icon {
        font-size: 1rem;
    }
    
    .weather-small .temperature {
        font-size: 0.8rem;
    }
    
    .weather-small .weather-desc {
        font-size: 0.6rem;
    }
    
    .clock-container {
        margin: 15px;
        padding: 15px;
    }
    
    .time {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .date {
        font-size: 0.9rem;
    }
    
    .system-info-grid {
        grid-template-columns: 1fr;
    }
    
    .weather-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .weather-main {
        width: 100%;
        justify-content: space-between;
    }
    
    .weather-icon {
        font-size: 3rem;
    }
    
    .temperature {
        font-size: 2rem;
    }
    
    .weather-details {
        width: 100%;
        min-width: unset;
    }
    
    .monitor-grid {
        grid-template-columns: 1fr;
    }
    
    .music-player {
        position: fixed;
        bottom: 15px;
        left: 15px;
        right: 15px;
        transform: none;
        width: auto;
        max-width: none;
        padding: 10px;
        gap: 6px;
    }
    
    .control-btn {
        width: 32px;
        height: 32px;
        font-size: 10px;
    }
    
    .player-info {
        font-size: 0.7rem;
    }
    
    .progress-container {
        height: 5px;
    }
    
    .volume-control input[type="range"] {
        height: 2px;
    }
    
    .volume-control input[type="range"]::-webkit-slider-thumb {
        width: 8px;
        height: 8px;
    }
    
    .volume-control input[type="range"]::-moz-range-thumb {
        width: 8px;
        height: 8px;
    }
    
    .container {
        padding: 100px 15px 220px;
    }
    
    .logo {
        font-size: 2rem;
        letter-spacing: 3px;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer {
        padding: 30px 0 40px 0;
    }
}

@media (max-width: 480px) {
    .header-info {
        padding: 6px 8px;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    
    .top-info {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        flex: 1;
    }
    
    .theme-toggle {
        margin-top: 0;
    }
    
    .theme-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .clock-small .time {
        font-size: 0.8rem;
    }
    
    .clock-small .date {
        font-size: 0.5rem;
    }
    
    .weather-small {
        align-self: flex-start;
    }
    
    .weather-small .weather-icon {
        font-size: 0.9rem;
    }
    
    .weather-small .temperature {
        font-size: 0.7rem;
    }
    
    .weather-small .weather-desc {
        font-size: 0.5rem;
    }
    
    .time {
        font-size: 1.8rem;
    }
    
    .date {
        font-size: 0.8rem;
    }
    
    .weather-icon {
        font-size: 2.5rem;
    }
    
    .temperature {
        font-size: 1.8rem;
    }
    
    .weather-desc {
        font-size: 1rem;
    }
    
    .music-player {
        bottom: 10px;
        left: 10px;
        right: 10px;
        width: auto;
        padding: 8px;
        gap: 5px;
    }
    
    .control-btn {
        width: 28px;
        height: 28px;
        font-size: 9px;
    }
    
    .player-info {
        font-size: 0.6rem;
    }
    
    .progress-container {
        height: 4px;
    }
    
    .volume-control input[type="range"] {
        height: 2px;
    }
    
    .volume-control input[type="range"]::-webkit-slider-thumb {
        width: 7px;
        height: 7px;
    }
    
    .volume-control input[type="range"]::-moz-range-thumb {
        width: 7px;
        height: 7px;
    }
    
    .logo {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }
    
    .subtitle {
        font-size: 0.8rem;
    }
    
    .container {
        padding: 110px 10px 200px;
    }
    
    .footer {
        padding: 30px 0 40px 0;
    }
    
    .calendar-grid {
        gap: 5px;
    }
    
    .calendar-day {
        font-size: 0.9rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Improved Hover Effects */
.card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.3);
}

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

.clock-container,
.system-info-container,
.weather-widget,
.calendar-widget,
.system-monitor,
.container {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Staggered Animations */
.system-info-item,
.weather-detail-item,
.monitor-item,
.card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s ease-out forwards;
}

.system-info-item:nth-child(1),
.weather-detail-item:nth-child(1),
.monitor-item:nth-child(1),
.card:nth-child(1) {
    animation-delay: 0.1s;
}

.system-info-item:nth-child(2),
.weather-detail-item:nth-child(2),
.monitor-item:nth-child(2),
.card:nth-child(2) {
    animation-delay: 0.2s;
}

.system-info-item:nth-child(3),
.weather-detail-item:nth-child(3),
.monitor-item:nth-child(3),
.card:nth-child(3) {
    animation-delay: 0.3s;
}

.system-info-item:nth-child(4),
.weather-detail-item:nth-child(4),
.monitor-item:nth-child(4),
.card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Footer */
.footer {
    margin-top: 80px;
    padding: 40px 0 40px 0; /* 减少底部 padding，避免 PC 端空白过大 */
    border-top: 1px solid rgba(0, 242, 255, 0.2);
    background: rgba(5, 11, 26, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.6;
    color: rgba(224, 224, 224, 0.6);
}

.footer-content p {
    margin: 5px 0;
}

.footer-content a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-content a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.footer-content a:hover {
    color: #fff;
}

.footer-content a:hover::after {
    width: 100%;
}
