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

:root {
  --bg: #0d0d10;
  --bg2: #13131a;
  --border: rgba(255,255,255,0.07);
  --accent: #a78bfa;
  --accent2: #818cf8;
  --muted: #7b7b96;
  --white: #ffffff;
}

html, body {
  height: 100%;
  font-family: 'Sora', sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow: hidden;
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bg-layer::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(129,140,248,0.12) 0%, transparent 65%);
  animation: breathe 8s ease-in-out infinite;
}

.bg-layer::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(167,139,250,0.07) 0%, transparent 70%);
  animation: breathe 10s ease-in-out infinite reverse;
}

@keyframes breathe {
  0%, 100% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translateX(-50%) scale(1.08);
  }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  animation: floatOrb linear infinite;
}

.orb-1 {
  width: 280px;
  height: 280px;
  background: rgba(167,139,250,0.12);
  top: 15%;
  left: 8%;
  animation-duration: 18s;
  animation-delay: 0s;
}

.orb-2 {
  width: 200px;
  height: 200px;
  background: rgba(129,140,248,0.10);
  top: 60%;
  right: 10%;
  animation-duration: 22s;
  animation-delay: -6s;
}

.orb-3 {
  width: 160px;
  height: 160px;
  background: rgba(196,181,253,0.08);
  bottom: 20%;
  left: 30%;
  animation-duration: 26s;
  animation-delay: -12s;
}

@keyframes floatOrb {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-30px) scale(1.1);
  }
}

.grid-lines {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(167,139,250,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167,139,250,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 52px;
  opacity: 0;
  animation: fadeUp 0.7s 0.1s ease forwards;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 0 24px rgba(167,139,250,0.3);
}

.logo-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}

.logo-name span {
  color: var(--accent);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(167,139,250,0.10);
  border: 1px solid rgba(167,139,250,0.25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s ease forwards;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 8px var(--accent);
  }
  50% {
    opacity: 0.4;
    box-shadow: 0 0 3px var(--accent);
  }
}

h1 {
  font-size: clamp(52px, 9vw, 96px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 0.7s 0.3s ease forwards;
}

h1 .gradient {
  background: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 40%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sub-headline {
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 400;
  color: var(--muted);
  line-height: 1.75;
  max-width: 480px;
  margin: 20px auto 48px;
  opacity: 0;
  animation: fadeUp 0.7s 0.4s ease forwards;
}

.sub-headline strong {
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  background: #5865f2;
  border: none;
  padding: 15px 34px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 0 40px rgba(88,101,242,0.35);
  transition: all 0.25s;
  opacity: 0;
  animation: fadeUp 0.7s 0.5s ease forwards;
  position: relative;
  overflow: hidden;
}

.discord-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.discord-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 60px rgba(88,101,242,0.55);
}

.discord-btn:hover::before {
  opacity: 1;
}

.discord-btn svg {
  flex-shrink: 0;
}

.hint {
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp 0.7s 0.6s ease forwards;
}

.hint span {
  color: rgba(167,139,250,0.7);
}

.divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.1), transparent);
  margin: 48px auto 0;
  opacity: 0;
  animation: fadeUp 0.7s 0.7s ease forwards;
}

.features-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
  opacity: 0;
  animation: fadeUp 0.7s 0.8s ease forwards;
}

.feat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 100px;
  transition: all 0.2s;
}

.feat-pill:hover {
  color: var(--white);
  border-color: rgba(167,139,250,0.2);
  background: rgba(167,139,250,0.07);
}

.feat-pill svg {
  color: var(--accent);
  opacity: 0.8;
}

.footer-note {
  position: fixed;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadeUp 0.7s 1s ease forwards;
}

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

@media (max-width: 480px) {
  h1 {
    letter-spacing: -0.03em;
  }
  .features-row {
    gap: 8px;
  }
  .feat-pill {
    font-size: 11px;
    padding: 6px 12px;
  }
}
