:root {
  --mint: #97FCE4;
  --mint-bright: #50d2c1;
  --mint-deep: #0F3D37;
  --mint-dim: rgba(151, 252, 228, 0.10);
  --mint-glow: rgba(151, 252, 228, 0.18);
  --bg: #07100F;
  --bg-2: #0c1816;
  --bg-3: #112320;
  --bg-card: rgba(15, 28, 26, 0.6);
  --border: rgba(151, 252, 228, 0.10);
  --border-strong: rgba(151, 252, 228, 0.22);
  --text: #e8fffa;
  --text-dim: #7c9893;
  --text-muted: #4a6764;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--mint); color: var(--bg); }

.bg-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #50d2c1, transparent 70%);
  top: -200px; left: 50%;
  transform: translateX(-50%);
  animation: float1 18s ease-in-out infinite;
}

.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #97FCE4, transparent 70%);
  top: 30%; right: -100px;
  opacity: 0.15;
  animation: float2 22s ease-in-out infinite;
}

.orb-3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #1a6b5e, transparent 70%);
  bottom: -200px; left: -100px;
  opacity: 0.25;
  animation: float3 25s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(40px); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-50px) scale(1.1); }
}

@keyframes float3 {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-30px) translateX(30px); }
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(151, 252, 228, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 252, 228, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 30%, transparent 75%);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 16, 15, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.nav-inner > .logo {
  justify-self: start;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--border-strong), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.logo-mark svg,
.logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text);
}

.logo-sub {
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--mint);
  margin-top: 4px;
}

.logo.small { font-size: 13px; }
.logo.small .logo-mark { width: 30px; height: 30px; border-radius: 8px; }
.logo.small span { font-weight: 700; letter-spacing: 0.12em; font-size: 12px; color: var(--mint); }

.tabs {
  display: flex;
  justify-self: center;
  gap: 2px;
  background: rgba(7, 16, 15, 0.6);
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: 12px;
}

.tab {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
  letter-spacing: 0.02em;
}

.tab:hover { color: var(--text); }

.tab.active {
  background: var(--mint);
  color: var(--bg);
  box-shadow: 0 0 24px var(--mint-glow);
}

.connect-btn {
  justify-self: end;
  background: var(--mint);
  color: var(--bg);
  border: none;
  width: 96px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
}

.connect-btn:hover {
  width: 96px;
  padding: 0 14px;
  background: var(--mint-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--mint-glow);
}

.connect-btn:focus-visible {
  width: 96px;
  padding: 0 14px;
}

.connect-logo {
  display: block;
  width: 18px;
  height: 18px;
  color: inherit;
  flex-shrink: 0;
}

.connect-label {
  max-width: 70px;
  opacity: 1;
}

.connect-btn:hover .connect-label,
.connect-btn:focus-visible .connect-label {
  max-width: 70px;
  opacity: 1;
}

main {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}

.page { display: none; animation: fadeIn 0.4s ease; }
.page.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero {
  position: relative;
  padding: 40px 0 64px;
  margin-bottom: 40px;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  overflow: hidden;
}

.hero-backdrop svg {
  width: 1400px;
  height: 1400px;
  max-width: none;
  opacity: 0.05;
  filter: blur(2px);
  animation: breathe 12s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.05; }
  50% { transform: scale(1.04); opacity: 0.08; }
}

.hero-chips {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--mint);
  background: rgba(15, 28, 26, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  padding: 7px 12px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(151, 252, 228, 0.1);
  white-space: nowrap;
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
}

.chip-1 { top: 12%; left: 6%; animation: drift1 9s ease-in-out infinite; }
.chip-2 { top: 22%; right: 7%; animation: drift2 11s ease-in-out infinite; }
.chip-3 { bottom: 24%; left: 11%; animation: drift3 13s ease-in-out infinite; transform: scale(0.9); }
.chip-4 { bottom: 18%; right: 9%; animation: drift1 10s ease-in-out infinite reverse; }
.chip-5 { top: 50%; left: 2%; animation: drift2 14s ease-in-out infinite; transform: scale(0.85); }

@keyframes drift1 {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-16px) rotate(3deg); }
}

@keyframes drift2 {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(20px) rotate(-2deg); }
}

@keyframes drift3 {
  0%, 100% { transform: translate(0, 0) rotate(-2deg) scale(0.9); }
  50% { transform: translate(12px, -12px) rotate(2deg) scale(0.9); }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(151, 252, 228, 0.06);
  border: 1px solid var(--border-strong);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--mint);
  margin-bottom: 36px;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 24px rgba(151, 252, 228, 0.08);
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--mint);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(151, 252, 228, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(151, 252, 228, 0); }
  100% { box-shadow: 0 0 0 0 rgba(151, 252, 228, 0); }
}

