@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&family=Exo+2:wght@300;400;500;600;700&display=swap');
        
body {
    font-family: 'Exo 2', sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.cyber-glow {
    text-shadow: 0 0 10px rgba(102, 102, 238, 0.5), 0 0 20px rgba(102, 102, 238, 0.3);
}

.neon-border {
    border: 1px solid rgba(102, 102, 238, 0.3);
    box-shadow: 0 0 15px rgba(102, 102, 238, 0.2), inset 0 0 15px rgba(102, 102, 238, 0.1);
}

.neon-border-hover:hover {
    border: 1px solid rgba(139, 92, 246, 0.6);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.4), inset 0 0 25px rgba(139, 92, 246, 0.2);
    transform: translateY(-5px);
}

.cyber-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cyber-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.matrix-bg {
    background: 
        linear-gradient(rgba(15, 15, 35, 0.9), rgba(15, 15, 35, 0.9)),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(102, 102, 238, 0.1) 2px, rgba(102, 102, 238, 0.1) 4px);
}

.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    from { box-shadow: 0 0 20px rgba(102, 102, 238, 0.3); }
    to { box-shadow: 0 0 40px rgba(139, 92, 246, 0.6); }
}

.scan-line {
    position: relative;
    overflow: hidden;
}

.scan-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.8), transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.sidebar {
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(102, 102, 238, 0.2);
}

.sidebar-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-item:hover {
    background: linear-gradient(90deg, rgba(102, 102, 238, 0.2), transparent);
    transform: translateX(5px);
}

.sidebar-item.active {
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.3), transparent);
    border-left: 3px solid #8b5cf6;
}

.hologram {
    position: relative;
    overflow: hidden;
}

.hologram::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 240, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}

/* 登录注册弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 35, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(102, 102, 238, 0.3);
    box-shadow: 0 0 30px rgba(102, 102, 238, 0.2), inset 0 0 20px rgba(102, 102, 238, 0.1);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(50px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.form-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(102, 102, 238, 0.2);
    color: white;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.tab-button {
    position: relative;
    transition: all 0.3s ease;
}

.tab-button.active {
    color: #8b5cf6;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 3px;
}

.submit-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 102, 238, 0.4);
}

.close-btn {
    transition: all 0.3s ease;
}

.close-btn:hover {
    transform: rotate(90deg);
    color: #ff4d4d;
}

.social-login-btn {
    transition: all 0.3s ease;
}

.social-login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 分类筛选按钮样式 */
.category-btn {
    transition: all 0.3s ease;
}

.category-btn.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    box-shadow: 0 0 15px rgba(102, 102, 238, 0.4);
}

.category-btn:hover:not(.active) {
    background: rgba(102, 102, 238, 0.1);
    transform: translateY(-2px);
}

/* 文章加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

