@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #12151c;
  --bg-elevated: #181c26;
  --card: #1a1f2b;
  --foreground: #f5f7fa;
  --muted: #8b95a8;
  --primary: #f59e0b;
  --primary-hover: #fbbf24;
  --primary-glow: rgba(245, 158, 11, 0.35);
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.22);
  --border: rgba(255, 255, 255, 0.08);
  --font: 'Oxanium', ui-sans-serif, system-ui, sans-serif;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--foreground);
  background: var(--bg);
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 clamp(16px, 4vw, 24px);
  border-bottom: 1px solid var(--border);
  background: rgba(18, 21, 28, 0.82);
  backdrop-filter: blur(12px);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-icon { height: 32px; width: auto; }

.logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 999px;
}

.header-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Hero */
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 48px);
  padding: clamp(32px, 6vw, 64px) clamp(20px, 5vw, 48px);
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-brand {
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: clamp(24px, 4vw, 40px);
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.72) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.08));
}

.hero-line {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--foreground);
  margin-bottom: 12px;
}

.hero-line--accent {
  color: var(--primary);
  text-shadow: 0 0 32px var(--primary-glow);
}

.hero-line--muted {
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
  max-width: 520px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.hero-line .highlight {
  color: var(--primary);
  font-weight: 700;
}

.hero-actions { margin-top: 4px; }

/* DeFi button */
.interact-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 28px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0c0e14;
  background: linear-gradient(135deg, var(--primary) 0%, #fb923c 55%, #f59e0b 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 0 0 1px rgba(245, 158, 11, 0.15),
    0 0 40px var(--primary-glow),
    0 12px 32px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.btn-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease);
  pointer-events: none;
}

.btn-label { position: relative; z-index: 1; }

.btn-arrow-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: rgba(12, 14, 20, 0.15);
  transition: transform 0.25s, background 0.25s;
}

.interact-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(245, 158, 11, 0.25),
    0 0 56px rgba(245, 158, 11, 0.45),
    0 18px 40px rgba(0, 0, 0, 0.4);
}

.interact-button:hover .btn-glow { opacity: 0.8; }
.interact-button:hover .btn-shine { transform: translateX(120%); }
.interact-button:hover .btn-arrow-wrap {
  transform: translateX(3px);
  background: rgba(12, 14, 20, 0.22);
}

/* Visual panel */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(320px, 45vw, 520px);
}

.coin-ring {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coin-ring__glow {
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--emerald-glow) 0%, transparent 65%);
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.coin-ring__svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(16, 185, 129, 0.22));
  animation: coinFloat 6s ease-in-out infinite;
}

@keyframes coinFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

.coin-ring__label {
  position: absolute;
  bottom: -8%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-top: 1px solid var(--border);
  background: var(--border);
}

.stat {
  padding: 20px clamp(16px, 3vw, 28px);
  background: var(--bg);
  text-align: center;
}

.stat__value {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer {
  padding: 24px clamp(20px, 5vw, 48px);
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy { align-items: center; }

  .hero-line--muted { margin-inline: auto; }

  .hero-visual { order: -1; min-height: 280px; }

  .coin-ring { width: min(280px, 80vw); }

  .stats { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .header-badge { display: none; }
  .site-header { height: 64px; }
  .logo-icon { height: 26px; }
}
