:root {
  --bg: #0d0e10;
  --surface: #15171b;
  --text: #e7e9ea;
  --muted: #888e96;
  --accent: #6366f1;
  --border: rgba(255, 255, 255, 0.07);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #7c7ff5; }

.maintenance {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  background: radial-gradient(ellipse at center, #1a1c20 0%, #0d0e10 70%);
}
.maintenance .logo {
  width: 280px;
  max-width: 70vw;
  height: auto;
  margin-bottom: 32px;
  filter: drop-shadow(0 8px 30px rgba(99, 102, 241, 0.2));
}
.maintenance h1 {
  font-size: 2.4rem;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.maintenance p {
  color: var(--muted);
  margin: 0;
  font-size: 1.05rem;
  max-width: 480px;
}
.maintenance .badge {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 500;
}
footer {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
}

/* ===== Profil membre ===== */
.profile {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px;
}
.profile .header {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.profile .avatar { width: 110px; height: 110px; border-radius: 50%; }
.profile .name { font-size: 2rem; font-weight: 700; margin: 0; letter-spacing: -0.02em; }
.profile .joined { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.profile .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.profile .stat {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 16px 18px;
  border-radius: 12px;
}
.profile .stat .label { color: var(--muted); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; }
.profile .stat .value { font-size: 1.5rem; font-weight: 700; margin-top: 4px; letter-spacing: -0.02em; }
.profile .back-link { display: inline-block; margin-top: 30px; color: var(--muted); font-size: 0.88rem; }
.profile .empty { text-align: center; color: var(--muted); padding: 60px 20px; }
