/* 迷幻艺术黄金色调主题 */
:root {
    --gold-1: #FFD700;
    --gold-2: #D4AF37;
    --gold-3: #FFC000;
    --psyche-1: #9B59B6;
    --psyche-2: #E74C3C;
    --dark-bg: #1A1A1A;
    --text-light: #F5F5F5;
    --text-gold: var(--gold-1);
    --font-psyche: 'Comic Sans MS', 'Arial Rounded MT Bold', cursive;
}

@keyframes colorShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-psyche);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.8;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255,215,0,0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(155,89,182,0.1) 0%, transparent 20%);
    background-attachment: fixed;
}

a {
    color: var(--gold-1);
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
}

a:hover {
    color: var(--psyche-1);
    text-shadow: 0 0 8px rgba(255,215,0,0.6);
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-1), var(--psyche-1));
    transition: width 0.4s ease;
}

a:hover::after {
    width: 100%;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 迷幻风格头部 */
header {
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(8px);
    padding: 25px 0;
    border-bottom: 1px solid rgba(255,215,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 2.2rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--gold-1), var(--gold-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(255,215,0,0.3);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 1.1rem;
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.3);
}

nav ul li a:hover {
    background: linear-gradient(45deg, var(--gold-1), var(--psyche-1));
    color: var(--dark-bg);
    box-shadow: 0 0 15px rgba(155,89,182,0.5);
}

/* 迷幻内容区域 */
.main-content {
    background: rgba(26, 26, 26, 0.7);
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid rgba(255,215,0,0.2);
    box-shadow: 
        0 0 20px rgba(255,215,0,0.1),
        0 0 40px rgba(155,89,182,0.1);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--gold-1);
    position: relative;
    padding-bottom: 10px;
    text-shadow: 0 0 10px rgba(255,215,0,0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-1), transparent);
}

/* 迷幻网格布局 */
.psyche-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.psyche-card {
    background: rgba(26, 26, 26, 0.6);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.5s ease;
    border: 1px solid rgba(255,215,0,0.2);
    position: relative;
}

.psyche-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--gold-1), var(--psyche-1), var(--gold-1));
    z-index: -1;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.psyche-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 10px 20px rgba(255,215,0,0.2),
        0 15px 30px rgba(155,89,182,0.2);
}

.psyche-card:hover::before {
    opacity: 1;
    animation: colorShift 4s linear infinite;
    background-size: 200% 200%;
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255,215,0,0.2);
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--gold-1);
}

.card-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 15px;
}

/* 分类标签 */
.category-tag {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(155,89,182,0.2);
    color: var(--gold-1);
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 15px;
    border: 1px solid var(--psyche-1);
}

/* 文章详情 */
.article-detail {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 40px;
    text-align: center;
}

.article-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--gold-1);
    text-shadow: 0 0 10px rgba(255,215,0,0.3);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    color: var(--text-light);
    margin-bottom: 30px;
}

.article-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 2px solid rgba(255,215,0,0.3);
    box-shadow: 0 0 30px rgba(255,215,0,0.2);
}

.article-content {
    line-height: 1.9;
    font-size: 1.1rem;
}

.article-content p {
    margin-bottom: 25px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 25px auto;
    display: block;
    border: 1px solid rgba(255,215,0,0.3);
}

/* 分页导航 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.pagination a {
    padding: 10px 25px;
    border-radius: 30px;
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.3);
    font-size: 1rem;
}

.pagination a:hover {
    background: linear-gradient(45deg, var(--gold-1), var(--psyche-1));
    color: var(--dark-bg);
    box-shadow: 0 0 15px rgba(155,89,182,0.5);
}

/* 友情链接 */
.friend-links {
    background: rgba(26, 26, 26, 0.7);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    border: 1px solid rgba(255,215,0,0.2);
}

.friend-links h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--gold-1);
    text-shadow: 0 0 10px rgba(255,215,0,0.3);
}

.friend-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.friend-links-container a {
    padding: 8px 20px;
    border-radius: 30px;
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.3);
    font-size: 1rem;
    transition: all 0.4s ease;
}

.friend-links-container a:hover {
    background: linear-gradient(45deg, var(--gold-1), var(--psyche-1));
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(155,89,182,0.5);
}

/* 页脚 */
footer {
    background: rgba(26, 26, 26, 0.9);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255,215,0,0.2);
    margin-top: 50px;
}

.copyright {
    font-size: 1rem;
    color: var(--gold-1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .psyche-grid {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-meta {
        gap: 15px;
    }
    
    .pagination {
        flex-direction: column;
        align-items: center;
    }
}