/* VR风格香草黄主题 */
:root {
    --vr-primary: #FFD700;
    --vr-secondary: #FFE55C;
    --vr-dark: #1A1A1A;
    --vr-light: #FFF8E1;
    --vr-accent: #FFA500;
    --vr-text: #333333;
    --vr-glass: rgba(255, 245, 215, 0.2);
    --vr-border: rgba(255, 215, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', 'Arial', sans-serif;
}

body {
    background-color: var(--vr-dark);
    color: var(--vr-text);
    line-height: 1.7;
    background-image: 
        radial-gradient(circle at 10% 20%, var(--vr-glass) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, var(--vr-glass) 0%, transparent 20%);
    overflow-x: hidden;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

a {
    text-decoration: none;
    color: var(--vr-primary);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

a:hover {
    color: var(--vr-accent);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* VR风格头部 */
header {
    background: var(--vr-glass);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--vr-border);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(to right, var(--vr-primary), var(--vr-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    letter-spacing: 2px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 500;
    border: 1px solid transparent;
}

nav ul li a:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--vr-primary);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

/* VR网格背景效果 */
.vr-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(var(--vr-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--vr-border) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
    opacity: 0.3;
}

/* VR卡片样式 */
.vr-card {
    background: var(--vr-glass);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    border: 1px solid var(--vr-border);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.vr-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.3);
}

.vr-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--vr-primary), var(--vr-accent));
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--vr-border);
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--vr-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--vr-secondary);
    margin-top: 15px;
}

/* VR标签 */
.vr-tag {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(255, 215, 0, 0.2);
    color: var(--vr-primary);
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
    border: 1px solid var(--vr-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 主要内容区域 */
.main-content {
    background: var(--vr-glass);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid var(--vr-border);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.main-content::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.section-title {
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--vr-border);
    color: var(--vr-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, var(--vr-primary), transparent);
}

/* 文章网格 */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* 文章详情页 */
.article-detail {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 40px;
    text-align: center;
}

.article-title {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--vr-light);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    color: var(--vr-secondary);
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.article-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
    border: 1px solid var(--vr-border);
}

.article-content {
    line-height: 1.8;
    font-size: 17px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

/* 分页导航 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.pagination a {
    padding: 10px 25px;
    border-radius: 30px;
    background-color: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--vr-primary);
    transition: all 0.3s;
    font-weight: 500;
}

.pagination a:hover {
    background-color: var(--vr-primary);
    color: var(--vr-dark);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* 友情链接 */
.friend-links {
    background: var(--vr-glass);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    border: 1px solid var(--vr-border);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.friend-links h3 {
    margin-bottom: 20px;
    color: var(--vr-primary);
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.friend-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.friend-links-container a {
    padding: 8px 20px;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 30px;
    font-size: 14px;
    border: 1px solid var(--vr-primary);
    transition: all 0.3s;
}

.friend-links-container a:hover {
    background-color: var(--vr-primary);
    color: var(--vr-dark);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* 页脚样式 */
footer {
    background-color: rgba(26, 26, 26, 0.8);
    padding: 30px 0;
    text-align: center;
    margin-top: 50px;
    border-top: 1px solid var(--vr-border);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--vr-primary), var(--vr-accent));
}

.copyright {
    font-size: 14px;
    color: var(--vr-secondary);
}

/* VR浮动元素 */
.vr-float {
    position: fixed;
    width: 100px;
    height: 100px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    filter: blur(30px);
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

.vr-float:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
}

.vr-float:nth-child(2) {
    top: 60%;
    left: 80%;
    width: 120px;
    height: 120px;
    animation-delay: 2s;
}

.vr-float:nth-child(3) {
    top: 80%;
    left: 20%;
    width: 80px;
    height: 80px;
    animation-delay: 4s;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 28px;
    }
    
    .article-meta {
        gap: 15px;
    }
}