/* 贪心风格 - 金色奢华主题 */
:root {
    --gold-1: #FFD700;
    --gold-2: #D4AF37;
    --gold-3: #FFC000;
    --dark-bg: #1a1a1a;
    --light-text: #f8f8f8;
    --dark-text: #333;
    --accent-red: #e63946;
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 奢华头部样式 */
header {
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    padding: 25px 0;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-bg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 1.5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--dark-bg);
}

nav ul li a:hover {
    background-color: rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

/* 主要内容区域 - 黑金卡片 */
.main-content {
    background: linear-gradient(to bottom, #2a2a2a, #1a1a1a);
    border-radius: 15px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.section-title {
    font-size: 28px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gold-1);
    position: relative;
    color: var(--gold-1);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 150px;
    height: 2px;
    background: linear-gradient(to right, var(--gold-1), transparent);
}

/* 网格布局 - 奢华卡片 */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.article-card {
    background: linear-gradient(to bottom, #2a2a2a, #222);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.article-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--gold-1);
}

.card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.card-body {
    padding: 25px;
}

.card-title {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--gold-1);
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--gold-3);
    margin-top: 20px;
    font-family: 'Montserrat', sans-serif;
}

/* 分类标签 */
.category-tag {
    display: inline-block;
    padding: 5px 15px;
    background: linear-gradient(to right, var(--gold-2), var(--gold-3));
    color: var(--dark-text);
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 文章详情页 */
.article-detail {
    max-width: 900px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 50px;
    text-align: center;
}

.article-title {
    font-size: 42px;
    margin-bottom: 25px;
    line-height: 1.3;
    color: var(--gold-1);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: var(--gold-3);
    margin-bottom: 30px;
    flex-wrap: wrap;
    font-family: 'Montserrat', sans-serif;
}

.article-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--gold-1);
}

.article-content {
    line-height: 1.9;
    font-size: 18px;
}

.article-content p {
    margin-bottom: 25px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
    border: 2px solid var(--gold-1);
}

/* 分页导航 - 金币样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.pagination a {
    padding: 12px 25px;
    border-radius: 30px;
    background: linear-gradient(to right, var(--gold-2), var(--gold-3));
    color: var(--dark-text);
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.pagination a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* 友情链接 - 奖牌样式 */
.friend-links {
    background: linear-gradient(to bottom, #2a2a2a, #222);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.friend-links h3 {
    margin-bottom: 25px;
    color: var(--gold-1);
    font-size: 24px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.friend-links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.friend-links-container a {
    padding: 10px 20px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 30px;
    font-size: 15px;
    border: 1px solid var(--gold-1);
    transition: all 0.3s;
}

.friend-links-container a:hover {
    background: var(--gold-1);
    color: var(--dark-text);
    transform: scale(1.05);
}

/* 奢华页脚 */
footer {
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    padding: 30px 0;
    text-align: center;
    margin-top: 60px;
    color: var(--dark-text);
    font-weight: 600;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.copyright {
    font-size: 16px;
    letter-spacing: 1px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .article-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .article-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 25px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 30px;
    }
    
    .article-meta {
        gap: 15px;
    }
}