/* ============================================================
   阿越云AI逆向 - 玻璃拟态极客风格样式表
   ============================================================ */

/* ---------- CSS变量 ---------- */
:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(0, 150, 255, 0.25);
    --glass-shadow: rgba(0, 100, 255, 0.08);
    --neon-blue: #00aaff;
    --neon-cyan: #00e5ff;
    --neon-purple: #7c3aed;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 全局重置 ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(0, 100, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(124, 58, 237, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(0, 229, 255, 0.04) 0%, transparent 50%);
}

a {
    color: var(--neon-blue);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--neon-cyan);
}

/* ---------- 粒子背景 ---------- */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--neon-blue);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-10vh) translateX(100px);
        opacity: 0;
    }
}

/* ---------- 玻璃卡片通用 ---------- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    padding: 2rem;
    transition: var(--transition);
    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.03), transparent);
    transition: var(--transition);
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    border-color: rgba(0, 150, 255, 0.5);
    box-shadow: 0 8px 40px rgba(0, 100, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* ---------- 导航栏 ---------- */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.7);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--glass-border);
    padding: 0 1rem;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-brand i {
    font-size: 1.6rem;
    color: var(--neon-blue);
    filter: drop-shadow(0 0 8px rgba(0, 150, 255, 0.4));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(0, 150, 255, 0.1);
}

.nav-links a i {
    font-size: 0.85rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.nav-toggle:hover {
    background: rgba(0, 150, 255, 0.1);
    border-color: var(--neon-blue);
}

/* ---------- 主容器 ---------- */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    padding-top: 88px;
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 80px);
}

/* ---------- 公告栏 ---------- */
.announcement {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    border-left: 3px solid var(--neon-blue);
}

.announcement i {
    color: var(--warning);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ---------- 页面标题 ---------- */
.page-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.page-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ---------- 表单样式 ---------- */
.glass-form {
    max-width: 480px;
    margin: 0 auto;
}

.glass-form .form-group {
    margin-bottom: 1.5rem;
}

.glass-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.glass-form label i {
    width: 18px;
    color: var(--neon-blue);
    margin-right: 0.3rem;
}

/* ---------- 磨砂玻璃输入框（基于类名，最稳定） ---------- */
.form-input,
.glass-form .form-input {
    width: 100%;
    padding: 0.85rem 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-input:hover,
.glass-form .form-input:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(0, 150, 255, 0.4);
}

.form-input:focus,
.glass-form .form-input:focus {
    border-color: var(--neon-blue);
    box-shadow:
        0 0 8px rgba(0, 150, 255, 0.2),
        0 0 25px rgba(0, 150, 255, 0.08);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.form-input::placeholder,
.glass-form .form-input::placeholder {
    color: var(--text-muted);
}

.form-input:disabled,
.glass-form .form-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

select.form-input,
.glass-form select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.25rem;
}

/* 复选框/单选框 */
input[type="checkbox"], input[type="radio"] {
    width: auto;
    padding: 0;
    border: none;
    backdrop-filter: none;
    accent-color: var(--neon-blue);
    margin-right: 0.3rem;
    transform: scale(1.1);
}

/* 自动填充暗色覆盖 */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-primary);
    -webkit-box-shadow: 0 0 0px 1000px rgba(10, 14, 26, 0.95) inset;
    transition: background-color 5000s ease-in-out 0s;
    border-color: var(--glass-border);
}

/* 数字输入spinner */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    opacity: 0.5;
    height: 24px;
}
input[type="number"] {
    -moz-appearance: textfield;
}

.glass-form .form-group {
    margin-bottom: 1.5rem;
}

.glass-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ---------- 按钮样式 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    text-decoration: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.btn:hover::after {
    transform: translateX(100%);
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-blue), #0066cc);
    color: #fff;
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 0 40px rgba(0, 150, 255, 0.5);
    transform: translateY(-1px);
    color: #fff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--neon-blue);
    color: var(--text-primary);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #dc2626);
    color: #fff;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    box-shadow: 0 0 40px rgba(239, 68, 68, 0.5);
    color: #fff;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ---------- 表单提示 ---------- */
