/* ============================================================================
   FUTURISTIC ULTRA-PREMIUM DARK COSMIC THEME - CodeArena
   Deep Purples, Midnight Blues, Neon Cyan, Subtle Emerald Accents
   Glassmorphism, Glossy Reflections, Metallic 3D Elements
   ============================================================================ */

:root {
    --deep-purple: #5A2D82;
    --dark-purple: #4A1F7A;
    --midnight-blue: #0D1B2A;
    --darker-blue: #05101B;
    --deep-space: #010814;
    --neon-cyan: #00F7FF;
    --neon-cyan-glow: rgba(0, 247, 255, 0.5);
    --neon-emerald: #00FF9F;
    --neon-emerald-glow: rgba(0, 255, 159, 0.4);
    --accent-purple: #8B5FBF;
    --accent-purple-glow: rgba(139, 95, 191, 0.4);
    --glass-bg: rgba(13, 27, 42, 0.35);
    --glass-bg-hover: rgba(13, 27, 42, 0.5);
    --glass-border: rgba(0, 247, 255, 0.15);
    --glass-border-hover: rgba(0, 247, 255, 0.3);
    --glass-border-purple: rgba(139, 95, 191, 0.2);
    --text-primary: #E8F4F8;
    --text-secondary: #A8BED4;
    --text-muted: #788DA3;
    --success: #00FF9F;
    --warning: #FFB800;
    --error: #FF4B6B;
    --info: #00F7FF;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s ease-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Rajdhani', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--deep-space) 0%, var(--darker-blue) 30%, var(--midnight-blue) 60%, var(--dark-purple) 100%);
    background-attachment: fixed;
    background-size: 200% 200%;
    animation: cosmic-gradient 15s ease infinite;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

@keyframes cosmic-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ============================================================================
   FLOATING PARTICLE EFFECTS
   ============================================================================ */

.cosmic-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.particle.cyan {
    background: radial-gradient(circle at 30% 30%, var(--neon-cyan), rgba(0, 247, 255, 0.3));
    box-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan-glow);
}

.particle.emerald {
    background: radial-gradient(circle at 30% 30%, var(--neon-emerald), rgba(0, 255, 159, 0.3));
    box-shadow: 0 0 10px var(--neon-emerald), 0 0 20px var(--neon-emerald-glow);
}

.particle.purple {
    background: radial-gradient(circle at 30% 30%, var(--accent-purple), rgba(139, 95, 191, 0.3));
    box-shadow: 0 0 10px var(--accent-purple), 0 0 20px var(--accent-purple-glow);
}

@keyframes float-particle-1 {
    0% { transform: translateY(100vh) translateX(-50px) scale(1); opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(200px) scale(0.5); opacity: 0; }
}

@keyframes float-particle-2 {
    0% { transform: translateY(100vh) translateX(50px) scale(1); opacity: 0; }
    5% { opacity: 0.8; }
    95% { opacity: 0.8; }
    100% { transform: translateY(-100vh) translateX(-200px) scale(0.3); opacity: 0; }
}

.particle-anim-1 { animation: float-particle-1 20s linear infinite; }
.particle-anim-2 { animation: float-particle-2 25s linear infinite; }

/* ============================================================================
   BACKGROUND EFFECTS & GRADIENTS
   ============================================================================ */

.cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.cosmic-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(90, 45, 130, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 247, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(0, 255, 159, 0.06) 0%, transparent 50%);
    animation: cosmic-pulse 30s ease-in-out infinite;
}

@keyframes cosmic-pulse {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-20px, -20px) scale(1.05); }
    50% { transform: translate(20px, -10px) scale(0.95); }
    75% { transform: translate(-10px, 20px) scale(1.02); }
}

/* ============================================================================
   GLASSMORPHISM & FROSTED GLASS EFFECTS
   ============================================================================ */

.glassmorphism,
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(25px) brightness(1.1);
    -webkit-backdrop-filter: blur(25px) brightness(1.1);
    border: 1.5px solid var(--glass-border);
    border-radius: 24px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.12),
        0 0 30px rgba(0, 247, 255, 0.08);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glassmorphism::before,
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 247, 255, 0.3), transparent);
    opacity: 0.6;
}

.glassmorphism:hover,
.glass-panel:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-8px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.15),
        0 0 50px rgba(0, 247, 255, 0.15);
}

/* ============================================================================
   TYPOGRAPHY & GRADIENT TEXT
   ============================================================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rajdhani', 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 4rem); letter-spacing: 2px; }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); letter-spacing: 1.5px; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

.gradient-text {
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-emerald) 50%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 6s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.gradient-text-cyan {
    background: linear-gradient(135deg, var(--neon-cyan), rgba(0, 247, 255, 0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-emerald {
    background: linear-gradient(135deg, var(--neon-emerald), rgba(0, 255, 159, 0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================================
   NEON GLOW EFFECTS
   ============================================================================ */

