/* ================================================================
   KREDS V2 — Design System CSS
   Extracted from React/Tailwind redesign → vanilla CSS
   ================================================================ */

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

/* ── DESIGN TOKENS ── */
:root {
  /* Brand colors */
  --brand-purple: #8B5CF6;
  --brand-purple-dark: #7C3AED;
  --brand-blue: #3B82F6;
  --brand-dark: #0F172A;
  --brand-black: #020617;

  /* Surface colors */
  --bg: #020617;
  --bg-subtle: #0F172A;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.10);
  --card-hover: rgba(255, 255, 255, 0.08);

  /* Text colors */
  --text: #e2e8f0;
  --text-soft: #94a3b8;
  --muted: #64748b;
  --muted-2: #94a3b8;

  /* Semantic colors */
  --green: #22c55e;
  --red: #ef4444;
  --gold: #fbbf24;
  --cyan: #06b6d4;

  /* Aliases for backward compatibility */
  --accent: var(--brand-purple);
  --accent-2: var(--brand-blue);
  --gradient: linear-gradient(135deg, var(--brand-purple), var(--brand-blue));
  --gradient-btn: linear-gradient(135deg, var(--brand-purple), var(--brand-blue));
  --border: rgba(255, 255, 255, 0.10);
  --glow: rgba(139, 92, 246, 0.25);

  /* Sidebar */
  --sidebar-w: 256px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

::selection {
  background: rgba(139, 92, 246, 0.3);
}

a { color: var(--brand-purple); text-decoration: none; transition: color 0.15s; }
a:hover { color: #a78bfa; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(139, 92, 246, 0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(139, 92, 246, 0.4); }

/* ── ANIMATED BACKGROUND ── */
.kv2-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg);
}

.blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  filter: blur(100px);
  opacity: 0.3;
  animation: blob 7s infinite;
}
.blob-1 { width: 384px; height: 384px; background: var(--brand-purple); top: 25%; left: -80px; }
.blob-2 { width: 384px; height: 384px; background: var(--brand-blue); bottom: 25%; right: -80px; animation-delay: 2s; }
.blob-3 { width: 288px; height: 288px; background: var(--brand-purple); top: 50%; left: 33%; animation-delay: 4s; }
.blob-4 { width: 320px; height: 320px; background: var(--brand-blue); top: 33%; right: 25%; animation-delay: 2s; }

.kv2-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, #020617 0%, #000 100%);
  opacity: 0.8;
}

.kv2-bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

@keyframes blob {
  0%   { transform: translate(0px, 0px) scale(1); }
  33%  { transform: translate(30px, -50px) scale(1.1); }
  66%  { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(0px, 0px) scale(1); }
}

@keyframes shimmer {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

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

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ── UTILITY CLASSES ── */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.text-gradient {
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* ── NAVBAR ── */
.kv2-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1rem 1.5rem;
  transition: all 0.3s;
  background: transparent;
}
.kv2-nav.scrolled {
  background: rgba(2, 6, 23, 0.80);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.kv2-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.kv2-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.kv2-logo-icon {
  position: relative;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kv2-logo-glow {
  position: absolute;
  inset: 0;
  background: rgba(139, 92, 246, 0.2);
  filter: blur(12px);
  border-radius: 50%;
  transition: all 0.3s;
}
.kv2-logo:hover .kv2-logo-glow {
  background: rgba(139, 92, 246, 0.4);
}
.kv2-logo img {
  width: 32px; height: 32px;
  position: relative; z-index: 1;
  border-radius: 8px;
}
.kv2-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}
.kv2-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.kv2-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-2);
  text-decoration: none;
  transition: color 0.15s;
}
.kv2-nav-link:hover { color: #fff; }
.kv2-nav-link.active { color: var(--brand-purple); }

.kv2-nav-divider {
  height: 16px;
  width: 1px;
  background: rgba(255, 255, 255, 0.10);
  margin: 0 0.5rem;
}

/* ── BUTTONS ── */
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  background: #fff;
  color: var(--brand-black);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  font-family: inherit;
}
.btn-white:hover {
  background: #e2e8f0;
  transform: scale(1.05);
  color: var(--brand-black);
}
.btn-white:active { transform: scale(0.95); }

.btn-white-lg {
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.btn-ghost-v2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 1rem 2rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  font-family: inherit;
}
.btn-ghost-v2:hover {
  background: rgba(255, 255, 255, 0.10);
  transform: scale(1.05);
  color: #fff;
}
.btn-ghost-v2:active { transform: scale(0.95); }

