/* 豪华气派主题 */
:root {
    --gold-primary: #d4af37;
    --gold-secondary: #f9d423;
    --dark-bg: #1a1a1a;
    --light-bg: #2a2a2a;
    --text-color: #e0e0e0;
    --text-light: #ffffff;
    --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.5);
    --border-gold: 1px solid rgba(212, 175, 55, 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-secondary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--gold-primary);
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* 气派头部样式 */
header {
    background: linear-gradient(to bottom, #1a1a1a, #111111);
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-heavy);
    border-bottom: var(--border-gold);
}

.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-primary), var(--gold-secondary));
    -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: 2px;
    background: linear-gradient(to right, var(--gold-primary), transparent);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    padding: 10px 20px;
    font-size: 18px;
    position: relative;
    color: var(--text-light);
}

nav ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: width 0.3s;
}

nav ul li a:hover::before {
    width: 100%;
}

/* 气派主要内容区域 */
.main-content {
    background-color: var(--light-bg);
    border-radius: 10px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: var(--shadow-heavy);
    border: var(--border-gold);
    position: relative;
    overflow: hidden;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--gold-primary), var(--gold-secondary));
}

.section-title {
    font-size: 32px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: var(--border-gold);
    color: var(--text-light);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 150px;
    height: 3px;
    background: linear-gradient(to right, var(--gold-primary), transparent);
}

/* 豪华文章网格 */
.article-palace {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.article-throne {
    background: linear-gradient(to bottom, #2a2a2a, #222222);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: var(--border-gold);
    position: relative;
}

.article-throne:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.throne-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: var(--border-gold);
}

.throne-body {
    padding: 25px;
}

.throne-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 60px;
}

.throne-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--gold-primary);
    margin-top: 20px;
    border-top: var(--border-gold);
    padding-top: 15px;
}

/* 分类徽章 */
.royal-badge {
    display: inline-block;
    padding: 5px 15px;
    background: linear-gradient(to right, var(--gold-primary), var(--gold-secondary));
    color: #1a1a1a;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 文章详情页样式 */
.article-royal {
    max-width: 900px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.article-royal-title {
    font-size: 42px;
    margin-bottom: 25px;
    line-height: 1.3;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 20px;
}

.article-royal-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(to right, var(--gold-primary), var(--gold-secondary));
}

.article-royal-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: var(--gold-primary);
    margin-bottom: 30px;
    flex-wrap: wrap;
    font-size: 16px;
}

.article-royal-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-heavy);
    border: var(--border-gold);
}

.article-royal-content {
    line-height: 1.9;
    font-size: 18px;
}

.article-royal-content p {
    margin-bottom: 25px;
}

.article-royal-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    border: var(--border-gold);
}

/* 皇家分页导航 */
.royal-pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}

.royal-pagination a {
    padding: 15px 30px;
    border-radius: 5px;
    background: linear-gradient(to right, var(--gold-primary), var(--gold-secondary));
    color: #1a1a1a;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
}

.royal-pagination a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.5);
}

/* 皇家友情链接 */
.royal-links {
    background: linear-gradient(to bottom, #2a2a2a, #222222);
    border-radius: 8px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: var(--shadow-heavy);
    border: var(--border-gold);
}

.royal-links h3 {
    margin-bottom: 25px;
    color: var(--text-light);
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.royal-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.royal-links-container a {
    padding: 10px 20px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 5px;
    font-size: 16px;
    border: var(--border-gold);
    transition: all 0.3s;
}

.royal-links-container a:hover {
    background: linear-gradient(to right, var(--gold-primary), var(--gold-secondary));
    color: #1a1a1a;
    transform: translateY(-3px);
}

/* 皇家页脚 */
footer {
    background: linear-gradient(to bottom, #111111, #000000);
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
    border-top: var(--border-gold);
}

.copyright {
    font-size: 16px;
    color: var(--gold-primary);
    letter-spacing: 1px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
    
    .article-royal-title {
        font-size: 36px;
    }
}

@media (max-width: 992px) {
    nav ul {
        gap: 15px;
    }
    
    .main-content {
        padding: 30px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 25px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .article-palace {
        grid-template-columns: 1fr;
    }
    
    .article-royal-title {
        font-size: 28px;
    }
    
    .royal-pagination {
        flex-direction: column;
        gap: 15px;
    }
    
    .royal-pagination a {
        text-align: center;
    }
}