.neon-glow {
    box-shadow:
        0 0 20px var(--neon-cyan),
        0 0 40px var(--neon-cyan-glow),
        0 0 60px rgba(0, 247, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.neon-glow:hover {
    box-shadow:
        0 0 30px var(--neon-cyan),
        0 0 60px var(--neon-cyan-glow),
        0 0 90px rgba(0, 247, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: scale(1.02) translateY(-4px);
}

.neon-glow-emerald {
    box-shadow:
        0 0 20px var(--neon-emerald),
        0 0 40px var(--neon-emerald-glow),
        0 0 60px rgba(0, 255, 159, 0.15);
    transition: var(--transition-smooth);
}

.neon-glow-emerald:hover {
    box-shadow:
        0 0 30px var(--neon-emerald),
        0 0 60px var(--neon-emerald-glow),
        0 0 90px rgba(0, 255, 159, 0.25);
    transform: scale(1.02) translateY(-4px);
}

.neon-glow-purple {
    box-shadow:
        0 0 20px var(--accent-purple),
        0 0 40px var(--accent-purple-glow),
        0 0 60px rgba(139, 95, 191, 0.15);
    transition: var(--transition-smooth);
}

.neon-glow-purple:hover {
    box-shadow:
        0 0 30px var(--accent-purple),
        0 0 60px var(--accent-purple-glow),
        0 0 90px rgba(139, 95, 191, 0.25);
    transform: scale(1.02) translateY(-4px);
}

/* ============================================================================
   METALLIC & 3D EFFECTS
   ============================================================================ */

.metallic-effect {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(0, 0, 0, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.metallic-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
    border-radius: inherit;
    pointer-events: none;
}

.floating-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: float-3d 8s ease-in-out infinite;
}

@keyframes float-3d {
    0%, 100% { transform: translateY(0) rotateX(0) rotateY(0) scale(1); }
    25% { transform: translateY(-25px) rotateX(5deg) rotateY(5deg) scale(1.02); }
    50% { transform: translateY(-15px) rotateX(0) rotateY(10deg) scale(1); }
    75% { transform: translateY(-30px) rotateX(-5deg) rotateY(5deg) scale(1.01); }
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 247, 255, 0.1), rgba(0, 255, 159, 0.08));
    border: 1px solid rgba(0, 247, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 247, 255, 0.1), inset 0 0 20px rgba(255, 255, 255, 0.05);
    animation: float-shape 8s ease-in-out infinite;
    filter: blur(1px);
}

@keyframes float-shape {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(-40px) rotate(180deg) scale(1.1); }
}

/* ============================================================================
   ANIMATIONS
   ============================================================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes glow-pulse {
    0%, 100% { 
        box-shadow: 0 0 20px var(--neon-cyan), 0 0 40px var(--neon-cyan-glow);
    }
    50% { 
        box-shadow: 0 0 30px var(--neon-cyan), 0 0 60px var(--neon-cyan-glow), 0 0 80px rgba(0, 247, 255, 0.4);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-down {
    animation: fadeInDown 0.8s ease-out forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

.pulse { animation: pulse-soft 2s ease-in-out infinite; }
.glow-pulse { animation: glow-pulse 3s ease-in-out infinite; }

.floating-animation {
    animation: float-3d 6s ease-in-out infinite;
}

/* ============================================================================
   BUTTONS
   ============================================================================ */

.btn-primary {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-emerald));
    color: var(--deep-space);
    padding: 14px 32px;
    border-radius: 30px;
    border: none;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.3), 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 40px rgba(0, 247, 255, 0.5), 0 15px 30px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 247, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background: rgba(0, 247, 255, 0.15);
    border-color: var(--neon-cyan);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 247, 255, 0.4), 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-tertiary {
    background: transparent;
    border: 1.5px solid var(--accent-purple);
    color: var(--accent-purple);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-tertiary:hover {
    background: rgba(139, 95, 191, 0.15);
    border-color: var(--accent-purple);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(139, 95, 191, 0.3), 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 24px;
}

/* ============================================================================
   FORMS & INPUTS
   ============================================================================ */

.form-input,
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1.5px solid var(--glass-border);
    border-radius: 16px;
    padding: 14px 18px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition-smooth);
    width: 100%;
}

.form-input::placeholder,
input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

.form-input:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--glass-border-hover);
    background: var(--glass-bg-hover);
    box-shadow:
        0 0 30px rgba(0, 247, 255, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

/* Styling for select dropdown options - works in Firefox */
select option {
    background: var(--midnight-blue);
    color: var(--text-primary);
    padding: 10px 8px;
}

select option:hover,
select option:checked {
    background: var(--accent-purple);
    color: var(--text-primary);
}

select option:disabled {
    color: var(--text-muted);
    background: var(--glass-bg);
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================================
   CARDS & CONTAINERS
   ============================================================================ */

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    border: 1.5px solid var(--glass-border);
    border-radius: 24px;
    padding: 28px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 247, 255, 0.4), transparent);
}

