:root {
  --bg: #0d0918;
  --bg-2: #120c1f;
  --surface: #1a1328;
  --surface-2: #221935;
  --line: #2e2245;
  --line-2: #3d2d5c;
  --text: #ede7f7;
  --muted: #a99cc4;
  --purple: #7d44d0;
  --purple-2: #9159e0;
  --lilac: #b17ee4;
  --gold: #ffcf4a;
  --gold-2: #ffb31a;
  --green: #4cd964;
  --red: #ff5d6c;
  --talon: #c98a4b;
  --falcon: #e0559f;
  --hawk: #9b62ef;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1120px;
  --head: "Lilita One", "Rubik", system-ui, sans-serif;
  --body: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.mono { font-family: var(--mono); font-weight: 600; letter-spacing: -0.01em; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.center { text-align: center; }

.sky {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 520px at 15% -10%, rgba(125, 68, 208, 0.38), transparent 60%),
    radial-gradient(900px 480px at 95% 10%, rgba(177, 126, 228, 0.18), transparent 60%),
    radial-gradient(800px 600px at 50% 120%, rgba(125, 68, 208, 0.15), transparent 60%),
    var(--bg);
}
.sky__canvas { position: absolute; inset: 0; z-index: 1; }
.sky::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 0.6s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(145, 89, 224, 0.22), rgba(255, 207, 74, 0.04) 45%, transparent 70%);
}
.sky.is-live::before { opacity: 1; }
.sky::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 22%, #fff9, transparent 60%),
    radial-gradient(1px 1px at 72% 12%, #fff8, transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 34%, #fff7, transparent 60%),
    radial-gradient(1px 1px at 35% 8%, #fff6, transparent 60%),
    radial-gradient(1px 1px at 55% 28%, #fff5, transparent 60%),
    radial-gradient(1.5px 1.5px at 6% 48%, #fff5, transparent 60%),
    radial-gradient(1px 1px at 93% 60%, #fff4, transparent 60%);
}

.topbar { position: sticky; top: 0; z-index: 40; padding-top: 12px; }
.topbar__inner {
  width: min(var(--max), 100% - 24px); margin-inline: auto;
  display: flex; align-items: center; gap: 18px;
  padding: 10px 12px 10px 14px;
  background: rgba(18, 12, 31, 0.82);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-size: 1.25rem; letter-spacing: 0.01em; }
.brand img { width: 36px; height: auto; filter: drop-shadow(0 2px 6px rgba(125, 68, 208, 0.6)); }
.brand em { font-style: normal; color: var(--gold); }
.toplinks { display: flex; gap: 4px; }
.toplinks a { padding: 6px 10px; border-radius: 8px; font-weight: 500; font-size: 0.92rem; color: var(--muted); }
.toplinks a:hover { color: var(--text); background: var(--surface); }
.topbar__right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ip-pill {
  display: flex; align-items: center; gap: 8px; padding: 7px 12px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.85rem;
}
.ip-pill:hover { border-color: var(--line-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(76, 217, 100, 0.18); flex: none; }
.dot--bedrock { background: var(--lilac); box-shadow: 0 0 0 3px rgba(177, 126, 228, 0.2); }
.pill-count { padding-left: 8px; border-left: 1px solid var(--line-2); color: var(--muted); font-size: 0.8rem; white-space: nowrap; }
.live-count { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--muted); font-size: 0.92rem; }
.live-count strong { color: var(--text); font-variant-numeric: tabular-nums; }
.live-count__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: live-pulse 2s ease-out infinite; }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(76, 217, 100, 0.55); } 100% { box-shadow: 0 0 0 9px rgba(76, 217, 100, 0); } }
@media (prefers-reduced-motion: reduce) { .live-count__dot { animation: none; box-shadow: 0 0 0 3px rgba(76, 217, 100, 0.18); } }
.basket-btn {
  position: relative; display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 12px; background: var(--surface); border: 1px solid var(--line);
}
.basket-btn:hover { border-color: var(--line-2); }
.basket-count[hidden] { display: none; }
.basket-count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; background: var(--gold); color: #241a00; font-size: 0.72rem; font-weight: 700;
  display: grid; place-items: center;
}
.subnav { display: flex; justify-content: center; gap: 4px; padding: 10px 12px 6px; flex-wrap: wrap; }
.subnav a { padding: 5px 12px; border-radius: 999px; font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.subnav a:hover { color: var(--text); }
.subnav a.is-active { color: var(--gold); background: rgba(255, 207, 74, 0.1); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 0.98rem; transition: transform 0.12s, filter 0.12s, background 0.12s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn:active { transform: translateY(0); }
.btn--gold { background: linear-gradient(180deg, var(--gold), var(--gold-2)); color: #2a1b00; box-shadow: 0 6px 20px rgba(255, 179, 26, 0.25); }
.btn--ghost { background: rgba(125, 68, 208, 0.18); border-color: var(--line-2); color: var(--text); }
.btn--purple { background: linear-gradient(180deg, var(--purple-2), var(--purple)); color: #fff; box-shadow: 0 6px 20px rgba(125, 68, 208, 0.35); }
.btn--dark { background: var(--surface-2); border-color: var(--line-2); color: var(--text); }
.btn--sm { padding: 8px 16px; font-size: 0.88rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: progress; transform: none; }

.eyebrow { margin: 0 0 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
h1, h2, h3 { font-family: var(--head); font-weight: 400; letter-spacing: 0.01em; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.6rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); line-height: 1.1; }
h3 { font-size: 1.3rem; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 520px; margin: 18px 0 26px; }
.sub { color: var(--muted); max-width: 620px; margin: 12px auto 0; }

.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 30px; padding: 56px 0 30px; }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.ip-chip {
  display: flex; align-items: center; gap: 10px; padding: 9px 14px;
  border-radius: 12px; background: rgba(26, 19, 40, 0.8); border: 1px solid var(--line); font-size: 0.92rem;
}
.ip-chip small { color: var(--muted); font-size: 0.75rem; }
.ip-chip:hover { border-color: var(--line-2); }
.hero__art { position: relative; display: grid; place-items: center; min-height: 320px; }
.hero__art img { position: relative; width: min(300px, 70vw); filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55)); animation: float 6s ease-in-out infinite; }
.hero__glow { position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(125, 68, 208, 0.55), transparent 65%); filter: blur(10px); }
@keyframes float { 50% { transform: translateY(-10px) rotate(-1deg); } }

