/* assets/css/custom.css - LGS Pusulası Neo-Bento & Cyber-Academic Design System */

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

:root {
    --bg-mesh-light: radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.08) 0px, transparent 50%),
                     radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.08) 0px, transparent 50%),
                     radial-gradient(at 50% 100%, rgba(236, 72, 153, 0.05) 0px, transparent 50%);
    --bg-mesh-dark: radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.18) 0px, transparent 60%),
                    radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.15) 0px, transparent 50%),
                    radial-gradient(at 50% 100%, rgba(139, 92, 246, 0.12) 0px, transparent 60%);
    --font-heading: 'Sora', 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

body {
    font-family: var(--font-body);
    background-color: #f8fafc;
    background-image: var(--bg-mesh-light);
    background-attachment: fixed;
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark body {
    background-color: #090d16;
    background-image: var(--bg-mesh-dark);
}

h1, h2, h3, .font-heading {
    font-family: var(--font-heading);
    letter-spacing: -0.025em;
}

.font-mono-hud {
    font-family: var(--font-mono);
}

/* 🌟 NEO-BENTO GLASS CARDS */
.bento-card {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
    border-radius: 1.5rem;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dark .bento-card {
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 25px -4px rgba(0, 0, 0, 0.4), inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

.bento-card:hover {
    transform: translateY(-3px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 16px 32px -8px rgba(99, 102, 241, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
}

.dark .bento-card:hover {
    border-color: rgba(129, 140, 248, 0.35);
    box-shadow: 0 16px 36px -8px rgba(99, 102, 241, 0.25), inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

/* 🌌 AURORA GRADIENT ACCENTS */
.aurora-gradient {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 45%, #06b6d4 100%);
}

.aurora-text {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dark .aurora-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 💡 SPECTRUM BEAM (Yüzdelik Dilim Işını) */
.spectrum-beam {
    height: 12px;
    border-radius: 9999px;
    background: linear-gradient(90deg, 
        #ec4899 0%, 
        #8b5cf6 25%, 
        #3b82f6 50%, 
        #10b981 75%, 
        #64748b 100%
    );
    position: relative;
}

.spectrum-pin {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: left 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 🛸 ORBITAL DOCK (Floating Cockpit at screen bottom) */
.orbital-dock {
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 45;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.2);
    border-radius: 1.5rem;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    max-width: 95vw;
}

.orbital-slot {
    width: 38px;
    height: 38px;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px dashed rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

.orbital-slot.filled {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.orbital-slot:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.8);
}

/* ⚡ TACTILE STEPPER BUTTONS */
.tactile-btn {
    transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    user-select: none;
    -webkit-user-select: none;
}
.tactile-btn:active {
    transform: scale(0.92);
}

/* 🎯 MATCH BADGES */
.badge-neon-dream {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.25);
}
.dark .badge-neon-dream {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.badge-neon-target {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.25);
}
.dark .badge-neon-target {
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.4);
}

.badge-neon-safe {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25);
}
.dark .badge-neon-safe {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

/* Pulsing subtle glow */
@keyframes softPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}
.glow-pulse {
    animation: softPulse 4s infinite ease-in-out;
}

/* PRINT SHEET */
@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
    }
    .no-print, .orbital-dock, header, footer, #cartModal, .toast-container {
        display: none !important;
    }
    .print-only {
        display: block !important;
    }
}
