/* ==================== 基础样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff6b35;
    --accent-color: #ffd700;
    --sf-color: #ff6b35;
    --sf-dark: #1a0a05;
    --bg-dark: #0d0d0d;
    --bg-card: rgba(30, 15, 10, 0.7);
    --text-primary: #ffffff;
    --text-secondary: #c0c0c0;
    --glass-border: rgba(255, 107, 53, 0.2);
    --neon-glow: 0 0 20px rgba(255, 107, 53, 0.5), 0 0 40px rgba(255, 107, 53, 0.3);
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: var(--bg-dark);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    color: var(--text-primary);
}

/* ==================== 粒子背景 ==================== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ==================== 霓虹网格背景 ==================== */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 107, 53, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 53, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

/* ==================== 浮动光球 ==================== */
.floating-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 15s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--sf-color);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: 50%;
    right: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: var(--accent-color);
    bottom: -100px;
    left: 30%;
    animation-delay: -10s;
}

.orb-4 {
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, var(--sf-color), var(--primary-color));
    top: 20%;
    left: 60%;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -50px) scale(1.1); }
    50% { transform: translate(-30px, 30px) scale(0.9); }
    75% { transform: translate(30px, 50px) scale(1.05); }
}

/* ==================== 玻璃卡片效果 ==================== */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 107, 53, 0.1),
        transparent
    );
    transition: left 0.7s;
}

.glass-card:hover::before {
    left: 100%;
}

/* ==================== 容器 ==================== */
.container {
    position: relative;
    z-index: 10;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ==================== 头部样式 ==================== */
header {
    text-align: center;
    padding: 40px 30px;
    margin-bottom: 30px;
    transform-style: preserve-3d;
}

.header-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--sf-color) 0%, transparent 70%);
    opacity: 0.3;
    filter: blur(40px);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.5; }
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--sf-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconFloat 3s ease-in-out infinite;
    box-shadow: var(--neon-glow);
}

.logo-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

/* Glitch文字效果 */
.glitch-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--text-primary);
    position: relative;
    text-shadow: 
        0 0 10px var(--sf-color),
        0 0 20px var(--sf-color),
        0 0 40px var(--sf-color);
    animation: glitch 3s infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    color: var(--primary-color);
    animation: glitch-1 2s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.glitch-text::after {
    color: var(--accent-color);
    animation: glitch-2 3s infinite linear alternate-reverse;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

@keyframes glitch {
    0%, 90%, 100% { transform: translate(0); }
    92% { transform: translate(-2px, 2px); }
    94% { transform: translate(2px, -2px); }
    96% { transform: translate(-2px, -2px); }
    98% { transform: translate(2px, 2px); }
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(-3px, -3px); }
    60% { transform: translate(3px, 3px); }
    80% { transform: translate(3px, -3px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(3px, -3px); }
    40% { transform: translate(3px, 3px); }
    60% { transform: translate(-3px, -3px); }
    80% { transform: translate(-3px, 3px); }
}

/* 打字机效果 */
.subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--sf-color);
    animation: typing 3s steps(20) 1s forwards, blink 0.7s step-end infinite;
    width: 0;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* 状态指示器 */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 255, 100, 0.1);
    border: 1px solid rgba(0, 255, 100, 0.3);
    border-radius: 20px;
    font-size: 12px;
    color: #00ff64;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #00ff64;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

/* ==================== 查询卡片 ==================== */
.query-card {
    padding: 40px 30px;
    transform-style: preserve-3d;
}

.card-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--sf-color), var(--primary-color), var(--accent-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderRotate 4s linear infinite;
}

.sf-border {
    background: linear-gradient(135deg, var(--sf-color), var(--accent-color), var(--sf-color));
}

@keyframes borderRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* 顺丰徽章 */
.sf-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 215, 0, 0.2));
    border: 2px solid var(--sf-color);
    border-radius: 30px;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 600;
    color: var(--sf-color);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 53, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 107, 53, 0.5); }
}

.badge-icon {
    font-size: 18px;
}

/* 输入提示 */
.input-hint {
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* ==================== 表单样式 ==================== */
.form-group {
    margin-bottom: 30px;
    position: relative;
}

.floating-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.label-icon {
    font-size: 18px;
}

.form-group:focus-within .floating-label {
    color: var(--sf-color);
    transform: translateX(5px);
}

/* 输入框样式 */
.input-wrapper {
    display: flex;
    gap: 12px;
}

input[type="text"] {
    flex: 1;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s ease;
}

input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

input[type="text"]:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 107, 53, 0.3);
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--sf-color);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.2);
}

/* 扫描按钮 */
.btn-scan {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 215, 0, 0.2));
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 12px;
    color: var(--sf-color);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-scan::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.btn-scan:hover::before {
    width: 200px;
    height: 200px;
}

.btn-scan:hover {
    border-color: var(--sf-color);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
}

.scan-icon {
    width: 24px;
    height: 24px;
}

.scan-icon svg {
    width: 100%;
    height: 100%;
}

.scan-text {
    font-size: 12px;
    font-weight: 500;
}

/* 霓虹按钮 */
.neon-btn {
    width: 100%;
    padding: 18px;
    background: transparent;
    border: 2px solid var(--sf-color);
    border-radius: 12px;
    color: var(--sf-color);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sf-btn {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 215, 0, 0.1));
}

.neon-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--sf-color), transparent);
    transition: left 0.5s ease;
}

