/* 贪心风格 - 奢华金色主题 */
:root {
    --gold-1: #FFD700;
    --gold-2: #D4AF37;
    --gold-3: #FFC000;
    --dark-bg: #1a1a1a;
    --light-text: #f8f8f8;
    --dark-text: #333;
    --accent: #c0a050;
    --shadow: 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: var(--gold-1);
    transition: all 0.4s;
}

a:hover {
    color: var(--gold-3);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* 奢华头部样式 */
header {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(40, 40, 40, 0.95));
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    border-bottom: 2px solid var(--gold-2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(to right, var(--gold-1), var(--gold-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--gold-1), transparent);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transition: 0.5s;
}

nav ul li a:hover::before {
    left: 100%;
}

nav ul li a.active {
    background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
    color: var(--dark-text);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* 主要内容区域 - 奢华卡片 */
.main-content {
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.8), rgba(30, 30, 30, 0.9));
    border-radius: 15px;
    padding: 40px;
    margin: 40px 0;
    border: 1px solid var(--gold-2);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="50" height="50" x="25" y="25" fill="none" stroke="%23D4AF37" stroke-width="0.5"/></svg>');
    opacity: 0.1;
    pointer-events: none;
}

.section-title {
    font-size: 28px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gold-2);
    position: relative;
    color: var(--gold-1);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.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(145deg, rgba(50, 50, 50, 0.8), rgba(35, 35, 35, 0.9));
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s;
    border: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border-color: var(--gold-2);
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 65%, rgba(255, 215, 0, 0.1) 100%);
    pointer-events: none;
}

.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: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--gold-1);
}

.card-excerpt {
    color: #ccc;
    margin-bottom: 20px;
    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-2);
    margin-top: 20px;
    border-top: 1px dashed rgba(212, 175, 55, 0.5);
    padding-top: 15px;
}

/* 分类标签 */
.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;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 文章详情页 - 奢华风格 */
.article-detail {
    max-width: 900px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.article-header::before {
    content: '✦';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold-2);
    font-size: 40px;
    opacity: 0.3;
}

.article-title {
    font-size: 36px;
    margin-bottom: 25px;
    line-height: 1.3;
    color: var(--gold-1);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: var(--gold-2);
    margin-bottom: 30px;
    flex-wrap: wrap;
    font-size: 15px;
}

.article-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 40px;
    border: 2px solid var(--gold-2);
    box-shadow: var(--shadow);
}

.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;
    border: 1px solid var(--gold-2);
}

.article-content blockquote {
    border-left: 4px solid var(--gold-2);
    padding: 20px 30px;
    margin: 30px 0;
    background: rgba(212, 175, 55, 0.1);
    font-style: italic;
    position: relative;
}

.article-content blockquote::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 60px;
    color: rgba(212, 175, 55, 0.2);
    font-family: serif;
    line-height: 1;
}

/* 分页导航 - 奢华风格 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.pagination a {
    padding: 12px 25px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(255, 215, 0, 0.3));
    border: 1px solid var(--gold-2);
    transition: all 0.4s;
    font-weight: 600;
    min-width: 150px;
    text-align: center;
}

.pagination a:hover {
    background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
    color: var(--dark-text);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

/* 友情链接 - 奢华风格 */
.friend-links {
    background: linear-gradient(145deg, rgba(50, 50, 50, 0.8), rgba(35, 35, 35, 0.9));
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: var(--shadow);
}

.friend-links h3 {
    margin-bottom: 25px;
    color: var(--gold-1);
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.friend-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.friend-links-container a {
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(255, 215, 0, 0.3));
    border-radius: 30px;
    font-size: 14px;
    border: 1px solid var(--gold-2);
    transition: all 0.3s;
}

.friend-links-container a:hover {
    background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
    color: var(--dark-text);
    transform: translateY(-3px);
}

/* 页脚样式 - 奢华风格 */
footer {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(40, 40, 40, 0.95));
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
    border-top: 2px solid var(--gold-2);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M20,20 L80,20 L80,80 L20,80 Z" fill="none" stroke="%23D4AF37" stroke-width="0.3"/></svg>');
    opacity: 0.1;
    pointer-events: none;
}

.copyright {
    font-size: 14px;
    color: var(--gold-2);
    letter-spacing: 1px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
    
    .article-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@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: 28px;
    }
    
    .article-meta {
        gap: 15px;
    }
    
    .main-content {
        padding: 30px 20px;
    }
    
    .card-body {
        padding: 20px;
    }
}

/* 动画效果 */
@keyframes shine {
    0% { background-position: -100px; }
    100% { background-position: 200px; }
}

.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100px;
    width: 50px;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}