:root {
  --bg: #0b0710;
  --card: #160e1f;
  --line: #2b1c3b;
  --text: #f6eefc;
  --muted: #b6a6c6;
  --pink: #ff3d9a;
  --violet: #8b5cf6;
  --gold: #ffcf4a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(60rem 30rem at 50% -10rem, rgba(255, 61, 154, .22), transparent 70%),
    radial-gradient(40rem 30rem at 100% 20%, rgba(139, 92, 246, .16), transparent 70%),
    var(--bg);
  color: var(--text);
  font: 400 16px/1.5 "Outfit", system-ui, sans-serif;
  min-height: 100vh;
}

.wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

/* En-tête */
.hero { text-align: center; }

.avatar {
  display: block;
  width: 88px;
  height: 88px;
  margin: 0 auto 12px;
  border-radius: 50%;
  object-fit: cover;
  padding: 3px;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  box-shadow: 0 0 32px rgba(255, 61, 154, .45);
}

.kicker {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  margin: 8px 0 6px;
  font-size: clamp(28px, 7vw, 38px);
  line-height: 1.1;
  font-weight: 900;
}

h1 span {
  background: linear-gradient(90deg, var(--pink), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.updated { margin: 0; color: var(--muted); font-size: 14px; }

.warn {
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 207, 74, .35);
  border-radius: 12px;
  background: rgba(255, 207, 74, .08);
  font-size: 14px;
  text-align: left;
}

/* Liste */
.list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.card {
  display: flex;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.card--top {
  border-color: rgba(255, 61, 154, .6);
  box-shadow: 0 0 0 1px rgba(255, 61, 154, .25), 0 12px 40px rgba(255, 61, 154, .18);
}

.rank {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 20px;
  background: var(--line);
}

.card--top .rank { background: var(--gold); color: #1a1205; }

.body { flex: 1; min-width: 0; }

.brand { margin: 0; line-height: 0; }

.logo {
  height: 64px;
  width: auto;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--line);
}

.tag { margin: 10px 0 10px; color: var(--pink); font-weight: 600; font-size: 14px; }

.bonus {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 207, 74, .08);
  border: 1px solid rgba(255, 207, 74, .3);
}

.bonus strong {
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  color: var(--gold);
}

.bonus span {
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  font-size: 15px;
  white-space: nowrap;
}

.bonus em {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  text-transform: none;
  white-space: normal;
  color: var(--muted);
}

.points {
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
}

.points li + li { margin-top: 4px; }

.cta {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  text-align: center;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, var(--pink), var(--violet));
  transition: transform .15s ease, filter .15s ease;
}

.cta:hover { filter: brightness(1.1); transform: translateY(-1px); }
.cta:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Pied de page */
.foot {
  margin-top: 32px;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}

.foot a { color: var(--text); }
