/* ===== JURISCONNECT — MAIN STYLES ===== */

:root {
  /* Colors */
  --black: #000000;
  --black-1: #0a0a0a;
  --black-2: #111111;
  --black-3: #1a1a1a;
  --black-4: #222222;
  --black-5: #2a2a2a;
  --black-6: #333333;
  --gray-1: #444444;
  --gray-2: #666666;
  --gray-3: #888888;
  --gray-4: #aaaaaa;
  --gray-5: #cccccc;
  --white: #ffffff;
  --white-1: #f8f8f8;
  --white-2: #f0f0f0;
  
  /* Blue palette */
  --blue: #1a6cf0;
  --blue-light: #4d8ff5;
  --blue-dark: #0d4db5;
  --blue-glow: rgba(26, 108, 240, 0.3);
  --blue-faint: rgba(26, 108, 240, 0.08);
  
  /* Status colors */
  --green: #00c853;
  --green-dark: #009624;
  --yellow: #ffc107;
  --red: #f44336;
  --orange: #ff9800;
  
  /* Premium */
  --gold: #f5c518;
  --gold-light: #ffd54f;
  --premium-glow: rgba(245, 197, 24, 0.3);
  
  /* Gradients */
  --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  --gradient-blue: linear-gradient(135deg, #1a6cf0 0%, #0d4db5 100%);
  --gradient-premium: linear-gradient(135deg, #f5c518 0%, #ff9800 100%);
  --gradient-card: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
  
  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  
  /* Spacing */
  --nav-height: 64px;
  --sidebar-width: 280px;
  --content-max: 680px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.6);
  --shadow-blue: 0 4px 20px rgba(26, 108, 240, 0.4);
  --shadow-glow: 0 0 30px rgba(26, 108, 240, 0.2);
  
  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--black-1);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
button { border: none; outline: none; cursor: pointer; font-family: var(--font-main); }
input, textarea, select { outline: none; font-family: var(--font-main); }
img { max-width: 100%; }
ul { list-style: none; }

/* ===== LOADING SCREEN ===== */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  gap: 32px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loading-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: 48px;
  animation: pulse-scale 1.5s ease-in-out infinite;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loading-bar {
  width: 200px;
  height: 3px;
  background: var(--black-4);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.loading-progress {
  height: 100%;
  width: 0%;
  background: var(--gradient-blue);
  border-radius: var(--radius-full);
  animation: loading-fill 1.8s ease-in-out forwards;
}

@keyframes loading-fill {
  0% { width: 0%; }
  60% { width: 75%; }
  100% { width: 100%; }
}

/* ===== SCREEN SYSTEM ===== */
.screen {
  display: none;
  min-height: 100vh;
  animation: fadeInUp 0.4s ease;
}

.screen.active {
  display: block;
}

/* ===== NAVIGATION ===== */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--black-5);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-logo .nav-icon {
  font-size: 22px;
  filter: drop-shadow(0 0 8px var(--blue));
}

.nav-search-wrap {
  flex: 1;
  max-width: 400px;
  position: relative;
}

.nav-search {
  width: 100%;
  background: var(--black-3);
  border: 1px solid var(--black-5);
  border-radius: var(--radius-full);
  padding: 10px 16px 10px 42px;
  color: var(--white);
  font-size: 14px;
  transition: var(--transition);
}

.nav-search:focus {
  border-color: var(--blue);
  background: var(--black-2);
  box-shadow: var(--shadow-glow);
}

.nav-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-3);
  font-size: 14px;
  pointer-events: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--black-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-3);
  font-size: 16px;
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}

.nav-btn:hover {
  background: var(--black-4);
  color: var(--white);
}

.nav-btn.active {
  color: var(--blue);
}

.nav-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--blue);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--black-4);
  cursor: pointer;
  transition: var(--transition);
}

.nav-avatar:hover {
  border-color: var(--blue);
}

/* ===== SIDEBAR ===== */
.sidebar {
  position: fixed;
  left: 0;
  top: var(--nav-height);
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--black-1);
  border-right: 1px solid var(--black-3);
  padding: 20px 12px;
  overflow-y: auto;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--gray-3);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.sidebar-item:hover {
  background: var(--black-3);
  color: var(--white);
}

