/* =========================================================
   EmperorMC — shared stylesheet
   No external fonts, no CDNs, no trackers (keeps CSP tight).
   ========================================================= */

:root {
  --bg: #090b0f;
  --bg-2: #0d1016;
  --panel: #11161e;
  --panel-2: #161d27;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef2f7;
  --muted: #96a2b3;
  --gold: #ffb020;
  --gold-soft: rgba(255, 176, 32, 0.12);
  --red: #ff5a5a;
  --orange: #ff9035;
  --green: #43d97b;
  --purple: #a67bff;
  --radius: 14px;
  --radius-sm: 9px;
  --container: 1140px;
  --shadow: 0 20px 50px -25px rgba(0, 0, 0, 0.9);
  --mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

/* Author CSS such as .btn { display:inline-flex } beats the UA [hidden] rule,
   so enforce it once, globally. */
[hidden] { display: none !important; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; }

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--gold);
  color: #101010;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- type helpers ---------- */
.pixel {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
}

.muted { color: var(--muted); }

.lede {
  color: var(--muted);
  font-size: clamp(15px, 1.1vw + 12px, 18px);
  max-width: 62ch;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: #14100a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.07); }
.btn:active { transform: translateY(0); }

.btn-primary { box-shadow: 0 10px 30px -14px rgba(255, 176, 32, 0.8); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); filter: none; }

.btn-sm { padding: 10px 15px; font-size: 13px; }

.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 11, 15, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-right: auto;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(150deg, #ffcf6a, #e08a00);
  color: #1a1204;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.brand-name { font-size: 16px; }
.brand-name span { color: var(--gold); }

.nav { display: flex; align-items: center; gap: 6px; }

.nav a {
  position: relative;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.header-actions { display: flex; align-items: center; gap: 10px; }

/* Discord sits in the header only when there is room for four nav links + two buttons. */
.header-discord { display: none; }
@media (min-width: 1080px) { .header-discord { display: inline-flex; } }

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}
.icon-btn:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.04); }

.menu-btn { display: none; }
.menu-bars { display: grid; gap: 4px; width: 16px; }
.menu-bars i {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-btn[aria-expanded="true"] .menu-bars i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars i:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 78px 0 66px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(760px 340px at 50% -8%, rgba(255, 176, 32, 0.16), transparent 70%),
    radial-gradient(560px 300px at 12% 22%, rgba(166, 123, 255, 0.12), transparent 72%),
    radial-gradient(560px 300px at 88% 18%, rgba(255, 90, 90, 0.10), transparent 72%),
    var(--bg-2);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(700px 380px at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(700px 380px at 50% 0%, #000 20%, transparent 78%);
  pointer-events: none;
}

.hero > .container { position: relative; z-index: 1; }

.hero h1 {
  font-size: clamp(38px, 6.4vw, 74px);
  font-weight: 800;
  margin: 18px auto 0;
  max-width: 18ch;
  letter-spacing: -0.035em;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
  text-shadow: 0 0 42px rgba(255, 176, 32, 0.35);
}

.hero .lede { margin: 18px auto 0; }

.page-hero { padding: 62px 0 52px; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 54px); margin-top: 14px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}
.badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(67, 217, 123, 0.18);
}

/* ---------- IP box ---------- */
.ip-box {
  display: flex;
  align-items: stretch;
  gap: 8px;
  max-width: 430px;
  margin: 30px auto 0;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  text-align: left;
}
.ip-box .ip-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-family: var(--mono);
  text-transform: uppercase;
}
.ip-box .ip-value {
  display: block;
  font-family: var(--mono);
  font-size: clamp(14px, 2.2vw, 17px);
  font-weight: 700;
  color: var(--text);
  overflow-wrap: anywhere;
  user-select: all;
}
.ip-box .ip-text { flex: 1; padding: 4px 8px; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 34px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 640px;
  margin-inline: auto;
}
.stats div { display: flex; align-items: baseline; gap: 8px; }
.stats dt { font-size: 12px; color: var(--muted); font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.1em; }
.stats dd { margin: 0; font-weight: 700; font-size: 16px; }

/* ---------- sections ---------- */
.section { padding: 74px 0; }
.section + .section { border-top: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: 38px; }
.section-head h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  margin-top: 12px;
}
.section-head .lede { margin-top: 12px; }
.section-head.center { margin-inline: auto; text-align: center; }

.section-foot { margin-top: 32px; display: flex; justify-content: center; }

/* ---------- mode cards ---------- */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.mode-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: var(--shadow);
}

