/* FlameID — premium fire theme.
   Dark background, fire orange/red/gold gradients, glassmorphism cards.
   System font stack only — no external font/CDN dependencies. */
:root {
  --bg: #07080f;
  --bg-2: #0b0e1a;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --border-gold: rgba(255, 179, 71, 0.45);
  --text: #f4f5fa;
  --muted: #a2a8bf;
  --gold: #f7c948;
  --orange: #ff6b35;
  --amber: #ffb347;
  --green: #7ee2a8;
  --grad: linear-gradient(90deg, #ff6b35, #ff9a3d 45%, #f7c948);
  --radius: 20px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(255, 107, 53, 0.14), transparent 60%),
    radial-gradient(700px 420px at -10% 30%, rgba(247, 201, 72, 0.07), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }
code {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.88em;
}
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 0.85em; }

/* ---------- Top navigation ---------- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 22px;
  background: rgba(7, 8, 15, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.15em;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text);
}
.nav-brand:hover { text-decoration: none; }
.nav-logo { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 0 14px rgba(255, 107, 53, 0.5); }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  color: var(--muted);
  font-size: 0.92em;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); text-decoration: none; }
.lang-switch {
  margin-left: auto;
  display: flex;
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}
.lang-btn {
  background: transparent;
  color: var(--muted);
  border: none;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.82em;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active {
  background: var(--grad);
  color: #1a1005;
  box-shadow: 0 2px 10px rgba(255, 107, 53, 0.45);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 72px 20px 56px;
  background-image:
    linear-gradient(180deg, rgba(7, 8, 15, 0.55) 0%, rgba(7, 8, 15, 0.78) 62%, var(--bg) 100%),
    url("banner.webp");
  background-size: cover;
  background-position: center 30%;
}
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -140px;
  width: 560px;
  height: 340px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 122, 26, 0.5), transparent 65%);
  filter: blur(10px);
  animation: flicker 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes flicker {
  0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); }
  35% { opacity: 1; transform: translateX(-50%) scale(1.06); }
  70% { opacity: 0.6; transform: translateX(-50%) scale(0.97); }
}
.hero-embers { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-embers i {
  position: absolute;
  bottom: -12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px 2px rgba(247, 201, 72, 0.7);
  opacity: 0;
  animation: rise 7s linear infinite;
}
.hero-embers i:nth-child(1) { left: 12%; animation-delay: 0s; }
.hero-embers i:nth-child(2) { left: 26%; animation-delay: 1.8s; width: 4px; height: 4px; }
.hero-embers i:nth-child(3) { left: 44%; animation-delay: 3.4s; }
.hero-embers i:nth-child(4) { left: 61%; animation-delay: 0.9s; width: 4px; height: 4px; }
.hero-embers i:nth-child(5) { left: 76%; animation-delay: 2.6s; }
.hero-embers i:nth-child(6) { left: 88%; animation-delay: 4.6s; width: 3px; height: 3px; }
@keyframes rise {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 0.9; }
  100% { transform: translateY(-340px) translateX(14px); opacity: 0; }
}
.hero-inner { position: relative; max-width: 780px; margin: 0 auto; }
.logo {
  width: 104px;
  height: 104px;
  border-radius: 24px;
  box-shadow: 0 0 0 1px rgba(255, 179, 71, 0.35), 0 0 44px rgba(255, 107, 53, 0.55);
}
.hero h1 {
  font-size: 3.2em;
  margin: 16px 0 10px;
  letter-spacing: -1px;
  line-height: 1.05;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tagline { font-size: 1.28em; font-weight: 600; margin: 0 0 10px; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7); }
.sub { color: #d5d8e6; margin: 0 auto 22px; max-width: 620px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7); }
.hero-pills { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 0 0 26px; }
.pill {
  font-size: 0.82em;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #ffe1a1;
  background: rgba(255, 179, 71, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  padding: 5px 13px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.wallet-line { margin-top: 16px; color: #d5d8e6; word-break: break-all; }

/* ---------- Layout ---------- */
main { max-width: 920px; margin: 0 auto; padding: 0 16px 40px; }
.banner {
  background: rgba(255, 179, 71, 0.1);
  border: 1px solid var(--border-gold);
  color: #ffe1a1;
  border-radius: 14px;
  padding: 14px 18px;
  margin: 24px 0 0;
}
.section-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.section-kicker {
  font-size: 0.78em;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 28px 0;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 10px;
  text-align: center;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.stat:hover { transform: translateY(-2px); border-color: var(--border-gold); }
.stat-num {
  font-size: 1.8em;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { color: var(--muted); font-size: 0.85em; }

/* ---------- Cards ---------- */
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.card h2 { margin: 0 0 10px; font-size: 1.45em; letter-spacing: -0.3px; }
.card h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--grad);
}
.card h3 { margin: 20px 0 8px; font-size: 1.08em; }
.card p { margin: 8px 0; }