.hero-title {
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.hero-line {
  display: block;
}

.line-outline {
  font-size: 78px;
  color: var(--text);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.035em;
}

.line-gradient {
  font-size: 96px;
  color: var(--text);
  font-weight: 900;
  letter-spacing: -0.05em;
  text-shadow: 0 0 60px rgba(151, 252, 228, 0.2);
}

.accent {
  background: linear-gradient(135deg, #97FCE4 0%, #50d2c1 35%, #97FCE4 70%, #50d2c1 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 250% 50%; }
}

.line-forever {
  font-size: 44px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0;
  font-style: italic;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.infinity {
  display: inline-block;
  font-style: normal;
  font-weight: 400;
  color: var(--mint);
  font-size: 56px;
  animation: spin 8s linear infinite;
  filter: drop-shadow(0 0 12px var(--mint-glow));
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.lede {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-token-box {
  appearance: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  width: min(100%, 620px);
  margin: 0 auto 28px;
  padding: 14px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: rgba(151, 252, 228, 0.05);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(151, 252, 228, 0.06);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.hero-token-box:hover {
  border-color: var(--mint);
  background: rgba(151, 252, 228, 0.08);
  transform: translateY(-1px);
}

.hero-token-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--text-dim);
  font-weight: 700;
  text-transform: uppercase;
}

.hero-token-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--mint);
  word-break: break-all;
  transition: color 0.15s ease;
}

.hero-token-box.copied .hero-token-value {
  color: var(--text);
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: rgba(15, 28, 26, 0.6);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  padding: 16px 28px;
  border-radius: 16px;
  margin-bottom: 36px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 100px;
}

.hs-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--mint);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hs-suffix {
  font-size: 20px;
  color: var(--text-dim);
  margin-left: 1px;
  font-weight: 600;
}

.hs-unit {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
}

.hero-stat-sep {
  width: 1px;
  height: 32px;
  background: var(--border-strong);
}

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

.primary-btn {
  background: linear-gradient(135deg, #97FCE4, #50d2c1);
  color: var(--mint-deep);
  border: none;
  padding: 16px 30px;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 0 0 1px rgba(151, 252, 228, 0.4), 0 8px 32px rgba(151, 252, 228, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.primary-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--mint), 0 16px 48px rgba(151, 252, 228, 0.45);
}

.primary-btn:hover::before { left: 100%; }

.primary-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.primary-btn:hover svg { transform: translateX(3px); }

.ghost-btn {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--mint);
  padding: 8px 16px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ghost-btn:hover {
  background: var(--mint-dim);
  border-color: var(--mint);
}

.ghost-btn.lg {
  padding: 16px 26px;
  font-size: 14px;
  border-radius: 12px;
}

.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(7, 16, 15, 0.5);
  padding: 14px 0;
  margin-bottom: 56px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  width: max-content;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-item {
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.marquee-item strong {
  color: var(--mint);
  font-weight: 700;
}

.marquee-dot {
  width: 4px;
  height: 4px;
  background: var(--border-strong);
  border-radius: 50%;
  flex-shrink: 0;
}

.pot-card {
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  grid-template-rows: auto 1fr;
  column-gap: 48px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(151, 252, 228, 0.06);
}

.pot-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--mint-glow), transparent 60%);
  pointer-events: none;
}

.pot-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(151, 252, 228, 0.06);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  padding: 6px 12px;
  font-size: 10px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--mint);
  margin-bottom: 24px;
  position: relative;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.status-dot {
  width: 6px; height: 6px;
  background: var(--mint);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.pot-grid {
  display: contents;
}

.pot-left {
  min-width: 0;
  grid-column: 1;
  grid-row: 2;
}

.pot-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-dim);
  font-weight: 700;
  margin-bottom: 14px;
}

.pot-amount {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 10px;
  line-height: 1;
}

.pot-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 92px;
  font-weight: 700;
  color: var(--mint);
  letter-spacing: -0.04em;
  text-shadow: 0 0 60px rgba(151, 252, 228, 0.3);
}

.pot-symbol {
  font-size: 26px;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.pot-usd {
  font-size: 17px;
  color: var(--text-dim);
  margin-bottom: 24px;
  font-family: 'JetBrains Mono', monospace;
}

.pot-note {
  font-size: 13px;
  color: var(--text-dim);
  max-width: 420px;
  line-height: 1.6;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.pot-right {
  display: grid;
  place-items: center;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  position: relative;
}

.ring-wrap {
  position: relative;
  width: 260px;
  height: 260px;
}

.ring {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 16px var(--mint-glow));
}

#ringFill {
  transition: stroke-dashoffset 1s linear;
}

.ring-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ring-label {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--text-dim);
  font-weight: 700;
  margin-bottom: 14px;
}