.mode-thumb {
  position: relative;
  height: 132px;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 12px, transparent 12px 24px),
    radial-gradient(320px 140px at 50% 120%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 75%),
    #0e131a;
  border-bottom: 1px solid var(--line);
}
.mode-thumb .glyph {
  font-family: var(--mono);
  font-size: 34px;
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 30px color-mix(in srgb, var(--accent) 60%, transparent);
  letter-spacing: 0.1em;
}
.mode-thumb::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0.85;
}

.mode-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.mode-body h3 { font-size: 20px; }
.mode-body p { color: var(--muted); font-size: 14.5px; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 6px; }
.chip {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 4px 8px;
  border-radius: 5px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
}
.card-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- generic feature grid ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.feature {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 60%);
}
.feature .f-ico {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--gold-soft);
  color: var(--gold);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 13px;
}
.feature h3 { font-size: 15.5px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* ---------- ranks ---------- */
.ranks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }

.rank-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.rank-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }

.rank-card.featured {
  border-color: color-mix(in srgb, var(--gold) 60%, transparent);
  background:
    radial-gradient(320px 160px at 50% 0%, rgba(255, 176, 32, 0.14), transparent 70%),
    var(--panel);
  box-shadow: 0 0 0 1px rgba(255, 176, 32, 0.12) inset;
}

.rank-tag {
  position: absolute;
  top: -10px;
  right: 14px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 5px;
  background: var(--gold);
  color: #17120a;
  font-weight: 700;
}

.rank-name {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
  color: var(--rank-color, var(--gold));
  font-weight: 700;
}
.rank-title { font-size: 26px; font-weight: 800; margin-top: 6px; letter-spacing: -0.02em; }

.price { display: flex; align-items: baseline; gap: 5px; margin: 12px 0 4px; }
.price .amount { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.price .period { font-size: 12px; color: var(--muted); }
.price-note { font-size: 11.5px; color: var(--muted); margin-bottom: 16px; }

.perks { display: grid; gap: 9px; font-size: 13.5px; margin-bottom: 20px; }
.perks li { display: flex; gap: 9px; color: #cbd4e0; }
.perks li::before {
  content: "";
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 4px;
  background-color: color-mix(in srgb, var(--rank-color, var(--gold)) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--rank-color, var(--gold)) 55%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.3 4.7 8.9 9.8 3.4' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px 10px;
  background-position: center;
  background-repeat: no-repeat;
}
.rank-card .btn { margin-top: auto; }

/* ---------- economy callout ---------- */
.coin-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(400px 220px at 90% 10%, rgba(255, 176, 32, 0.1), transparent 70%),
    var(--panel);
}
.coin-panel h2 { font-size: clamp(22px, 2.6vw, 32px); }
.coin-panel .lede { margin-top: 12px; }
.coin-list { display: grid; gap: 12px; align-content: start; }
.coin-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 11px;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}
.coin-list li strong { color: var(--gold); font-family: var(--mono); font-size: 12.5px; white-space: nowrap; }

/* ---------- tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 620px; }
caption { text-align: left; padding: 16px 18px 0; color: var(--muted); font-size: 12px; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
thead th {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-weight: 700;
  white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
td.yes { color: var(--green); font-weight: 700; }
td.no { color: #5d6b7d; }
td.num { font-family: var(--mono); }

/* ---------- rules ---------- */
.rule-list { display: grid; gap: 14px; counter-reset: rule; }

.rule {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  background: var(--panel);
}
.rule-num {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  opacity: 0.75;
}
.rule h3 { font-size: 17.5px; margin-bottom: 7px; }
.rule p { color: var(--muted); font-size: 14px; }
.rule .rule-extra {
  margin-top: 10px;
  font-size: 13px;
  color: #c4cedb;
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}
.rule .rule-extra strong { color: var(--gold); font-weight: 600; }

