/* ========================
   HELIXIA — PREMIUM CSS
   ======================== */

:root {
  --bg: #080c14;
  --bg-2: #0d1220;
  --bg-3: #111827;
  --surface: rgba(255,255,255,0.04);
  --surface-hover: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --border-glow: rgba(99,102,241,0.4);
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-glow: rgba(99,102,241,0.25);
  --accent: #06b6d4;
  --accent-glow: rgba(6,182,212,0.2);
  --gold: #f59e0b;
  --gold-glow: rgba(245,158,11,0.2);
  --danger: #ef4444;
  --danger-glow: rgba(239,68,68,0.2);
  --success: #10b981;
  --text: #f1f5f9;
  --text-2: #94a3b8;
  --text-3: #64748b;
  --sidebar-w: 260px;
  --radius: 14px;
  --radius-lg: 20px;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ======================== ANIMATED BG ======================== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% -20%, rgba(99,102,241,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 110%, rgba(6,182,212,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(99,102,241,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: bgShift 20s ease-in-out infinite alternate;
}

@keyframes bgShift {
  0% { transform: scale(1) translateY(0); }
  100% { transform: scale(1.05) translateY(-20px); }
}

/* ======================== SIDEBAR ======================== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: rgba(8,12,20,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  z-index: 100;
  transition: transform var(--transition);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.brand-icon {
  font-size: 28px;
  filter: drop-shadow(0 0 12px var(--primary));
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { filter: drop-shadow(0 0 12px var(--primary)); }
  50% { filter: drop-shadow(0 0 20px var(--primary-light)); }
}
 
.brand-name {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.nav-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-glow), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: 10px;
}

.nav-item:hover {
  color: var(--text);
  background: var(--surface-hover);
}

.nav-item:hover::before { opacity: 1; }

.nav-item.active {
  color: var(--primary-light);
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.25);
}

.nav-item.active::before { opacity: 1; }

.nav-item.admin-nav { color: var(--gold); }
.nav-item.admin-nav::before {
  background: linear-gradient(135deg, var(--gold-glow), transparent);
}
.nav-item.admin-nav:hover, .nav-item.admin-nav.active {
  background: rgba(245,158,11,0.12);
  border-color: rgba(245,158,11,0.2);
}

.nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.nav-item:hover .nav-icon { transform: translateX(2px); }

.nav-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

/* User card */
.sidebar-footer { margin-top: auto; }

.user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  flex-shrink: 0;
}

.user-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.user-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-glow);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(245,158,11,0.25);
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.logout-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--text-3);
  transition: all var(--transition);
  flex-shrink: 0;
}
.logout-btn:hover { color: var(--danger); background: var(--danger-glow); }
.logout-btn svg { width: 16px; height: 16px; }

.discord-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  background: linear-gradient(135deg, #5865F2, #4752c4);
  color: white;
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
  border: 1px solid rgba(88,101,242,0.5);
}
.discord-login-btn:hover {
  background: linear-gradient(135deg, #6872f6, #5865F2);
  box-shadow: 0 0 24px rgba(88,101,242,0.4);
  transform: translateY(-1px);
}

/* ======================== MAIN CONTENT ======================== */
.main {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 40px;
}

/* ======================== PAGE HEADER ======================== */
.page-header {
  margin-bottom: 48px;
  animation: fadeUp 0.6s ease both;
}

.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.page-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #fff 30%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  margin-top: 12px;
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 560px;
}

/* ======================== CARDS ======================== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.5), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover::before { opacity: 1; }
.card:hover { border-color: rgba(99,102,241,0.2); }

.card-glow {
  box-shadow: 0 0 40px rgba(99,102,241,0.1);
}

/* ======================== GRID ======================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ======================== BUTTONS ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #4f46e5);
  color: white;
  box-shadow: 0 4px 20px rgba(99,102,241,0.35);
  border: 1px solid rgba(99,102,241,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99,102,241,0.5);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-2);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--surface-hover);
  color: var(--text);
  border-color: var(--primary);
}

.btn-danger {
  background: rgba(239,68,68,0.12);
  color: var(--danger);
  border: 1px solid rgba(239,68,68,0.2);
}
.btn-danger:hover {
  background: rgba(239,68,68,0.2);
  box-shadow: 0 0 20px var(--danger-glow);
}

.btn-discord {
  background: linear-gradient(135deg, #5865F2, #4752c4);
  color: white;
  border: 1px solid rgba(88,101,242,0.4);
  box-shadow: 0 4px 20px rgba(88,101,242,0.3);
}
.btn-discord:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(88,101,242,0.5);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  border: 1px solid rgba(245,158,11,0.3);
  box-shadow: 0 4px 20px rgba(245,158,11,0.25);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245,158,11,0.4);
}

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* ======================== ALERTS ======================== */
.alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  color: #34d399;
}
.alert-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  color: #f87171;
}