.sidebar-item.active {
  background: var(--blue-faint);
  color: var(--blue);
  border: 1px solid rgba(26, 108, 240, 0.15);
}

.sidebar-item i {
  width: 22px;
  text-align: center;
  font-size: 17px;
}

.sidebar-badge {
  margin-left: auto;
  background: var(--blue);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.sidebar-divider {
  height: 1px;
  background: var(--black-3);
  margin: 8px 0;
}

.sidebar-section-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-2);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 16px 4px;
}

/* ===== MAIN CONTENT ===== */
.main-layout {
  display: flex;
  padding-top: var(--nav-height);
  min-height: 100vh;
}

.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 24px 24px 80px;
  max-width: calc(100vw - var(--sidebar-width));
}

.content-center {
  max-width: var(--content-max);
  margin: 0 auto;
}

/* ===== CARDS ===== */
.card {
  background: var(--black-2);
  border: 1px solid var(--black-4);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--black-5);
  box-shadow: var(--shadow-md);
}

/* ===== POST CARD ===== */
.post-card {
  background: var(--black-2);
  border: 1px solid var(--black-4);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  transition: var(--transition);
}

.post-card:hover {
  border-color: var(--black-5);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.post-card.premium-post {
  border-color: rgba(245, 197, 24, 0.2);
  box-shadow: 0 0 0 1px rgba(245, 197, 24, 0.1);
}

.post-header {
  display: flex;
  align-items: center;
  padding: 16px;
  gap: 12px;
}

.post-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--black-4);
  flex-shrink: 0;
  background: var(--black-4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
}

.post-avatar.premium-border {
  border-color: var(--gold);
  box-shadow: 0 0 10px var(--premium-glow);
}

.post-author-info {
  flex: 1;
}

.post-author-name {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.post-author-name:hover {
  color: var(--blue-light);
}

.post-author-meta {
  font-size: 12px;
  color: var(--gray-3);
  margin-top: 2px;
}

.post-menu {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--gray-3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.post-menu:hover {
  background: var(--black-4);
  color: var(--white);
}

.post-text {
  padding: 0 16px 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--white-1);
}

.post-media {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: var(--black-3);
}

.post-media-container {
  position: relative;
  overflow: hidden;
  background: var(--black-3);
}

.post-actions {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  gap: 4px;
  border-top: 1px solid var(--black-3);
}

.post-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--gray-3);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  flex: 1;
  justify-content: center;
}

.post-action-btn:hover {
  background: var(--black-3);
  color: var(--white);
}

.post-action-btn.liked {
  color: var(--red);
}

.post-action-btn.saved {
  color: var(--blue);
}

.post-action-btn i {
  font-size: 16px;
  transition: var(--transition-spring);
}

.post-action-btn.liked i {
  animation: heart-beat 0.3s ease;
}

/* ===== PROFILE AVATAR GENERIC ===== */
.avatar {
  border-radius: var(--radius-full);
  object-fit: cover;
  background: var(--black-4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  color: var(--gray-3);
  overflow: hidden;
}

.avatar-sm { width: 32px; height: 32px; font-size: 13px; }
.avatar-md { width: 44px; height: 44px; font-size: 18px; }
.avatar-lg { width: 64px; height: 64px; font-size: 26px; }
.avatar-xl { width: 88px; height: 88px; font-size: 36px; }
.avatar-xxl { width: 120px; height: 120px; font-size: 48px; }

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.badge-blue { background: rgba(26,108,240,0.15); color: var(--blue-light); border: 1px solid rgba(26,108,240,0.3); }
.badge-gold { background: rgba(245,197,24,0.15); color: var(--gold); border: 1px solid rgba(245,197,24,0.3); }
.badge-green { background: rgba(0,200,83,0.15); color: var(--green); border: 1px solid rgba(0,200,83,0.3); }
.badge-red { background: rgba(244,67,54,0.15); color: var(--red); border: 1px solid rgba(244,67,54,0.3); }
.badge-gray { background: var(--black-4); color: var(--gray-3); border: 1px solid var(--black-5); }
.badge-orange { background: rgba(255,152,0,0.15); color: var(--orange); border: 1px solid rgba(255,152,0,0.3); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}

.btn:hover::after {
  background: rgba(255,255,255,0.05);
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--gradient-blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  box-shadow: 0 6px 25px rgba(26,108,240,0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--black-4);
  color: var(--white);
  border: 1px solid var(--black-5);
}

.btn-secondary:hover {
  background: var(--black-5);
  border-color: var(--gray-1);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-3);
  border: 1px solid var(--black-4);
}

