/* HackParty - 黑客派对风格 */
:root {
    --primary: #00ff88;
    --primary-dark: #00cc6a;
    --accent: #00d4ff;
    --secondary: #8b9dc3;
    --success: #00ff88;
    --warning: #ffaa00;
    --danger: #ff4757;
    --gradient-1: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    --gradient-2: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
    --gradient-3: linear-gradient(135deg, #00ff88 0%, #00d4ff 50%, #a855f7 100%);
    --neon-green: #00ff88;
    --neon-blue: #00d4ff;
    --neon-purple: #a855f7;
    --dark-bg: #0d0d0d;
    --dark-card: rgba(20, 20, 30, 0.9);
    --glass-bg: rgba(20, 20, 30, 0.85);
    --glass-border: rgba(0, 255, 136, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(0, 255, 136, 0.4);
    --shadow-neon: 0 0 20px rgba(0, 255, 136, 0.6), 0 0 40px rgba(0, 255, 136, 0.3);
}

* { transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }

body { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; 
    background: var(--dark-bg);
    background-image: 
        radial-gradient(ellipse at top, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    color: #e4e4e7;
    min-height: 100vh;
}

/* 导航栏 - 深色毛玻璃 */
.navbar { 
    background: rgba(13, 13, 13, 0.9) !important; 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
    position: relative;
    z-index: 1040;
}
.navbar-brand { 
    font-weight: 900; 
    font-size: 1.6rem;
    font-family: 'Orbitron', 'Rajdhani', 'Share Tech Mono', monospace;
    background: linear-gradient(90deg, #00ff88, #00d4ff, #a855f7);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoGlow 3s ease infinite;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.6));
    letter-spacing: 2px;
    text-transform: uppercase;
}
@keyframes logoGlow {
    0%, 100% { background-position: 0% 50%; filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.6)); }
    50% { background-position: 100% 50%; filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8)); }
}
.navbar .nav-link { 
    color: #a1a1aa !important; 
    font-weight: 500; 
    position: relative;
    padding: 0.5rem 1rem;
}
.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-2);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--neon-green);
}
.navbar .nav-link:hover { color: var(--neon-green) !important; }
.navbar .nav-link:hover::after { width: 80%; }