/* ======================== FORMS ======================== */
.form-group { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 15px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 14.5px;
  font-family: 'DM Sans', sans-serif;
  transition: all var(--transition);
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  background: rgba(99,102,241,0.05);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

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

.form-select {
  cursor: pointer;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form-select option { background: var(--bg-3); }

.form-textarea { resize: vertical; min-height: 110px; line-height: 1.6; }

/* ======================== HOME PAGE ======================== */
.hero {
  text-align: center;
  padding: 80px 0 60px;
  animation: fadeUp 0.7s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 24px;
  animation: fadeUp 0.5s ease both;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 22px;
}

.hero-title .gradient {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 19px;
  color: var(--text-2);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Feature cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 64px;
}

.feature-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  animation: fadeUp 0.6s ease both;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(99,102,241,0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.feature-title {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-desc { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 64px;
}

.stat-item {
  background: var(--bg-2);
  padding: 28px;
  text-align: center;
}

.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label { font-size: 13px; color: var(--text-3); margin-top: 4px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

/* ======================== TEAM PAGE ======================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.team-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.6s ease both;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-color, var(--primary));
  filter: blur(0px);
  transition: all var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}

.team-avatar-wrap {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  position: relative;
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid var(--card-color, var(--primary));
  box-shadow: 0 0 24px var(--card-glow, var(--primary-glow));
  object-fit: cover;
}

.team-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  background: var(--bg-3);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.team-name {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.team-role {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-2);
  margin-bottom: 12px;
}

.team-discord {
  font-size: 13px;
  color: var(--text-3);
}

/* ======================== PREMIUM PAGE ======================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.price-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.6s ease both;
}

.price-card.featured {
  background: rgba(99,102,241,0.08);
  border-color: rgba(99,102,241,0.35);
  box-shadow: 0 0 60px rgba(99,102,241,0.12);
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.3);
}

.price-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 3px 10px;
  background: linear-gradient(135deg, var(--primary), #4f46e5);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-name {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.price-amount {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.price-currency {
  font-size: 20px;
  color: var(--gold);
  font-weight: 700;
}

.price-period {
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: 28px;
}

.price-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}

.price-features li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

.purchase-info {
  margin-top: 56px;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.purchase-info h3 {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.purchase-info p { color: var(--text-2); margin-bottom: 20px; line-height: 1.65; }

/* ======================== KEY PAGE ======================== */
.key-display {
  font-family: 'Courier New', monospace;
  font-size: 15px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--primary-light);
  word-break: break-all;
  letter-spacing: 1px;
}

.key-container {
  display: flex;
  gap: 10px;
  align-items: center;
}

.key-container .key-display { flex: 1; }

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.info-row:last-child { border-bottom: none; }

.info-label { font-size: 13px; color: var(--text-3); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.info-value { font-size: 14px; color: var(--text); font-weight: 600; }

.resetbtn:disabled {
  background: rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.15);
  color: #5b5b5b;
  cursor: not-allowed;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.step-item {
  display: flex;
  gap: 18px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: center;
  transition: all var(--transition);
}

.step-item.completed {
  border-color: rgba(16,185,129,0.3);
  background: rgba(16,185,129,0.05);
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
  color: var(--text-3);
}

.step-item.completed .step-num {
  background: rgba(16,185,129,0.1);
  border-color: var(--success);
  color: var(--success);
}

.step-item.active .step-num {
  background: rgba(99,102,241,0.15);
  border-color: var(--primary);
  color: var(--primary-light);
  box-shadow: 0 0 20px var(--primary-glow);
}

.step-info h4 { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.step-info p { font-size: 13px; color: var(--text-3); }

/* ======================== ADMIN PAGE ======================== */
.admin-tabs {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 28px;
}

.admin-tab {
  flex: 1;
  padding: 10px 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-3);
  cursor: pointer;
  border-radius: 9px;
  transition: all var(--transition);
  border: none;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
}

.admin-tab.active {
  background: rgba(99,102,241,0.15);
  color: var(--primary-light);
  border: 1px solid rgba(99,102,241,0.2);
}

.admin-tab-panel { display: none; }
.admin-tab-panel.active { display: block; animation: fadeUp 0.3s ease both; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.data-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-2);
  vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }

.data-table tr:hover td { background: rgba(255,255,255,0.02); color: var(--text); }

.table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: auto;
}

.key-pill {
  font-family: monospace;
  font-size: 12px;
  color: var(--primary-light);
  background: rgba(99,102,241,0.08);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(99,102,241,0.15);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  min-width: 650px;
}

@media (max-width: 768px) {
  .data-table th:nth-child(3),
  .data-table td:nth-child(3),
  .data-table th:nth-child(4),
  .data-table td:nth-child(4) {
    display: none;
  }
}

.status-badge {
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-active { background: rgba(16,185,129,0.12); color: var(--success); border: 1px solid rgba(16,185,129,0.2); }
.status-banned { background: var(--danger-glow); color: var(--danger); border: 1px solid rgba(239,68,68,0.2); }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 28px; }

.stat-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  animation: fadeUp 0.4s ease both;
}

.stat-card-num {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
}

.stat-card-label { font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }

/* ======================== SUGGESTIONS ======================== */
.suggestion-icon {
  width: 60px;
  height: 60px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

/* ======================== ERROR PAGE ======================== */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 40px;
}

.error-code {
  font-family: 'Syne', sans-serif;
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.error-msg {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.error-sub { color: var(--text-2); margin-bottom: 32px; }

/* ======================== MOBILE MENU ======================== */
.mobile-menu-btn {
  display: none;
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 200;
  width: 42px;
  height: 42px;
  background: rgba(8,12,20,0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn svg { width: 20px; height: 20px; }

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 90;
}

/* ======================== ANIMATIONS ======================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Glow pulse */
.glow-primary { box-shadow: 0 0 30px var(--primary-glow); }
.glow-gold { box-shadow: 0 0 30px var(--gold-glow); }

/* ======================== SCROLLBAR ======================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(99,102,241,0.3); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ======================== RESPONSIVE ======================== */
@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
    z-index: 150;
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.open { display: block; }
  .mobile-menu-btn { display: flex; }
  .main { margin-left: 0; }
  .container { padding: 28px 20px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 40px; }
  .admin-tabs { flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .pricing-grid { grid-template-columns: 1fr; }
  .data-table { font-size: 12px; }
  .data-table th, .data-table td { padding: 10px 10px; }
}