.btn-ghost:hover {
  background: var(--black-3);
  color: var(--white);
  border-color: var(--black-5);
}

.btn-danger {
  background: rgba(244,67,54,0.15);
  color: var(--red);
  border: 1px solid rgba(244,67,54,0.3);
}

.btn-danger:hover {
  background: rgba(244,67,54,0.25);
}

.btn-premium {
  background: var(--gradient-premium);
  color: var(--black);
}

.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-lg { padding: 16px 32px; font-size: 17px; border-radius: var(--radius-lg); }
.btn-full { width: 100%; }
.btn-round { border-radius: var(--radius-full); }

/* ===== FORMS ===== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input {
  background: var(--black-3);
  border: 1px solid var(--black-5);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--white);
  font-size: 15px;
  transition: var(--transition);
  width: 100%;
}

.form-input:focus {
  border-color: var(--blue);
  background: var(--black-2);
  box-shadow: 0 0 0 3px rgba(26,108,240,0.1);
}

.form-input::placeholder {
  color: var(--gray-2);
}

.form-input.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(244,67,54,0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-select {
  background: var(--black-3);
  border: 1px solid var(--black-5);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--white);
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
}

.form-select:focus {
  border-color: var(--blue);
}

.form-hint {
  font-size: 12px;
  color: var(--gray-2);
  margin-top: -4px;
}

.form-error {
  font-size: 12px;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== CHECKBOX ===== */
.checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.checkbox-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 2px solid var(--black-5);
  border-radius: 4px;
  background: var(--black-3);
  cursor: pointer;
  accent-color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-label {
  font-size: 13px;
  color: var(--gray-3);
  line-height: 1.5;
}

/* ===== DIVIDER ===== */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-2);
  font-size: 13px;
  margin: 8px 0;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--black-4);
}

/* ===== STORIES BAR ===== */
.stories-bar {
  display: flex;
  gap: 16px;
  padding: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 8px;
  background: var(--black-2);
  border: 1px solid var(--black-4);
  border-radius: var(--radius-lg);
}

.stories-bar::-webkit-scrollbar { display: none; }

.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
}

.story-ring {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  padding: 2.5px;
  background: var(--gradient-blue);
  transition: var(--transition);
}

.story-ring.premium-ring {
  background: var(--gradient-premium);
}

.story-ring.viewed {
  background: var(--black-4);
}

.story-ring:hover {
  transform: scale(1.05);
}

.story-avatar {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--black-2);
  background: var(--black-4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  overflow: hidden;
}

.story-name {
  font-size: 11px;
  color: var(--gray-3);
  text-align: center;
  max-width: 60px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== NOTIFICATIONS DROPDOWN ===== */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--black-2);
  border: 1px solid var(--black-4);
  border-radius: var(--radius-lg);
  width: 360px;
  max-height: 480px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  animation: fadeInDown 0.2s ease;
}

.dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--black-3);
}

.dropdown-title {
  font-size: 16px;
  font-weight: 700;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 20px;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid var(--black-3);
}

.dropdown-item:hover {
  background: var(--black-3);
}

.dropdown-item.unread {
  background: rgba(26,108,240,0.05);
}

.dropdown-item-text {
  flex: 1;
  font-size: 13px;
  line-height: 1.5;
  color: var(--gray-4);
}

.dropdown-item-time {
  font-size: 11px;
  color: var(--gray-2);
  white-space: nowrap;
  margin-top: 2px;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.modal {
  background: var(--black-2);
  border: 1px solid var(--black-4);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s ease;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--black-3);
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--black-4);
  color: var(--gray-3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--black-5);
  color: var(--white);
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--black-3);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* ===== TOAST ===== */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--black-2);
  border: 1px solid var(--black-4);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  font-weight: 500;
  min-width: 280px;
  max-width: 380px;
  animation: slideInRight 0.3s ease, fadeOut 0.3s ease 2.7s forwards;
}

