/*
Theme Name: SASWU Cyber Blog
Theme URI: https://jpeng.xyz
Description: 赛博朋克风格的个人博客主题，基于吴江鹏的个人展示页设计
Version: 1.4.1
GPS: GPL-2.0
Author: SASWU
Author URI: https://jpeng.xyz
Tags: dark, cyberpunk, blog, portfolio, responsive
Text Domain: saswu-cyber-blog
*/

/* ===== 基础样式与重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 确保链接可以正常点击 */
a {
    pointer-events: auto;
    cursor: pointer;
}

a:hover {
    cursor: pointer;
}

:root {
    --primary: #00f5ff;
    --secondary: #ff00ff;
    --accent: #00ff88;
    --dark: #0a0a0a;
    --darker: #050505;
    --light: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', 'Microsoft YaHei', sans-serif;
    background: var(--darker);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 主内容容器（AJAX 无刷新加载） ===== */
#main-content {
    position: relative;
    z-index: 1;
    padding-top: 100px; /* 为固定导航栏留出空间 */
    min-height: calc(100vh - 100px);
}

/* ===== 粒子画布 ===== */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: 0 5px 30px rgba(0, 245, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logo-glow 2s ease-in-out infinite;
    text-decoration: none;
    display: block;
}

@keyframes logo-glow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.8)); }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links > ul > li > a,
.nav-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 7px 18px;
    border-radius: 8px;
    background: rgba(0, 245, 255, 0.08);
    border: 1.5px solid rgba(0, 245, 255, 0.4);
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
    box-shadow:
        0 0 12px rgba(0, 245, 255, 0.1),
        inset 0 0 15px rgba(0, 245, 255, 0.05);
}

.nav-links > ul > li > a:hover,
.nav-link:hover {
    color: #fff;
    background: rgba(0, 245, 255, 0.2);
    border-color: var(--primary);
    text-shadow: 0 0 14px rgba(0, 245, 255, 0.8), 0 0 4px rgba(255, 255, 255, 0.5);
    box-shadow:
        0 0 20px rgba(0, 245, 255, 0.35),
        0 0 60px rgba(0, 245, 255, 0.1),
        inset 0 0 20px rgba(0, 245, 255, 0.1);
    transform: translateY(-2px);
}

.nav-links > ul > li > a:active,
.nav-link:active {
    transform: translateY(0) scale(0.97);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s ease;
}

/* ===== 英雄区 ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.hero-content {
    text-align: center;
    animation: hero-fade-in 1s ease-out;
}

@keyframes hero-fade-in {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glitch-wrapper {
    margin-bottom: 20px;
}

.glitch {
    font-family: 'Orbitron', sans-serif;
    font-size: 80px;
    font-weight: 900;
    color: var(--light);
    position: relative;
    display: inline-block;
    animation: glitch-skew 4s infinite linear alternate-reverse;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    color: var(--primary);
    animation: glitch-effect 3s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
    transform: translate(-2px);
}

.glitch::after {
    color: var(--secondary);
    animation: glitch-effect 2s infinite reverse;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
    transform: translate(2px);
}

@keyframes glitch-effect {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

@keyframes glitch-skew {
    0% { transform: skew(0deg); }
    20% { transform: skew(0deg); }
    21% { transform: skew(2deg); }
    22% { transform: skew(0deg); }
    50% { transform: skew(0deg); }
    51% { transform: skew(-1deg); }
    52% { transform: skew(0deg); }
    100% { transform: skew(0deg); }
}

.hero-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    min-height: 45px;
}

.cursor {
    display: inline-block;
    background: var(--primary);
    width: 3px;
    animation: cursor-blink 1s infinite;
}

@keyframes cursor-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.hero-desc {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

/* Hero 技术栈标签 */
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.hero-tag {
    padding: 5px 16px;
    font-size: 13px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 20px;
    background: rgba(0, 245, 255, 0.06);
    transition: all 0.3s ease;
    cursor: default;
}

.hero-tag:hover {
    background: rgba(0, 245, 255, 0.15);
    border-color: rgba(0, 245, 255, 0.6);
    box-shadow: 0 0 12px rgba(0, 245, 255, 0.2);
    transform: translateY(-2px);
}

