/* ========================================
   PIXELCLOUD — Global Styles
   ======================================== */

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

:root {
  /* Colors */
  --bg-base:       #0a0a0c;
  --bg-card:       #14141a;
  --bg-hover:      #1c1c24;
  --border:        #26262e;
  --border-hover:  #3a3a48;

  --text-primary:  #ffffff;
  --text-muted:    #a8a8b3;
  --text-faint:    #6b6b77;

  --accent-fuchsia: #d946ef;
  --accent-violet:  #7c3aed;
  --accent-cyan:    #06b6d4;
  --accent-amber:   #f59e0b;
  --accent-emerald: #10b981;
  --accent-rose:    #f43f5e;

  --grad-primary:   linear-gradient(135deg, #d946ef, #7c3aed);
  --grad-btn:       linear-gradient(90deg,  #d946ef, #7c3aed);
  --grad-vip:       linear-gradient(135deg, #fbbf24, #d946ef);
  --grad-founder:   linear-gradient(135deg, #f43f5e, #fbbf24);

  /* Shadows */
  --shadow-glow:    0 10px 40px -5px rgba(217,70,239,0.35);
  --shadow-card:    0 4px 24px rgba(0,0,0,0.4);

  /* Fonts */
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body { min-height: 100vh; }

h1, h2, h3, h4, h5, h6,
.font-display { font-family: var(--font-display); }

/* ---- Scrollbar ---- */
::-webkit-scrollbar             { width: 8px; height: 8px; }
::-webkit-scrollbar-track       { background: var(--bg-base); }
::-webkit-scrollbar-thumb       { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-hover); }

/* ---- Selection ---- */
::selection { background: rgba(217,70,239,0.25); color: white; }

/* ---- Animations ---- */
@keyframes pulse-dot   { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(.85)} }
@keyframes bounce-dot  { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes spin        { to{transform:rotate(360deg)} }
@keyframes fade-in     { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }
@keyframes slide-in    { from{opacity:0;transform:translateX(-16px)} to{opacity:1;transform:translateX(0)} }
@keyframes scale-in    { from{opacity:0;transform:scale(.95)} to{opacity:1;transform:scale(1)} }
@keyframes shimmer     { from{background-position:-400px 0} to{background-position:400px 0} }
@keyframes glow-pulse  { 0%,100%{box-shadow:0 0 20px rgba(217,70,239,0.3)} 50%{box-shadow:0 0 40px rgba(217,70,239,0.6)} }
@keyframes float       { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

.animate-fade-in   { animation: fade-in   0.4s ease both; }
.animate-scale-in  { animation: scale-in  0.3s ease both; }
.animate-slide-in  { animation: slide-in  0.35s ease both; }
.animate-float     { animation: float     3s ease-in-out infinite; }
.animate-spin      { animation: spin      1s linear infinite; }
.animate-pulse-dot { animation: pulse-dot 2s ease-in-out infinite; }
.animate-glow      { animation: glow-pulse 2.5s ease-in-out infinite; }

/* ---- Background FX ---- */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.bg-grid::before {
  content: '';
  position: absolute; inset: 0;
  opacity: 0.022;
  background-image:
    linear-gradient(var(--accent-fuchsia) 1px, transparent 1px),
    linear-gradient(90deg, var(--accent-fuchsia) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  mask-image:         radial-gradient(ellipse at center, black 20%, transparent 70%);
}
.bg-orb {
  position: absolute; border-radius: 50%; pointer-events: none; filter: blur(90px);
}
.bg-orb-1 { top: -10%; left: 20%;  width: 500px; height: 500px; background: rgba(192,38,211,0.055); }
.bg-orb-2 { top: 40%;  right: -5%; width: 450px; height: 450px; background: rgba(109,40,217,0.045); }
.bg-orb-3 { bottom: 0; left: 10%;  width: 400px; height: 400px; background: rgba(6,182,212,0.03); }

/* ---- Layout ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.page { position: relative; z-index: 10; }

/* ---- TopNav ---- */
.topnav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,12,0.88);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.topnav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; gap: 12px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: white; }
.logo-text span { color: var(--accent-fuchsia); }

.nav-pill {
  display: flex; align-items: center; gap: 4px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 999px; padding: 4px;
}
.nav-pill button {
  padding: 6px 18px; border-radius: 999px;
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  color: var(--text-muted); background: transparent; border: none; cursor: pointer;
  transition: color 0.2s;
}
.nav-pill button.active {
  background: var(--grad-btn); color: white;
  box-shadow: 0 6px 18px -3px rgba(217,70,239,0.5);
}
.nav-pill button:hover:not(.active) { color: white; }

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

.btn-icon {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: transparent; border: 1px solid transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  position: relative;
}
.btn-icon:hover { background: var(--bg-card); border-color: var(--border); color: white; }
.btn-icon .notif-dot {
  position: absolute; top: 6px; right: 6px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-fuchsia); border: 2px solid var(--bg-base);
}

.user-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 14px 4px 4px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 999px; cursor: pointer;
  transition: border-color 0.2s;
}
.user-chip:hover { border-color: rgba(217,70,239,0.5); }
.user-chip .username { font-size: 13px; font-weight: 600; font-family: var(--font-display); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 22px; border-radius: 999px;
  background: var(--grad-btn); color: white; border: none; cursor: pointer;
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  box-shadow: var(--shadow-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 35px -5px rgba(217,70,239,0.55); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 22px; border-radius: 999px;
  background: var(--bg-card); color: var(--text-primary);
  border: 1px solid var(--border); cursor: pointer;
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-secondary:hover { background: var(--bg-hover); border-color: var(--border-hover); transform: translateY(-1px); }

.btn-danger {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 22px; border-radius: 999px;
  background: linear-gradient(90deg, #f43f5e, #ec4899); color: white; border: none; cursor: pointer;
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  box-shadow: 0 10px 25px -5px rgba(244,63,94,0.4);
  transition: transform 0.2s;
}
.btn-danger:hover { transform: translateY(-2px); }

/* ---- Avatar ---- */
.avatar {
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; color: white; flex-shrink: 0;
  background: linear-gradient(135deg, #d946ef, #06b6d4);
}

/* ---- Cards ---- */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--border-hover); }
.card-hover:hover { background: var(--bg-hover); transform: translateY(-2px); }

.card-glow {
  position: relative;
}
.card-glow::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit;
  background: var(--grad-primary); z-index: -1; opacity: 0;
  transition: opacity 0.3s;
}
.card-glow:hover::before { opacity: 0.4; }

/* ---- Section ---- */
.section-label {
  font-size: 11px; font-family: var(--font-display);
  font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-faint);
  margin-bottom: 12px;
}

/* ---- Pill Tag ---- */
.tag-online {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--bg-card); border: 1px solid var(--border);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
}
.tag-online .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-emerald); }

