/* --- 全局变量和基础样式 --- */
:root {
    --bg-color: #12121c; /* 深邃的背景色 */
    --primary-text-color: #e0e0e0;
    --secondary-text-color: #a0a0b0;
    --accent-color: #00ffff; /* 赛博朋克青色 */
    --card-bg-color: rgba(30, 30, 45, 0.6);
    --glass-bg-color: rgba(20, 20, 30, 0.5);
    --border-color: rgba(255, 255, 255, 0.15);
}

body {
    background-color: var(--bg-color);
    color: var(--primary-text-color);
    font-family: 'Poppins', 'Noto Sans SC', sans-serif;
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden; /* 防止AOS动画产生横向滚动条 */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 顶部导航栏 --- */
.navbar {
    position: sticky;
    top: 20px;
    margin: 0 20px 20px 20px;
    z-index: 1000;
    background: var(--glass-bg-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 10px 0;
    transition: top 0.3s;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
}

.nav-links a {
    color: var(--primary-text-color);
    text-decoration: none;
    margin: 0 15px;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn {
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-color);
    font-weight: 600;
}
.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}
.btn-secondary {
    background: transparent;
    color: var(--primary-text-color);
}
.btn-secondary:hover {
    background: var(--card-bg-color);
}

/* --- 主视觉区 --- */
.hero-section {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.main-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(45deg, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.subtitle {
    font-size: 1.5rem;
    color: var(--secondary-text-color);
    margin-top: 10px;
}

/* --- 通用分区标题 --- */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 600;
    color: var(--primary-text-color);
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* --- 作品预览 & 作者介绍通用卡片样式 --- */
.works-section, .about-us-section {
    padding: 80px 0;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.work-card {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--primary-text-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
}

.work-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.work-card-content {
    padding: 20px;
}

.work-card-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}

.work-card-content p {
    margin: 0;
    color: var(--secondary-text-color);
    font-size: 0.9rem;
}

.creators-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.creator-card {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    text-align: center;
}

.creator-card img.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    margin-bottom: 20px;
}

.creator-card h3 {
    margin: 0 0 5px 0;
    font-size: 1.5rem;
}

.creator-card .role {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.creator-card .bio {
    color: var(--secondary-text-color);
    margin-bottom: 20px;
}

.creator-card .featured-work-link {
    display: inline-block;
    color: var(--primary-text-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.creator-card .featured-work-link:hover {
    border-color: var(--accent-color);
}

/* --- 页脚 --- */
.footer {
    background-color: #0a0a10;
    padding: 40px 0;
    margin-top: 80px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer .disclaimer {
    max-width: 600px;
    margin: 10px auto 0;
    font-size: 0.8rem;
    color: #777;
    line-height: 1.5;
}

/* --- 响应式设计 --- */
@media (max-width: 768px) {
    .main-title {
        font-size: 3rem;
    }
    .subtitle {
        font-size: 1.2rem;
    }
    .nav-links {
        display: none; /* 在移动端可以简化或隐藏导航 */
    }
}