/* 装饰分割线 */
.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.divider-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.4), transparent);
}

.divider-icon {
    font-size: 14px;
    opacity: 0.6;
    animation: icon-flicker 3s ease-in-out infinite;
}

@keyframes icon-flicker {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; text-shadow: 0 0 8px rgba(0, 245, 255, 0.6); }
}

.hero-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-neon {
    padding: 12px 30px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn-neon:hover {
    color: var(--dark);
}

.btn-neon:hover::before {
    width: 300px;
    height: 300px;
}

/* ===== 滚动指示器 ===== */
.scroll-indicator {
    position: absolute;
    bottom: 110px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.scroll-indicator:hover .mouse,
.scroll-indicator:hover .wheel {
    border-color: #fff;
    background: rgba(0, 245, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
}

@keyframes scroll-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-18px); }
    60% { transform: translateX(-50%) translateY(-8px); }
}

.mouse {
    width: 28px;
    height: 44px;
    border: 2px solid var(--primary);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.2), inset 0 0 8px rgba(0, 245, 255, 0.05);
    animation: mouse-glow 2s ease-in-out infinite;
}

@keyframes mouse-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 245, 255, 0.2), inset 0 0 8px rgba(0, 245, 255, 0.05); }
    50% { box-shadow: 0 0 20px rgba(0, 245, 255, 0.5), inset 0 0 12px rgba(0, 245, 255, 0.12); }
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheel-scroll 1.6s ease-in-out infinite;
    box-shadow: 0 0 5px var(--primary);
}

@keyframes wheel-scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    60% { opacity: 0; transform: translateX(-50%) translateY(18px); }
}

.arrow-scroll {
    width: 16px;
    height: 16px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    margin: 10px auto 0;
    animation: arrow-pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 4px rgba(0, 245, 255, 0.4));
}

@keyframes arrow-pulse {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.7; }
    50% { transform: rotate(45deg) translateY(4px); opacity: 1; }
}

/* ===== 通用段落样式 ===== */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section-dark {
    background: rgba(0, 0, 0, 0.3);
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* ===== 玻璃态卡片 ===== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 245, 255, 0.2);
    border-color: rgba(0, 245, 255, 0.3);
}

/* ===== 博客文章样式 ===== */
.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.post-card {
    display: flex;
    flex-direction: column;
}

.post-card .glass-card {
    height: 100%;
}

.post-title {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 15px;
}

.post-title a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: var(--secondary);
}