.form-error {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.form-success {
    color: var(--success);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    border: 1px solid transparent;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #93c5fd;
}

/* ---------- 表格 ---------- */
.glass-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.glass-table th {
    text-align: left;
    padding: 1rem 1rem;
    color: var(--text-secondary);
    font-weight: 600;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.glass-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

.glass-table tr:hover td {
    background: rgba(0, 150, 255, 0.03);
}

.glass-table .table-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ---------- 状态徽章 ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-pending      { background: rgba(100, 116, 139, 0.2); color: #94a3b8; }
.badge-decompiling  { background: rgba(59, 130, 246, 0.2); color: #93c5fd; }
.badge-ai_modifying { background: rgba(139, 92, 246, 0.2); color: #c4b5fd; }
.badge-recompiling  { background: rgba(245, 158, 11, 0.2); color: #fcd34d; }
.badge-signing      { background: rgba(6, 182, 212, 0.2); color: #67e8f9; }
.badge-testing      { background: rgba(34, 197, 94, 0.2); color: #86efac; }
.badge-completed    { background: rgba(34, 197, 94, 0.25); color: #4ade80; }
.badge-failed       { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }
.badge-active       { background: rgba(34, 197, 94, 0.2); color: #86efac; }
.badge-banned       { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }
.badge-reverse      { background: rgba(59, 130, 246, 0.15); color: #93c5fd; }
.badge-jiagu360     { background: rgba(249, 115, 22, 0.2); color: #fdba74; }

/* ---------- 进度条 ---------- */
.progress-container {
    margin: 1.5rem 0;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-bar .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-cyan));
    border-radius: 4px;
    transition: width 0.6s ease;
    position: relative;
}

.progress-bar .progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    animation: progressGlow 1.5s infinite;
}

@keyframes progressGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: var(--transition);
    flex: 1;
    text-align: center;
    position: relative;
}

.progress-step .step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid var(--glass-border);
    transition: var(--transition);
    z-index: 1;
}

.progress-step.active .step-dot {
    background: var(--neon-blue);
    border-color: var(--neon-blue);
    box-shadow: 0 0 12px rgba(0, 150, 255, 0.5);
}

.progress-step.completed .step-dot {
    background: var(--success);
    border-color: var(--success);
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.5);
}

.progress-step.failed .step-dot {
    background: var(--danger);
    border-color: var(--danger);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.5);
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: var(--text-primary);
}

/* ---------- 上传区域 ---------- */
.upload-zone {
    border: 2px dashed var(--glass-border);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.02);
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--neon-blue);
    background: rgba(0, 150, 255, 0.05);
}

.upload-zone .upload-icon {
    font-size: 3rem;
    color: var(--neon-blue);
    margin-bottom: 1rem;
}

.upload-zone .upload-text {
    color: var(--text-secondary);
    font-size: 1rem;
}

.upload-zone .upload-hint {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.upload-zone.has-file {
    border-color: var(--success);
    background: rgba(34, 197, 94, 0.05);
}

/* ---------- 任务日志 ---------- */
.task-log {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1rem;
    max-height: 300px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.task-log::-webkit-scrollbar {
    width: 6px;
}

.task-log::-webkit-scrollbar-track {
    background: transparent;
}

.task-log::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 3px;
}

/* ---------- 空状态 ---------- */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ---------- 英雄区域(首页) ---------- */
.hero-section {
    text-align: center;
    padding: 4rem 1rem 3rem;
}

.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-section .hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.feature-card .feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    background: rgba(0, 150, 255, 0.1);
    border: 1px solid var(--glass-border);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---------- 页脚 ---------- */
.glass-footer {
    background: rgba(10, 14, 26, 0.7);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-top: 1px solid var(--glass-border);
    padding: 1.5rem 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-content .beian {
    margin-top: 0.3rem;
}

.footer-content .beian a {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ---------- 分页 ---------- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.pagination a:hover {
    border-color: var(--neon-blue);
    color: var(--text-primary);
    background: rgba(0, 150, 255, 0.1);
}

.pagination .active {
    background: var(--neon-blue);
    border-color: var(--neon-blue);
    color: #fff;
}

/* ---------- 统计卡片(后台) ---------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    padding: 1.5rem;
    text-align: center;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.3rem;
}

/* ---------- 后台侧边栏 ---------- */
.admin-layout {
    display: flex;
    gap: 1.5rem;
    min-height: calc(100vh - 200px);
}

.admin-sidebar {
    width: 220px;
    flex-shrink: 0;
    position: sticky;
    top: 88px;
    align-self: flex-start;
}

.admin-sidebar .sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
    margin-bottom: 0.25rem;
}

.admin-sidebar .sidebar-link:hover,
.admin-sidebar .sidebar-link.active {
    background: rgba(0, 150, 255, 0.1);
    color: var(--text-primary);
}

.admin-sidebar .sidebar-link.active {
    border-left: 3px solid var(--neon-blue);
}

.admin-content {
    flex: 1;
    min-width: 0;
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 26, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--glass-border);
        flex-direction: column;
        padding: 1rem;
        gap: 0.25rem;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 0.75rem 1rem;
    }

    .nav-toggle {
        display: block;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section p {
        font-size: 0.95rem;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .glass-card {
        padding: 1.25rem;
    }

    .admin-sidebar {
        display: none;
    }

    .admin-sidebar.open {
        display: block;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        z-index: 100;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        padding: 1rem;
        height: calc(100vh - 64px);
        width: 100%;
    }

    .admin-layout {
        flex-direction: column;
    }

    .admin-content {
        width: 100%;
    }

    .glass-table {
        font-size: 0.8rem;
    }

    .glass-table th,
    .glass-table td {
        padding: 0.75rem 0.5rem;
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .progress-steps {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .progress-step {
        flex: 0 0 calc(25% - 0.5rem);
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 2rem 0.5rem;
    }
    .hero-section h1 {
        font-size: 1.5rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- 滚动条美化 ---------- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ---------- 玻璃模态框 ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modal-content {
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

/* ---------- 加载动画 ---------- */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--neon-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 26, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    z-index: 10;
}


