/* airdrop.rekt.page — 랜딩(site/styles.css)의 토큰·유리 패널·버튼·상단바·푸터를 그대로 옮기고, 이 페이지에 필요한 것만 더했다 */

:root {
  color-scheme: dark;

  --bg: #07090d;
  --bg-alt: #090c12;

  --text: #f3f5fa;
  --muted: rgb(226 232 255 / 0.6);
  --faint: rgb(226 232 255 / 0.38);

  --stroke: rgb(255 255 255 / 0.13);
  --stroke-soft: rgb(255 255 255 / 0.07);
  --highlight: rgb(255 255 255 / 0.24);
  --fill: rgb(255 255 255 / 0.06);
  --fill-hover: rgb(255 255 255 / 0.12);
  --sunken: rgb(0 0 0 / 0.28);

  --accent: rgb(138 180 255);
  --accent-dim: rgb(138 180 255 / 0.55);
  --gold: #fbbf24;
  --up: #34d399;
  --down: #fb7185;
  --mint: #97fce4;
  --discord: #5865f2;

  --glass: linear-gradient(150deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.03) 42%, rgb(255 255 255 / 0.05));
  --blur: blur(30px) saturate(175%);

  --radius: 20px;
  --radius-sm: 14px;
  --gutter: 16px;
  --maxw: 1080px;
  --nav-h: 60px;

  --font: 'Sora', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --mono: ui-monospace, 'SFMono-Regular', 'Cascadia Mono', 'Consolas', monospace;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: -0.005em;
  background:
    radial-gradient(1100px 760px at 8% -10%, rgb(91 108 255 / 0.2), transparent 62%),
    radial-gradient(900px 700px at 102% 6%, rgb(20 184 166 / 0.12), transparent 60%),
    radial-gradient(1000px 900px at 55% 112%, rgb(217 70 239 / 0.1), transparent 62%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.18; }
