:root {
  --accent: #2F9BFF;
  --accent-light: #6FBAFF;
  --bg: #06080b;
  --text: #EAF2FB;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

body {
  -webkit-font-smoothing: antialiased;
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--text);
  overflow-x: hidden;
}

a { color: var(--accent-light); text-decoration: none; }
a:hover { color: #9BD0FF; }
::selection { background: #2F9BFF; color: var(--bg); }

.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;
}

@keyframes dripFall {
  0%   { transform: translate(-50%, -10px) scale(0.6); opacity: 0; }
  8%   { transform: translate(-50%, 0px) scale(1); opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translate(-50%, var(--rail, 320px)) scale(0.6); opacity: 0; }
}
@keyframes blobDrift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(4%, -6%, 0) scale(1.18); }
  100% { transform: translate3d(0,0,0) scale(1); }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.8); }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-drip, .pulse-dot, .bg-blob {
    animation: none !important;
  }
}

.page {
  position: relative;
  min-height: 100vh;
  background: var(--bg);
}

.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  background: var(--bg);
}
.bg-ripple { position: absolute; inset: 0; }
.bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, rgba(6,8,11,0) 20%, rgba(6,8,11,0.62) 70%, rgba(6,8,11,0.86) 100%);
}
.bg-blob {
  position: absolute;
  top: -30vh;
  right: -30vw;
  width: 95vw;
  height: 80vh;
  background: radial-gradient(60% 55% at 60% 55%, rgba(47,155,255,0.10), rgba(47,155,255,0) 72%);
  filter: blur(50px);
  animation: blobDrift 26s ease-in-out infinite;
}

.shell {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}

/* header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.brand { display: flex; align-items: center; gap: 9px; }
.brand-dot {
  width: 13px; height: 13px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--accent);
  box-shadow: 0 0 16px rgba(47,155,255,0.8);
}
.brand-name { font-weight: 900; font-size: 19px; letter-spacing: -0.02em; }
.countdown {
  display: flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.04em;
  color: #7E8EA0;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: pulseDot 2.4s ease-in-out infinite;
}

/* hero */
.hero { padding: clamp(56px, 13vw, 140px) 0 clamp(64px, 12vw, 130px); }
.hero-title {
  margin: 0;
  font-size: clamp(72px, 23vw, 220px);
  line-height: 0.84;
  font-weight: 900;
  letter-spacing: -0.055em;
  color: #F3F8FF;
}
.accent-dot { color: var(--accent); }
.hero-sub {
  margin: clamp(24px,5vw,38px) 0 0;
  max-width: 19ch;
  font-size: clamp(21px, 5.2vw, 34px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #AFC0D2;
}

.ca-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: clamp(32px,6vw,48px); }
.ca-pill {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px 13px 18px;
  border: 1px solid rgba(120,160,200,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.025);
  max-width: 100%;
}
.ca-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(11px,3.1vw,13px);
  letter-spacing: 0.02em;
  color: #8FA3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.copy-btn {
  border: 0; cursor: pointer;
  border-radius: 999px;
  padding: 7px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  background: rgba(47,155,255,0.14);
  color: #6FBAFF;
  flex-shrink: 0;
}
.copy-btn:hover:not(:disabled) { background: rgba(47,155,255,0.26); color: #C7E4FF; }
.copy-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 17px 38px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--accent);
  color: #04070c;
  box-shadow: 0 10px 40px -10px rgba(47,155,255,0.75);
}
.btn-primary:hover { background: var(--accent-light); color: #04070c; }
.btn-primary[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.4;
  box-shadow: none;
}
.btn-secondary {
  padding: 17px 34px;
  border: 1px solid rgba(120,160,200,0.22);
  color: #D6E4F3;
}
.btn-secondary:hover { border-color: rgba(47,155,255,0.6); color: #FFFFFF; }

/* shared section bits */
.eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #63788C;
}

/* how it works */
.how-it-works { padding: clamp(56px,10vw,120px) 0; border-top: 1px solid rgba(120,160,200,0.10); }
.how-it-works .eyebrow { margin-bottom: clamp(36px,7vw,60px); }
.timeline { position: relative; padding-left: clamp(46px, 11vw, 70px); }
.timeline-rail {
  position: absolute;
  left: clamp(13px,3.2vw,21px);
  top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(47,155,255,0.05), rgba(47,155,255,0.35), rgba(47,155,255,0.05));
}
.timeline-drip {
  position: absolute;
  left: clamp(14px,3.2vw,22px);
  top: 6px;
  width: 11px; height: 11px;
  margin-left: -4.5px;
  border-radius: 50% 50% 50% 0;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(47,155,255,0.9);
  --rail: calc(100% - 12px);
  animation: dripFall 7s cubic-bezier(.55,.05,.45,.95) infinite;
}
.timeline-steps { display: flex; flex-direction: column; gap: clamp(34px,7vw,56px); }
.step-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--accent); letter-spacing: 0.14em;
}
.step-title {
  margin: 10px 0 8px;
  font-size: clamp(26px,6vw,38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #F0F6FF;
}
.step-body {
  margin: 0;
  max-width: 46ch;
  font-size: 17px; line-height: 1.55;
  color: #93A5B8;
}

/* kol queue */
.kol-queue { padding: clamp(56px,10vw,120px) 0; border-top: 1px solid rgba(120,160,200,0.10); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: clamp(14px,3vw,20px);
}
.queue-meta {
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.06em; color: #4F6376;
}

.progress-wrap { margin-bottom: clamp(20px,4vw,28px); }
.progress-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.06em; color: #8FA3B8;
  margin-bottom: 8px;
}
.progress-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(47,155,255,0.6), var(--accent));
  border-radius: 999px;
  transition: width 0.4s ease;
}

