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

:root {
  --bg:        #191a1f;
  --blue-600:  #2563eb;
  --blue-500:  #3b82f6;
  --blue-900:  #1e3a8a;
  --blue-rgb:  37, 99, 235;
  --cyan:      #22d3ee;
  --cyan-rgb:  34, 211, 238;
  --discord:   #5865f2;
}

html { scroll-behavior: smooth; }

body {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background-color: var(--bg);
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

::selection { background: rgba(var(--blue-rgb), 0.3); color: white; }

.backdrop {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2;
  background:
    radial-gradient(900px 520px at 52% 22%, rgba(var(--blue-rgb), 0.3) 0%, rgba(18, 14, 26, 0) 62%),
    radial-gradient(760px 520px at 12% 88%, rgba(var(--blue-rgb), 0.16) 0%, rgba(10, 10, 10, 0) 58%),
    radial-gradient(820px 520px at 92% 78%, rgba(var(--cyan-rgb), 0.1) 0%, rgba(0, 0, 0, 0) 60%),
    linear-gradient(180deg, rgba(18, 14, 26, 0.92) 0%, rgba(12, 10, 16, 0.95) 35%, rgba(10, 10, 10, 0.985) 100%);
  pointer-events: none;
}

.backdrop::before {
  content: '';
  position: absolute; inset: -30%;
  background: conic-gradient(
    from 180deg at 50% 50%,
    rgba(var(--blue-rgb), 0.1) 0deg,
    rgba(0, 0, 0, 0) 70deg,
    rgba(var(--cyan-rgb), 0.06) 140deg,
    rgba(0, 0, 0, 0) 230deg,
    rgba(var(--blue-rgb), 0.08) 360deg
  );
  filter: blur(18px); opacity: 0.75;
  animation: spin 28s linear infinite;
  pointer-events: none;
}

.backdrop::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 50% 35%, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0) 58%),
    radial-gradient(900px 520px at 50% 70%, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 60%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 18%, rgba(0, 0, 0, 0) 82%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

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

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

.particle {
  position: absolute; width: 2px; height: 2px;
  background: rgba(var(--blue-rgb), 0.4);
  border-radius: 50%;
  animation: drift linear infinite;
}

@keyframes drift {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.stage {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 2rem; max-width: 680px;
  width: 100%; position: relative; z-index: 1;
}

.logo-wrap {
  position: relative; display: inline-block; margin-bottom: 2rem;
  animation: pop 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0;
}

.logo-wrap::before {
  content: '';
  position: absolute; inset: -20px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--blue-rgb), 0.2) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

.logo {
  width: 120px; height: 120px; border-radius: 50%; position: relative;
  border: 2px solid rgba(var(--blue-rgb), 0.3);
  box-shadow:
    0 0 40px rgba(var(--blue-rgb), 0.15),
    0 8px 32px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0.45, 1), box-shadow 0.4s ease;
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.logo:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 60px rgba(var(--blue-rgb), 0.25),
    0 12px 40px rgba(0, 0, 0, 0.5);
}

@keyframes pulse {
  0%, 100% { transform: scale(1);    opacity: 0.5; }
  50%      { transform: scale(1.15); opacity: 0.8; }
}

h1 {
  font-family: Poppins, Inter, system-ui, sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 1rem;
  animation: rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards; opacity: 0;
}

.title-plain {
  background: linear-gradient(95deg, rgba(255,255,255,1) 0%, rgba(245,242,255,0.98) 28%, rgba(193,176,255,0.92) 56%, rgba(255,255,255,1) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; text-shadow: none;
}

.title-accent {
  background: linear-gradient(135deg, var(--blue-500), var(--cyan));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(var(--blue-rgb), 0.3));
}

.lede {
  font-size: 1.1rem; line-height: 1.7; color: #8997ab;
  max-width: 460px; margin: 0 auto 2.5rem;
  animation: rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards; opacity: 0;
}

.actions {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
  animation: rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards; opacity: 0;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 980px; font-size: 0.9rem;
  font-weight: 700; font-family: Inter, system-ui, sans-serif;
  text-decoration: none; cursor: pointer; border: none;
  transition: all 0.3s cubic-bezier(0.32, 0.72, 0.45, 1);
}

.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-discord {
  background: var(--discord); color: white;
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.35);
}

.btn-discord:hover {
  background: #6d78f7; transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.45);
}

.btn-discord:active { transform: scale(0.98); }

.meta {
  margin-top: 2.5rem;
  animation: rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards; opacity: 0;
}

.meta-value {
  font-family: Poppins, Inter, system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--blue-500);
}

.meta-label {
  font-size: 0.65rem; text-transform: uppercase;
  letter-spacing: 0.15em; color: #555b6e; margin-top: 4px;
}

.footer {
  width: 100%; text-align: center; padding-bottom: 1.5rem;
  margin-top: 3rem; font-size: 0.7rem; color: #3a3f4b;
  letter-spacing: 0.08em; position: relative; z-index: 1;
  animation: rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards; opacity: 0;
}

@keyframes pop {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

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

@media (max-width: 480px) {
  .stage   { padding: 1.5rem; }
  .actions { flex-direction: column; align-items: center; }
  .btn     { width: 100%; max-width: 280px; justify-content: center; }
  .meta    { gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .logo-wrap, h1, .lede, .actions, .meta, .footer { opacity: 1; }
  .particles { display: none; }
}
