* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0A0A0A;
  color: #FAFAFA;
}

.page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 48px;
}

.hero {
  height: 68vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 50%, #0F1922 0%, #0A0A0A 60%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  pointer-events: none;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0, 255, 163, 0.04) 0%, transparent 70%);
  top: -400px; right: -200px;
  animation: float 20s ease-in-out infinite;
}
@keyframes float { 0%,100%{ transform: translateY(0) rotate(0deg);} 50%{ transform: translateY(30px) rotate(10deg);} }

.main-logo { width: 200px; height: 200px; margin-bottom: 28px; filter: drop-shadow(0 0 6px rgba(0, 255, 163, 0.35)); animation: logoEntry 1s cubic-bezier(0.16, 1, 0.3, 1), logoFloat 8s ease-in-out infinite 1.2s, glowPulse 3.6s ease-in-out infinite; }
@keyframes logoEntry { from { opacity: 0; transform: translateY(30px) scale(0.92);} to { opacity: 1; transform: translateY(0) scale(1);} }

.title {
  font-size: 16px;
  letter-spacing: 3px;
  color: #E5E7EB;
  font-weight: 500;
  text-align: center;
}
.hash { color: #9CA3AF; }

.cta { display: flex; gap: 18px; margin-top: 26px; align-items: center; }
.btn {
  padding: 12px 28px;
  background: linear-gradient(135deg, #00FFA3 0%, #00D9FF 100%);
  border: none; border-radius: 12px;
  color: #0A0A0A; font-size: 14px; font-weight: 600; letter-spacing: .5px;
  cursor: pointer; transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
  touch-action: manipulation;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,255,163,.3); }
.btn:active { transform: translateY(0); }

.links { display: flex; gap: 14px; }
.link { color: #00D9FF; text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }

.fundraising { display: flex; justify-content: center; padding: 0 20px 48px; }
.card { width: 100%; max-width: 860px; background: linear-gradient(180deg, #0E0E0E 0%, #0A0A0A 100%); border: 1px solid #1F2937; border-radius: 20px; padding: 24px; box-shadow: 0 20px 45px rgba(0,0,0,.35); }
.card-header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card-header h2 { font-size: 20px; font-weight: 700; }
.sub { color: #9CA3AF; }

.progress-wrap { margin-top: 18px; margin-bottom: 12px; }
.progress-bar { position: relative; width: 100%; height: 16px; background: #111827; border-radius: 12px; overflow: hidden; }
.progress-bar::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: var(--progress, 0%); background: linear-gradient(135deg, #00FFA3 0%, #00D9FF 100%); transition: width .3s ease; z-index: 0; }
.progress-label { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 12px; color: #0A0A0A; background: rgba(250,250,250,.85); border-radius: 8px; padding: 2px 8px; z-index: 1; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 10px; }
.stat { background: #0D0D0D; border: 1px solid #1F2937; border-radius: 12px; padding: 14px; }
.k { color: #9CA3AF; font-size: 12px; margin-bottom: 6px; }
.v { font-size: 16px; font-weight: 700; }
.addr a { color: #00D9FF; }

.disclaimer { color: #6B7280; font-size: 12px; margin-top: 10px; }

@media (max-width: 768px) {
  .main-logo { width: 160px; height: 160px; }
  .hero { height: 64vh; }
  .stats { grid-template-columns: 1fr; }
  .card-header { flex-direction: column; align-items: flex-start; }
  .cta { flex-wrap: wrap; }
}
@keyframes logoFloat { 0% { transform: translateY(0); } 50% { transform: translateY(6px); } 100% { transform: translateY(0); } }
.flame { transform-box: fill-box; transform-origin: 50% 0%; animation: flameFlicker 900ms ease-in-out infinite; }
.mark402 { animation: textHue 4s ease-in-out infinite; }
@keyframes glowPulse { 0% { filter: drop-shadow(0 0 6px rgba(0, 255, 163, 0.25)); } 50% { filter: drop-shadow(0 0 18px rgba(0, 217, 255, 0.45)); } 100% { filter: drop-shadow(0 0 6px rgba(0, 255, 163, 0.25)); } }
@keyframes flameFlicker { 0% { opacity: 0.5; transform: scaleY(1); } 50% { opacity: 0.9; transform: scaleY(1.2); } 100% { opacity: 0.6; transform: scaleY(1); } }
@keyframes textHue { 0% { fill: #00FFA3; } 50% { fill: #00D9FF; } 100% { fill: #00FFA3; } }
@media (prefers-reduced-motion: reduce) { .main-logo, .flame, .mark402 { animation: none !important; } }
.toast { margin-left: 8px; background: #0D0D0D; border: 1px solid #1F2937; color: #9CA3AF; padding: 8px 12px; border-radius: 10px; font-size: 12px; }
.toast.ok { color: #00FFA3; border-color: #00FFA3; }
.toast.warn { color: #F59E0B; border-color: #F59E0B; }
.toast.err { color: #EF4444; border-color: #EF4444; }
@media (max-width: 480px) {
  .cta { flex-direction: column; gap: 12px; }
  .btn { width: 100%; }
}
