/* rewards.css — Referral Rewards v2 (/rewards).
 * GTAVI format: dark neon base, pink/cyan accents, Pricedown display headers,
 * neon-glow card hover, mobile-first. Pairs with assets/referral/rewards.js.
 */
:root {
  --rw-pink: #ff2d78;
  --rw-cyan: #22d3ee;
  --rw-bg0: #0a0614;
  --rw-bg1: #120a24;
  --rw-line: rgba(255, 45, 120, 0.22);
  --rw-ink: #f4f0ff;
  --rw-muted: #a99fd1;
}
.rw-wrap { max-width: 1080px; margin: 0 auto; padding: 0 18px; }
.rw-hero { padding: clamp(44px, 8vw, 96px) 0 10px; text-align: center; }
.rw-kicker {
  display: inline-block; font: 600 11px/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--rw-cyan);
  border: 1px solid rgba(34, 211, 238, 0.35); border-radius: 999px;
  padding: 8px 16px; margin-bottom: 18px; background: rgba(34, 211, 238, 0.06);
}
.rw-hero h1 {
  font-family: 'Pricedown', 'Bebas Neue', 'Arial Narrow', sans-serif;
  font-weight: 400; letter-spacing: 0.015em;
  font-size: clamp(52px, 9vw, 104px); line-height: 0.95; margin: 0 0 14px;
  background: linear-gradient(92deg, #ff2d78, #ff9a3c 52%, #22d3ee);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 42px rgba(255, 45, 120, 0.25);
}
.rw-lede { max-width: 640px; margin: 0 auto; color: var(--rw-muted); font-size: clamp(15px, 2vw, 18px); line-height: 1.65; }
.rw-lede a { color: var(--rw-cyan); }
.rw-refcode { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.rw-refcode code {
  font: 700 16px/1 "IBM Plex Mono", monospace; letter-spacing: 0.12em;
  color: #fff; background: rgba(255, 45, 120, 0.12);
  border: 1px dashed rgba(255, 45, 120, 0.55); border-radius: 10px; padding: 10px 14px;
}
.rw-mini { font-size: 13px; color: var(--rw-muted); }

.rw-count-band {
  display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
  margin: 30px auto 6px; padding: 18px 22px; max-width: 720px;
  background: linear-gradient(180deg, var(--rw-bg1), var(--rw-bg0));
  border: 1px solid var(--rw-line); border-radius: 18px;
  box-shadow: 0 0 34px rgba(255, 45, 120, 0.12);
}
.rw-count-num {
  font-family: 'Pricedown', 'Bebas Neue', sans-serif; font-size: 56px; line-height: 1;
  color: #fff; text-shadow: 0 0 22px rgba(34, 211, 238, 0.55);
}
.rw-count-label { color: var(--rw-muted); font-size: 14px; max-width: 340px; line-height: 1.55; }
.rw-count-label .rw-pending { color: var(--rw-cyan); font-weight: 600; }

.rw-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px; margin: 34px 0 10px;
}
.rw-tier {
  background: linear-gradient(180deg, rgba(255, 45, 120, 0.07), rgba(10, 6, 20, 0.9));
  border: 1px solid var(--rw-line); border-radius: 18px; padding: 22px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.rw-tier:hover { transform: translateY(-3px); box-shadow: 0 0 30px rgba(255, 45, 120, 0.28); }
.rw-tier-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rw-tier-name {
  font-family: 'Pricedown', 'Bebas Neue', sans-serif; font-size: 30px; letter-spacing: 0.02em;
  color: #fff; margin: 0;
}
.rw-tier-need { font: 600 11px/1.4 "IBM Plex Mono", monospace; letter-spacing: 0.08em; color: var(--rw-cyan); text-align: right; }
.rw-tier-reward { color: var(--rw-ink); margin: 10px 0 4px; font-size: 15px; }
.rw-progress { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin: 14px 0 8px; }
.rw-progress > i { display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--rw-pink), var(--rw-cyan)); transition: width 0.6s ease; }
.rw-progress-line { font-size: 13px; color: var(--rw-muted); margin-bottom: 14px; }
.rw-tier[data-state="done"] { border-color: rgba(34, 211, 238, 0.6); box-shadow: 0 0 26px rgba(34, 211, 238, 0.18); }
.rw-claim {
  width: 100%; padding: 13px 16px; border-radius: 12px; cursor: pointer;
  font: 700 14px/1.2 "IBM Plex Mono", monospace; letter-spacing: 0.06em; text-transform: uppercase;
  color: #0a0614; background: linear-gradient(90deg, var(--rw-pink), #ff6fa5); border: 0;
}
.rw-claim:hover:not(:disabled) { filter: brightness(1.12); }
.rw-claim:disabled { opacity: 0.45; cursor: not-allowed; }
.rw-claimed-tag {
  display: inline-block; padding: 11px 16px; border-radius: 12px; width: 100%; box-sizing: border-box;
  text-align: center; font: 700 13px/1.4 "IBM Plex Mono", monospace;
  color: var(--rw-cyan); border: 1px solid rgba(34, 211, 238, 0.5); background: rgba(34, 211, 238, 0.07);
}
.rw-status { min-height: 22px; margin-top: 10px; font-size: 13px; line-height: 1.55; }
.rw-status.ok { color: var(--rw-cyan); }
.rw-status.warn { color: #ffb03a; }
.rw-status.err { color: #ff7d9c; }

.rw-note {
  margin: 26px 0 8px; padding: 16px 18px; border-radius: 14px;
  border: 1px solid rgba(34, 211, 238, 0.28); background: rgba(34, 211, 238, 0.05);
  color: var(--rw-muted); font-size: 14px; line-height: 1.65;
}
.rw-note strong { color: var(--rw-ink); }
.rw-disclosure {
  margin: 26px 0 60px; font-size: 12.5px; color: var(--rw-muted); line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 16px;
}
.rw-disclosure a { color: var(--rw-cyan); }
@media (prefers-reduced-motion: reduce) {
  .rw-tier, .rw-progress > i { transition: none; }
}
