:root {
  --bg: #09090B;
  --text: #FFFFFF;
  --muted: #A1A1AA;
  --border: #26262B;
  --accent: #5B8CFF;
  --accent-2: #7C5CFF;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  width: 900px;
  height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(45% 55% at 50% 20%, rgba(91, 140, 255, 0.10), transparent 70%),
              radial-gradient(35% 45% at 65% 10%, rgba(124, 92, 255, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  position: relative;
  z-index: 1;
}

.content {
  max-width: 560px;
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.9s var(--ease) forwards;
}

.logo {
  height: 40px;
  width: auto;
  margin: 0 auto 48px;
  filter: drop-shadow(0 6px 18px rgba(91, 140, 255, 0.18));
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.subtext {
  margin: 0 auto 32px;
  max-width: 420px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.loader {
  width: 220px;
  height: 3px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
  position: relative;
}

.loader-track {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 34%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  animation: loader-slide 1.8s ease-in-out infinite alternate;
}

@keyframes loader-slide {
  from {
    left: -6%;
  }
  to {
    left: 72%;
  }
}

.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 28px 24px 32px;
  font-size: 13px;
  color: var(--muted);
}

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

@media (prefers-reduced-motion: reduce) {
  .content {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .loader-track {
    animation: none;
    left: 0;
    width: 100%;
    opacity: 0.4;
  }
}

@media (max-width: 480px) {
  .logo {
    height: 32px;
    margin-bottom: 36px;
  }
}