/* 豪华气派主题 */
:root {
    --gold-primary: #d4af37;
    --gold-secondary: #f1c40f;
    --dark-bg: #1a1a1a;
    --light-bg: #2d2d2d;
    --text-color: #e6e6e6;
    --text-light: #ffffff;
    --accent-color: #a67c00;
    --shadow-large: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-small: 0 4px 10px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', 'Times New Roman', serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: var(--gold-primary);
    transition: all 0.4s ease;
}

a:hover {
    color: var(--gold-secondary);
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* 气派头部样式 */
header {
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.7));
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--gold-primary);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold-primary);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    position: relative;
    padding-left: 20px;
}

.logo::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 5px;
    background: var(--gold-primary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    padding: 8px 15px;
    font-size: 18px;
    letter-spacing: 1px;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* 气派主要内容区域 */
.main-content {
    background-color: var(--light-bg);
    border-radius: 10px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: var(--shadow-large);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.section-title {
    font-size: 28px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    letter-spacing: 1px;
    position: relative;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 150px;
    height: 2px;
    background: linear-gradient(to right, var(--gold-primary), transparent);
}

/* 豪华文章网格 */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.article-card {
    background-color: var(--dark-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.4s, box-shadow 0.4s;
    border: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--gold-primary), var(--gold-secondary));
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
}

.card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.card-body {
    padding: 25px;
}

.card-title {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 60px;
}

.card-excerpt {
    color: var(--text-color);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--gold-secondary);
    margin-top: 20px;
    border-top: 1px dashed rgba(212, 175, 55, 0.3);
    padding-top: 15px;
}

/* 分类标签 */
.category-tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(212, 175, 55, 0.2);
    color: var(--gold-primary);
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 15px;
    border: 1px solid var(--gold-primary);
}

/* 文章详情页样式 */
.article-detail {
    max-width: 900px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 30px;
}

.article-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold-primary), transparent);
}

.article-title {
    font-size: 36px;
    margin-bottom: 25px;
    line-height: 1.3;
    color: var(--text-light);
    letter-spacing: 1px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: var(--gold-secondary);
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.article-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-large);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.article-content {
    line-height: 1.9;
    font-size: 18px;
}

.article-content p {
    margin-bottom: 25px;
    text-align: justify;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px auto;
    display: block;
    box-shadow: var(--shadow-small);
}

/* 分页导航 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.pagination a {
    padding: 12px 25px;
    border-radius: 30px;
    background-color: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold-primary);
    transition: all 0.4s;
    font-weight: 500;
}

.pagination a:hover {
    background-color: var(--gold-primary);
    color: var(--dark-bg);
    text-decoration: none;
}

/* 友情链接 */
.friend-links {
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: var(--shadow-large);
}

.friend-links h3 {
    margin-bottom: 25px;
    color: var(--gold-primary);
    font-size: 24px;
    letter-spacing: 1px;
}

.friend-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.friend-links-container a {
    padding: 10px 20px;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 30px;
    font-size: 15px;
    border: 1px solid var(--gold-primary);
    transition: all 0.3s;
}

.friend-links-container a:hover {
    background-color: var(--gold-primary);
    color: var(--dark-bg);
    text-decoration: none;
}

/* 页脚样式 */
footer {
    background-color: #111;
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
    border-top: 1px solid var(--gold-primary);
}

.copyright {
    font-size: 16px;
    color: var(--gold-secondary);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        gap: 25px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .article-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .article-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .main-content {
        padding: 30px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .article-meta {
        gap: 15px;
    }
    
    .pagination {
        flex-direction: column;
        align-items: center;
    }
}