/*
   ╔══════════════════════════════════════════════════════════════════╗
   ║   ARRENDAKAIZEN  ·  ULTRA PREMIUM  ·  V9.0                      ║
   ║   Design: Glassmorphism Pro · Neo-Fintech · Vibrant Azure        ║
   ╚══════════════════════════════════════════════════════════════════╝
*/

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

/* ═══════════════════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════════════════ */
:root {
    /* Core Palette */
    --blue-50:  #eff6ff;
    --blue-100: #dbeafe;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --indigo:   #6366f1;
    --violet:   #8b5cf6;
    --midnight: #060d1f;
    --slate:    #0f172a;
    --slate-2:  #1e293b;

    /* Surface & Text (Light Default) */
    --bg-base:    #f0f5ff;
    --bg-card:    rgba(255,255,255,0.92);
    --bg-sidebar: linear-gradient(160deg, #060d1f 0%, #0f172a 60%, #1e293b 100%);
    --text-main:  #1e293b;
    --text-muted: #475569;
    --border:     rgba(148,163,184,0.2);
    --border-glow: rgba(59,130,246,0.35);
    --glass-bg:   rgba(255,255,255,0.8);
    --nav-bg:     rgba(255,255,255,0.96);

    /* Vibrant Gradients */
    --grad-azure:    linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    --grad-azure-deep: linear-gradient(135deg, #1d4ed8 0%, #4f46e5 100%);
    --grad-emerald:  linear-gradient(135deg, #10b981 0%, #06d6a0 100%);
    --grad-rose:     linear-gradient(135deg, #f43f5e 0%, #e879f9 100%);
    --grad-amber:    linear-gradient(135deg, #f59e0b 0%, #fb923c 100%);
    --grad-cyan:     linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --grad-violet:   linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --grad-midnight: linear-gradient(160deg, #060d1f 0%, #0f172a 60%, #1e293b 100%);
    --grad-gold:     linear-gradient(135deg, #f59e0b 0%, #eab308 100%);

    /* Shadows */
    --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:   0 4px 16px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.05);
    --shadow-lg:   0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
    --shadow-glow: 0 0 30px rgba(59,130,246,0.25);
    --shadow-card: 0 8px 32px rgba(15,23,42,0.08);

    /* Motion */
    --ease:     cubic-bezier(0.4, 0, 0.2, 1);
    --bounce:   cubic-bezier(0.34, 1.56, 0.64, 1);
    --trans:    all 0.22s var(--ease);

    /* Geometry */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --sidebar-w: 255px;
}

[data-theme="dark"] {
    --bg-base:    #060d1f;
    --bg-card:    rgba(15, 23, 42, 0.6);
    --bg-sidebar: linear-gradient(160deg, #020617 0%, #0b1120 100%);
    --text-main:  #f8fafc;
    --text-muted: #94a3b8;
    --border:     rgba(255, 255, 255, 0.08);
    --border-glow: rgba(59, 130, 246, 0.4);
    --midnight:   #f8fafc;
    --glass-bg:   rgba(15, 23, 42, 0.8);
    --nav-bg:     rgba(6, 13, 31, 0.95);
    --shadow-md:   0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg:   0 12px 48px rgba(0, 0, 0, 0.5);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-base);
    color: var(--text-main);
    font-size: 0.82rem;
    line-height: 1.55;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background 0.3s, color 0.3s;
}

/* Gradient mesh background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 0% 0%,   rgba(99,102,241,0.06) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 100% 80%, rgba(59,130,246,0.05) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 50% 50%,  rgba(16,185,129,0.03) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--midnight);
}

h1 { font-size: 1.3rem; }
h2 { font-size: 1.1rem; }
h3 { font-size: 0.95rem; }
h4, h5 { font-size: 0.85rem; }
h6 { font-size: 0.78rem; }

a { color: var(--blue-500); }
.text-blue { color: var(--blue-500) !important; }
.text-midnight { color: var(--midnight) !important; }
.text-main { color: var(--text-main); }
.text-muted { color: var(--text-muted) !important; }
.bg-azure { background: var(--blue-50) !important; }
.extra-small { font-size: 0.72rem !important; }
.fw-black { font-weight: 900 !important; }
.border-blue { border-color: var(--blue-100) !important; }

/* ═══════════════════════════════════════════════════════════════
   SIDEBAR — ULTRA PREMIUM DARK
═══════════════════════════════════════════════════════════════ */
.sidebar {
    width: var(--sidebar-w);
    background: var(--bg-sidebar);
    position: fixed;
    top: 0; left: 0; bottom: 0;
    padding: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border);
    box-shadow: 6px 0 40px rgba(0,0,0,0.3);
    overflow: hidden;
    transition: var(--trans);
}

/* Subtle sidebar shimmer overlay */
.sidebar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 120% 50% at 50% 0%, rgba(99,102,241,0.12) 0%, transparent 60%);
    pointer-events: none;
}

.sidebar-brand {
    padding: 1.6rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
}

.sidebar-brand-logo {
    font-size: 1.15rem;
    font-weight: 900;
    color: white;
    text-decoration: none !important;
    letter-spacing: -0.04em;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.sidebar-brand-logo .logo-icon {
    width: 34px; height: 34px;
    background: var(--grad-azure);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(59,130,246,0.4);
    flex-shrink: 0;
}

.sidebar-nav {
    padding: 0.75rem 0.85rem;
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
}
.sidebar-nav::-webkit-scrollbar { display: none; }

.sidebar-section-label {
    padding: 1.25rem 0.6rem 0.5rem;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255,255,255,0.25);
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.85rem;
    color: rgba(255,255,255,0.72);
    text-decoration: none !important;
    border-radius: var(--radius-sm);
    margin-bottom: 0.2rem;
    transition: var(--trans);
    font-weight: 600;
    font-size: 0.8rem;
    position: relative;
    overflow: hidden;
}

.sidebar-link::before {
    content: '';
    position: absolute;
    left: 0; top: 50%; transform: translateY(-50%);
    width: 3px; height: 0;
    background: var(--grad-azure);
    border-radius: 0 3px 3px 0;
    transition: height 0.2s var(--bounce);
}

.sidebar-link i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    color: rgba(255,255,255,0.4);
    transition: var(--trans);
    flex-shrink: 0;
}

.sidebar-link:hover {
    background: rgba(255,255,255,0.07);
    color: white;
}
.sidebar-link:hover i { color: var(--blue-500); }
.sidebar-link:hover::before { height: 60%; }

.sidebar-link.active {
    background: linear-gradient(90deg, rgba(59,130,246,0.25) 0%, rgba(99,102,241,0.1) 100%);
    color: white !important;
    border: 1px solid rgba(59,130,246,0.2);
    box-shadow: 0 2px 12px rgba(59,130,246,0.15), inset 0 1px 0 rgba(255,255,255,0.05);
}
.sidebar-link.active i { color: #60a5fa; }
.sidebar-link.active::before { height: 65%; }

/* Sidebar user card */
.sidebar-user {
    margin: 0 0.85rem 0.85rem;
    padding: 0.85rem;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--grad-azure);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.9rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(59,130,246,0.3);
    border: 2px solid rgba(255,255,255,0.2);
}

/* ═══════════════════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════════════════ */
.content-wrapper {
    margin-left: var(--sidebar-w);
    padding: 2rem 2.25rem;
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

@media (max-width: 1200px) {
    .sidebar { left: calc(-1 * var(--sidebar-w)); }
    .sidebar.show { left: 0; box-shadow: 8px 0 60px rgba(0,0,0,0.4); }
    .content-wrapper { margin-left: 0; padding: 1.25rem 1rem; padding-top: 72px; }
}

/* ═══════════════════════════════════════════════════════════════
   GLASS CARDS
═══════════════════════════════════════════════════════════════ */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255,255,255,0.1);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s, background 0.3s;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 64px rgba(15,23,42,0.14), 0 0 40px rgba(59,130,246,0.1);
    border-color: rgba(59,130,246,0.3);
}

/* Dark card variant */
.card-dark {
    background: var(--grad-midnight);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    color: white;
    box-shadow: 0 16px 50px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.card-dark:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 70px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
}

.card-dark::before {
    content: '';
    position: absolute;
    top: -40%; right: -20%;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(99,102,241,0.3) 0%, transparent 70%);
    pointer-events: none;
    transition: transform 0.5s var(--ease);
}