.ring-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 56px;
  font-weight: 700;
  color: var(--mint);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.ring-time-countdown {
  font-size: 42px;
  letter-spacing: -0.04em;
}

.ring-colon {
  display: inline-block;
  margin: 0 4px;
  animation: blink 1.2s infinite;
}

@keyframes blink {
  0%, 60% { opacity: 1; }
  61%, 100% { opacity: 0.25; }
}

.ring-foot {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.16em;
  font-weight: 600;
  margin-top: 14px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.18s ease;
}

.stat-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(151, 252, 228, 0.06);
  display: grid;
  place-items: center;
  color: var(--mint);
  flex-shrink: 0;
}

.stat-icon svg {
  width: 22px;
  height: 22px;
}

.stat-content { flex: 1; min-width: 0; }

.stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  font-weight: 500;
}

.empty-state {
  text-align: center;
  padding: 48px 20px;
}

.empty-state.lg { padding: 80px 20px; }

.empty-icon {
  display: inline-grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(151, 252, 228, 0.08), transparent 70%);
  color: var(--mint);
  margin-bottom: 24px;
}

.empty-icon svg {
  width: 56px;
  height: 56px;
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

.empty-state h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.empty-state p {
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
  font-size: 15px;
}

.empty-state .ghost-btn.lg {
  margin-top: 28px;
}

.page-head {
  text-align: center;
  margin-bottom: 56px;
}

.page-head h1 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
  line-height: 1.05;
}

.data-source {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mint);
  border: 1px solid var(--border-strong);
  background: rgba(151, 252, 228, 0.06);
  border-radius: 100px;
  padding: 7px 13px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: all 0.15s ease;
}

.data-source:hover {
  background: var(--mint-dim);
  border-color: var(--mint);
}

.winners-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.mini-stat {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.18s ease;
}

.mini-stat:hover {
  border-color: var(--border-strong);
}

.mini-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  font-weight: 700;
}

.mini-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.mini-value .unit {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
  margin-left: 4px;
}

.distribution-history {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}

.history-head h2 {
  font-size: 20px;
  margin-bottom: 4px;
}

.history-head p {
  color: var(--text-dim);
  font-size: 12px;
}

.history-status {
  color: var(--mint);
  border: 1px solid var(--border-strong);
  background: rgba(151, 252, 228, 0.06);
  border-radius: 100px;
  padding: 6px 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.history-status.error {
  color: #ff9f9f;
  border-color: rgba(255, 120, 120, 0.25);
  background: rgba(255, 120, 120, 0.06);
}

.history-list {
  display: grid;
}

.history-row {
  display: grid;
  grid-template-columns: 72px minmax(180px, 1fr) minmax(140px, 0.7fr) minmax(160px, 0.8fr);
  gap: 20px;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
}

.history-row:last-child {
  border-bottom: none;
}

.history-index {
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
  font-size: 12px;
}

.history-index.test {
  color: var(--mint);
  font-weight: 700;
}

.history-date,
.history-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.history-label {
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.history-value {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.history-amount {
  color: var(--mint);
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 700;
}

.history-amount.accumulated {
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.history-loading {
  padding: 56px 28px;
  text-align: center;
  color: var(--text-dim);
}

.history-pagination {
  min-height: 69px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.history-pagination[hidden] {
  display: none;
}

.pagination-button,
.pagination-ellipsis {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

.pagination-button {
  border: 1px solid var(--border);
  background: rgba(151, 252, 228, 0.03);
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.pagination-button:hover {
  color: var(--mint);
  border-color: var(--border-strong);
  background: var(--mint-dim);
}

.pagination-button.active {
  color: var(--bg);
  border-color: var(--mint);
  background: var(--mint);
  font-weight: 700;
}

.pagination-ellipsis {
  color: var(--text-muted);
}

.steps {
  display: grid;
  gap: 12px;
  margin-bottom: 56px;
}

.step {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 28px;
  align-items: start;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}

.step::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--mint), transparent);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.step:hover {
  border-color: var(--border-strong);
  transform: translateX(4px);
}

.step:hover::before { opacity: 1; }

.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 52px;
  font-weight: 700;
  color: var(--mint);
  line-height: 1;
  letter-spacing: -0.04em;
  opacity: 0.85;
}

.step-body h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.step-body p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
}

.step-body strong {
  color: var(--mint);
  font-weight: 600;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 56px;
}

.info-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.info-card h4 {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-dim);
  font-weight: 700;
  margin-bottom: 20px;
}

.fee-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 14px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}

.fee-row:last-child { border-bottom: none; }

.fee-row.total {
  border-bottom: none;
  margin-top: 6px;
  padding-top: 16px;
  color: var(--text);
  font-weight: 600;
}

.fee-val {
  font-family: 'JetBrains Mono', monospace;
  color: var(--mint);
  font-weight: 700;
}

.info-list {
  list-style: none;
}

.info-list li {
  padding: 9px 0;
  font-size: 14px;
  color: var(--text-dim);
  position: relative;
  padding-left: 20px;
}

.info-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 16px;
  width: 8px;
  height: 1px;
  background: var(--mint);
}