p { margin: 0; }
code { font-family: var(--mono); font-size: 0.86em; overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.muted { color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- glass ---------- */
.panel {
  position: relative;
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 var(--highlight),
    inset 0 -1px 0 rgb(255 255 255 / 0.04),
    0 20px 44px -18px rgb(0 0 0 / 0.7);
}

/* ---------- brand ---------- */
.brand-by {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--mint);
  text-shadow: 0 0 18px rgb(151 252 228 / 0.35);
}
.rk { font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; }
.rk-rekt, .rk-page { -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.rk-rekt { background-image: linear-gradient(180deg, #ff8fa3 0%, #e11d48 100%); }
.rk-page { background-image: linear-gradient(95deg, #dbe6ff 0%, #97fce4 100%); }
.rk-dot {
  position: relative; display: inline-block;
  width: 0.17em; height: 0.54em; margin: 0 0.035em; vertical-align: -0.136em;
  color: transparent; -webkit-text-fill-color: transparent;
  overflow: hidden; filter: drop-shadow(0 0 0.06em rgb(251 113 133 / 0.6));
}
.rk-dot::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: max(1px, 0.028em); transform: translateX(-50%);
  background: #fb7185; border-radius: 1em;
}
.rk-dot::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0.062em; height: 0.34em;
  background: linear-gradient(180deg, #fb7185, #e11d48); border-radius: 0.02em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border: 1px solid var(--stroke-soft);
  border-radius: 999px;
  background: var(--fill);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.btn:hover { background: var(--fill-hover); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: progress; transform: none; }
.btn-sm { height: 32px; padding: 0 14px; font-size: 13px; }
.btn-primary {
  background: linear-gradient(180deg, rgb(138 180 255 / 0.32), rgb(138 180 255 / 0.16));
  border-color: var(--accent-dim);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25), 0 10px 30px -12px rgb(138 180 255 / 0.7);
}
.btn-primary:hover { background: linear-gradient(180deg, rgb(138 180 255 / 0.44), rgb(138 180 255 / 0.22)); }
.btn-ghost { background: var(--sunken); border-color: var(--stroke); }
.btn-ghost:hover { background: var(--fill); }
.btn-discord {
  background: linear-gradient(180deg, rgb(88 101 242 / 0.55), rgb(88 101 242 / 0.32));
  border-color: rgb(88 101 242 / 0.7);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25), 0 10px 30px -12px rgb(88 101 242 / 0.8);
}
.btn-discord:hover { background: linear-gradient(180deg, rgb(88 101 242 / 0.7), rgb(88 101 242 / 0.42)); }
.btn-gold {
  background: linear-gradient(180deg, rgb(251 191 36 / 0.3), rgb(251 191 36 / 0.14));
  border-color: rgb(251 191 36 / 0.55);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), 0 10px 30px -12px rgb(251 191 36 / 0.6);
}
.btn-gold:hover { background: linear-gradient(180deg, rgb(251 191 36 / 0.42), rgb(251 191 36 / 0.2)); }
.btn-link {
  height: auto; padding: 0; border: 0; background: none; box-shadow: none;
  color: var(--accent); font-size: 13px; font-weight: 400;
}
.btn-link:hover { background: none; text-decoration: underline; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(7 9 13 / 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--stroke-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: var(--maxw);
  min-height: var(--nav-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.nav-brand { display: flex; align-items: baseline; gap: 7px; color: inherit; min-width: 0; }
.nav-brand:hover { text-decoration: none; }
.nav-brand .rk, .nav-brand .brand-by { font-size: 15px; white-space: nowrap; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 400;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--text); background: var(--fill); text-decoration: none; }
.nav-links a.ext { border: 1px solid var(--stroke-soft); }
.nav-links a.ext::after { content: "↗"; margin-left: 4px; font-size: 10px; opacity: 0.7; vertical-align: middle; }

.lang-pick { flex: none; display: inline-flex; }
.lang-pick select {
  height: 32px;
  padding: 0 26px 0 12px;
  border: 1px solid var(--stroke-soft);
  border-radius: 999px;
  background-color: var(--sunken);
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--faint) 50%),
    linear-gradient(135deg, var(--faint) 50%, transparent 50%);
  background-position: calc(100% - 15px) 14px, calc(100% - 11px) 14px;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
}
.lang-pick select:hover { color: var(--text); border-color: var(--stroke); }
.lang-pick select option { background: #0d1119; color: var(--text); }

@media (max-width: 760px) {
  .nav-brand .brand-by { display: none; }
  .nav-links { display: none; }
  .lang-pick { margin-left: auto; }
}

/* ---------- head ---------- */
.head { padding: 64px 0 36px; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid var(--stroke-soft);
  border-radius: 999px;
  background: var(--sunken);
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--up); box-shadow: 0 0 10px var(--up);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.head h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
}
.head h1 em {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--mint);
  text-shadow: 0 0 24px rgb(151 252 228 / 0.3);
}
.lede { max-width: 640px; margin: 0 auto; color: var(--muted); font-size: clamp(0.95rem, 2vw, 1.05rem); line-height: 1.65; }
.top-status { max-width: 640px; margin: 14px auto 0; }

/* ---------- layout ---------- */
.board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 14px;
}
.board > .wide { grid-column: 1 / -1; }
@media (max-width: 960px) { .board { grid-template-columns: 1fr; } }

.step { display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.step-head { display: flex; align-items: center; gap: 10px; }
.step-idx {
  padding: 3px 9px;
  border: 1px solid var(--stroke-soft);
  border-radius: 999px;
  background: var(--sunken);
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.step h2 { font-size: 1.08rem; font-weight: 600; }
.step .done { margin-left: auto; color: var(--up); font-size: 12px; font-weight: 500; }
.step p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; }
.step .small { font-size: 12.5px; color: var(--faint); }
.ref-change { margin-top: 12px; }
.ref-change .copyrow { margin-top: 8px; }
.ref-change .btn-link { padding-left: 0; }
.step .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 4px; }


/* 값 한 줄: 라벨 왼쪽, 값 오른쪽 */
.kv {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--stroke-soft);
  border-radius: 12px;
  background: var(--sunken);
  font-size: 13px;
}
.kv span:first-child { color: var(--muted); }
.kv code, .kv b { color: var(--text); font-weight: 500; text-align: right; }