.tag-new {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700;
  background: rgba(217,70,239,0.12); border: 1px solid rgba(217,70,239,0.25);
  color: var(--accent-fuchsia);
}

/* ---- Badge Roles ---- */
.role-badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 6px;
  font-size: 10px; font-weight: 800; font-family: var(--font-display);
  letter-spacing: 0.05em; text-transform: uppercase; color: white;
}
.role-Fondateur { background: linear-gradient(90deg,#f43f5e,#fbbf24); }
.role-Admin     { background: linear-gradient(90deg,#f43f5e,#ec4899); }
.role-Modérateur{ background: linear-gradient(90deg,#fbbf24,#f97316); }
.role-Helper    { background: linear-gradient(90deg,#34d399,#06b6d4); }
.role-VIP       { background: linear-gradient(90deg,#fcd34d,#d946ef); }
.role-Membre    { background: linear-gradient(90deg,#64748b,#475569); }

/* ---- Stat Card ---- */
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
  transition: border-color 0.2s;
}
.stat-card:hover { border-color: var(--border-hover); }
.stat-icon {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card); flex-shrink: 0;
}
.stat-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.stat-value { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: white; margin-top: 4px; }

/* ---- Toggle ---- */
.toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}
.toggle-row:last-child { border-bottom: none; }
.toggle-row label { font-size: 14px; color: var(--text-muted); cursor: pointer; }

.toggle {
  width: 44px; height: 24px; border-radius: 999px;
  background: var(--border); border: none; cursor: pointer;
  position: relative; transition: background 0.25s; flex-shrink: 0;
}
.toggle.on  { background: var(--accent-fuchsia); }
.toggle::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: 20px; height: 20px; border-radius: 50%; background: white;
  transition: transform 0.25s; box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.toggle.on::after { transform: translateX(20px); }

/* ---- Panel ---- */
.panel {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
}
.panel-header {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 16px; margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
}
.panel-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; }

/* ---- Info Row ---- */
.info-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0; border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.info-row:last-child { border-bottom: none; }
.info-row .label { color: var(--text-muted); }
.info-row .value { font-weight: 600; }
.info-row .value.mono { font-family: var(--font-mono); font-size: 12px; }

/* ---- Input ---- */
.input {
  width: 100%; background: var(--bg-base);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 11px 16px; font-size: 14px; color: white;
  font-family: var(--font-body);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus { border-color: var(--accent-fuchsia); box-shadow: 0 0 0 3px rgba(217,70,239,0.12); }
.input::placeholder { color: var(--text-faint); }

.input-group { position: relative; }
.input-group .input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-faint); pointer-events: none; }
.input-group .input { padding-left: 42px; }

/* ---- Status dot ---- */
.status-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--bg-card);
  flex-shrink: 0;
}
.status-online  { background: #34d399; }
.status-idle    { background: #fbbf24; }
.status-offline { background: #64748b; }
.status-dnd     { background: #f43f5e; }

/* ---- Progress bar ---- */
.progress-bar {
  height: 6px; background: var(--bg-base); border: 1px solid var(--border);
  border-radius: 999px; overflow: hidden;
}
.progress-fill { height: 100%; border-radius: 999px; transition: width 0.6s ease; }

/* ---- Tabs ---- */
.tabs {
  display: flex; gap: 4px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 4px; width: fit-content; flex-wrap: wrap;
}
.tab-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; font-family: var(--font-display);
  color: var(--text-muted); background: transparent; border: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.tab-btn.active {
  background: var(--grad-btn); color: white;
  box-shadow: 0 6px 20px -3px rgba(217,70,239,0.4);
}
.tab-btn:hover:not(.active) { color: white; }

/* ---- Alert / Badges ---- */
.alert-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 700; font-family: var(--font-display);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.alert-success { background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.3); color: #34d399; }
.alert-warning { background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.3); color: #fbbf24; }
.alert-danger  { background: rgba(244,63,94,0.12);  border: 1px solid rgba(244,63,94,0.3);  color: #f87171; }
.alert-info    { background: rgba(217,70,239,0.12); border: 1px solid rgba(217,70,239,0.3); color: var(--accent-fuchsia); }

/* ---- Footer ---- */
.footer {
  position: relative; z-index: 10;
  border-top: 1px solid var(--border); margin-top: 80px;
}
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding: 28px 0;
}
.footer-links { display: flex; align-items: center; gap: 24px; }
.footer-links a {
  font-size: 12px; color: var(--text-muted); text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: white; }

/* ---- Auth Modal ---- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: fade-in 0.25s ease;
}
.modal-box {
  width: 100%; max-width: 440px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  animation: scale-in 0.3s ease;
}
.modal-header {
  padding: 32px 32px 0;
  text-align: center;
}
.modal-body   { padding: 24px 32px; }
.modal-footer { padding: 0 32px 28px; text-align: center; }

.auth-provider-btn {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 13px 20px; border-radius: var(--radius-md);
  background: var(--bg-base); border: 1px solid var(--border);
  color: white; cursor: pointer; font-size: 14px; font-weight: 600;
  font-family: var(--font-display);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  text-align: left;
}
.auth-provider-btn:hover { background: var(--bg-hover); border-color: var(--border-hover); transform: translateY(-1px); }
.auth-provider-btn .provider-icon { width: 24px; height: 24px; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.divider {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; color: var(--text-faint); margin: 16px 0;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ---- 2FA ---- */
.otp-inputs { display: flex; gap: 8px; justify-content: center; }
.otp-input {
  width: 48px; height: 56px; text-align: center;
  background: var(--bg-base); border: 1px solid var(--border);
  border-radius: var(--radius-md); font-size: 24px; font-weight: 700;
  font-family: var(--font-mono); color: white; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.otp-input:focus { border-color: var(--accent-fuchsia); box-shadow: 0 0 0 3px rgba(217,70,239,0.15); }

/* ---- CAPTCHA ---- */
.captcha-box {
  background: var(--bg-base); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
  cursor: pointer; transition: border-color 0.2s;
}
.captcha-box:hover { border-color: var(--accent-fuchsia); }
.captcha-check {
  width: 24px; height: 24px; border-radius: 4px; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.captcha-check.checked { background: var(--accent-fuchsia); border-color: var(--accent-fuchsia); }

/* ---- Step indicator ---- */
.steps {
  display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 28px;
}
.step-dot {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; font-family: var(--font-display);
  border: 2px solid var(--border); color: var(--text-faint);
  background: var(--bg-base); position: relative; z-index: 1;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.step-dot.active { background: var(--grad-btn); border-color: transparent; color: white; }
.step-dot.done   { background: var(--accent-emerald); border-color: transparent; color: white; }
.step-line { flex: 1; height: 2px; background: var(--border); max-width: 48px; }
.step-line.done { background: var(--accent-emerald); }

/* ---- Verify email box ---- */
.verify-icon {
  width: 72px; height: 72px; border-radius: var(--radius-lg);
  background: var(--grad-primary); margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow);
}

/* ---- Home Hero ---- */
.hero { padding: 64px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--bg-card); border: 1px solid var(--border);
  font-size: 12px; color: var(--text-muted); margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(44px, 6vw, 76px); font-weight: 800; line-height: 0.95;
  letter-spacing: -0.02em; margin-bottom: 24px;
}
.gradient-text {
  background: linear-gradient(90deg, #e879f9, #f472b6, #a78bfa);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-desc { font-size: 17px; color: var(--text-muted); max-width: 520px; line-height: 1.7; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; max-width: 380px; }
.hero-stat-value {
  font-family: var(--font-display); font-size: 26px; font-weight: 800;
  background: linear-gradient(90deg, #f0abfc, #67e8f9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stat-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); margin-top: 3px; }

/* ---- Features Grid ---- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }

.feature-card {
  position: relative; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  cursor: pointer; overflow: hidden;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(217,70,239,0.35); background: var(--bg-hover); transform: translateY(-3px); }
.feature-card::after {
  content: '›'; position: absolute; top: 22px; right: 20px;
  font-size: 20px; color: var(--text-faint); transition: color 0.2s, transform 0.2s;
}
.feature-card:hover::after { color: var(--accent-fuchsia); transform: translateX(3px); }
.feature-icon {
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; box-shadow: var(--shadow-card);
  transition: transform 0.2s;
}
.feature-card:hover .feature-icon { transform: scale(1.1); }
.feature-title { font-family: var(--font-display); font-weight: 700; margin-bottom: 6px; }
.feature-desc  { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ---- Bot Card ---- */
.bot-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-card);
}
.bot-card-header {
  background: linear-gradient(135deg, #1a0a2e, #0a1628);
  padding: 20px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.bot-card-body { padding: 20px; }
.command-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--radius-sm);
  background: var(--bg-base); border: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 12px; color: var(--accent-fuchsia);
}
.command-tag .prefix { color: var(--text-faint); }

/* ---- VIP Card ---- */
.vip-card {
  position: relative; border-radius: var(--radius-xl); padding: 28px;
  background: linear-gradient(135deg, #1f1810, #1f1020);
  border: 1px solid rgba(245,158,11,0.35);
  overflow: hidden;
}
.vip-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(251,191,36,0.07), rgba(192,38,211,0.07));
}

/* ---- Dashboard ---- */
.server-tabs { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; }
.server-tab {
  flex-shrink: 0; min-width: 175px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px; cursor: pointer; text-align: left;
  transition: border-color 0.2s, background 0.2s;
}
.server-tab.selected { border-color: rgba(217,70,239,0.5); background: rgba(217,70,239,0.08); }
.server-tab-icon {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 13px; color: white;
  margin-bottom: 12px; box-shadow: var(--shadow-card);
}
.server-tab-name { font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.server-tab-members { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; margin-top: 3px; }

/* ---- Module sidebar ---- */
.module-sidebar {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 10px; height: fit-content;
}
.module-sidebar .label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); padding: 8px 10px 4px; }
.module-btn {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; font-family: var(--font-display);
  color: var(--text-muted); background: transparent; border: none; cursor: pointer;
  border-left: 2px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  text-align: left;
}
.module-btn.active {
  background: linear-gradient(90deg, rgba(217,70,239,0.15), rgba(124,58,237,0.08));
  border-left-color: var(--accent-fuchsia); color: white;
}
.module-btn:hover:not(.active) { color: white; background: rgba(255,255,255,0.04); }

/* ---- Admin ---- */
.admin-header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.admin-zone-label { font-size: 11px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-rose); }

.user-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  transition: background 0.2s;
}
.user-row:first-child { border-top: none; }
.user-row:hover { background: var(--bg-hover); }

/* ---- Profile ---- */
.profile-banner {
  height: 180px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #c026d3, #7c3aed, #06b6d4);
}
.profile-banner::after {
  content: ''; position: absolute; inset: 0;
  opacity: 0.25;
  background-image:
    radial-gradient(circle at 20% 30%, white 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, white 1px, transparent 1px);
  background-size: 40px 40px, 60px 60px;
}
.profile-avatar-wrap {
  position: relative; display: inline-block;
}
.profile-vip-crown {
  position: absolute; bottom: -4px; right: -4px;
  width: 36px; height: 36px; border-radius: 50%;
  background: #f59e0b; border: 3px solid var(--bg-base);
  display: flex; align-items: center; justify-content: center;
}

/* ---- Chart ---- */
.chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 140px; }
.chart-bar {
  flex: 1; border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, #c026d3, #a78bfa);
  min-height: 8px;
}
.chart-months {
  display: flex; justify-content: space-between;
  margin-top: 8px; font-size: 9px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-faint);
}

/* ---- Announcement ---- */
.announcement-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.announcement-item:last-child { border-bottom: none; }
.announce-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-fuchsia); margin-top: 6px; flex-shrink: 0; }

/* ---- System cards ---- */
.sys-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
}
.sys-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; box-shadow: var(--shadow-card);
}
.sys-value { font-family: var(--font-display); font-size: 30px; font-weight: 800; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 42px; }
  .bot-card-preview { display: none; }
  .nav-pill { display: none; }
  .hero-desc { font-size: 15px; }
}

/* ---- Utility ---- */
.hidden     { display: none !important; }
.sr-only    { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-center { text-align: center; }
.mx-auto    { margin: 0 auto; }
.w-full     { width: 100%; }
.flex       { display: flex; }
.flex-col   { flex-direction: column; }
.items-center{ align-items: center; }
.justify-between{ justify-content: space-between; }
.gap-2      { gap: 8px; }
.gap-3      { gap: 12px; }
.gap-4      { gap: 16px; }
.gap-6      { gap: 24px; }
.mb-2       { margin-bottom: 8px; }
.mb-4       { margin-bottom: 16px; }
.mb-6       { margin-bottom: 24px; }
.mb-8       { margin-bottom: 32px; }
.mt-4       { margin-top: 16px; }
.mt-6       { margin-top: 24px; }
.p-4        { padding: 16px; }
.p-6        { padding: 24px; }
.grid       { display: grid; }
.col-2      { grid-template-columns: 1fr 1fr; }
.col-3      { grid-template-columns: repeat(3, 1fr); }
.col-4      { grid-template-columns: repeat(4, 1fr); }
