/* SamimiSho Chat — Custom Theme */

/* === DaisyUI Theme Override === */
[data-theme="nebula"] {
  color-scheme: dark;
  --p: #a855f7;
  --pf: #7c3aed;
  --pc: #ffffff;
  --a: #06b6d4;
  --af: #0891b2;
  --ac: #0a0a1a;
  --w: #f97316;
  --wf: #ea580c;
  --wc: #ffffff;
  --b1: #0f0f23;
  --b2: #1a1a35;
  --b3: #252545;
  --bc: #e2e8f0;
  --in: #06b6d4;
  --inc: #0a0a1a;
  --er: #ef4444;
  --erc: #ffffff;
  --wa: #f59e0b;
  --wac: #0a0a1a;
  --su: #22c55e;
  --suc: #0a0a1a;
}

/* === Light Theme === */
[data-theme="light"] {
  color-scheme: light;
  --p: #7c3aed;
  --pf: #6d28d9;
  --pc: #ffffff;
  --a: #0891b2;
  --af: #0e7490;
  --ac: #ffffff;
  --w: #ea580c;
  --wf: #c2410c;
  --wc: #ffffff;
  --b1: #f8fafc;
  --b2: #f1f5f9;
  --b3: #e2e8f0;
  --bc: #0f172a;
  --in: #0891b2;
  --inc: #ffffff;
  --er: #dc2626;
  --erc: #ffffff;
  --wa: #d97706;
  --wac: #ffffff;
  --su: #16a34a;
  --suc: #ffffff;
}

[data-theme="light"] body {
  background: #f8fafc;
}

[data-theme="light"] .bg-nebula {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(8, 145, 178, 0.06) 0%, transparent 50%),
    #f8fafc;
}

[data-theme="light"] .sidebar-glass {
  background: rgba(255, 255, 255, 0.8);
  border-right-color: rgba(124, 58, 237, 0.12);
}

[data-theme="light"] .sidebar-glass .sidebar-header {
  border-bottom-color: rgba(124, 58, 237, 0.08);
}

[data-theme="light"] .nav-link {
  color: #475569;
}

[data-theme="light"] .nav-link:hover {
  background: rgba(124, 58, 237, 0.06);
  color: #334155;
}

[data-theme="light"] .nav-link.active {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(8, 145, 178, 0.06));
  color: #7c3aed;
}

[data-theme="light"] .topbar {
  background: rgba(248, 250, 252, 0.7);
  border-bottom-color: rgba(124, 58, 237, 0.08);
}

