/* 全屏滚动暗红色主题 */
:root {
    --primary-color: #8B0000;
    --secondary-color: #FF6347;
    --dark-color: #1A1A1A;
    --light-color: #F5F5F5;
    --text-color: #E0E0E0;
    --accent-color: #FF4500;
    --section-padding: 100px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-color);
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
}

/* 全屏滚动导航 */
.fullpage-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.fullpage-nav li {
    list-style: none;
    margin: 15px 0;
    text-align: right;
}

.fullpage-nav a {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s;
}

.fullpage-nav a.active {
    background-color: var(--secondary-color);
    transform: scale(1.3);
}

/* 头部样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 900;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* 全屏滚动部分 */
.section {
    min-height: 100vh;
    width: 100%;
    padding: var(--section-padding);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

.section-title {
    font-size: 42px;
    margin-bottom: 30px;
    position: relative;
    color: var(--light-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), transparent);
}

/* 首页内容 */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('hero-bg.jpg') center/cover no-repeat;
    text-align: center;
}

.hero-content h1 {
    font-size: 64px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* 文章网格 */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.article-card {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s;
    border: 1px solid rgba(139, 0, 0, 0.3);
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(139, 0, 0, 0.2);
    border-color: var(--secondary-color);
}

.card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--light-color);
}

.card-excerpt {
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    color: var(--secondary-color);
    font-size: 14px;
}

/* 分类标签 */
.category-tag {
    display: inline-block;
    padding: 3px 12px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* 文章详情 */
.article-detail {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 50px;
    text-align: center;
}

.article-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--light-color);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    color: var(--secondary-color);
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.article-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.article-content {
    font-size: 18px;
    line-height: 1.9;
}

.article-content p {
    margin-bottom: 25px;
}

/* 友情链接 */
.friend-links-section {
    background: rgba(30, 30, 30, 0.8);
    padding: 60px 0;
}

.friend-links-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.friend-links-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--light-color);
    text-align: center;
}

.friend-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.friend-link {
    padding: 15px;
    background: rgba(139, 0, 0, 0.2);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(255, 99, 71, 0.3);
}

.friend-link:hover {
    background: rgba(255, 99, 71, 0.2);
    transform: translateY(-5px);
}

/* 页脚 */
.footer {
    background-color: #0D0D0D;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(139, 0, 0, 0.3);
}

.copyright {
    font-size: 14px;
    color: var(--secondary-color);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .section-title {
        font-size: 36px;
    }
    
    .hero-content h1 {
        font-size: 48px;
    }
    
    .article-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .fullpage-nav {
        display: none;
    }
    
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .article-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .friend-links-grid {
        grid-template-columns: 1fr 1fr;
    }
}