.streak-big { font-size: 2.8em; font-weight: 800; line-height: 1.1; }
.streak-big .streak-unit {
  font-size: 0.42em;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: 8px;
}
.streak-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 18px 0;
}
.streak-grid > div {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 10px;
}
.mini-num {
  font-size: 1.45em;
  font-weight: 800;
  color: var(--amber);
}
.mini-label { color: var(--muted); font-size: 0.82em; }

/* ---------- Buttons ---------- */
.btn-primary {
  background: var(--grad);
  color: #1a1005;
  border: none;
  border-radius: 999px;
  padding: 13px 30px;
  font-size: 1em;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(255, 107, 53, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(255, 107, 53, 0.55); }
.btn-primary.big { width: 100%; padding: 15px; font-size: 1.1em; }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-secondary {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 9px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.12); text-decoration: none; }

/* ---------- Badges ---------- */
.badge-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.badge {
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 18px 10px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.badge:hover { transform: translateY(-3px); }
.badge.earned {
  border-color: var(--border-gold);
  box-shadow: 0 0 26px rgba(255, 179, 71, 0.22);
  background: linear-gradient(180deg, rgba(255, 179, 71, 0.1), rgba(255, 255, 255, 0.02));
}
.badge .badge-days { font-size: 1.7em; font-weight: 800; line-height: 1.1; }
.badge .badge-tier { font-weight: 800; margin: 2px 0 8px; letter-spacing: 0.3px; }
.badge button {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.85em;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}
.badge button:hover:not(:disabled) { background: rgba(255, 179, 71, 0.25); }
.badge button:disabled { opacity: 0.4; cursor: not-allowed; }
.badge .claimed { color: var(--green); font-weight: 800; font-size: 0.92em; }
.badge .badge-desc { color: var(--muted); font-size: 0.82em; line-height: 1.5; margin: 2px 0 12px; }

/* ---------- Lists ---------- */
.invite-link {
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 10px 0;
  word-break: break-all;
  font-size: 0.9em;
}
.invite-link span { flex: 1; }

/* ---------- Agent prompt box ---------- */
.prompt-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  font-size: 0.85em;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 420px;
  overflow-y: auto;
  margin: 10px 0;
}

