/* ==========================================================================
   STALKEA.VIP — DESIGN SYSTEM & PLATFORM STYLESHEET
   ========================================================================== */

:root {
    --bg-darkest: #040607;
    --bg-card: #0c1012;
    --bg-card-hover: #141a1e;
    --bg-surface: #080c0e;
    --border-card: rgba(51, 65, 85, 0.4);
    --border-glow: rgba(168, 85, 247, 0.3);
    --accent-purple: #7c3aed;
    --accent-purple-light: #a855f7;
    --accent-pink: #ec4899;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-blue: #3b82f6;
    --accent-red: #ef4444;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-darkest);
    color: #f1f5f9;
    overflow-x: hidden;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(71, 85, 105, 0.4);
    border-radius: 9999px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 85, 247, 0.6);
}

/* Buttons & Gradients */
.btn-gradient {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
    transition: all 0.25s ease;
}
.btn-gradient:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -4px rgba(168, 85, 247, 0.5);
}
.btn-gradient:active {
    transform: translateY(0);
}

/* Navigation Items */
.nav-item {
    color: #94a3b8;
    background: transparent;
    border: 1px solid transparent;
}
.nav-item:hover {
    color: #ffffff;
    background: rgba(30, 41, 59, 0.5);
}
.nav-item.active {
    color: #ffffff;
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.2) 0%, rgba(168, 85, 247, 0.08) 100%);
    border-left: 3px solid #a855f7;
    border-color: rgba(168, 85, 247, 0.3);
}

.bottom-nav-item.active {
    color: #a855f7;
}

/* Badges */
.badge-active {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.badge-module {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(124, 58, 237, 0.15);
    color: #c084fc;
    border: 1px solid rgba(124, 58, 237, 0.3);
}
.badge-locked {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #f87171 !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}

/* Glass Cards */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.glass-card:hover {
    border-color: rgba(124, 58, 237, 0.35);
}

/* Locked Card Overlay */
.locked-banner {
    background: linear-gradient(180deg, rgba(12, 16, 18, 0.6) 0%, rgba(12, 16, 18, 0.95) 100%);
    backdrop-filter: blur(8px);
}

/* Audio Waveform Simulator */
.audio-waveform {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 24px;
}
.waveform-bar {
    width: 2.5px;
    background: #a855f7;
    border-radius: 2px;
    transition: height 0.1s ease;
}
.waveform-bar.playing {
    animation: waveAnimation 1s ease-in-out infinite alternate;
}
@keyframes waveAnimation {
    0% { height: 4px; }
    50% { height: 22px; }
    100% { height: 8px; }
}

/* Pulse & Radar Animations */
@keyframes radarSweep {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.radar-sweep {
    animation: radarSweep 4s linear infinite;
    transform-origin: center;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}
.animate-glow {
    animation: pulseGlow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Modal Animations */
@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.animate-scale-up {
    animation: scaleUp 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Switch Toggle */
.toggle-checkbox:checked {
    right: 0;
    border-color: #10b981;
}
.toggle-checkbox:checked + .toggle-label {
    background-color: #10b981;
}

/* Responsive Grid Helpers */
.grid-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

/* Utility classes for quick layout */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.font-mono { font-family: 'JetBrains Mono', monospace; }