.info-list strong {
  color: var(--mint);
  font-weight: 600;
}

.addr-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}

.addr-line:last-child { border-bottom: none; }

.addr-label { color: var(--text-dim); }

.addr-tba {
  font-family: 'JetBrains Mono', monospace;
  color: var(--mint);
  font-size: 12px;
  background: rgba(151, 252, 228, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px dashed var(--border-strong);
  text-decoration: none;
  text-align: right;
  white-space: nowrap;
  max-width: 62%;
}

.addr-tba:hover {
  border-color: var(--mint);
}

.faq h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.025em;
}

.faq details {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.faq details:hover { border-color: var(--border-strong); }

.faq details[open] {
  border-color: var(--border-strong);
  background: var(--bg-3);
}

.faq summary {
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  color: var(--mint);
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.22s ease;
  line-height: 1;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details p {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
}

.footer {
  border-top: 1px solid var(--border);
  background: rgba(7, 16, 15, 0.5);
  backdrop-filter: blur(12px);
  margin-top: 96px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.disclaimer {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.footer-links a:hover { color: var(--mint); }

@media (max-width: 1024px) {
  .line-outline { font-size: 60px; }
  .line-gradient { font-size: 76px; }
  .line-forever { font-size: 36px; }
  .infinity { font-size: 44px; }
  .hero-backdrop svg { width: 1100px; height: 1100px; }
  .pot-card { display: block; }
  .pot-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
  .pot-left, .pot-right { grid-column: auto; grid-row: auto; }
  .pot-right { order: -1; }
  .ring-wrap { width: 220px; height: 220px; }
  .ring-time { font-size: 48px; }
  .ring-time-countdown { font-size: 36px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .winners-stats { grid-template-columns: repeat(2, 1fr); }
  .info-cards { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  main { padding: 40px 16px 64px; }
  .nav-inner { padding: 12px 16px; display: flex; flex-wrap: wrap; }
  .tabs { order: 3; width: 100%; justify-content: center; }
  .logo-sub { display: none; }
  .hero { min-height: auto; padding: 24px 0 40px; }
  .line-outline { font-size: 42px; }
  .line-gradient { font-size: 54px; }
  .line-forever { font-size: 26px; gap: 10px; }
  .infinity { font-size: 32px; }
  .hero-stats { padding: 14px 18px; gap: 14px; }
  .hero-stat { min-width: 70px; }
  .hs-num { font-size: 22px; }
  .hs-unit { font-size: 9px; letter-spacing: 0.14em; }
  .chip { font-size: 10px; padding: 5px 9px; }
  .chip-5 { display: none; }
  .lede { font-size: 15px; }
  .hero-token-box { margin-bottom: 22px; padding: 12px 14px; }
  .hero-token-value { font-size: 11px; }
  .page-head h1 { font-size: 36px; }
  .pot-card { padding: 28px 22px; }
  .pot-num { font-size: 64px; }
  .pot-symbol { font-size: 20px; }
  .step { grid-template-columns: 1fr; gap: 12px; padding: 26px; }
  .step-num { font-size: 36px; }
  .empty-state.lg { padding: 56px 16px; }
  .history-head { padding: 20px; align-items: flex-start; }
  .history-row {
    grid-template-columns: 42px 1fr;
    gap: 14px 12px;
    padding: 18px 20px;
  }
  .history-index { grid-column: 1; grid-row: 1; }
  .history-date { grid-column: 2; grid-row: 1; }
  .history-metric { grid-column: 2; padding-left: 0; }
}

@media (max-width: 420px) {
  .line-outline { font-size: 34px; }
  .line-gradient { font-size: 44px; }
  .line-forever { font-size: 22px; }
  .infinity { font-size: 26px; }
  .hero-stats { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .hero-stat-sep { display: none; }
  .hero-stat { flex: 1; min-width: 90px; }
  .chip-3, .chip-5 { display: none; }
  .pot-amount { gap: 10px; }
  .pot-num { font-size: 38px; }
  .pot-symbol { font-size: 16px; }
  .ring-wrap { width: 200px; height: 200px; }
  .ring-time { font-size: 40px; }
  .ring-time-countdown { font-size: 29px; }
  .stats-row { grid-template-columns: 1fr; }
  .winners-stats { grid-template-columns: 1fr; }
  .addr-tba { max-width: 58%; font-size: 11px; }
}
