/* 赛博朋克风格样式表 */
:root {
    --cyber-primary: #00ffff;
    --cyber-secondary: #ff0080;
    --cyber-accent: #ffff00;
    --cyber-bg-dark: #0a0a0a;
    --cyber-bg-darker: #050505;
    --cyber-text: #ffffff;
    --cyber-text-dim: #cccccc;
    --cyber-border: #333333;
    --cyber-glow: 0 0 20px;
    --cyber-font-primary: 'Orbitron', monospace;
    --cyber-font-secondary: 'Rajdhani', sans-serif;
}

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

body {
    font-family: var(--cyber-font-secondary);
    background: var(--cyber-bg-dark);
    color: var(--cyber-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 赛博朋克背景效果 */
.cyber-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, var(--cyber-bg-darker) 0%, var(--cyber-bg-dark) 50%, var(--cyber-bg-darker) 100%);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.neon-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 0, 128, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255, 255, 0, 0.05) 0%, transparent 50%);
    animation: particleFloat 15s ease-in-out infinite alternate;
}

@keyframes particleFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(360deg); }
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.cyber-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--cyber-primary);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo .neon-text {
    font-family: var(--cyber-font-primary);
    font-size: 1.8rem;
    font-weight: 900;
    text-decoration: none;
    color: var(--cyber-primary);
    text-shadow: var(--cyber-glow) var(--cyber-primary);
    transition: all 0.3s ease;
}

.logo .neon-text:hover {
    text-shadow: var(--cyber-glow) var(--cyber-primary), 0 0 40px var(--cyber-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--cyber-text);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--cyber-primary);
    border-color: var(--cyber-primary);
    box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.2);
}

.admin-link {
    background: linear-gradient(45deg, var(--cyber-secondary), var(--cyber-accent));
    color: var(--cyber-bg-dark);
    font-weight: 600;
}

/* 主要内容 */
.main-content {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

/* 页面标题 */
.page-header {
    padding: 60px 0 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(255, 0, 128, 0.1) 100%);
    border-bottom: 1px solid var(--cyber-border);
}

.cyber-title {
    font-family: var(--cyber-font-primary);
    font-size: 3rem;
    font-weight: 900;
    color: var(--cyber-primary);
    text-shadow: var(--cyber-glow) var(--cyber-primary);
    margin-bottom: 20px;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { text-shadow: var(--cyber-glow) var(--cyber-primary); }
    100% { text-shadow: var(--cyber-glow) var(--cyber-primary), 0 0 40px var(--cyber-primary); }
}

.author-info {
    font-size: 1.1rem;
    color: var(--cyber-text-dim);
    margin-top: 15px;
}

.author-name {
    color: var(--cyber-accent);
    font-weight: 600;
}

/* 关键词档案表格 */
.keyword-profile {
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.3);
}

.section-title {
    font-family: var(--cyber-font-primary);
    font-size: 2.2rem;
    color: var(--cyber-secondary);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: var(--cyber-glow) var(--cyber-secondary);
}

.cyber-table-wrapper {
    overflow-x: auto;
    border: 2px solid var(--cyber-primary);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
}

.cyber-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--cyber-font-secondary);
}

.cyber-table th {
    background: linear-gradient(45deg, var(--cyber-primary), var(--cyber-secondary));
    color: var(--cyber-bg-dark);
    padding: 15px;
    font-weight: 700;
    text-align: left;
    font-size: 1.1rem;
}

.cyber-table td {
    padding: 15px;
    border-bottom: 1px solid var(--cyber-border);
    color: var(--cyber-text);
}

.cyber-table tr:hover {
    background: rgba(0, 255, 255, 0.1);
}

.cyber-table td:first-child {
    font-weight: 600;
    color: var(--cyber-accent);
}

/* 内容文章 */
.content-article {
    padding: 60px 0;
}

.content-section {
    margin-bottom: 50px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--cyber-border);
    border-radius: 10px;
    position: relative;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyber-primary), var(--cyber-secondary), var(--cyber-accent));
    border-radius: 10px 10px 0 0;
}

.content-h2 {
    font-family: var(--cyber-font-primary);
    font-size: 1.8rem;
    color: var(--cyber-primary);
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--cyber-primary);
}

.keyword-link {
    color: var(--cyber-accent);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.keyword-link:hover {
    color: var(--cyber-secondary);
    text-shadow: var(--cyber-glow) var(--cyber-secondary);
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--cyber-text-dim);
}

.content-text strong {
    color: var(--cyber-accent);
    font-weight: 600;
}

/* 原则展示 */
.principles-section {
    margin: 50px 0;
    padding: 40px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05) 0%, rgba(255, 0, 128, 0.05) 100%);
    border: 2px solid var(--cyber-border);
    border-radius: 15px;
}

.principles-title {
    font-family: var(--cyber-font-primary);
    font-size: 2rem;
    color: var(--cyber-secondary);
    text-align: center;
    margin-bottom: 30px;
    text-shadow: var(--cyber-glow) var(--cyber-secondary);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.principle-item {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border: 1px solid var(--cyber-primary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.principle-item:hover {
    border-color: var(--cyber-secondary);
    box-shadow: inset 0 0 20px rgba(255, 0, 128, 0.1);
}

.principle-name {
    font-weight: 700;
    color: var(--cyber-accent);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.principle-desc {
    color: var(--cyber-text-dim);
    line-height: 1.6;
}

/* 文章导航 */
.article-nav {
    padding: 40px 0;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--cyber-border);
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-btn {
    display: block;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--cyber-primary);
    border-radius: 10px;
    text-decoration: none;
    color: var(--cyber-text);
    transition: all 0.3s ease;
    flex: 1;
    max-width: 45%;
}

.nav-btn:hover {
    border-color: var(--cyber-secondary);
    box-shadow: var(--cyber-glow) var(--cyber-secondary);
    transform: translateY(-2px);
}

.nav-label {
    display: block;
    font-size: 0.9rem;
    color: var(--cyber-text-dim);
    margin-bottom: 5px;
}

.nav-title {
    display: block;
    font-weight: 600;
    color: var(--cyber-primary);
    font-size: 1.1rem;
}

/* 页脚 */
.cyber-footer {
    background: var(--cyber-bg-darker);
    border-top: 2px solid var(--cyber-primary);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--cyber-primary);
    font-family: var(--cyber-font-primary);
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--cyber-primary);
}

.footer-section p,
.footer-section li {
    color: var(--cyber-text-dim);
    margin-bottom: 8px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--cyber-text-dim);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--cyber-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--cyber-border);
    color: var(--cyber-text-dim);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        padding: 20px;
        display: none;
    }
    
    .cyber-title {
        font-size: 2rem;
    }
    
    .nav-links {
        flex-direction: column;
    }
    
    .nav-btn {
        max-width: 100%;
    }
    
    .principles-grid {
        grid-template-columns: 1fr;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section {
    animation: fadeInUp 0.6s ease-out;
}

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

::-webkit-scrollbar-track {
    background: var(--cyber-bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--cyber-primary), var(--cyber-secondary));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--cyber-secondary), var(--cyber-accent));
}

