/* 全局黑色主题样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    min-height: 100vh;
}

/* 导航栏 */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #333;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.nav-link {
    color: #ccc;
    text-decoration: none;
    font-size: 18px;
    padding: 8px 16px;
    transition: all 0.3s;
    border-radius: 25px;
}

.nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* 主容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 页面标题 */
.page-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #fff;
    letter-spacing: 2px;
}

/* 系列卡片网格 */
.series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.series-card {
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #333;
}

.series-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: #555;
}

.series-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.series-title {
    padding: 15px;
    text-align: center;
    font-size: 1.2rem;
    color: #ddd;
    font-weight: 500;
}

/* 照片网格（系列内页） */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.photo-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333;
    transition: transform 0.2s;
}

.photo-card:hover {
    transform: scale(1.02);
    border-color: #666;
}

.photo-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.photo-name {
    padding: 12px;
    text-align: center;
    font-size: 14px;
    color: #aaa;
    word-break: break-all;
    background: #111;
}

/* 建设中页面 */
.under-construction {
    text-align: center;
    padding: 100px 20px;
}

.under-construction h2 {
    font-size: 2rem;
    color: #888;
    margin-bottom: 20px;
}

.under-construction p {
    color: #666;
}

/* 返回链接 */
.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.back-link:hover {
    color: white;
}

/* 响应式 */
@media (max-width: 768px) {
    .nav-container {
        gap: 10px;
    }
    .nav-link {
        font-size: 14px;
        padding: 5px 12px;
    }
    .page-title {
        font-size: 1.8rem;
    }
}