/* Modern Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-color: #0c0c0c;
  --text-primary: #f0f0f0;
  --text-secondary: #94a3b8;
  --text-muted: #555555;
  
  /* Aurora Colors */
  --purple-glow: rgba(168, 85, 247, 0.35);
  --orange-glow: rgba(255, 107, 53, 0.25);
  --magenta-glow: rgba(236, 72, 153, 0.2);
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient Aurora Background */
.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  background-color: var(--bg-color);
}

/* Dynamic Glowing Blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  mix-blend-mode: screen;
  opacity: 0.6;
}

.blob-1 {
  top: 15%;
  left: 10%;
  width: clamp(300px, 45vw, 600px);
  height: clamp(300px, 45vw, 600px);
  background: radial-gradient(circle, var(--purple-glow) 0%, rgba(168, 85, 247, 0) 70%);
  animation: float-left 25s infinite ease-in-out alternate;
}

.blob-2 {
  bottom: 10%;
  right: 10%;
  width: clamp(350px, 50vw, 700px);
  height: clamp(350px, 50vw, 700px);
  background: radial-gradient(circle, var(--orange-glow) 0%, rgba(255, 107, 53, 0) 70%);
  animation: float-right 30s infinite ease-in-out alternate;
}

.blob-3 {
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(280px, 40vw, 550px);
  height: clamp(280px, 40vw, 550px);
  background: radial-gradient(circle, var(--magenta-glow) 0%, rgba(236, 72, 153, 0) 70%);
  animation: float-center 20s infinite ease-in-out alternate;
}

/* Background Morphing Keyframes */
@keyframes float-left {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(12%, 18%) scale(1.15);
  }
  100% {
    transform: translate(-8%, -5%) scale(0.9);
  }
}

@keyframes float-right {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-15%, -10%) scale(1.2);
  }
  100% {
    transform: translate(5%, 15%) scale(0.95);
  }
}

@keyframes float-center {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-35%, -65%) scale(1.1);
  }
  100% {
    transform: translate(-60%, -40%) scale(0.85);
  }
}

/* Content Container & Layout */
.content-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

/* Staggered Entry Animations */
.status-badge,
.logo-wrapper,
.main-title,
.subtitle,
.footer-info {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.status-badge { animation-delay: 0.1s; }
.logo-wrapper  { animation-delay: 0.25s; }
.main-title    { animation-delay: 0.4s; }
.subtitle      { animation-delay: 0.55s; }
.footer-info   { animation-delay: 0.75s; }

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Status Pill Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.status-badge:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: dot-pulse 2s infinite;
}

@keyframes dot-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Logo Design */
.logo-wrapper {
  margin-bottom: 2rem;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(168, 85, 247, 0.25);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-wrapper:hover .app-logo {
  transform: rotate(-3deg) scale(1.06);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 50px rgba(255, 107, 53, 0.4);
}

/* Headline / Title */
.main-title {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: clamp(2.2rem, 7vw, 3.75rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.gradient-text {
  font-weight: 700;
  background: linear-gradient(135deg, #a855f7 10%, #ff6b35 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: gradient-flow 8s infinite alternate ease-in-out;
}

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

/* Subtitle */
.subtitle {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 3.5rem;
  letter-spacing: 0.01em;
}

/* Footer Copyright */
.footer-info {
  font-family: 'Space Mono', monospace;
  font-size: 0.687rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: absolute;
  bottom: -4rem; /* Safe margins offset by container padding */
}

/* Responsive adjust for shorter viewports */
@media (max-height: 500px) {
  body {
    overflow-y: auto;
    align-items: flex-start;
  }
  .content-container {
    padding: 3.5rem 2rem 5rem 2rem;
  }
  .footer-info {
    position: static;
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  .content-container {
    padding: 1.5rem;
  }
  .footer-info {
    position: static;
    margin-top: 3.5rem;
  }
}