.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 10px; }
.quick__card {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  border-radius: 14px; background: rgba(26, 19, 40, 0.75); border: 1px solid var(--line); font-weight: 600;
  transition: border-color 0.15s, transform 0.15s;
}
.quick__card:hover { border-color: var(--purple); transform: translateY(-2px); }
.quick__icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); font-size: 1.05rem; }
.quick__card .arrow { margin-left: auto; color: var(--gold); }

.section { padding: 72px 0 0; }
.loading { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }

.ranks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; align-items: stretch; }
.rank {
  --c: var(--purple);
  position: relative; display: flex; flex-direction: column; padding: 22px 20px 20px;
  border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--c) 45%, var(--line));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--c) 22%, transparent), transparent 42%),
    var(--surface);
}
.rank--talon { --c: var(--talon); }
.rank--falcon { --c: var(--falcon); }
.rank--hawk { --c: var(--hawk); border-width: 2px; box-shadow: 0 0 0 1px rgba(155, 98, 239, 0.25), 0 20px 50px rgba(125, 68, 208, 0.28); transform: translateY(-6px); }
.rank__flag {
  position: absolute; top: -11px; right: 16px; padding: 3px 10px; border-radius: 999px;
  background: var(--gold); color: #2a1b00; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
}
.rank__badge { height: 36px; width: auto; image-rendering: pixelated; margin-bottom: 14px; }
.rank__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.rank__price strong { font-family: var(--head); font-weight: 400; font-size: 2.1rem; }
.rank__price span { color: var(--muted); font-size: 0.9rem; }
.rank__monthly { font-size: 0.86rem; color: var(--gold); margin-bottom: 14px; font-weight: 600; }
.perks { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; font-size: 0.93rem; flex: 1; }
.perks li { position: relative; padding-left: 24px; }
.perks li::before {
  content: ""; position: absolute; left: 2px; top: 0.45em; width: 11px; height: 6px;
  border-left: 2px solid var(--c); border-bottom: 2px solid var(--c); transform: rotate(-45deg);
}
.perks li.lead-in { font-weight: 700; }
.rank .btn { width: 100%; }
.rank--talon .btn { background: linear-gradient(180deg, #d79a5c, #b4733a); color: #1f1004; }
.rank--falcon .btn { background: linear-gradient(180deg, #ea6aae, #c93d86); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 36px; }
.card {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); transition: border-color 0.15s, transform 0.15s;
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card__media {
  aspect-ratio: 1 / 0.8; display: grid; place-items: center; padding: 18px;
  background: radial-gradient(circle at 50% 40%, rgba(125, 68, 208, 0.35), transparent 70%), var(--bg-2);
}
.card__media img { max-height: 120px; width: auto; image-rendering: pixelated; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45)); }
.card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card__name { font-weight: 700; }
.card__desc { color: var(--muted); font-size: 0.85rem; flex: 1; }
.card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.card__price { font-family: var(--head); font-size: 1.35rem; }
.card__price s { font-family: var(--body); color: var(--muted); font-size: 0.8rem; margin-right: 6px; }
.coin { width: 96px; height: 96px; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3b8, var(--gold) 45%, #c98a12 100%);
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.18), 0 10px 26px rgba(255, 179, 26, 0.3);
  font-family: var(--head); color: #5a3a00; font-size: 1.5rem; }
.coin--big { width: 110px; height: 110px; font-size: 1.6rem; }
.tag { align-self: flex-start; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; padding: 2px 8px; border-radius: 999px; background: rgba(76, 217, 100, 0.15); color: var(--green); }

.pass {
  margin-top: 36px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; overflow: hidden;
  border-radius: 20px; border: 1px solid var(--line-2);
  background: linear-gradient(135deg, rgba(125, 68, 208, 0.35), rgba(26, 19, 40, 0.9) 55%), var(--surface);
}
.pass__art { display: grid; place-items: center; padding: 30px; font-size: 6rem; background: radial-gradient(circle, rgba(177, 126, 228, 0.35), transparent 65%); }
.pass__body { padding: 30px 30px 30px 10px; }
.pass__body .perks { --c: var(--lilac); margin-top: 16px; }
.pass__buy { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pass__buy strong { font-family: var(--head); font-weight: 400; font-size: 2rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.step { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step__n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 207, 74, 0.14); color: var(--gold); font-weight: 700; margin-bottom: 12px; }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 0.93rem; }

.vote__box {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center;
  padding: 28px; border-radius: 20px; border: 1px solid var(--line-2);
  background: linear-gradient(120deg, rgba(76, 217, 100, 0.12), rgba(26, 19, 40, 0.9) 50%), var(--surface);
}
.vote__box .sub { margin: 10px 0 0; }
.vote__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vote__links a { padding: 10px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 600; font-size: 0.92rem; }
.vote__links a:hover { border-color: var(--green); color: #fff; }
.vote__links a::after { content: " \2197"; color: var(--green); }

.faq { max-width: 760px; margin: 30px auto 0; display: grid; gap: 10px; }
.faq details { border-radius: 14px; background: var(--surface); border: 1px solid var(--line); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }
.faq a { color: var(--lilac); text-decoration: underline; }

.footer { margin-top: 90px; border-top: 1px solid var(--line); background: rgba(13, 9, 24, 0.85); }
.footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 14px 30px; align-items: center; padding: 30px 0 40px; }
.footer nav { display: flex; gap: 16px; justify-content: flex-end; flex-wrap: wrap; }
.footer nav a { color: var(--muted); font-size: 0.92rem; }
.footer nav a:hover { color: var(--text); }
.brand--footer { font-size: 1.1rem; }
.brand--footer img { width: 32px; }
.contact { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 0.9rem; }
.contact a { color: var(--lilac); text-decoration: underline; }
.legal { grid-column: 1 / -1; margin: 0; color: #7f739a; font-size: 0.8rem; }

.modal, .drawer { position: fixed; inset: 0; z-index: 80; }
.modal[hidden], .drawer[hidden] { display: none; }
.modal { display: grid; place-items: center; padding: 20px; }
.modal__backdrop, .drawer__backdrop { position: absolute; inset: 0; background: rgba(5, 3, 10, 0.7); backdrop-filter: blur(4px); }
.modal__card {
  position: relative; width: min(420px, 100%); padding: 28px; border-radius: 20px; text-align: center;
  background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: pop 0.18s ease-out;
}
.modal__card img { margin: 0 auto 10px; width: 56px; height: auto; }
.modal__card p { color: var(--muted); font-size: 0.93rem; }
.modal__card input {
  width: 100%; margin: 6px 0 12px; padding: 13px 14px; border-radius: 12px;
  background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text); font: 600 1rem var(--mono); text-align: center;
}
.modal__card input:focus { outline: 2px solid var(--purple); outline-offset: 1px; }
.modal__x { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border-radius: 8px; border: 0; background: transparent; font-size: 1.5rem; color: var(--muted); }
.modal__x:hover { background: var(--surface-2); color: var(--text); }
.form-error { color: var(--red); font-size: 0.88rem; margin: 0 0 10px; }
@keyframes pop { from { transform: scale(0.96); opacity: 0; } }

.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(400px, 100%);
  display: flex; flex-direction: column; background: var(--surface); border-left: 1px solid var(--line-2);
  animation: slide 0.2s ease-out;
}
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }
.drawer__head { position: relative; padding: 20px 20px 10px; }
.drawer__who { padding: 0 20px 12px; color: var(--muted); font-size: 0.9rem; border-bottom: 1px solid var(--line); }
.drawer__who button { background: none; border: 0; color: var(--lilac); text-decoration: underline; padding: 0; }
.drawer__items { flex: 1; overflow-y: auto; padding: 12px 20px; display: grid; align-content: start; gap: 10px; }
.drawer__empty { color: var(--muted); text-align: center; padding: 40px 0; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.line__name { font-weight: 600; }
.line__price { font-weight: 700; text-align: right; }
.line__meta { color: var(--muted); font-size: 0.8rem; }
.line__ctl { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.line__ctl button { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface); }
.line__ctl .rm { width: auto; padding: 0 8px; font-size: 0.78rem; color: var(--muted); }
.drawer__foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); }
.code { margin: 0 0 12px; }
.code label { display: block; color: var(--muted); font-size: 0.8rem; margin-bottom: 4px; }
.code__row { display: flex; gap: 8px; }
.code__row input { flex: 1; min-width: 0; padding: 9px 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text); font: 600 0.95rem var(--mono); text-transform: uppercase; }
.code__row input:focus { outline: 2px solid var(--purple); outline-offset: 1px; }
.code__msg { font-size: 0.82rem; margin: 6px 0 0; color: var(--muted); }
.code__msg.ok { color: var(--lilac); }
.code__msg.bad { color: var(--red); }
.drawer__total { display: flex; justify-content: space-between; font-size: 1.1rem; margin-bottom: 4px; }
.drawer__note { color: var(--muted); font-size: 0.8rem; margin: 0 0 12px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90;
  padding: 12px 18px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); font-weight: 600; animation: pop 0.18s ease-out; max-width: calc(100% - 32px);
}
.toast[hidden] { display: none; }