.btn-purple {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  background: var(--brand-purple);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  font-family: inherit;
}
.btn-purple:hover {
  background: rgba(139, 92, 246, 0.8);
  color: #fff;
}

/* Legacy button compat */
.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.65rem 1.3rem;
  border-radius: 1rem;
  background: #fff;
  color: var(--brand-black);
  font-size: 0.88rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.btn-accent:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
  color: var(--brand-black);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.55rem 1.3rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  font-family: inherit;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.20);
}

/* ── FORMS ── */
.form-control, .form-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--text);
  border-radius: 1rem;
  padding: 1rem 1rem;
  font-size: 0.875rem;
  font-family: inherit;
  transition: all 0.2s;
  width: 100%;
}
.form-control:focus, .form-select:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--brand-purple);
  color: var(--text);
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.3);
  outline: none;
}
.form-control::placeholder { color: #334155; }
.form-label {
  display: block;
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  margin-left: 0.25rem;
}
.form-check-input {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.10);
}
.form-check-input:checked {
  background-color: var(--brand-purple);
  border-color: var(--brand-purple);
}
.input-group-text {
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--muted);
  font-size: 0.875rem;
}

/* ── CARDS ── */
.card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 1.5rem;
  transition: all 0.2s;
}
.card:hover {
  border-color: rgba(139, 92, 246, 0.30);
}
.card-body { padding: 1.5rem; }

/* ── ALERTS ── */
.alert-success-k {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: var(--green);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}
.alert-error-k {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: var(--red);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

/* ── SECTION TITLES ── */
.section-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.section-title i { color: var(--brand-purple); }

/* ── BADGES ── */
.badge-k {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
}
.badge-gold   { background: rgba(251, 191, 36, 0.15); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.25); }
.badge-silver { background: rgba(148, 163, 184, 0.12); color: #94a3b8; border: 1px solid rgba(148, 163, 184, 0.25); }
.badge-bronze { background: rgba(180, 83, 9, 0.12); color: #b45309; border: 1px solid rgba(180, 83, 9, 0.25); }

.badge-platform {
  font-size: 0.7rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 12px;
}

/* ── UID / CODE ── */
.uid-code {
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  color: var(--muted);
  background: rgba(139, 92, 246, 0.06);
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.10);
}

/* ── STARS ── */
.stars { color: #fbbf24; font-size: 0.85rem; letter-spacing: 1px; }
.stars-muted { color: var(--muted); }

/* ── STAT CARDS ── */
.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 1.2rem;
  text-align: center;
}
.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  margin-top: 2px;
}

/* ── VOUCH ITEMS ── */
.vouch-item {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.vouch-item:last-child { border-bottom: none; }
.vouch-text { font-size: 0.9rem; color: var(--text); margin-bottom: 4px; }
.vouch-meta { font-size: 0.78rem; color: var(--muted); }

/* ── CONNECTION BADGE ── */
.connection-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 0.85rem;
}

/* ── EMPTY STATE ── */
.empty-state {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
}
.empty-state i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

/* ── FEATURE CARDS (Landing) ── */
.kv2-feature-card {
  position: relative;
  padding: 2rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: all 0.5s;
  overflow: hidden;
}
.kv2-feature-card:hover {
  border-color: rgba(139, 92, 246, 0.5);
}
.kv2-feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-purple), var(--brand-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s;
}
.kv2-feature-card:hover::after {
  transform: scaleX(1);
}
.kv2-feature-card .hover-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139,92,246,0.2), transparent, rgba(59,130,246,0.2));
  opacity: 0;
  transition: opacity 0.5s;
}
.kv2-feature-card:hover .hover-glow { opacity: 1; }

.kv2-feature-icon {
  width: 56px; height: 56px;
  border-radius: 1rem;
  background: rgba(139, 92, 246, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--brand-purple);
  font-size: 1.5rem;
  transition: transform 0.5s;
  position: relative; z-index: 1;
}
.kv2-feature-card:hover .kv2-feature-icon {
  transform: scale(1.1);
}

/* ── HERO FLOATING STATS ── */
.kv2-float-card {
  position: absolute;
  z-index: 20;
  padding: 1rem;
  border-radius: 1rem;
  animation: float 4s ease-in-out infinite;
}
.kv2-float-card.delay { animation-delay: 1s; animation-duration: 5s; }