/* ---------- form ---------- */
.form-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 6px; color: #cbd4e0; }
.field .hint { font-size: 11.5px; color: var(--muted); margin-top: 5px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: #0b0f15;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 176, 32, 0.15);
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: var(--red); }
.error { display: none; font-size: 12px; color: #ff8f8f; margin-top: 6px; }
.field.invalid .error { display: block; }

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-msg {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  border: 1px solid rgba(67, 217, 123, 0.4);
  background: rgba(67, 217, 123, 0.1);
  color: #b6f3cd;
}
.form-msg.show { display: block; }
.form-msg.error-msg {
  border-color: rgba(255, 90, 90, 0.4);
  background: rgba(255, 90, 90, 0.1);
  color: #ffc0c0;
}

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.step .n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
}
.step h3 { font-size: 16px; margin: 9px 0 6px; }
.step p { color: var(--muted); font-size: 13.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 30px;
  text-align: center;
  background:
    radial-gradient(600px 220px at 50% 120%, rgba(255, 176, 32, 0.18), transparent 70%),
    var(--panel-2);
}
.cta-band h2 { font-size: clamp(24px, 3vw, 36px); }
.cta-band p { color: var(--muted); margin-top: 10px; }
.cta-band .hero-cta { margin-top: 22px; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 46px 0 26px;
  margin-top: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.footer-grid p { color: var(--muted); font-size: 13px; max-width: 36ch; margin-top: 12px; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.footer-col a { display: block; font-size: 13.5px; color: #c3ccd9; padding: 3px 0; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 16px);
  z-index: 300;
  padding: 11px 18px;
  border-radius: 9px;
  background: #f0f4f9;
  color: #10141a;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- checkout ---------- */
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 322px;
  gap: 24px;
  align-items: start;
}
.checkout-main { display: grid; gap: 18px; }

.summary-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(420px 180px at 92% 0%, rgba(255, 176, 32, 0.12), transparent 70%),
    var(--panel);
}
.summary-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.summary-head h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 6px; }
.summary-price { text-align: right; font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.summary-price .period { display: block; font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: 0.04em; }
.summary-card .perks { margin-top: 18px; grid-template-columns: 1fr 1fr; }
.summary-card .form-note { margin-top: 16px; }

.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.path-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.path-card h3 { font-size: 17px; margin-bottom: 8px; }
.path-card > p { font-size: 13px; }
.path-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(255, 176, 32, 0.35);
  background: rgba(255, 176, 32, 0.08);
  padding: 3px 7px;
  border-radius: 4px;
}

.qr-box {
  display: grid;
  place-items: center;
  gap: 8px;
  margin: 16px 0 12px;
  padding: 12px;
  min-height: 176px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #ffffff;
}
.qr-box svg { width: 100%; max-width: 186px; height: auto; }
.qr-box p { color: #3a3a3a; font-size: 12px; text-align: center; margin: 0; }
.qr-box .btn { margin-top: 4px; }
.qr-box.empty {
  min-height: 0;
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-style: dashed;
  border-color: var(--line-strong);
}
.qr-box.empty p { color: var(--muted); max-width: 34ch; line-height: 1.6; }

.upi-line { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.upi-line strong { font-family: var(--mono); color: var(--text); font-size: 12.5px; }

.claim-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.claim-card h2 { font-size: 22px; margin-bottom: 8px; }
.claim-card form { margin-top: 18px; display: grid; gap: 14px; }
.claim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.check-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: #cbd4e0;
  line-height: 1.5;
}
.check-line input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--gold); flex: 0 0 auto; }

.checkout-side { display: grid; gap: 16px; position: sticky; top: 88px; }
.side-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.side-card h3 { font-size: 15px; margin-bottom: 10px; }
.side-card.warn { border-color: rgba(255, 90, 90, 0.3); background: rgba(255, 90, 90, 0.05); }

.claim-steps { display: grid; gap: 13px; margin-top: 14px; }
.claim-steps li { display: grid; gap: 3px; font-size: 13px; }
.claim-steps strong { color: var(--text); font-size: 13.5px; }
.claim-steps span { color: var(--muted); font-size: 12.5px; line-height: 1.55; }

.never-list { display: grid; gap: 7px; font-size: 12.5px; color: #ffc9c9; }
.never-list li::before { content: "✕ "; }

@media (max-width: 980px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-side { position: static; grid-template-columns: 1fr 1fr; }
  .checkout-side .side-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .path-grid, .claim-grid, .summary-card .perks, .checkout-side { grid-template-columns: 1fr; }
  .summary-head { flex-direction: column; }
  .summary-price { text-align: left; }
}

/* ---------- motion ----------
   Content is never hidden behind an animation. Scroll-reveal was removed on
   purpose: if an observer fails, an opacity:0 start state hides whole sections.
   Motion here is decorative only (hover lifts, transitions). */

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .ranks-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .coin-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .modes-grid, .steps, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .header-cta { display: none; }
  .menu-btn { display: grid; }

  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 16px 18px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px #000;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; font-size: 15px; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { background: rgba(255, 176, 32, 0.08); }
}

@media (max-width: 640px) {
  .section { padding: 54px 0; }
  .hero { padding: 54px 0 48px; }
  .ranks-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats { gap: 8px 20px; }
  .stats div { flex-direction: column; align-items: flex-start; gap: 0; }
  .ip-box { flex-direction: column; }
  .ip-box .btn { width: 100%; }
  .rule { grid-template-columns: 1fr; gap: 8px; }
  .rule-num { font-size: 18px; }
  .form-panel, .cta-band, .coin-panel { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