/* 卡片 - 深色玻璃拟态 */
.card { 
    border: none; 
    border-radius: 20px; 
    box-shadow: var(--shadow-md);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    overflow: hidden;
}
.card:hover { 
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 255, 136, 0.1);
    transform: translateY(-5px);
    border-color: rgba(0, 255, 136, 0.3);
}
.card-header { 
    background: rgba(0, 0, 0, 0.3); 
    border-bottom: 1px solid rgba(0, 255, 136, 0.1); 
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    color: #e4e4e7;
}
.card-body { padding: 1.5rem; }
.card-title { color: #f4f4f5; }
.card-text { color: #a1a1aa; }

/* 按钮 - 霓虹发光 */
.btn { 
    border-radius: 12px; 
    font-weight: 600; 
    padding: 0.6rem 1.5rem;
    border: none;
}
.btn-primary { 
    background: var(--gradient-2); 
    border: none;
    color: #0d0d0d;
    box-shadow: var(--shadow-glow);
}
.btn-primary:hover { 
    background: var(--gradient-2);
    box-shadow: var(--shadow-neon);
    transform: translateY(-2px);
    color: #0d0d0d;
}
.btn-outline-primary {
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
    background: transparent;
}
.btn-outline-primary:hover {
    background: var(--neon-green);
    border-color: var(--neon-green);
    color: #0d0d0d;
    box-shadow: var(--shadow-neon);
}
.btn-light {
    background: rgba(255,255,255,0.1);
    color: #e4e4e7;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}
.btn-light:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
    box-shadow: var(--shadow-md);
}
.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}
.btn-warning {
    background: linear-gradient(135deg, #ffaa00 0%, #ff6600 100%);
    color: #0d0d0d;
    box-shadow: 0 0 20px rgba(255, 170, 0, 0.4);
}

/* 表单 - 深色风格 */
.form-control, .form-select { 
    border-radius: 12px; 
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    color: #e4e4e7;
}
.form-control::placeholder { color: #71717a; }
.form-control:focus, .form-select:focus { 
    border-color: var(--neon-green); 
    box-shadow: 0 0 0 4px rgba(0, 255, 136, 0.1), 0 0 20px rgba(0, 255, 136, 0.2);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
}
.form-label { color: #a1a1aa; }

/* 徽章 */
.badge { 
    font-weight: 600; 
    padding: 0.5em 1em; 
    border-radius: 8px;
    font-size: 0.75rem;
}
.badge.bg-primary { 
    background: var(--gradient-2) !important; 
    color: #0d0d0d;
}
.badge.bg-success { background: var(--neon-green) !important; color: #0d0d0d; }
.badge.bg-warning { background: var(--warning) !important; color: #0d0d0d; }
.badge.bg-danger { background: var(--danger) !important; }

/* 头像 */
.avatar { 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    object-fit: cover;
    border: 2px solid var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}
.avatar-lg { width: 80px; height: 80px; }

/* 侧边栏 */
.sidebar { 
    background: var(--glass-bg); 
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}
.sidebar .nav-link { 
    color: #a1a1aa; 
    padding: 14px 20px; 
    border-radius: 12px; 
    margin: 4px 12px;
    font-weight: 500;
}
.sidebar .nav-link:hover { 
    background: rgba(0, 255, 136, 0.1); 
    color: var(--neon-green); 
}
.sidebar .nav-link.active { 
    background: var(--gradient-2); 
    color: #0d0d0d !important;
    box-shadow: var(--shadow-glow);
}

/* 统计卡片 */
.stat-card { 
    text-align: center; 
    padding: 1rem 0.5rem; 
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}
.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md), 0 0 20px rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.3);
}
.stat-card img {
    width: 36px !important;
    margin-bottom: 6px !important;
}
.stat-card .number { 
    font-size: 1.5rem; 
    font-weight: 700; 
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-card .text-muted {
    font-size: 0.75rem;
}

/* Hero - 黑客风格动态渐变 */
.hero-section { 
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0f3460 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    border-radius: 24px; 
    padding: 4rem 2rem; 
    color: #fff;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 136, 0.2);
    box-shadow: 0 0 60px rgba(0, 255, 136, 0.1);
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 136, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.15) 0%, transparent 40%);
    animation: float 6s ease-in-out infinite;
}
.hero-section h1 {
    text-shadow: 0 0 40px rgba(0, 255, 136, 0.5);
}

/* 炫酷标题 */
.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(90deg, #00ff88, #00d4ff, #a855f7, #00ff88);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGradient 4s ease infinite;
    text-shadow: none;
    filter: drop-shadow(0 0 30px rgba(0, 255, 136, 0.5));
    letter-spacing: 2px;
}
@keyframes titleGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 1.8rem; letter-spacing: 1px; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 1; }
    50% { transform: translateY(-10px) rotate(2deg); opacity: 0.8; }
}

/* 看板 */
.kanban-column { 
    background: rgba(20, 20, 30, 0.6); 
    border-radius: 16px; 
    min-height: 300px; 
    padding: 1rem;
    border: 1px solid rgba(0, 255, 136, 0.1);
}
.kanban-card { 
    background: var(--dark-card); 
    border-radius: 12px; 
    padding: 1rem; 
    margin-bottom: 12px; 
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255,255,255,0.05);
}
.kanban-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: rgba(0, 255, 136, 0.2);
}
.priority-urgent { border-left: 4px solid var(--danger); }
.priority-high { border-left: 4px solid var(--warning); }
.priority-medium { border-left: 4px solid var(--neon-blue); }
.priority-low { border-left: 4px solid var(--neon-green); }

/* 表格 */
.table { 
    border-radius: 16px;
    overflow: hidden;
    color: #e4e4e7;
}
.table thead th { 
    background: rgba(0, 0, 0, 0.4); 
    font-weight: 600; 
    color: #a1a1aa; 
    border: none;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}
.table tbody td { 
    border-color: rgba(255, 255, 255, 0.05); 
    vertical-align: middle;
    padding: 1rem;
    background: transparent;
}
.table tbody tr:hover {
    background: rgba(0, 255, 136, 0.05);
}
.table-striped tbody tr:nth-of-type(odd) {
    background: rgba(0, 0, 0, 0.2);
}