/* ── SIDEBAR (Dashboard) ── */
.kv2-sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  border-right: 1px solid rgba(255, 255, 255, 0.10);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 200;
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(20px);
  transition: transform 0.25s ease;
}
.kv2-sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.kv2-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  color: var(--muted-2);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
}
.kv2-sidebar-link i {
  width: 20px;
  text-align: center;
  font-size: 0.9rem;
}
.kv2-sidebar-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.kv2-sidebar-link.active {
  background: var(--brand-purple);
  color: #fff;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
  font-weight: 600;
}
.kv2-sidebar-link.active i { color: #fff; }

.kv2-sidebar-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  margin: 0.25rem 0;
}
.kv2-sidebar-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 0.5rem 1rem 0.25rem;
  opacity: 0.6;
}

.kv2-sidebar-user {
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 1rem;
  transition: background 0.15s;
}
.kv2-sidebar-user:hover { background: rgba(255, 255, 255, 0.03); }
.kv2-user-avatar {
  width: 36px; height: 36px;
  border-radius: 0.75rem;
  object-fit: cover;
  border: 2px solid rgba(139, 92, 246, 0.3);
}
.kv2-user-avatar-ph {
  width: 36px; height: 36px;
  border-radius: 0.75rem;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
}
.kv2-user-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 130px;
}
.kv2-user-role {
  font-size: 0.68rem;
  color: var(--muted);
}

/* ── MAIN CONTENT AREA ── */
.kv2-main {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

/* ── DASHBOARD HEADER ── */
.kv2-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  padding: 2rem 2rem 0;
}
.kv2-dash-header h1 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.kv2-dash-header p { color: var(--muted-2); }
.kv2-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ── MOBILE TOP BAR ── */
.kv2-topbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(2, 6, 23, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
}
.kv2-topbar-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.kv2-topbar-logo img { height: 28px; border-radius: 6px; }
.kv2-topbar-logo span {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: -0.025em;
}
.kv2-menu-toggle {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 0.5rem;
  transition: all 0.15s;
}
.kv2-menu-toggle:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }

/* Sidebar overlay */
.kv2-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 199;
  backdrop-filter: blur(2px);
}
.kv2-overlay.active { display: block; }

/* ── LEADERBOARD ── */
.kv2-lb-header-grid {
  display: grid;
  grid-template-columns: 1fr 6fr 3fr 2fr;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.kv2-lb-row {
  display: grid;
  grid-template-columns: 1fr 6fr 3fr 2fr;
  padding: 1.5rem;
  align-items: center;
  transition: background 0.15s;
}
.kv2-lb-row:hover { background: rgba(255, 255, 255, 0.05); }
.kv2-lb-row + .kv2-lb-row { border-top: 1px solid rgba(255, 255, 255, 0.03); }
.kv2-lb-rank {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.15s;
}
.kv2-lb-row:hover .kv2-lb-rank { color: var(--brand-purple); }
.kv2-lb-rank.gold { color: #fbbf24; }
.kv2-lb-rank.silver { color: #94a3b8; }
.kv2-lb-rank.bronze { color: #b45309; }

/* ── FOOTER ── */
.kv2-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 5rem 1.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.kv2-footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}
.kv2-footer-brand p { color: var(--muted-2); line-height: 1.6; margin-top: 1rem; }
.kv2-footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.kv2-social-btn {
  width: 40px; height: 40px;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-2);
  font-size: 1rem;
  transition: all 0.15s;
  cursor: pointer;
}
.kv2-social-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.10); }

.kv2-footer h4 { color: #fff; font-weight: 700; margin-bottom: 1.5rem; }
.kv2-footer-links { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.kv2-footer-links a { color: var(--muted-2); text-decoration: none; transition: color 0.15s; }
.kv2-footer-links a:hover { color: var(--brand-purple); }

.kv2-footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  flex-wrap: wrap;
  gap: 1rem;
}
.kv2-footer-bottom p { color: var(--muted); font-size: 0.875rem; }
.kv2-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  display: inline-block;
  margin-right: 6px;
}

/* ── MOBILE NAV ── */
.kv2-mobile-nav {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--brand-black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.kv2-mobile-link {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--muted-2);
  text-decoration: none;
  transition: color 0.15s;
}
.kv2-mobile-link:hover { color: #fff; }
.kv2-menu-toggle { display: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .kv2-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .kv2-nav-links { display: none; }
  .kv2-menu-toggle { display: block; }
  .kv2-sidebar { transform: translateX(-100%); }
  .kv2-sidebar.open { transform: translateX(0); }
  .kv2-main { margin-left: 0; }
  .kv2-topbar { display: flex; }
  .kv2-footer-grid { grid-template-columns: 1fr; }
  .kv2-lb-header-grid, .kv2-lb-row {
    grid-template-columns: 40px 1fr 80px 60px;
  }
}

@media (max-width: 480px) {
  .kv2-nav { padding: 0.75rem 1rem; }
}