[data-theme="light"] .topbar-title {
  background: linear-gradient(135deg, #0f172a, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .glass-card,
[data-theme="light"] .stat-orb,
[data-theme="light"] .mobile-card,
[data-theme="light"] .sticker-card,
[data-theme="light"] .modal-glass {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(124, 58, 237, 0.1);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .stat-value,
[data-theme="light"] .mobile-card-title,
[data-theme="light"] .mobile-card-value,
[data-theme="light"] .chat-neon.sent,
[data-theme="light"] .chat-neon.received {
  color: #0f172a;
}

[data-theme="light"] .stat-label,
[data-theme="light"] .mobile-card-label {
  color: #64748b;
}

[data-theme="light"] .neon-table tbody td {
  color: #334155;
  border-bottom-color: rgba(124, 58, 237, 0.06);
}

[data-theme="light"] .neon-table tbody tr:hover {
  background: rgba(124, 58, 237, 0.03);
}

[data-theme="light"] .input-neon {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(124, 58, 237, 0.15);
  color: #0f172a;
}

[data-theme="light"] .input-neon::placeholder { color: #94a3b8; }

[data-theme="light"] .bottom-nav {
  background: rgba(255, 255, 255, 0.92);
  border-top-color: rgba(124, 58, 237, 0.12);
}

[data-theme="light"] .bottom-nav-item {
  color: #64748b;
}

[data-theme="light"] .bottom-nav-item.active {
  color: #7c3aed;
}

[data-theme="light"] .login-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(124, 58, 237, 0.15);
}

[data-theme="light"] .login-title {
  color: #0f172a;
}

[data-theme="light"] .neon-tab {
  color: #64748b;
}

[data-theme="light"] .neon-tab:hover {
  color: #334155;
  background: rgba(124, 58, 237, 0.05);
}

[data-theme="light"] .neon-tab.active {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(8, 145, 178, 0.06));
  color: #7c3aed;
}

[data-theme="light"] .chat-neon.sent {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(124, 58, 237, 0.06));
  border-color: rgba(124, 58, 237, 0.15);
}

[data-theme="light"] .chat-neon.received {
  background: rgba(8, 145, 178, 0.08);
  border-color: rgba(8, 145, 178, 0.12);
}

[data-theme="light"] .skeleton {
  background: linear-gradient(90deg, rgba(124,58,237,0.05) 25%, rgba(124,58,237,0.1) 50%, rgba(124,58,237,0.05) 75%);
}

/* === Base === */
body {
  font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif;
  background: #0a0a1a;
  min-height: 100vh;
  overflow-x: hidden;
}

.page { display: none; }
.page.active { display: block; }

/* === Animated Gradient Background === */
.bg-nebula {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(168, 85, 247, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(249, 115, 22, 0.04) 0%, transparent 50%),
    #0a0a1a;
}

/* === Glass Sidebar === */
.sidebar-glass {
  position: fixed;
  inset: 0 0 0 auto;
  width: 260px;
  background: rgba(15, 15, 35, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid rgba(168, 85, 247, 0.15);
  z-index: 100;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.sidebar-glass .sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(168, 85, 247, 0.1);
}

.sidebar-glass .logo-orb {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
  animation: orbPulse 3s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes orbPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(168, 85, 247, 0.4); }
  50% { box-shadow: 0 0 30px rgba(168, 85, 247, 0.6); }
}

.sidebar-glass nav {
  flex: 1;
  padding: 1rem 0.75rem;
  overflow-y: auto;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  margin-bottom: 0.25rem;
  position: relative;
}

.nav-link:hover {
  background: rgba(168, 85, 247, 0.08);
  color: #e2e8f0;
}

.nav-link.active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(6, 182, 212, 0.1));
  color: #a855f7;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.15);
}

.nav-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: linear-gradient(180deg, #a855f7, #06b6d4);
  border-radius: 3px;
}

.nav-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.nav-badge {
  margin-left: auto;
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: white;
  font-size: 0.7rem;
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  font-weight: 600;
}

/* === Main Content === */
.main-content {
  margin-right: 260px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* === Top Bar === */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 26, 0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(168, 85, 247, 0.08);
}

.topbar-title {
  font-size: 1.35rem;
  font-weight: 700;
  background: linear-gradient(135deg, #e2e8f0, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === Login Page === */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
}

.login-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  background: rgba(15, 15, 35, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.1);
}

.login-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #06b6d4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.4);
}

.login-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #f1f5f9;
  text-align: center;
  margin-top: 0.85rem;
  margin-bottom: 0.25rem;
}

.login-subtitle {
  font-size: 0.82rem;
  color: #64748b;
  text-align: center;
  margin-bottom: 2rem;
}

/* === Glass Cards === */
.glass-card {
  background: rgba(15, 15, 35, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(168, 85, 247, 0.1);
  border-radius: 1rem;
  padding: 1.25rem;
  transition: all 0.3s;
}

.glass-card:hover {
  border-color: rgba(168, 85, 247, 0.25);
  box-shadow: 0 8px 32px rgba(168, 85, 247, 0.1);
  transform: translateY(-2px);
}

/* === Stat Orbs === */
.stat-orb {
  position: relative;
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(15, 15, 35, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(168, 85, 247, 0.1);
  overflow: hidden;
  transition: all 0.3s;
}

.stat-orb::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  opacity: 0.1;
  transition: all 0.5s;
}

.stat-orb:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.15);
}

.stat-orb:hover::before {
  opacity: 0.2;
  transform: scale(1.2);
}