.neon-btn:hover::before {
    left: 100%;
}

.neon-btn:hover {
    background: rgba(255, 107, 53, 0.15);
    box-shadow: 
        0 0 20px rgba(255, 107, 53, 0.5),
        0 0 40px rgba(255, 107, 53, 0.3),
        inset 0 0 20px rgba(255, 107, 53, 0.1);
    text-shadow: 0 0 10px var(--sf-color);
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.btn-icon {
    font-size: 20px;
    animation: rocketFloat 2s ease-in-out infinite;
}

@keyframes rocketFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ==================== 模态框 ==================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    width: 90%;
    max-width: 500px;
    padding: 30px;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.title-icon {
    font-size: 24px;
}

.close-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-btn span {
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--text-secondary);
    transition: all 0.3s ease;
}

.close-btn span:first-child {
    transform: rotate(45deg);
}

.close-btn span:last-child {
    transform: rotate(-45deg);
}

.close-btn:hover {
    background: rgba(255, 0, 100, 0.2);
    transform: rotate(90deg);
}

.close-btn:hover span {
    background: #ff0064;
}

/* 扫描器 */
.scanner-wrapper {
    position: relative;
    margin-bottom: 25px;
}

#scanner-container {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

#scanner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scanner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid var(--sf-color);
    box-shadow: 0 0 10px var(--sf-color);
}

.corner-tl {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}

.corner-tr {
    top: 20px;
    right: 20px;
    border-left: none;
    border-bottom: none;
}

.corner-bl {
    bottom: 20px;
    left: 20px;
    border-right: none;
    border-top: none;
}

.corner-br {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
}

.scanner-line {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--sf-color), transparent);
    box-shadow: 0 0 10px var(--sf-color), 0 0 20px var(--sf-color);
    animation: scanLine 2s ease-in-out infinite;
}

@keyframes scanLine {
    0%, 100% { top: 20%; opacity: 1; }
    50% { top: 80%; opacity: 1; }
}

.scanner-grid {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 80%;
    height: 60%;
    background-image: 
        linear-gradient(rgba(255, 107, 53, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 53, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: gridPulse 2s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.scan-laser {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 107, 53, 0.1) 45%,
        rgba(255, 107, 53, 0.3) 50%,
        rgba(255, 107, 53, 0.1) 55%,
        transparent 100%
    );
    animation: laserScan 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes laserScan {
    0%, 100% { transform: translateY(-100%); }
    50% { transform: translateY(100%); }
}

/* 扫描选项 */
.scan-options {
    display: flex;
    gap: 15px;
}

.btn-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-icon {
    font-size: 24px;
}

.btn-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-2px);
}

.btn-option.active {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--sf-color);
    color: var(--sf-color);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

/* ==================== 结果区域 ==================== */
.result-section {
    margin-top: 30px;
}

.result-card {
    padding: 25px;
    margin-bottom: 20px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--sf-color);
}

.result-status {
    padding: 6px 12px;
    background: rgba(0, 255, 100, 0.1);
    border: 1px solid rgba(0, 255, 100, 0.3);
    border-radius: 20px;
    font-size: 12px;
    color: #00ff64;
}

.result-info {
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.info-value {
    color: var(--text-primary);
    font-weight: 500;
}

/* 时间线 */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--sf-color), var(--accent-color));
}

.timeline-item {
    position: relative;
    padding-bottom: 25px;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--bg-dark);
    border: 2px solid var(--sf-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--sf-color);
}

.timeline-item:first-child::before {
    background: var(--sf-color);
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
    0%, 100% { box-shadow: 0 0 10px var(--sf-color); }
    50% { box-shadow: 0 0 20px var(--sf-color), 0 0 40px var(--sf-color); }
}

.timeline-time {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.timeline-content {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.5;
}

/* ==================== 加载动画 ==================== */
.loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader.active {
    display: flex;
}

.loader-ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--sf-color);
    animation: spin 1s linear infinite;
}

.loader-ring:nth-child(1) {
    width: 60px;
    height: 60px;
}

.loader-ring:nth-child(2) {
    width: 80px;
    height: 80px;
    border-top-color: var(--primary-color);
    animation-duration: 1.5s;
    animation-direction: reverse;
}

.loader-ring:nth-child(3) {
    width: 100px;
    height: 100px;
    border-top-color: var(--accent-color);
    animation-duration: 2s;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    margin-top: 130px;
    font-size: 16px;
    color: var(--sf-color);
    letter-spacing: 3px;
    animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ==================== 错误提示 ==================== */
.error-message {
    padding: 15px 20px;
    background: rgba(255, 0, 100, 0.1);
    border: 1px solid rgba(255, 0, 100, 0.3);
    border-radius: 12px;
    color: #ff0064;
    font-size: 14px;
    text-align: center;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* ==================== 磁性按钮效果 ==================== */
.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==================== 3D倾斜卡片效果 ==================== */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.1s ease;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 600px) {
    .container {
        padding: 20px 15px;
    }
    
    .glitch-text {
        font-size: 28px;
    }
    
    .input-wrapper {
        flex-direction: column;
    }
    
    .btn-scan {
        flex-direction: row;
        padding: 12px;
    }
    
    .scan-options {
        flex-direction: column;
    }
}

/* ==================== 滚动条美化 ==================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--sf-color), var(--accent-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--sf-color);
}

/* ==================== 淡入动画 ==================== */
@keyframes fadeInAnim {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