.toast-success { border-color: rgba(0,200,83,0.3); }
.toast-success .toast-icon { color: var(--green); }
.toast-error { border-color: rgba(244,67,54,0.3); }
.toast-error .toast-icon { color: var(--red); }
.toast-info { border-color: rgba(26,108,240,0.3); }
.toast-info .toast-icon { color: var(--blue); }
.toast-warning { border-color: rgba(255,193,7,0.3); }
.toast-warning .toast-icon { color: var(--yellow); }

/* ===== SKELETON LOADER ===== */
.skeleton {
  background: linear-gradient(90deg, var(--black-3) 25%, var(--black-4) 50%, var(--black-3) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

.skeleton-card {
  background: var(--black-2);
  border: 1px solid var(--black-4);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 20px;
}

/* ===== VERIFY SEAL ===== */
.verify-seal {
  color: var(--blue);
  font-size: 14px;
}

.premium-seal {
  color: var(--gold);
  font-size: 14px;
  filter: drop-shadow(0 0 4px rgba(245,197,24,0.5));
}

/* ===== STATUS DOTS ===== */
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  border: 2px solid var(--black-2);
  flex-shrink: 0;
}

.status-online { background: var(--green); }
.status-offline { background: var(--gray-2); }
.status-away { background: var(--yellow); }

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-2);
}

.empty-state-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.4;
}

.empty-state-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-3);
  margin-bottom: 8px;
}

.empty-state-text {
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto;
}

/* ===== TABS ===== */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--black-3);
  gap: 0;
}

.tab {
  flex: 1;
  text-align: center;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-3);
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.tab:hover {
  color: var(--white);
  background: var(--black-3);
}

.tab.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* ===== SEARCH RESULTS ===== */
.search-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--black-2);
  border: 1px solid var(--black-4);
  border-radius: var(--radius-md);
  max-height: 360px;
  overflow-y: auto;
  z-index: 500;
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.2s ease;
}

.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid var(--black-3);
}

.search-suggestion-item:hover {
  background: var(--black-3);
}

/* ===== SCROLLBAR CUSTOM ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--black-5); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-1); }

/* ===== MOBILE BOTTOM NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--black-3);
  padding: 8px 0 env(safe-area-inset-bottom, 0);
  z-index: 1000;
  flex-direction: row;
}

.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  color: var(--gray-3);
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.mobile-nav-item:hover, .mobile-nav-item.active {
  color: var(--blue);
}

.mobile-nav-item i {
  font-size: 20px;
}

/* ===== RIGHT SIDEBAR ===== */
.right-sidebar {
  width: 300px;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===== WIDGET ===== */
.widget {
  background: var(--black-2);
  border: 1px solid var(--black-4);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--black-3);
}

.widget-title {
  font-size: 15px;
  font-weight: 700;
}

.widget-link {
  font-size: 13px;
  color: var(--blue);
  cursor: pointer;
  transition: var(--transition);
}

.widget-link:hover { color: var(--blue-light); }

.widget-body {
  padding: 12px;
}

/* ===== FOCUS VISIBLE ===== */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ===== CURSOR POINTER ===== */
.cursor-pointer { cursor: pointer; }

/* ===== HIDE MOBILE ===== */
@media (max-width: 640px) {
  .hide-mobile { display: none !important; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .right-sidebar { display: none; }
  .main-content { padding: 24px 20px 80px; }
}

@media (max-width: 768px) {
  .sidebar { display: none; }
  .mobile-nav { display: flex; }
  .main-content { margin-left: 0; max-width: 100vw; padding: 16px 12px 80px; }
  .nav-search-wrap { display: none; }
  .main-layout { padding-top: var(--nav-height); }
}

@media (max-width: 480px) {
  .modal { border-radius: var(--radius-lg); }
  .btn-lg { padding: 14px 24px; font-size: 15px; }
}
