:root {
    --primary-color: #1a1a1a;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --navbar-height: 60px;
}

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

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* 封面样式 */
.cover {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.cover-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.site-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.site-desc {
    font-size: 1.5rem;
    opacity: 0.9;
}

/* 导航栏 */
.navbar {
    height: var(--navbar-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 500;
}

.logo i {
    color: var(--secondary-color);
}

/* 内容区域 */
.content-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: calc(100vh - var(--navbar-height));
}

/* 文件管理器 */
.file-manager {
    background: white;
    border-right: 1px solid #eee;
    padding: 2rem;
}

.year-list h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.2rem;
}

.year-list ul {
    list-style: none;
}

.year-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    margin-bottom: 8px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.year-list li:hover {
    background-color: #f0f7ff;
    color: var(--secondary-color);
}

.year-list li.active {
    background-color: var(--secondary-color);
    color: white;
}

/* 轮播区域 */
.main-swiper {
    width: 100%;
    height: 70vh;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.custom-next, .custom-prev {
    background-color: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-color);
}

.custom-next:after, .custom-prev:after {
    font-size: 1.2rem;
}

.download-current {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.download-current:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

/* 缩略图 */
.thumb-swiper {
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.thumb-swiper .swiper-slide {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.thumb-swiper .swiper-slide-thumb-active {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .file-manager {
        display: none;
    }
}

@media (max-width: 768px) {
    .site-title {
        font-size: 2.5rem;
    }
    
    .site-desc {
        font-size: 1.2rem;
    }
    
    .main-swiper {
        height: 50vh;
    }
}
  
  