/* CORE VISUALS */
body {
    background-color: #020408; 
    color: #EAEAEA; 
    overflow-x: hidden;
    background-image: linear-gradient(rgba(168, 85, 247, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}
#plexus-bg { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; 
}

/* NAVBAR */
.nav-glass {
    background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.05);
    position: fixed; top: 0; left: 0; width: 100%; z-index: 50; transition: all 0.3s ease;
}
.nav-item { 
    position: relative; color: #9ca3af; font-weight: 600; transition: all 0.3s; cursor: pointer; 
}
.nav-item:hover { color: #fff; }
.nav-item.active { color: #06b6d4; }
.nav-item.active::after {
    content: ''; position: absolute; bottom: -20px; left: 0; width: 100%; height: 2px;
    background: #06b6d4; box-shadow: 0 0 10px #06b6d4;
}

/* HUD INPUT */
.hud-container {
    position: relative; padding: 2px; border-radius: 12px;
    background: linear-gradient(90deg, rgba(168,85,247,0.2), rgba(6,182,212,0.2));
    box-shadow: 0 0 30px -5px rgba(168, 85, 247, 0.15); transition: all 0.4s ease;
}
.hud-container:focus-within { box-shadow: 0 0 50px -10px rgba(6, 182, 212, 0.3); border-color: #fff; }
.hud-inner { background: rgba(10, 13, 20, 0.9); backdrop-filter: blur(10px); border-radius: 10px; display: flex; align-items: center; }
.custom-input { background: transparent; border: none; color: white; width: 100%; outline: none; font-size: 1rem; padding: 16px 20px; font-family: 'Inter', sans-serif; }

/* BUTTONS */
.cyber-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
    color: white; border: none; border-radius: 8px; font-weight: 700; font-family: 'Exo 2', sans-serif;
    position: relative; overflow: hidden; box-shadow: 0 0 15px rgba(124, 58, 237, 0.4); cursor: pointer;
}
.cyber-btn:hover { box-shadow: 0 0 25px rgba(124, 58, 237, 0.6); transform: translateY(-1px); }
.cyber-btn:disabled { opacity: 0.6; cursor: not-allowed; filter: grayscale(1); }

/* PREMIUM BUTTON GLOW */
.premium-btn {
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
    border: 1px solid rgba(168, 85, 247, 0.5);
    background: rgba(168, 85, 247, 0.1) !important;
}
.premium-btn:hover {
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.8);
    background: rgba(168, 85, 247, 0.3) !important;
}

/* CARDS */
.holo-card {
    background: rgba(15, 20, 30, 0.85); border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(20px); box-shadow: 0 0 40px -10px rgba(0,0,0,0.5);
}
.stat-item {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px; padding: 8px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; transition: all 0.3s;
}
.stat-item:hover { background: rgba(255,255,255,0.1); border-color: rgba(6,182,212,0.3); }

/* HISTORY CARDS */
.history-card {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px; overflow: hidden; transition: all 0.3s;
}
.history-card:hover { border-color: rgba(6,182,212,0.5); transform: translateY(-5px); background: rgba(255,255,255,0.05); }

/* GALLERY & SCROLL */
.hide-scroll::-webkit-scrollbar { display: none; }
.hide-scroll { -ms-overflow-style: none; scrollbar-width: none; }
.gallery-card {
    min-width: 280px; max-width: 320px; scroll-snap-align: center;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px; padding: 12px; transition: all 0.3s ease;
}
.gallery-card:hover { border-color: #a855f7; background: rgba(255,255,255,0.05); transform: translateY(-5px); }

/* FOOTER */
.cyber-footer { background: rgba(5, 8, 16, 0.95); border-top: 1px solid rgba(255, 255, 255, 0.08); backdrop-filter: blur(20px); }
.footer-grid-item { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 12px; padding: 20px; transition: all 0.3s; position: relative; }
.footer-grid-item:hover { border-color: rgba(168, 85, 247, 0.3); box-shadow: 0 0 20px rgba(168, 85, 247, 0.1); }
.stat-value { font-family: 'JetBrains Mono', monospace; color: #06b6d4; font-weight: bold; }
.footer-link { color: #888; display: block; padding: 5px 0; transition: color 0.2s; font-size: 0.9rem; }
.footer-link:hover { color: #fff; text-decoration: none; padding-left: 5px; }

/* LOADER */
.loader-bar { width: 100%; height: 2px; background: #333; position: relative; overflow: hidden; }
.loader-bar::after { content: ''; position: absolute; left: -50%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, #06b6d4, transparent); animation: scan 1.5s infinite linear; }
@keyframes scan { 0% { transform: translateX(-100%) } 100% { transform: translateX(100%) } }