/* EVERGEIST — Avant-Garde Spatial & Cybernetic Theme */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@300;400;500;700&display=swap');

:root {
    --bg: #030407;
    --surface: #090B12;
    --surface-hover: #111422;
    --border: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(168, 85, 247, 0.4);
    --geist-violet: #8B5CF6;
    --geist-indigo: #6366F1;
    --geist-cyan: #06B6D4;
    --geist-emerald: #10B981;
}

body {
    background-color: var(--bg);
    color: #F3F4F6;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    selection-background-color: rgba(139, 92, 246, 0.3);
}

.font-display {
    font-family: 'Space Grotesk', sans-serif;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

.font-cinzel {
    font-family: 'Cinzel', serif;
}

/* Subtle Film Grain Noise Overlay */
.noise-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* 3D Holographic Pass Card Tilt Physics */
.hologram-card-container {
    perspective: 1200px;
}

.hologram-card {
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, box-shadow 0.3s ease;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(168, 85, 247, 0.15) 0%, rgba(9, 11, 18, 0.95) 80%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(139, 92, 246, 0.15);
}

.hologram-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.25rem;
    background: linear-gradient(
        115deg,
        transparent 20%,
        rgba(255, 255, 255, 0.12) 30%,
        rgba(6, 182, 212, 0.15) 45%,
        rgba(168, 85, 247, 0.2) 55%,
        transparent 70%
    );
    background-size: 200% 200%;
    background-position: var(--bg-x, 50%) var(--bg-y, 50%);
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* Glassmorphism & Cyber Lines */
.cyber-panel {
    background: rgba(9, 11, 18, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cyber-panel:hover {
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 0 35px -10px rgba(139, 92, 246, 0.2);
}

/* Glowing text gradients */
.text-gradient-geist {
    background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 40%, #A855F7 80%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-neon {
    background: linear-gradient(135deg, #C084FC 0%, #818CF8 50%, #22D3EE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Terminal Scanline Effect */
.scanline {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.6), transparent);
    position: absolute;
    top: 0;
    left: 0;
    animation: scan 4s linear infinite;
    pointer-events: none;
}

@keyframes scan {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Pulsing Glow Dots */
.pulse-emerald {
    box-shadow: 0 0 12px #10B981;
}

.pulse-purple {
    box-shadow: 0 0 12px #A855F7;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: #030407;
}
::-webkit-scrollbar-thumb {
    background: #1F2433;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #384157;
}