.view[hidden] { display: none; }
.hero--compact { padding: 40px 0 10px; }
.hero--compact .hero__art { min-height: 260px; }
.hero--compact .hero__art img { width: min(240px, 60vw); }

.tiles { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 18px; margin-top: 18px; }
.tile {
  --c: var(--purple);
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 20px; border: 1px solid color-mix(in srgb, var(--c) 40%, var(--line));
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 20%, transparent), transparent 55%), var(--surface);
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.tile:hover { transform: translateY(-4px); border-color: var(--c); box-shadow: 0 22px 50px color-mix(in srgb, var(--c) 28%, transparent); }
.tile--ranks { --c: var(--hawk); }
.tile--credits { --c: var(--gold-2); }
.tile--pass { --c: #6fb7ff; }
.tile__art { position: relative; height: 170px; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--c) 35%, transparent), transparent 70%); }
.tile__badge { height: 34px; width: auto; image-rendering: pixelated; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5)); }
.tile--ranks .tile__art { flex-direction: column; gap: 12px; }
.tile__art .coin { position: absolute; width: 78px; height: 78px; font-size: 1.15rem; }
.coin--stack1 { transform: translate(-62px, 14px) rotate(-10deg); }
.coin--stack2 { transform: translate(0, -8px); z-index: 1; width: 90px !important; height: 90px !important; }
.coin--stack3 { transform: translate(62px, 14px) rotate(10deg); }
.tile__snow { font-size: 5.2rem; line-height: 1; color: #cfe6ff; text-shadow: 0 0 30px rgba(111, 183, 255, 0.7); animation: float 6s ease-in-out infinite; }
.tile__body { position: relative; padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.tile__body h2 { font-size: 1.9rem; }
.tile__body p { color: var(--muted); font-size: 0.93rem; margin: 8px 0 18px; flex: 1; }
.tile__flag { position: absolute; top: -12px; left: 22px; padding: 3px 10px; border-radius: 999px; background: var(--gold); color: #2a1b00; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; }
.tile__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tile__from { color: var(--muted); font-size: 0.9rem; }
.tile__from strong { color: var(--text); font-family: var(--head); font-weight: 400; font-size: 1.35rem; }
.tile__cta { font-weight: 700; color: var(--gold); }
.tile:hover .tile__cta { text-decoration: underline; }

.section--page { padding-top: 34px; }
.crumb { display: inline-flex; color: var(--muted); font-weight: 600; font-size: 0.92rem; margin-bottom: 18px; }
.crumb:hover { color: var(--text); }

.compare { border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); }
.compare__head { padding: 26px 20px; text-align: center; background: linear-gradient(110deg, rgba(201, 138, 75, 0.22), rgba(125, 68, 208, 0.3)); border-bottom: 1px solid var(--line-2); }
.compare__head h2 { font-size: 1.7rem; }
.compare__scroll { overflow-x: auto; }
.compare__table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 0.93rem; }
.compare__table th, .compare__table td { padding: 13px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.compare__table tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.02); }
.compare__table tbody th { text-align: left; font-weight: 600; }
.compare__table thead th { background: var(--bg-2); font-weight: 700; }
.compare__table thead th:first-child { text-align: left; color: var(--muted); font-size: 0.85rem; }
.compare__rank { display: block; font-size: 1rem; }
.compare__price { display: block; color: var(--muted); font-size: 0.78rem; font-weight: 500; }
.c-talon .compare__rank { color: var(--talon); }
.c-falcon .compare__rank { color: var(--falcon); }
.c-hawk .compare__rank { color: var(--hawk); }
.compare__table .hl, .compare__table thead th.c-hawk { background: rgba(155, 98, 239, 0.1); }
.compare__table .yes { color: var(--green); font-weight: 700; }
.compare__table .no { color: #5e537a; }
.compare__table tfoot td, .compare__table tfoot th { border-bottom: 0; padding: 16px 12px 20px; }
.btn--talon { background: linear-gradient(180deg, #d79a5c, #b4733a); color: #1f1004; }
.btn--falcon { background: linear-gradient(180deg, #ea6aae, #c93d86); color: #fff; }
.btn--hawk { background: linear-gradient(180deg, var(--gold), var(--gold-2)); color: #2a1b00; }

.promo { --c: var(--falcon); margin-top: 28px; display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  border-radius: 16px; border: 1px solid color-mix(in srgb, var(--c) 45%, var(--line));
  background: linear-gradient(100deg, color-mix(in srgb, var(--c) 18%, transparent), transparent 70%), var(--surface); }
.promo[hidden] { display: none; }
.promo__badge { height: 30px; width: auto; image-rendering: pixelated; flex: none; }
.promo__text { flex: 1; display: grid; gap: 2px; }
.promo__text span { color: var(--muted); font-size: 0.9rem; }
.promo__btns { display: flex; gap: 8px; flex: none; }

.modal__card--wide { width: min(640px, 100%); }
.upsell { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 16px; }
.upsell__rank { --c: var(--purple); position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 18px 10px 14px; border-radius: 14px; text-align: center;
  border: 1px solid color-mix(in srgb, var(--c) 45%, var(--line)); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 18%, transparent), transparent 60%), var(--bg-2);
  transition: transform 0.15s, border-color 0.15s; }
.upsell__rank:hover { transform: translateY(-2px); border-color: var(--c); }
.upsell__rank--talon { --c: var(--talon); }
.upsell__rank--falcon { --c: var(--falcon); }
.upsell__rank--hawk { --c: var(--hawk); }
.upsell__rank.is-pick { border-width: 2px; box-shadow: 0 10px 30px color-mix(in srgb, var(--c) 30%, transparent); }
.upsell__rank img { height: 26px; width: auto; image-rendering: pixelated; margin: 0 auto 4px; }
.upsell__flag { position: absolute; top: -10px; padding: 2px 8px; border-radius: 999px; background: var(--gold); color: #2a1b00; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; }
.upsell__price { font-size: 0.85rem; color: var(--muted); }
.upsell__price strong { color: var(--text); font-family: var(--head); font-weight: 400; font-size: 1.3rem; }
.upsell__monthly { font-size: 0.78rem; color: var(--gold); font-weight: 600; flex: 1; }
.upsell__add { margin-top: 6px; padding: 6px 12px; border-radius: 999px; font-size: 0.82rem; font-weight: 700; background: color-mix(in srgb, var(--c) 30%, transparent); }
.upsell__foot { display: flex; justify-content: center; gap: 8px; }

.drawer__upsell { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 12px; margin: 0 20px 12px; padding: 12px;
  border-radius: 12px; border: 1px dashed color-mix(in srgb, var(--falcon) 55%, var(--line)); background: rgba(224, 85, 159, 0.08); }
.drawer__upsell[hidden] { display: none; }
.drawer__upsell img { height: 22px; width: auto; image-rendering: pixelated; }
.drawer__upsell-text { display: grid; font-size: 0.85rem; }
.drawer__upsell-text span { color: var(--muted); font-size: 0.78rem; }
.drawer__upsell-more { grid-column: 2 / -1; font-size: 0.78rem; color: var(--lilac); text-decoration: underline; justify-self: start; }

.sale-badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; background: var(--red); color: #fff; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; box-shadow: 0 4px 14px rgba(255, 93, 108, 0.35); }
.sale-badge--corner { position: absolute; top: 10px; left: 10px; z-index: 2; }
.sale-badge--sm { padding: 1px 7px; font-size: 0.66rem; margin-top: 3px; }
.rank .sale-badge--corner { top: -11px; left: 16px; }
.card__media { position: relative; }
.card.is-sale { border-color: rgba(255, 93, 108, 0.45); }
.rank__price s, .pass__buy s, .compare__price s, .upsell__price s, .line__price s, .promo__text s, .drawer__upsell-text s { font-family: var(--body); font-weight: 500; font-size: 0.6em; color: var(--muted); margin-right: 6px; }
.promo__text s, .drawer__upsell-text s, .compare__price s { font-size: 0.9em; }
.compare__table thead .sale-badge { margin-top: 4px; }
.tile__sale { position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 999px; background: var(--red); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; box-shadow: 0 4px 14px rgba(255, 93, 108, 0.35); }
.sale-banner { margin-top: 18px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px;
  background: linear-gradient(100deg, rgba(255, 93, 108, 0.22), rgba(125, 68, 208, 0.2)), var(--surface); border: 1px solid rgba(255, 93, 108, 0.45); }
.sale-banner[hidden] { display: none; }
.sale-banner__tag { padding: 3px 10px; border-radius: 999px; background: var(--red); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; flex: none; }
.sale-banner__text { flex: 1; }
.sale-banner__go { font-weight: 700; color: var(--gold); white-space: nowrap; }
.sale-banner__go:hover { text-decoration: underline; }

.legal-page { max-width: 780px; }
.legal-page h2 { margin-bottom: 14px; }
.legal-page h3 { margin: 30px 0 8px; }
.legal-page p, .legal-list { color: var(--muted); }
.legal-page a:not(.crumb):not(.btn) { color: var(--lilac); text-decoration: underline; }
.legal-page__note { padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); color: var(--text) !important; }
.legal-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin: 16px 0 0; }
.legal-page .legal-links a { display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 700; }
.legal-page .legal-links a::after { content: "Opens tebex.io \2197"; color: var(--gold); font-size: 0.75rem; font-weight: 600; }
.legal-links a:hover { border-color: var(--purple); }
.legal-links span { color: var(--muted); font-weight: 400; font-size: 0.85rem; }
.legal-list { padding-left: 20px; display: grid; gap: 8px; }
.legal-warn { margin-top: 10px; padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(255, 93, 108, 0.5); background: rgba(255, 93, 108, 0.08); }
.legal-warn p { color: var(--text) !important; margin: 0 0 8px; }
.legal-warn .legal-list { margin: 0; }
.steps-list { color: var(--muted); padding-left: 22px; display: grid; gap: 10px; margin: 0 0 18px; }
.steps-list strong { color: var(--text); }
.legal-page .btn { text-decoration: none; color: #2a1b00; }
.inline-link { color: var(--lilac); text-decoration: underline; }
.btn--owned, .btn--owned[disabled] { background: var(--surface-2) !important; color: var(--muted) !important; border-color: var(--line-2); box-shadow: none; cursor: not-allowed; opacity: 1; filter: none; }
.rank.is-owned { opacity: 0.85; }
.rank__owned { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 3px 10px; border-radius: 999px; background: var(--green); color: #062b10; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; white-space: nowrap; }
.line.is-owned { border-color: rgba(255, 93, 108, 0.6); }
.line__warn { grid-column: 1 / -1; color: var(--red); font-size: 0.8rem; }
.line__note { grid-column: 1 / -1; color: var(--gold); font-size: 0.8rem; }
.line__note a { color: var(--lilac); text-decoration: underline; }
.drawer__owned { margin-top: 6px; color: var(--green); font-size: 0.85rem; }
.btn--manage { background: rgba(76, 217, 100, 0.14); border-color: rgba(76, 217, 100, 0.55); color: var(--green) !important; text-decoration: none !important; }
.rank .btn--manage { width: 100%; }
.rank.is-mine { box-shadow: 0 0 0 2px rgba(76, 217, 100, 0.45); }
.account { margin: 6px 0 18px; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); display: grid; gap: 12px; justify-items: start; }
.account__head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; width: 100%; }
.account__head span { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }
.account__change { margin-left: auto; background: none; border: 0; color: var(--lilac); text-decoration: underline; font-size: 0.85rem; padding: 0; }
.account__lead { margin: 0; color: var(--muted); }
.account__rows { display: grid; gap: 10px; width: 100%; justify-items: start; }
.account__row { --c: var(--purple); width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px; border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--c) 45%, var(--line)); background: linear-gradient(100deg, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%), var(--bg-2); }
.account__row--talon { --c: var(--talon); }
.account__row--falcon { --c: var(--falcon); }
.account__row--hawk { --c: var(--hawk); }
.account__row--pass { --c: #6fb7ff; }
.account__row img { height: 26px; width: auto; image-rendering: pixelated; }
.account__icon { font-size: 1.8rem; color: #cfe6ff; width: 40px; text-align: center; }
.account__info strong { font-size: 1.05rem; margin-right: 8px; }
.account__kind { display: inline-block; padding: 2px 8px; border-radius: 999px; background: rgba(76, 217, 100, 0.14); color: var(--green); font-size: 0.72rem; font-weight: 700; }
.account__info p { margin: 6px 0 0; color: var(--muted) !important; font-size: 0.88rem; }
.account__foot { margin: 0; font-size: 0.8rem; color: var(--muted); }
.tile__img { max-height: 150px; width: auto; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5)); transition: transform 0.25s; }
.tile:hover .tile__img { transform: translateY(-4px) scale(1.04); }
.card__media img.art { max-height: 140px; image-rendering: auto; transition: transform 0.25s; }
.card:hover .card__media img.art { transform: scale(1.06) rotate(-1deg); }
.pass__art img { width: min(280px, 70%); height: auto; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.55)); }
.account__icon img { width: 40px; height: auto; }
.drawer__note a { color: var(--lilac); text-decoration: underline; }