.card-dark:hover::before {
    transform: scale(1.1);
}

/* ═══════════════════════════════════════════════════════════════
   STAT WIDGETS — PRISM ULTRA
═══════════════════════════════════════════════════════════════ */
.stat-widget-azure {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.4rem 1.4rem 1.4rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.28s var(--bounce), box-shadow 0.28s var(--ease), background 0.3s;
}

.stat-widget-azure::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.55) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.stat-widget-azure:hover {
    transform: translateY(-5px) scale(1.015);
}

/* Left accent bar — thicker */
.stat-widget-azure::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 5px;
    background: var(--grad-azure);
    border-radius: 5px 0 0 5px;
}

.stat-icon-azure {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--blue-50);
    color: var(--blue-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 6px 18px rgba(59,130,246,0.22);
    transition: transform 0.25s var(--bounce), box-shadow 0.25s var(--ease);
}

.stat-widget-azure:hover .stat-icon-azure {
    transform: scale(1.12) rotate(-6deg);
}

/* ── Colour variants ── */

/* INFO — azure */
.stat-info::before    { background: var(--grad-azure); }
.stat-info { border-top: 3px solid rgba(59,130,246,0.2); box-shadow: 0 6px 30px rgba(59,130,246,0.12), var(--shadow-md); }
.stat-info:hover      { box-shadow: 0 18px 52px rgba(59,130,246,0.22) !important; }
.stat-info .stat-icon-azure    { background: linear-gradient(135deg,#dbeafe,#eff6ff); color: #2563eb; box-shadow: 0 6px 20px rgba(59,130,246,0.30); }

/* SUCCESS — emerald */
.stat-success::before { background: var(--grad-emerald); }
.stat-success { border-top: 3px solid rgba(16,185,129,0.2); box-shadow: 0 6px 30px rgba(16,185,129,0.12), var(--shadow-md); }
.stat-success:hover   { box-shadow: 0 18px 52px rgba(16,185,129,0.22) !important; }
.stat-success .stat-icon-azure { background: linear-gradient(135deg,#a7f3d0,#ecfdf5); color: #059669; box-shadow: 0 6px 20px rgba(16,185,129,0.30); }

/* WARNING — amber */
.stat-warning::before { background: var(--grad-amber); }
.stat-warning { border-top: 3px solid rgba(245,158,11,0.2); box-shadow: 0 6px 30px rgba(245,158,11,0.12), var(--shadow-md); }
.stat-warning:hover   { box-shadow: 0 18px 52px rgba(245,158,11,0.22) !important; }
.stat-warning .stat-icon-azure { background: linear-gradient(135deg,#fde68a,#fffbeb); color: #d97706; box-shadow: 0 6px 20px rgba(245,158,11,0.30); }

/* DANGER — rose */
.stat-danger::before  { background: var(--grad-rose); }
.stat-danger { border-top: 3px solid rgba(244,63,94,0.2); box-shadow: 0 6px 30px rgba(244,63,94,0.12), var(--shadow-md); }
.stat-danger:hover    { box-shadow: 0 18px 52px rgba(244,63,94,0.22) !important; }
.stat-danger .stat-icon-azure  { background: linear-gradient(135deg,#fecdd3,#fff1f2); color: #e11d48; box-shadow: 0 6px 20px rgba(244,63,94,0.30); }

/* VIOLET */
.stat-violet::before  { background: var(--grad-violet); }
.stat-violet { border-top: 3px solid rgba(139,92,246,0.2); box-shadow: 0 6px 30px rgba(139,92,246,0.12), var(--shadow-md); }
.stat-violet:hover    { box-shadow: 0 18px 52px rgba(139,92,246,0.22) !important; }
.stat-violet .stat-icon-azure  { background: linear-gradient(135deg,#ddd6fe,#f5f3ff); color: #7c3aed; box-shadow: 0 6px 20px rgba(139,92,246,0.30); }

/* CYAN */
.stat-cyan::before    { background: var(--grad-cyan); }
.stat-cyan { border-top: 3px solid rgba(6,182,212,0.2); box-shadow: 0 6px 30px rgba(6,182,212,0.12), var(--shadow-md); }
.stat-cyan:hover      { box-shadow: 0 18px 52px rgba(6,182,212,0.22) !important; }
.stat-cyan .stat-icon-azure    { background: linear-gradient(135deg,#a5f3fc,#ecfeff); color: #0891b2; box-shadow: 0 6px 20px rgba(6,182,212,0.30); }

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════════ */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-azure);
    color: white !important;
    border: 2px solid rgba(255,255,255,0.4);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.78rem;
    transition: all 0.22s var(--bounce);
    box-shadow: 0 4px 16px rgba(59,130,246,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
}
.btn-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.15) 0%, transparent 100%);
    pointer-events: none;
}
.btn-premium:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(59,130,246,0.45), 0 0 0 0 transparent;
    filter: brightness(1.08);
}
.btn-premium:active { transform: scale(0.98); }

.btn-outline-blue {
    background: white;
    color: var(--blue-500);
    border: 2px solid var(--blue-300);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.78rem;
    transition: var(--trans);
    text-decoration: none !important;
}
.btn-outline-blue:hover {
    background: var(--blue-50);
    border-color: var(--blue-500);
    color: var(--blue-600);
    text-decoration: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   TABLES
═══════════════════════════════════════════════════════════════ */
.table-azure {
    width: 100%;
    font-size: 0.79rem;
    border-collapse: separate;
    border-spacing: 0;
}

.table-azure thead tr {
    background: var(--bg-base);
}

.table-azure th {
    padding: 0.9rem 1.1rem;
    font-size: 0.67rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 800;
    letter-spacing: 0.07em;
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

.table-azure td {
    padding: 0.9rem 1.1rem;
    border-bottom: 1px solid var(--border);
    font-weight: 500;
    transition: background 0.15s;
    vertical-align: middle;
}

.table-azure tbody tr { transition: background 0.15s, transform 0.15s; }
.table-azure tbody tr:hover td {
    background: linear-gradient(to right, rgba(239,246,255,0.8), rgba(239,246,255,0.3));
}
.table-azure tbody tr:last-child td { border-bottom: none; }

/* ═══════════════════════════════════════════════════════════════
   BADGES
═══════════════════════════════════════════════════════════════ */
.badge-azure {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.badge-azure-success { background: var(--grad-emerald); }
.badge-azure-danger  { background: var(--grad-rose); }
.badge-azure-primary { background: var(--grad-azure); }
.badge-azure-warning { background: var(--grad-amber); color: #431407; }
.badge-azure-info    { background: var(--grad-cyan); }
.badge-azure-violet  { background: var(--grad-violet); }

/* ═══════════════════════════════════════════════════════════════
   FORMS
═══════════════════════════════════════════════════════════════ */
.form-control, .form-select {
    font-size: 0.82rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.85rem;
    background: var(--bg-card);
    transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}
.form-control:focus, .form-select:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
    background: white;
    outline: none;
}
.form-control::placeholder { color: #94a3b8; font-weight: 400; }
.input-group-text {
    background: #f8fafc;
    border: 1.5px solid rgba(148,163,184,0.25);
    color: #94a3b8;
    font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════════
   ALERTS
═══════════════════════════════════════════════════════════════ */
.alert {
    border-radius: var(--radius-sm);
    font-size: 0.79rem;
    font-weight: 600;
}
.alert-success {
    background: linear-gradient(135deg, rgba(16,185,129,0.08) 0%, rgba(6,214,160,0.05) 100%);
    border: 1px solid rgba(16,185,129,0.25);
    color: #065f46;
}
.alert-danger {
    background: linear-gradient(135deg, rgba(244,63,94,0.08) 0%, rgba(251,113,133,0.05) 100%);
    border: 1px solid rgba(244,63,94,0.25);
    color: #9f1239;
}
.alert-info {
    background: linear-gradient(135deg, rgba(59,130,246,0.08) 0%, rgba(99,102,241,0.05) 100%);
    border: 1px solid rgba(59,130,246,0.2);
    color: #1e40af;
}
.alert-warning {
    background: linear-gradient(135deg, rgba(245,158,11,0.08) 0%, rgba(251,146,60,0.05) 100%);
    border: 1px solid rgba(245,158,11,0.25);
    color: #92400e;
}

/* ═══════════════════════════════════════════════════════════════
   BOTTOM NAV (mobile)
═══════════════════════════════════════════════════════════════ */
.bottom-nav {
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    display: none;
    height: 64px;
    align-items: center;
    justify-content: space-around;
    z-index: 1050;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.08);
}

.bottom-nav-link {
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #94a3b8;
    font-size: 0.62rem;
    font-weight: 700;
    transition: var(--trans);
    padding: 0.4rem;
    border-radius: 10px;
    min-width: 52px;
}
.bottom-nav-link i {
    font-size: 1.2rem;
    margin-bottom: 2px;
    transition: transform 0.25s var(--bounce);
}
.bottom-nav-link.active {
    color: var(--blue-500);
    background: var(--blue-50);
}
.bottom-nav-link.active i { transform: translateY(-2px) scale(1.1); }
.bottom-nav-link:hover { color: var(--blue-500); }

@media (max-width: 991px) {
    .bottom-nav { display: flex; }
    .content-wrapper { padding-bottom: 85px !important; }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE TOPBAR
═══════════════════════════════════════════════════════════════ */
.mobile-topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 60px;
    background: rgba(6,13,31,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.25rem;
    z-index: 1002;
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS — PREMIUM SET
═══════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes pulse-ring {
    0%   { box-shadow: 0 0 0 0 rgba(59,130,246,0.4); }
    70%  { box-shadow: 0 0 0 12px rgba(59,130,246,0); }
    100% { box-shadow: 0 0 0 0 rgba(59,130,246,0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.animate-fade        { animation: fadeIn 0.35s var(--ease) both; }
.animate-up          { animation: fadeUp 0.4s var(--ease) both; }
.animate-slide-right { animation: slideInRight 0.35s var(--ease) both; }
.animate-scale       { animation: scaleIn 0.3s var(--bounce) both; }
.animate-float       { animation: float 4s ease-in-out infinite; }

/* Staggered delays */
.delay-1 { animation-delay: 0.07s; }
.delay-2 { animation-delay: 0.14s; }
.delay-3 { animation-delay: 0.21s; }
.delay-4 { animation-delay: 0.28s; }

/* ═══════════════════════════════════════════════════════════════
   HOVER MICRO-EFFECTS
═══════════════════════════════════════════════════════════════ */
.hover-up { transition: var(--trans); }
.hover-up:hover { transform: translateY(-2px); }

.hover-glow:hover { box-shadow: var(--shadow-glow) !important; }

.pulse-blue { animation: pulse-ring 2.5s infinite; }

/* ═══════════════════════════════════════════════════════════════
   SHIMMER SKELETON
═══════════════════════════════════════════════════════════════ */
.skeleton {
    background: linear-gradient(90deg, #f0f5ff 25%, #dbeafe 50%, #f0f5ff 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 6px;
}

/* ═══════════════════════════════════════════════════════════════
   SCROLLBAR CUSTOM
═══════════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(148,163,184,0.4); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(59,130,246,0.5); }

/* ═══════════════════════════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════════════════════════ */
.text-gradient {
    background: var(--grad-azure);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-gold {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.icon-glow {
    filter: drop-shadow(0 0 6px rgba(59,130,246,0.5));
}

.divider-gradient {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(59,130,246,0.3), transparent);
    border: none;
    margin: 1.5rem 0;
}

/* ═══════════════════════════════════════════════════════════════
   PAGE TRANSITION
═══════════════════════════════════════════════════════════════ */
.content-wrapper > * { animation: fadeUp 0.38s var(--ease) both; }