.rank-list { margin: 10px 0 0; padding: 0; list-style: none; }
.rank-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.025);
}
.rank-list li:first-child { border-color: var(--border-gold); background: linear-gradient(90deg, rgba(255, 179, 71, 0.13), rgba(255, 255, 255, 0.02)); }
.rank-list li.me { border-color: var(--border-gold); background: linear-gradient(90deg, rgba(255, 179, 71, 0.22), rgba(255, 255, 255, 0.04)); font-weight: 700; }
.rank-list .addr { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.rank-list .num { margin-left: auto; color: var(--amber); font-weight: 800; white-space: nowrap; }

.recent-list { list-style: none; margin: 8px 0 0; padding: 0; }
.recent-list li { padding: 8px 2px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-size: 0.95em; }
.recent-list li:last-child { border-bottom: none; }
.recent-list .addr { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

.giveaway {
  border-color: var(--border-gold);
  background: linear-gradient(180deg, rgba(255, 179, 71, 0.1), rgba(255, 255, 255, 0.02));
}
.how { padding-left: 22px; }
.how li { margin-bottom: 8px; }
.how li::marker { color: var(--amber); font-weight: 800; }

/* ---------- Profile page ---------- */
.profile-name { font-size: 1.9em; font-weight: 800; margin: 10px 0 2px; word-break: break-all; }
.profile-addr { color: var(--muted); font-size: 0.9em; word-break: break-all; }
.badge-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.badge-chip {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.9em;
  font-weight: 700;
}
.badge-chip.earned { border-color: var(--border-gold); color: var(--amber); box-shadow: 0 0 14px rgba(255, 179, 71, 0.18); }
.badge-chip.locked { color: var(--muted); opacity: 0.6; }
.share-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; align-items: center; }

/* ---------- Footer / misc ---------- */
footer {
  max-width: 920px;
  margin: 0 auto;
  padding: 8px 16px 52px;
  color: var(--muted);
  font-size: 0.9em;
  text-align: center;
}
footer p { margin: 5px 0; }
.footer-tag {
  margin-top: 14px !important;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.notfound { padding-top: 70px; text-align: center; }
.notfound h1 { font-size: 2em; }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .lang-btn { padding: 5px 7px; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .streak-grid { grid-template-columns: repeat(2, 1fr); }
  .badge-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 56px 16px 44px; }
  .hero h1 { font-size: 2.3em; }
  .tagline { font-size: 1.1em; }
  .card { padding: 20px; }
  .profile-name { font-size: 1.4em; }
  .share-row .btn-primary, .share-row .btn-secondary { width: 100%; text-align: center; }
  .btn-primary.big { font-size: 1em; }
  .invite-link { flex-wrap: wrap; }
  .topnav { padding: 10px 14px; gap: 10px; }
}

/* ---------- v4: small animated section icons (calm, 18-20px, CSS-only) ---------- */
/* Icons are ::before so i18n textContent swaps can never wipe them.
   v4.1: tile background restored (the v3 look users liked), shrunk to 32px. */
.card h2[class*="ic-"]::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 10px;
  vertical-align: -8px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  border-radius: 10px;
  background-color: rgba(255, 179, 71, 0.12);
  border: 1px solid var(--border-gold);
  box-shadow: 0 0 12px rgba(255, 107, 53, 0.18);
}
.card h2.ic-flame::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22fg%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffb347%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ff6b35%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20fill%3D%22url(%23fg)%22%20d%3D%22M12%2012c2-2.96%200-7-1-8%200%203.038-1.773%204.741-3%206-1.226%201.26-2%203.24-2%205a6%206%200%201%200%2012%200c0-1.532-1.056-3.94-2-5-1.786%203-2.791%203-4%202z%22%2F%3E%3C%2Fsvg%3E"); animation: ic-flick 1.8s ease-in-out infinite; }
.card h2.ic-medal::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke%3D%22%23e8a33d%22%20stroke-width%3D%222%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2215%22%20r%3D%224.5%22%2F%3E%3Cpath%20d%3D%22M8.8%2011.2%206.5%203h11l-2.3%208.2%22%2F%3E%3Cpath%20d%3D%22M12%2012.9l.9%201.8%202%20.3-1.4%201.4.3%202-1.8-1-1.8%201%20.3-2-1.4-1.4%202-.3z%22%2F%3E%3C%2Fsvg%3E"); animation: ic-soft 2.6s ease-in-out infinite; }
.card h2.ic-trophy::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke%3D%22%23f5b301%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M6%209H4.5a2.5%202.5%200%200%201%200-5H6%22%2F%3E%3Cpath%20d%3D%22M18%209h1.5a2.5%202.5%200%200%200%200-5H18%22%2F%3E%3Cpath%20d%3D%22M4%2022h16%22%2F%3E%3Cpath%20d%3D%22M10%2014.66V17c0%20.55-.47.98-.97%201.21C7.85%2018.75%207%2020.24%207%2022%22%2F%3E%3Cpath%20d%3D%22M14%2014.66V17c0%20.55.47.98.97%201.21C16.15%2018.75%2017%2020.24%2017%2022%22%2F%3E%3Cpath%20d%3D%22M18%202H6v7a6%206%200%200%200%2012%200V2Z%22%2F%3E%3C%2Fsvg%3E"); animation: ic-soft 2.6s ease-in-out infinite; }
.card h2.ic-star::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke%3D%22%23fbbf24%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M12%202.6l2.9%205.9%206.5%201-4.7%204.6%201.1%206.5L12%2017.5l-5.8%203.1%201.1-6.5L2.6%209.5l6.5-1z%22%20fill%3D%22rgba(251%2C191%2C36%2C0.18)%22%2F%3E%3C%2Fsvg%3E"); animation: ic-soft 3s ease-in-out infinite; }
.card h2.ic-shield::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22shg%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%232dd4bf%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2338bdf8%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20stroke%3D%22url(%23shg)%22%20d%3D%22M20%2013c0%205-3.5%207.5-7.66%208.95a1%201%200%200%201-.67-.01C7.5%2020.5%204%2018%204%2013V6a1%201%200%200%201%201-1c2%200%204.5-1.2%206.24-2.72a1%201%200%200%201%201.52%200C14.51%203.81%2017%205%2019%205a1%201%200%200%201%201%201z%22%2F%3E%3Cpath%20stroke%3D%22url(%23shg)%22%20d%3D%22m9%2012%202%202%204-4%22%2F%3E%3C%2Fsvg%3E"); animation: ic-soft 2.4s ease-in-out infinite; }
.card h2.ic-list::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke%3D%22%23f5b301%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M8%206h13%22%2F%3E%3Cpath%20d%3D%22M8%2012h13%22%2F%3E%3Cpath%20d%3D%22M8%2018h13%22%2F%3E%3Cpath%20d%3D%22M3.5%206h.01%22%2F%3E%3Cpath%20d%3D%22M3.5%2012h.01%22%2F%3E%3Cpath%20d%3D%22M3.5%2018h.01%22%2F%3E%3C%2Fsvg%3E"); }
.card h2.ic-clock::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke%3D%22%23f59e0b%22%20stroke-width%3D%222%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M12%207v5l3.5%202%22%2F%3E%3C%2Fsvg%3E"); animation: ic-tick 2.8s ease-in-out infinite; }
.card h2.ic-gift::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke%3D%22%23ff5d8f%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M20%2012v10H4V12%22%2F%3E%3Cpath%20d%3D%22M2%207h20v5H2z%22%2F%3E%3Cpath%20d%3D%22M12%2022V7%22%2F%3E%3Cpath%20d%3D%22M12%207H7.5a2.5%202.5%200%200%201%200-5C11%202%2012%207%2012%207z%22%2F%3E%3Cpath%20d%3D%22M12%207h4.5a2.5%202.5%200%200%200%200-5C13%202%2012%207%2012%207z%22%2F%3E%3C%2Fsvg%3E"); animation: ic-wiggle 2.2s ease-in-out infinite; }
.card h2.ic-help::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke%3D%22%23fbbf24%22%20stroke-width%3D%222%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M9.6%209a2.5%202.5%200%201%201%203.6%202.2c-.8.5-1.2%201-1.2%201.8%22%2F%3E%3Cpath%20d%3D%22M12%2017h.01%22%2F%3E%3C%2Fsvg%3E"); animation: ic-soft 3s ease-in-out infinite; }