.post-meta {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-excerpt {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.post-categories a {
    padding: 3px 12px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 15px;
    font-size: 12px;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-categories a:hover {
    background: rgba(0, 245, 255, 0.2);
}

.read-more {
    display: inline-block;
    padding: 8px 20px;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-top: 15px;
    align-self: flex-start;
}

.read-more:hover {
    background: var(--primary);
    color: var(--dark);
}

/* ===== 单篇文章样式 ===== */
.single-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 20px 80px;
    position: relative;
    z-index: 1;
}

.single-post .post-header {
    text-align: center;
    margin-bottom: 50px;
}

.single-post .post-title {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.single-post .post-meta {
    justify-content: center;
    font-size: 16px;
}

.single-post .post-content {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 40px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 18px;
}

.single-post .post-content h2,
.single-post .post-content h3,
.single-post .post-content h4 {
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.single-post .post-content p {
    margin-bottom: 20px;
}

.single-post .post-content a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.single-post .post-content a:hover {
    border-bottom-color: var(--accent);
}

.single-post .post-content code {
    background: rgba(0, 245, 255, 0.1);
    padding: 2px 8px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.single-post .post-content pre {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 20px;
    overflow-x: auto;
    margin-bottom: 20px;
}

.single-post .post-content pre code {
    background: transparent;
    padding: 0;
}

.single-post .post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.single-post .post-content blockquote {
    border-left: 3px solid var(--primary);
    padding-left: 20px;
    margin: 20px 0;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* ===== 分页样式 ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 10px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 5px;
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background: rgba(0, 245, 255, 0.2);
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== 侧边栏样式 ===== */
.sidebar {
    margin-top: 50px;
}

.widget {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

.widget-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 245, 255, 0.3);
}

.widget ul {
    list-style: none;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget ul li a:hover {
    color: var(--primary);
}

/* ===== 联系方式 & 社交媒体网格 ===== */
.social-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.social-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 12px;
    background: rgba(0, 245, 255, 0.05);
    border: 1px solid rgba(0, 245, 255, 0.15);
    border-radius: 12px;
    text-decoration: none;
    color: var(--light);
    transition: all 0.3s ease;
    width: calc(33.333% - 10px);
    min-width: 140px;
    box-sizing: border-box;
}

.social-link-item:hover {
    background: rgba(0, 245, 255, 0.12);
    border-color: rgba(0, 245, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 245, 255, 0.15);
}

.social-link-item .social-icon {
    font-size: 28px;
}

.social-link-item .social-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
}

.social-link-item .social-value {
    font-size: 14px;
    color: var(--primary);
    word-break: break-all;
    text-align: center;
    overflow-wrap: break-word;
    line-height: 1.4;
}

/* ===== 页脚 ===== */
.footer {
    padding: 40px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.footer p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.footer-text {
    font-size: 14px;
}

.icp-number {
    font-size: 14px;
    margin-top: 10px;
}

.icp-number a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.icp-number a:hover {
    color: var(--primary);
}

.wp-link {
    font-size: 12px;
    margin-top: 15px;
}

.wp-link a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.wp-link a:hover {
    color: var(--primary);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

/* ===== 动画类 ===== */
[data-animate] {
    opacity: 0;
    transition: all 0.8s ease;
}

[data-animate="fade-up"].animated {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-up"] {
    transform: translateY(50px);
}

[data-animate="fade-right"].animated {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="fade-right"] {
    transform: translateX(-50px);
}

[data-animate="fade-left"].animated {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="fade-left"] {
    transform: translateX(50px);
}

[data-animate="zoom-in"].animated {
    opacity: 1;
    transform: scale(1);
}

[data-animate="zoom-in"] {
    transform: scale(0.8);
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .glitch {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .section-title {
        font-size: 36px;
    }

    .blog-posts {
        grid-template-columns: 1fr;
    }

    .single-post .post-title {
        font-size: 32px;
    }

    .single-post .post-content {
        padding: 20px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .glitch {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-links {
        flex-direction: column;
        align-items: center;
    }

    .btn-neon {
        width: 200px;
        text-align: center;
    }
}

/* ===== WordPress 特定样式 ===== */
.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 20px;
}

.wp-caption-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-top: 10px;
}

.sticky {
    border: 2px solid var(--primary);
}

.gallery-caption {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.bypostauthor {
    background: rgba(0, 245, 255, 0.05);
}

/* ===== 评论样式 ===== */
.comments-area {
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid var(--glass-border);
}

.comments-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 30px;
}

.comment-list {
    list-style: none;
}

.comment {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-author img {
    border-radius: 50%;
}

.comment-author .fn {
    color: var(--primary);
    font-weight: 600;
}

.comment-metadata {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
}

.comment-content {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.reply {
    margin-top: 15px;
}

.reply a {
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
}

.comment-respond {
    margin-top: 50px;
    padding: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
}

.comment-respond h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 5px;
    color: var(--light);
    font-family: inherit;
    margin-bottom: 15px;
}

.comment-form input[type="submit"] {
    padding: 12px 30px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.comment-form input[type="submit"]:hover {
    background: var(--primary);
    color: var(--dark);
}

/* ===== 搜索框样式 ===== */
.search-form {
    display: flex;
    gap: 10px;
}

.search-form input[type="search"] {
    flex-grow: 1;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 5px;
    color: var(--light);
    font-family: inherit;
}

.search-form input[type="submit"] {
    padding: 10px 20px;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form input[type="submit"]:hover {
    background: var(--primary);
    color: var(--dark);
}

/* ===== 404 页面样式 ===== */
.error-404 {
    text-align: center;
    padding: 150px 20px;
    position: relative;
    z-index: 1;
}

.error-404 h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 120px;
    color: var(--primary);
    margin-bottom: 20px;
}

.error-404 h2 {
    font-size: 32px;
    color: var(--light);
    margin-bottom: 20px;
}

.error-404 p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}