@media (max-width: 920px) {
  .toplinks { display: none; }
  .hero { grid-template-columns: 1fr; text-align: left; padding-top: 34px; }
  .hero__art { min-height: 220px; order: -1; }
  .hero__art img { width: 200px; }
  .hero__glow { width: 240px; height: 240px; }
  .quick { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .tile__art { height: 140px; }
  .promo { flex-wrap: wrap; }
  .promo__text { flex-basis: calc(100% - 50px); }
  .ranks { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .rank--hawk { transform: none; }
  .steps { grid-template-columns: 1fr; }
  .pass { grid-template-columns: 1fr; }
  .pass__body { padding: 0 24px 26px; }
  .vote__box { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .topbar__inner { gap: 8px; }
  .ip-pill { display: none; }
  .brand span { font-size: 1.05rem; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer nav { justify-content: flex-start; }
  .vote__links { grid-template-columns: 1fr; }
  .upsell { grid-template-columns: 1fr; }
  .account__row { grid-template-columns: auto 1fr; }
  .account__row .btn { grid-column: 1 / -1; }
  .sale-banner { flex-wrap: wrap; }
  .upsell__rank { flex-direction: row; flex-wrap: wrap; justify-content: space-between; text-align: left; padding: 12px 14px; }
  .upsell__rank img { margin: 0; }
  .upsell__monthly { flex-basis: 100%; }
  .upsell__add { margin: 0; }
  .promo__btns { width: 100%; }
  .promo__btns .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