.wallets { display: grid; gap: 8px; }
.wallets .btn { justify-content: flex-start; width: 100%; height: 46px; border-radius: 14px; }
.wallets img { width: 22px; height: 22px; border-radius: 6px; }
.deeplinks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.copyrow { display: flex; gap: 8px; }
input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: var(--sunken);
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
}
input::placeholder { color: var(--faint); font-family: var(--font); }
input:focus { outline: none; border-color: var(--accent-dim); }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat { padding: 12px 14px; border: 1px solid var(--stroke-soft); border-radius: 12px; background: var(--sunken); }
.stat b { display: block; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.03em; }
.stat span { color: var(--muted); font-size: 12px; }
.stat.ok b { color: var(--up); }

/* ---------- points ---------- */
.points { padding: 26px; }
.points-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 22px; align-items: start; }
@media (max-width: 860px) { .points-grid { grid-template-columns: 1fr; } }
.total-box {
  padding: 20px;
  border: 1px solid var(--stroke-soft);
  border-radius: var(--radius-sm);
  background: var(--sunken);
}
.total-box .label { color: var(--muted); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.total-box .value { margin: 6px 0 8px; font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 700; letter-spacing: -0.04em; }
.total-box .value small { font-size: 0.45em; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.recorded {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px;
  border: 1px solid rgb(52 211 153 / 0.35);
  border-radius: 999px;
  background: rgb(52 211 153 / 0.08);
  color: var(--up);
  font-size: 12px;
}
.recorded::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--up); box-shadow: 0 0 8px var(--up); }

.rows { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.rows td { padding: 11px 0; border-bottom: 1px solid var(--stroke-soft); vertical-align: top; }
.rows tr:last-child td { border-bottom: 0; }
.rows td:last-child { padding-left: 14px; text-align: right; white-space: nowrap; font-weight: 500; }
.rows .sub { margin-top: 2px; color: var(--faint); font-size: 12px; }
.rows .tba { color: var(--gold); font-weight: 400; }
.rows .ok { color: var(--up); }
.rows .pending { color: var(--faint); }
.ref-list { margin-top: 12px; }

.fine { margin-top: 14px; color: var(--faint); font-size: 12px; line-height: 1.6; }

/* ---------- status ---------- */
.status { min-height: 1.2em; font-size: 13px; white-space: pre-line; overflow-wrap: anywhere; }
.status:empty { display: none; }
.status.ok { color: var(--up); }
.status.err { color: var(--down); }

/* ---------- footer ---------- */
.footer {
  margin-top: 56px;
  padding: 40px 0 36px;
  border-top: 1px solid var(--stroke-soft);
  background: var(--bg-alt);
}
.footer-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--stroke-soft);
}
.footer-brand { display: flex; align-items: baseline; gap: 8px; }
.footer-brand .rk, .footer-brand .brand-by { font-size: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--muted); font-size: 13.5px; }
.footer-links a:hover { color: var(--text); }
.footer-note { margin-top: 16px; color: var(--faint); font-size: 12px; }
.stats-gap { margin-top: 10px; }
.lookup { margin: 14px 0 18px; }

/* 카드 안의 묶음(로그인 전·후, 지갑 고르기 등)도 카드와 같은 간격으로 — 버튼 바로 밑에 설명이 붙어 보이던 것(10-17) */
#wallet-connected, #wallet-pick, #nowallet, #discord-out, #discord-in, #ref-open { display: grid; gap: 14px; align-content: start; }
.step .actions { padding-top: 0; }

/* 라운드 1 안내: 배포 시점·물량 (10-17) */
.round-note {
  max-width: 640px;
  margin: 14px auto 0;
  padding: 10px 14px;
  border: 1px solid rgb(251 191 36 / 0.3);
  border-radius: 12px;
  background: rgb(251 191 36 / 0.06);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
