:root {
  --bg: #0b0f14;
  --bg-2: #0e141b;
  --text: #e6eef7;
  --muted: #9fb3c8;
  --accent: #00d4ff;
  --accent-2: #6a5cff;
  --accent-3: #00ffa3;
  --card: rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.08);
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* Animated background layer */
.bg-anim {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(0, 212, 255, 0.08), transparent 60%),
    radial-gradient(900px 500px at 85% 20%, rgba(106, 92, 255, 0.10), transparent 60%),
    radial-gradient(900px 600px at 30% 80%, rgba(0, 255, 163, 0.08), transparent 60%),
    linear-gradient(120deg, var(--bg) 0%, var(--bg-2) 100%);
  filter: saturate(1.1);
  pointer-events: none;
}
.bg-anim::before {
  content: "";
  position: absolute;
  inset: -20% -20%;
  background: conic-gradient(from 0deg, rgba(0,212,255,0.05), rgba(106,92,255,0.05), rgba(0,255,163,0.05), rgba(0,212,255,0.05));
  animation: spin 28s linear infinite;
}
.bg-anim::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.35;
  animation: drift 18s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes drift {
  0% { background-position: 0 0; }
  100% { background-position: 240px 240px; }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px clamp(16px, 4vw, 32px);
  background: linear-gradient(to bottom, rgba(11,15,20,0.9), rgba(11,15,20,0.4) 60%, transparent);
  backdrop-filter: blur(6px);
  z-index: 10;
}
.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--card-border);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  padding: 8px 12px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.logo {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #00161a;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 10px;
}
.brand-text { display: grid; line-height: 1; }
.brand-name { font-weight: 700; font-size: 14px; }
.brand-tag { font-size: 11px; color: var(--muted); }

.content {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: calc(64px + env(safe-area-inset-top)) 16px 120px 16px;
  position: relative;
  z-index: 1;
}
.content > * { max-width: 720px; width: min(92vw, 720px); }

.hero { text-align: center; margin: 8vh auto 18px; }
.logo-wrap {
  --size: clamp(96px, 22vw, 140px);
  width: var(--size);
  height: var(--size);
  margin: 0 auto 18px;
  border-radius: 50%;
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(255,255,255,0.18), transparent),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid var(--card-border);
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.04);
  display: grid; place-items: center;
  overflow: hidden;
}
.logo-wrap::after {
  content: "";
  position: absolute; inset: -2px;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(from 0deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 12s linear infinite;
  opacity: 0.6;
}
.logo-img {
  width: 84%; height: 84%; object-fit: contain; border-radius: 50%;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.4));
}

.title {
  text-align: center;
  font-size: clamp(28px, 5vw, 48px);
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 18px rgba(0, 212, 255, 0.25);
}
.subtitle {
  text-align: center;
  margin: 0 0 28px 0;
  color: var(--muted);
  font-size: clamp(14px, 2.6vw, 18px);
}

.progress {
  background: var(--card);
  border: 1px solid var(--card-border);
  padding: 18px;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.progress-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 10px;
}
.progress-percent { color: var(--accent); font-variant-numeric: tabular-nums; }
.progress-track {
  position: relative;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  overflow: hidden;
}
.progress-fill {
  --width: calc(var(--value, 0) * 1%);
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--width);
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  background-size: 200% 100%;
  animation: hue 6s linear infinite, stripes 1.4s linear infinite;
  border-radius: inherit;
}
.progress-fill::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(45deg, rgba(255,255,255,0.25) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0.25) 75%, transparent 75%, transparent);
  background-size: 24px 24px;
  mix-blend-mode: overlay;
  pointer-events: none;
}
@keyframes hue {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes stripes {
  0% { background-position: 0 0; }
  100% { background-position: 48px 0; }
}

.cta { margin-top: 16px; text-align: center; color: var(--muted); }

.site-footer {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 14px calc(16px + env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));
  display: grid;
  gap: 10px;
  justify-items: center;
  background: linear-gradient(to top, rgba(11,15,20,0.85), rgba(11,15,20,0.4) 60%, transparent);
  backdrop-filter: blur(6px);
}
.social { display: inline-flex; gap: 10px; }
.social-btn {
  --bg: #1f2937;
  width: 40px; height: 40px; border-radius: 999px;
  display: inline-grid; place-items: center;
  color: #fff; text-decoration: none;
  background: var(--bg);
  border: 1px solid var(--card-border);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25), inset 0 0 0 1px rgba(255,255,255,0.04);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.social-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.3); }
.social-btn span { font-size: 18px; letter-spacing: 0.5px; }
.social-btn i { font-size: 18px; line-height: 1; display: inline-block; }
.social-btn.fb { --bg: #1877F2; }
.social-btn.ig { --bg: radial-gradient(120% 120% at 20% 120%, #FEDA75, #FA7E1E 40%, #D62976 60%, #962FBF 80%, #4F5BD5); }
.social-btn.tw { --bg: #1DA1F2; }
.social-btn.ig, .social-btn.fb, .social-btn.tw { background: var(--bg); }

.copyright { color: var(--muted); }

/* Small devices */
@media (max-width: 480px) {
  .brand { padding: 6px 10px; }
  .logo { width: 32px; height: 32px; font-size: 12px; }
  .brand-name { font-size: 13px; }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .bg-anim::before, .bg-anim::after { animation: none !important; }
  .progress-fill { animation: none !important; }
}