.table-scroll {
  max-height: 520px;
  overflow-y: auto;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(120,160,200,0.10);
}
.queue-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.queue-table thead th {
  position: sticky;
  top: 0;
  background: #0a0d12;
  text-align: left;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #63788C;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(120,160,200,0.14);
  z-index: 1;
}
.queue-table tbody tr {
  border-bottom: 1px solid rgba(120,160,200,0.06);
}
.queue-table tbody tr:last-child { border-bottom: none; }
.queue-table tbody tr.row-paid { background: rgba(47,155,255,0.035); }
.queue-table tbody tr.row-next { background: rgba(47,155,255,0.08); }
.queue-table td {
  padding: 12px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #C3D3E4;
  vertical-align: middle;
}
.col-rank { color: #4C6075; width: 40px; }
.col-name { color: #DCE8F6; }
.col-addr { color: #93A5B8; }
.col-amount { text-align: right; }
.addr-copy {
  background: none; border: 0; cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: inherit;
  padding: 0;
  text-decoration: underline dotted rgba(147,165,184,0.4);
}
.addr-copy:hover { color: #FFFFFF; }
.status-pill {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
}
.status-paid { color: #6FBAFF; background: rgba(47,155,255,0.12); }
.status-next { color: #04070c; background: var(--accent); }
.status-waiting { color: #5A6D80; background: rgba(255,255,255,0.04); }
.paid-time { display: block; font-size: 10px; color: #56697C; margin-top: 2px; }
.paid-link { font-size: 10px; }
.queue-loading { text-align: center; color: #63788C; padding: 24px; }

/* live drips */
.live-drips { padding: clamp(56px,10vw,120px) 0; border-top: 1px solid rgba(120,160,200,0.10); }
.live-drips .eyebrow { margin-bottom: clamp(28px,5vw,44px); }
.feed { display: flex; flex-direction: column; }
.feed-row {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px;
  padding: 15px 4px;
  border-bottom: 1px solid rgba(120,160,200,0.08);
  color: #C3D3E4;
}
a.feed-row:hover { color: #FFFFFF; background: rgba(47,155,255,0.05); }
.feed-kind {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.1em;
  color: #2F9BFF;
  min-width: 72px;
}
.feed-text { flex: 1 1 220px; font-size: 15px; font-family: 'JetBrains Mono', monospace; }
.feed-time { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #56697C; }
.feed-empty { color: #63788C; font-family: 'JetBrains Mono', monospace; font-size: 14px; padding: 12px 4px; }

/* stats */
.stats { padding: clamp(48px,9vw,96px) 0; border-top: 1px solid rgba(120,160,200,0.10); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: clamp(24px,5vw,40px);
}
.stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(30px,7vw,46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.stat-value-light { color: #EAF2FB; }
.stat-label {
  margin-top: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.14em; color: #63788C;
}

/* footer */
.site-footer {
  padding: clamp(40px,7vw,72px) 0 56px;
  border-top: 1px solid rgba(120,160,200,0.10);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px;
}
.footer-ca {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(10px,2.9vw,12px);
  color: #4F6376;
  word-break: break-all;
  max-width: 100%;
}
.footer-links { display: flex; gap: 22px; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.08em; }

/* mobile: table scrolls horizontally inside its own box, page itself never scrolls sideways */
@media (max-width: 640px) {
  .queue-table { min-width: 520px; }
  .table-scroll { max-height: 440px; }
}
