:root {
    --background-primary: #000212;
    --background-secondary: #0A0A1B;
    --background-gradient-1: rgba(14, 165, 233, 0.15);
    --background-gradient-2: rgba(139, 92, 246, 0.15);
    --background-gradient-3: rgba(14, 165, 233, 0.05);
    --grid-color: rgba(255, 255, 255, 0.03);
    --grid-size: 30px;
    --glow-color: rgba(120, 119, 198, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --accent-primary: #5E6AD2;
    --accent-hover: #6E7AE4;
    --border-color: #1a1a1a;
    --card-background: #111111;
    --card-hover: #1a1a1a;
    --nav-background: rgba(0, 0, 0, 0.8);
    
    --neon-pink: #FF2D55;
    --neon-purple: #AF52DE;
    --neon-blue: #5E5CEE;
    --neon-green: #34C759;
    --neon-yellow: #FFD60A;
    
    --gradient-1: linear-gradient(135deg, #FF2D55, #AF52DE);
    --gradient-2: linear-gradient(135deg, #5E5CEE, #34C759);
    --gradient-3: linear-gradient(135deg, #FFD60A, #FF2D55);
    --gradient-text: linear-gradient(to right, #fff 20%, rgba(255, 255, 255, 0.5));
    
    --glow-1: rgba(255, 45, 85, 0.5);
    --glow-2: rgba(175, 82, 222, 0.5);
    --glow-3: rgba(94, 92, 238, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    background: var(--background-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* 添加动态背景渐变 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(
            circle at 15% 50%,
            var(--background-gradient-1) 0%,
            transparent 25%
        ),
        radial-gradient(
            circle at 85% 30%,
            var(--background-gradient-2) 0%,
            transparent 25%
        ),
        radial-gradient(
            circle at 50% 80%,
            var(--background-gradient-3) 0%,
            transparent 25%
        );
    opacity: 1;
    z-index: 0;
    animation: gradientMove 20s linear infinite;
}

/* 添加网格效果 */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: var(--grid-size) var(--grid-size);
    z-index: 1;
    pointer-events: none;
}

/* 光效层 */
.light-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    background: 
        radial-gradient(
            800px circle at var(--mouse-x) var(--mouse-y),
            rgba(14, 165, 233, 0.1),
            transparent 40%
        );
    mix-blend-mode: screen;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    z-index: 10;
    background: rgba(0, 2, 18, 0.7);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.brand::before {
    content: 'LULI';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.5;
    filter: blur(8px);
    animation: pulse 2s ease-in-out infinite;
}

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a.active {
    color: var(--text-primary);
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-primary);
    border-radius: 2px;
}

/* 主要内容区域 */
main {
    margin-top: 80px;
    padding: 2rem;
}

/* 文章卡片样式 */
.articles-section {
    max-width: 1200px;
    margin: 0 auto;
}

.article-card {
    background: var(--card-background);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.article-card:hover::before {
    transform: scaleX(1);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.article-card h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.article-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    z-index: 1;
}

.read-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 6px;
}

.read-more:hover::before {
    opacity: 1;
}

/* 底部样式 */
footer {
    background: var(--background-secondary);
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.social-links {
    margin-bottom: 1.5rem;
}

.social-link {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 0 1rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    color: var(--neon-pink);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Swiper 自定义样式 */
.swiper {
    width: 100%;
    height: 500px;
    padding: 1rem;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--accent-primary);
    background: var(--card-background);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    border-color: var(--neon-purple);
    color: var(--neon-purple);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .glowing-text {
        font-size: 4rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .navbar {
        padding: 1rem;
    }
    
    .nav-links a {
        margin-left: 1rem;
    }
    
    main {
        padding: 1rem;
    }
}

/* 英雄区域样式 */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 3;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 2;
}

/* 更新主标题样式 */
.glowing-text {
    font-size: 8rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 2;
    letter-spacing: -2px;
}

.glowing-text::before {
    content: 'LULI';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.5;
    filter: blur(30px);
    animation: pulse 4s ease-in-out infinite;
}

/* 更新动画效果 */
@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        filter: blur(20px);
    }
    50% {
        opacity: 0.8;
        filter: blur(25px);
    }
}

/* 添加文字渐变动画 */
@keyframes textShine {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.glowing-text {
    animation: textShine 8s linear infinite;
    background-size: 200% auto;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.gradient-text::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.5;
    filter: blur(8px);
    animation: pulse 2s ease-in-out infinite;
}

.hero-description {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--gradient-1);
    color: white;
}

.cta-button.secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* 文章分类样式 */
.section-header {
    margin-bottom: 2rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.article-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.category:hover {
    border-color: var(--neon-purple);
    color: var(--neon-purple);
}

.category.active {
    background: var(--neon-purple);
    border-color: var(--neon-purple);
    color: var(--background-primary);
}

/* 关于我区域样式 */
.about-section {
    padding: 6rem 2rem;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.skills {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.skill-tag {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.skill-tag::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.skill-tag:hover::after {
    transform: scaleX(1);
}

/* 添加滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-purple);
}

/* View content 按钮样式 */
.view-content {
    margin-top: 3rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.2px;
}

.view-content .underline {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: calc(100% - 24px); /* 减去箭头的宽度 */
    height: 1px;
    background-color: currentColor;
    transition: all 0.3s ease;
}

.view-content .arrow {
    transition: transform 0.3s ease;
}

.view-content:hover {
    color: #FFFFFF;
}

.view-content:hover .underline {
    transform: translateY(-4px);
}

.view-content:hover .arrow {
    transform: translateX(4px);
}

/* 更新社交链接样式 */
.navbar .social-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.navbar .social-link {
    color: #999999;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.navbar .social-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.navbar .social-link:hover {
    color: #FFFFFF;
}

.navbar .social-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .navbar .social-links {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .navbar .social-links {
        display: none; /* 在移动端隐藏社交链接 */
    }
}

/* 添加背景动画 */
@keyframes gradientMove {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-5%, 5%);
    }
    50% {
        transform: translate(-10%, 0%);
    }
    75% {
        transform: translate(-5%, -5%);
    }
    100% {
        transform: translate(0, 0);
    }
} 