.card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-12px);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(0, 247, 255, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.card-hover-glow:hover {
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(0, 247, 255, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

/* ============================================================================
   BADGES & STATUS
   ============================================================================ */

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
}

.badge-success {
    background: rgba(0, 255, 159, 0.15);
    color: var(--neon-emerald);
    border: 1px solid rgba(0, 255, 159, 0.3);
}

.badge-success:hover {
    background: rgba(0, 255, 159, 0.25);
    box-shadow: 0 0 15px rgba(0, 255, 159, 0.3);
}

.badge-warning {
    background: rgba(255, 184, 0, 0.15);
    color: var(--warning);
    border: 1px solid rgba(255, 184, 0, 0.3);
}

.badge-warning:hover {
    background: rgba(255, 184, 0, 0.25);
    box-shadow: 0 0 15px rgba(255, 184, 0, 0.3);
}

.badge-error {
    background: rgba(255, 75, 107, 0.15);
    color: var(--error);
    border: 1px solid rgba(255, 75, 107, 0.3);
}

.badge-error:hover {
    background: rgba(255, 75, 107, 0.25);
    box-shadow: 0 0 15px rgba(255, 75, 107, 0.3);
}

.badge-info {
    background: rgba(0, 247, 255, 0.15);
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 247, 255, 0.3);
}

.badge-info:hover {
    background: rgba(0, 247, 255, 0.25);
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.3);
}

/* ============================================================================
   TABLES
   ============================================================================ */

.table {
    width: 100%;
    border-collapse: collapse;
    transition: var(--transition-fast);
}

.table th {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 16px;
    text-align: left;
    font-weight: 700;
    color: var(--neon-cyan);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.table td {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid var(--glass-border);
    padding: 16px;
    color: var(--text-secondary);
}

.table tr:hover td {
    background: var(--glass-bg-hover);
    box-shadow: inset 0 0 15px rgba(0, 247, 255, 0.08);
}

.table tbody tr:hover {
    border-color: var(--glass-border-hover);
}

/* ============================================================================
   NAVIGATION & SIDEBAR
   ============================================================================ */

.navbar {
    background: rgba(5, 16, 27, 0.6);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1.5px solid rgba(0, 247, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.sidebar {
    background: rgba(13, 27, 42, 0.5);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-right: 1.5px solid rgba(0, 247, 255, 0.1);
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    z-index: 999;
    padding-top: 80px;
    overflow-y: auto;
}

.sidebar-item {
    padding: 14px 24px;
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
    border-left: 3px solid transparent;
    position: relative;
    margin: 4px 0;
}

.sidebar-item i {
    margin-right: 14px;
    font-size: 18px;
}

.sidebar-item:hover {
    background: var(--glass-bg);
    color: var(--neon-cyan);
    border-left-color: var(--neon-cyan);
    box-shadow: inset 10px 0 20px rgba(0, 247, 255, 0.1);
}

.sidebar-item.active {
    background: rgba(186, 160, 230, 0.25);
    color: #8B5FBF;
    border-left-color: #8B5FBF;
    box-shadow: inset 0 0 20px rgba(186, 160, 230, 0.15);
}

.sidebar-item.active::after {
    content: '';
    position: absolute;
    right: -1.5px;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(180deg, #8B5FBF, transparent);
}

/* ============================================================================
   HEADER & LOGO
   ============================================================================ */

.logo {
    font-family: 'Rajdhani', 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-emerald));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 247, 255, 0.2);
    letter-spacing: 2px;
    transition: var(--transition-fast);
}

.logo:hover {
    text-shadow: 0 0 40px rgba(0, 247, 255, 0.4);
    transform: scale(1.05);
}

/* ============================================================================
   SCROLLBAR STYLING
   ============================================================================ */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-cyan), var(--accent-purple));
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--neon-cyan), var(--neon-emerald));
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.5);
}

/* ============================================================================
   UTILITY CLASSES
   ============================================================================ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 40px; }
.mt-6 { margin-top: 48px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 40px; }
.mb-6 { margin-bottom: 48px; }

.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 16px; }
.rounded-xl { border-radius: 24px; }

.shadow-glow { box-shadow: 0 0 30px rgba(0, 247, 255, 0.2); }
.shadow-glow-strong { box-shadow: 0 0 50px rgba(0, 247, 255, 0.35); }

.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 768px) {
    .sidebar {
        width: 240px;
        padding-top: 70px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .card {
        padding: 20px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-tertiary {
        width: 100%;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }

    .card {
        padding: 16px;
    }

    .glassmorphism,
    .glass-panel {
        border-radius: 16px;
    }
}