/* 警告框 */
.alert { 
    border: none; 
    border-radius: 16px;
    backdrop-filter: blur(10px);
}
.alert-success { background: rgba(0, 255, 136, 0.15); color: var(--neon-green); border: 1px solid rgba(0, 255, 136, 0.3); }
.alert-danger { background: rgba(255, 71, 87, 0.15); color: #ff6b7a; border: 1px solid rgba(255, 71, 87, 0.3); }
.alert-warning { background: rgba(255, 170, 0, 0.15); color: #ffbb33; border: 1px solid rgba(255, 170, 0, 0.3); }
.alert-info { background: rgba(0, 212, 255, 0.15); color: var(--neon-blue); border: 1px solid rgba(0, 212, 255, 0.3); }

/* 下拉菜单 */
.dropdown-menu {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.1);
    z-index: 1050;
}
.dropdown-item {
    border-radius: 10px;
    padding: 0.6rem 1rem;
    font-weight: 500;
    color: #a1a1aa;
}
.dropdown-item:hover {
    background: rgba(0, 255, 136, 0.1);
    color: var(--neon-green);
}
.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

/* 分页 */
.pagination .page-link {
    border: none;
    border-radius: 10px;
    margin: 0 4px;
    color: #a1a1aa;
    background: rgba(0, 0, 0, 0.3);
}
.pagination .page-link:hover {
    background: rgba(0, 255, 136, 0.1);
    color: var(--neon-green);
}
.pagination .page-item.active .page-link {
    background: var(--gradient-2);
    color: #0d0d0d;
    box-shadow: var(--shadow-glow);
}

/* 模态框 */
.modal-content {
    border: none;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.2);
}
.modal-header {
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
    padding: 1.5rem;
}
.modal-header .modal-title { color: #f4f4f5; }
.modal-header .btn-close { filter: invert(1); }
.modal-body { color: #e4e4e7; }
.modal-footer {
    border-top: 1px solid rgba(0, 255, 136, 0.1);
    padding: 1.5rem;
}

/* 页脚 */
footer {
    background: rgba(13, 13, 13, 0.9) !important;
    border-top: 1px solid rgba(0, 255, 136, 0.1) !important;
}
footer p, footer a { color: #71717a !important; }
footer a:hover { color: var(--neon-green) !important; }

/* 文字颜色 */
.text-muted { color: #71717a !important; }
.text-primary { color: var(--neon-green) !important; }
.text-danger { color: var(--danger) !important; }
h1, h2, h3, h4, h5, h6 { color: #f4f4f5; }
a { color: var(--neon-blue); }
a:hover { color: var(--neon-green); }

/* 边框 */
.border { border-color: rgba(255, 255, 255, 0.1) !important; }
.border-top { border-top-color: rgba(255, 255, 255, 0.1) !important; }

/* 背景 */
.bg-white { background: var(--dark-card) !important; }
.bg-light { background: rgba(0, 0, 0, 0.2) !important; }

/* 页面内容文字颜色 */
.page-content, .page-content p, .page-content li, .page-content span { color: #e4e4e7; }
.page-content h1, .page-content h2, .page-content h3, .page-content h4, .page-content h5, .page-content h6 { color: #f4f4f5; }
.card-body p, .card-body li, .card-body span:not(.badge) { color: #d4d4d8; }
.tab-content .card-body { color: #e4e4e7; }

/* 禁用输入框样式 */
.form-control:disabled, .form-control[readonly], 
.form-select:disabled, .form-select[readonly] {
    background: rgba(0, 0, 0, 0.4);
    color: #a1a1aa;
    border-color: rgba(255, 255, 255, 0.05);
    cursor: not-allowed;
}

/* 列表组 */
.list-group-item {
    background: var(--dark-card);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e4e4e7;
}
.list-group-item:hover, .list-group-item-action:hover {
    background: rgba(0, 255, 136, 0.1);
    color: var(--neon-green);
}

/* 导航标签 */
.nav-pills .nav-link {
    color: #a1a1aa;
}
.nav-pills .nav-link.active {
    background: var(--gradient-2);
    color: #0d0d0d;
}
.nav-pills .nav-link:hover:not(.active) {
    color: var(--neon-green);
}

/* 标签页内容 */
.tab-pane .card {
    background: var(--dark-card);
}

/* 复选框样式 */
.form-check-input {
    background-color: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}
.form-check-input:checked {
    background-color: var(--neon-green);
    border-color: var(--neon-green);
}
.form-check-label {
    color: #d4d4d8;
}