/* Key buttons: icon via ::before (app.js sets button textContent, so no inner markup). */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
#connectBtn::before {
  content: "";
  width: 18px; height: 18px; flex: 0 0 18px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M21%2012V7H5a2%202%200%200%201%200-4h14v4%22%2F%3E%3Cpath%20d%3D%22M3%205v14a2%202%200%200%200%202%202h16v-5%22%2F%3E%3Cpath%20d%3D%22M18%2012a2%202%200%200%200%200%204h4v-4Z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}
#checkInBtn::before {
  content: "";
  width: 18px; height: 18px; flex: 0 0 18px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M12%2012c2-2.96%200-7-1-8%200%203.038-1.773%204.741-3%206-1.226%201.26-2%203.24-2%205a6%206%200%201%200%2012%200c0-1.532-1.056-3.94-2-5-1.786%203-2.791%203-4%202z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
  animation: ic-flick 1.8s ease-in-out infinite;
}

/* Giveaway prize numbers: gentle gold shine (slow, subtle). No floating coins. */
.giveaway b {
  background: linear-gradient(100deg, #ffd166, #ffb347 30%, #fff3b0 50%, #ff9a3d 70%, #ffd166);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: prize-shine 3s ease-in-out infinite;
}

@keyframes ic-flick { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.12) rotate(-2deg); opacity: 1; } }
@keyframes ic-wiggle { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(6deg); } }
@keyframes ic-soft { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.07); opacity: 1; } }
@keyframes ic-tick { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(7deg); } }
@keyframes prize-shine { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

@media (prefers-reduced-motion: reduce) {
  .card h2[class*="ic-"]::before, #connectBtn::before, #checkInBtn::before, .giveaway b { animation: none !important; }
}
