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

:root {
  --bg-deep: #0f0a1a;
  --accent-1: #ff6b6b;
  --accent-2: #ffd93d;
  --accent-3: #6bcb77;
  --accent-4: #4d96ff;
  --accent-5: #c77dff;
  --text: #f8f4ff;
  --text-muted: rgba(248, 244, 255, 0.65);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

/* Animated mesh background */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bg__gradient {
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 180deg at 50% 50%,
    var(--accent-4) 0deg,
    var(--accent-5) 72deg,
    var(--accent-1) 144deg,
    var(--accent-2) 216deg,
    var(--accent-3) 288deg,
    var(--accent-4) 360deg
  );
  opacity: 0.35;
  animation: spin 24s linear infinite;
  filter: blur(80px);
}

.bg__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, transparent 0%, var(--bg-deep) 70%);
}

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

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  animation: float 8s ease-in-out infinite;
}

.orb--1 {
  width: 120px;
  height: 120px;
  top: 15%;
  left: 10%;
  background: radial-gradient(circle, var(--accent-1) 0%, transparent 70%);
  animation-delay: 0s;
}

.orb--2 {
  width: 80px;
  height: 80px;
  top: 60%;
  right: 15%;
  background: radial-gradient(circle, var(--accent-3) 0%, transparent 70%);
  animation-delay: -2s;
}

.orb--3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  background: radial-gradient(circle, var(--accent-4) 0%, transparent 70%);
  animation-delay: -4s;
}

.orb--4 {
  width: 60px;
  height: 60px;
  top: 25%;
  right: 25%;
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
  animation-delay: -1s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(12px, -20px) scale(1.05);
  }
  66% {
    transform: translate(-8px, 12px) scale(0.95);
  }
}

/* Main content */
.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  text-align: center;
}

.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-4), var(--accent-3));
  background-size: 200% 200%;
  animation: shimmer 4s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--bg-deep);
}

@keyframes shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.logo__text {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo__text span {
  color: var(--accent-2);
}

.headline {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.headline__word {
  display: inline-block;
  background: linear-gradient(
    90deg,
    var(--accent-1),
    var(--accent-2),
    var(--accent-3),
    var(--accent-4)
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 6s ease infinite;
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.tagline {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}

/* Animated dots loader */
.status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.status__label {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.status__dots {
  display: flex;
  gap: 6px;
}

.status__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: bounce 1.4s ease-in-out infinite;
}

.status__dots span:nth-child(1) {
  background: var(--accent-1);
  animation-delay: 0s;
}

.status__dots span:nth-child(2) {
  background: var(--accent-2);
  animation-delay: 0.2s;
}

.status__dots span:nth-child(3) {
  background: var(--accent-3);
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  40% {
    transform: translateY(-8px);
    opacity: 1;
  }
}

.divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--glass-border),
    transparent
  );
  margin-bottom: 1.5rem;
}

.domain {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.domain a {
  color: var(--accent-4);
}

/* Decorative corner accents */
.card::before,
.card::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  opacity: 0.15;
  pointer-events: none;
}

.card {
  position: relative;
}

.card::before {
  top: -20px;
  right: -20px;
  background: var(--accent-5);
}

.card::after {
  bottom: -20px;
  left: -20px;
  background: var(--accent-2);
}

@media (max-width: 480px) {
  .card {
    padding: 2.25rem 1.5rem;
  }

  .headline {
    font-size: 1.6rem;
  }
}

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