.stat-orb.orb-primary::before { background: #a855f7; }
.stat-orb.orb-accent::before { background: #06b6d4; }
.stat-orb.orb-warm::before { background: #f97316; }
.stat-orb.orb-warning::before { background: #f59e0b; }

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.stat-icon.primary { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
.stat-icon.accent { background: rgba(6, 182, 212, 0.15); color: #06b6d4; }
.stat-icon.warm { background: rgba(249, 115, 22, 0.15); color: #f97316; }
.stat-icon.warning { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1;
  margin: 0.25rem 0;
}

.stat-label {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

/* === Neon Buttons === */
.btn-neon {
  padding: 0.5rem 1rem;
  border-radius: 0.65rem;
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-neon-primary {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: white;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

.btn-neon-primary:hover {
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.5);
  transform: translateY(-1px);
}

.btn-neon-ghost {
  background: rgba(168, 85, 247, 0.08);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.15);
}

.btn-neon-ghost:hover {
  background: rgba(168, 85, 247, 0.15);
}

.btn-neon-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.btn-neon-success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.15);
}

/* === Neon Table === */
.neon-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.neon-table thead th {
  padding: 0.75rem 1rem;
  text-align: right;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  border-bottom: 1px solid rgba(168, 85, 247, 0.1);
}

.neon-table tbody td {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(168, 85, 247, 0.05);
}

.neon-table tbody tr {
  transition: background 0.2s;
}

.neon-table tbody tr:hover {
  background: rgba(168, 85, 247, 0.04);
}

/* === Neon Badges === */
.badge-neon {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-neon-primary { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.badge-neon-accent { background: rgba(6, 182, 212, 0.15); color: #22d3ee; }
.badge-neon-success { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.badge-neon-danger { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.badge-neon-warning { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }

/* === Neon Inputs === */
.input-neon {
  width: 100%;
  padding: 0.55rem 0.85rem;
  background: rgba(15, 15, 35, 0.6);
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: 0.65rem;
  color: #e2e8f0;
  font-size: 0.85rem;
  font-family: inherit;
  transition: all 0.2s;
  box-sizing: border-box;
}

.input-neon:focus {
  outline: none;
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.15);
}

.input-neon::placeholder { color: #475569; }

textarea.input-neon { resize: vertical; min-height: 80px; }

/* === Neon Tabs === */
.neon-tabs {
  display: flex;
  gap: 0.25rem;
  background: rgba(15, 15, 35, 0.4);
  padding: 0.25rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(168, 85, 247, 0.08);
}

.neon-tab {
  padding: 0.4rem 0.85rem;
  border-radius: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: none;
  font-family: inherit;
}

.neon-tab:hover { color: #94a3b8; background: rgba(168, 85, 247, 0.05); }

.neon-tab.active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(6, 182, 212, 0.1));
  color: #c084fc;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.1);
}

/* === Chat Bubbles === */
.chat-neon {
  max-width: 75%;
  padding: 0.6rem 1rem;
  border-radius: 0.85rem;
  font-size: 0.85rem;
  line-height: 1.5;
}

.chat-neon.sent {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.1));
  border: 1px solid rgba(168, 85, 247, 0.2);
  color: #e2e8f0;
  margin-right: auto;
  border-bottom-right-radius: 0.25rem;
}

.chat-neon.received {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.15);
  color: #e2e8f0;
  margin-left: auto;
  border-bottom-left-radius: 0.25rem;
}

/* === Modal === */
.modal-glass {
  background: rgba(15, 15, 35, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 1.1rem;
  max-width: 520px;
  width: 92vw;
  max-height: 78vh;
  overflow-y: auto;
  box-shadow: 0 0 60px rgba(168, 85, 247, 0.12), 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* === Sticker Cards === */
.sticker-card {
  background: rgba(15, 15, 35, 0.5);
  border: 1px solid rgba(168, 85, 247, 0.1);
  border-radius: 0.85rem;
  padding: 1rem;
  transition: all 0.2s;
}

.sticker-card:hover {
  border-color: rgba(168, 85, 247, 0.25);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.1);
}

/* === Mobile Overlay === */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.sidebar-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* === Theme Switcher Dots === */
.theme-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.theme-dot:hover { transform: scale(1.2); }
.theme-dot.active { border-color: #a855f7; box-shadow: 0 0 10px rgba(168, 85, 247, 0.4); }
.theme-dot.nebula { background: linear-gradient(135deg, #0f0f23, #1a1a35); }
.theme-dot.light { background: linear-gradient(135deg, #f8fafc, #e2e8f0); }
.theme-dot.system { background: linear-gradient(135deg, #0f0f23, #f8fafc); }

/* === Animations === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

/* === Gender Bar === */
.gender-bar {
  height: 8px;
  border-radius: 4px;
  transition: width 0.5s ease;
}

.gender-bar.male { background: #a855f7; }
.gender-bar.female { background: #06b6d4; }

/* === Mobile Bottom Nav === */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: none;
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(168, 85, 247, 0.15);
  padding: 0.5rem 0;
  padding-bottom: env(safe-area-inset-bottom, 0.5rem);
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.4rem 0;
  color: #64748b;
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 500;
  transition: all 0.2s;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  min-height: 48px;
  justify-content: center;
}

.bottom-nav-item svg {
  width: 22px;
  height: 22px;
  transition: all 0.2s;
}

.bottom-nav-item.active {
  color: #a855f7;
}

.bottom-nav-item.active svg {
  filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.5));
}

/* === Table vs Mobile Cards === */
.table-desktop { display: block; }
.table-mobile { display: none; }

@media (max-width: 1023px) {
  .table-desktop { display: none !important; }
  .table-mobile { display: block; }
}

/* === Mobile Responsive === */
@media (max-width: 1023px) {
  .sidebar-glass {
    transform: translateX(100%);
  }
  .sidebar-glass.open {
    transform: translateX(0);
  }
  .main-content {
    margin-right: 0;
    padding-bottom: 70px;
  }
  .bottom-nav {
    display: flex;
  }
  .mobile-menu-btn {
    display: flex !important;
  }
  .topbar {
    padding: 0.85rem 1rem;
  }
  main {
    padding: 1rem !important;
  }
  .stat-orb {
    padding: 1rem;
  }
  .stat-value {
    font-size: 1.4rem;
  }
  .glass-card {
    padding: 1rem;
  }
}

@media (min-width: 1024px) {
  .sidebar-glass {
    transform: translateX(0) !important;
  }
  .bottom-nav {
    display: none !important;
  }
}

/* === Mobile Cards (replace tables) === */
.mobile-card {
  background: rgba(15, 15, 35, 0.5);
  border: 1px solid rgba(168, 85, 247, 0.1);
  border-radius: 0.85rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  transition: all 0.2s;
}

.mobile-card:hover {
  border-color: rgba(168, 85, 247, 0.25);
}

.mobile-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.mobile-card-title {
  font-weight: 600;
  color: #e2e8f0;
  font-size: 0.95rem;
}

.mobile-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.mobile-card-label {
  color: #64748b;
}

.mobile-card-value {
  color: #cbd5e1;
  font-weight: 500;
}

/* === Touch-friendly === */
@media (max-width: 1023px) {
  button, .btn-neon, .nav-link, .bottom-nav-item {
    min-height: 44px;
    min-width: 44px;
  }
  input, select, textarea {
    font-size: 16px !important;
    padding: 0.7rem !important;
  }
}

/* === Skeleton Loading === */
@keyframes shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: 200px 0; }
}

.skeleton {
  background: linear-gradient(90deg, rgba(168,85,247,0.06) 25%, rgba(168,85,247,0.12) 50%, rgba(168,85,247,0.06) 75%);
  background-size: 400px 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 0.5rem;
}

.skeleton-text { height: 14px; margin-bottom: 0.5rem; }
.skeleton-title { height: 20px; width: 60%; margin-bottom: 1rem; }
.skeleton-card { height: 120px; border-radius: 1rem; }
.skeleton-row { height: 40px; margin-bottom: 0.5rem; }

/* === Page Transition === */
.page { display: none; opacity: 0; transition: opacity 0.2s ease; }
.page.active { display: block; opacity: 1; }

/* === Scrollbar === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #a855f7, #06b6d4);
  border-radius: 3px;
}
