:root {
  --bg: #0a0a0f;
  --bg-soft: #11111a;
  --card: rgba(20, 20, 30, 0.6);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f5f7;
  --muted: #8a8a98;
  --accent: #b4ff39;
  --accent-glow: rgba(180, 255, 57, 0.45);
  --accent-dark: #0a0a0f;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: 'Space Grotesk', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Background --- */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, black 40%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  filter: blur(80px);
  opacity: 0.25;
  z-index: 0;
  pointer-events: none;
}

/* --- Nav --- */
.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 14px rgba(180, 255, 57, 0.25);
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 14px;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

/* --- Hero --- */
.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 60px;
  gap: 28px;
}

.card {
  width: 100%;
  max-width: 640px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 30px 80px -30px rgba(0, 0, 0, 0.6);
}

.avatar-wrap {
  position: relative;
  width: 116px;
  height: 116px;
  margin: 0 auto 24px;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(180, 255, 57, 0.5);
  box-shadow:
    0 0 0 6px rgba(180, 255, 57, 0.08),
    0 20px 50px -15px rgba(180, 255, 57, 0.45);
  position: relative;
  z-index: 1;
  animation: float 5s ease-in-out infinite;
}

.avatar-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px dashed rgba(180, 255, 57, 0.35);
  animation: spin 18s linear infinite;
  pointer-events: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(180, 255, 57, 0.08);
  border: 1px solid rgba(180, 255, 57, 0.25);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 28px;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(180, 255, 57, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(180, 255, 57, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(180, 255, 57, 0);
  }
}

.title {
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.accent {
  color: var(--accent);
  text-shadow: 0 0 30px var(--accent-glow);
}

.subtitle {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  max-width: 460px;
  margin: 0 auto 36px;
}

.ticker {
  color: var(--text);
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95em;
}

/* --- Button --- */
.claim-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 360px;
  padding: 18px 28px;
  border: none;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-dark);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.25s ease, background 0.2s ease;
  box-shadow:
    0 10px 30px -10px var(--accent-glow),
    0 0 0 1px rgba(180, 255, 57, 0.4) inset;
  overflow: hidden;
}

.claim-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.claim-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px -10px var(--accent-glow),
    0 0 0 1px rgba(180, 255, 57, 0.6) inset;
}

.claim-btn:hover::before {
  transform: translateX(100%);
}

.claim-btn:active {
  transform: translateY(0);
}

.claim-btn .claim-arrow {
  transition: transform 0.2s ease;
}

.claim-btn:hover .claim-arrow {
  transform: translateX(4px);
}

.claim-btn.loading {
  background: rgba(180, 255, 57, 0.6);
  cursor: wait;
}

.claim-btn.success {
  background: #ff5a5a;
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(255, 90, 90, 0.5);
}

/* --- Meta --- */
.meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 80px;
}

.meta-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: 'JetBrains Mono', monospace;
}

.meta-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.status-live {
  color: var(--accent);
}

.meta-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
}

/* --- Links --- */
.links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.link-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

/* --- Footer --- */
.footer {
  position: relative;
  z-index: 1;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer .dot {
  opacity: 0.5;
}

/* --- Mobile --- */
@media (max-width: 560px) {
  .nav {
    padding: 20px;
  }
  .card {
    padding: 36px 24px;
    border-radius: 20px;
  }
  .avatar-wrap {
    width: 96px;
    height: 96px;
  }
  .meta {
    gap: 12px;
  }
  .meta-divider {
    display: none;
  }
}
