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

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #0f766e;
    --accent: #f59e0b;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

h1, h2, h3, h4, .brand-font {
    font-family: 'Outfit', sans-serif;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Pulse animation for online indicator */
@keyframes onlinePulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.online-dot {
    animation: onlinePulse 2s infinite;
}

/* Glassmorphism */
.glass-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
}

.gradient-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
}

.gradient-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
}

/* Badge colors for subjects */
.badge-math {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.badge-info {
    background-color: #ede9fe;
    color: #6b21a8;
    border: 1px solid #ddd6fe;
}

.badge-phys {
    background-color: #ccfbf1;
    color: #0f766e;
    border: 1px solid #99f6e4;
}

.badge-default {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

/* Bulletproof Responsive Navigation Rules */
@media (max-width: 767px) {
    .desktop-nav-only {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .mobile-nav-only {
        display: none !important;
    }
}
