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

:root {
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

body {
    font-family: var(--font-sans);
    scroll-behavior: smooth;
}

code, pre, .font-mono {
    font-family: var(--font-mono);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6);
}

.light-theme ::-webkit-scrollbar-track {
    background: rgba(241, 245, 249, 0.8);
}

::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.4);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(20, 184, 166, 0.6);
}

/* Glassmorphism */
.glass-panel {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.light-theme .glass-panel {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.glass-card {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    transform: translateY(-3px);
    background: rgba(17, 24, 39, 0.9);
    border-color: rgba(45, 212, 191, 0.35);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px -5px rgba(20, 184, 166, 0.15);
}

.light-theme .glass-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(226, 232, 240, 1);
}

.light-theme .glass-card:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(13, 148, 136, 0.4);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.08), 0 0 20px -5px rgba(20, 184, 166, 0.1);
}

/* Language Badge Colors */
.lang-badge-cpp { background: rgba(0, 89, 156, 0.2); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.lang-badge-python { background: rgba(53, 114, 165, 0.2); color: #60a5fa; border: 1px solid rgba(96, 165, 250, 0.3); }
.lang-badge-shell { background: rgba(137, 224, 81, 0.2); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.3); }
.lang-badge-c { background: rgba(85, 85, 85, 0.25); color: #cbd5e1; border: 1px solid rgba(203, 213, 225, 0.3); }
.lang-badge-powershell { background: rgba(1, 36, 86, 0.25); color: #93c5fd; border: 1px solid rgba(147, 197, 253, 0.3); }
.lang-badge-javascript { background: rgba(241, 224, 90, 0.2); color: #facc15; border: 1px solid rgba(250, 204, 21, 0.3); }
.lang-badge-docker { background: rgba(56, 77, 157, 0.2); color: #818cf8; border: 1px solid rgba(129, 140, 248, 0.3); }

/* Toast Animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.toast-animate {
    animation: slideInUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Background Cyber Grid */
.bg-grid-pattern {
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.light-theme .bg-grid-pattern {
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}
