:root {
  --bg: #050505;
  --bg-soft: #0d0d0d;
  --red: #e10600;
  --red-bright: #ff1a1a;
  --red-glow: rgba(225, 6, 0, 0.45);
  --text: #f5f5f5;
  --muted: #8a8a8a;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Animated background */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bg-gradient {
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(225, 6, 0, 0.15), transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(225, 6, 0, 0.08), transparent 45%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(225, 6, 0, 0.12), transparent 40%);
  animation: drift 20s ease-in-out infinite alternate;
}

@keyframes drift {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-3%, -2%) rotate(2deg); }
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(225, 6, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225, 6, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.1) 2px,
    rgba(0, 0, 0, 0.1) 4px
  );
  pointer-events: none;
  opacity: 0.3;
}

/* Particles */
.particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--red-glow);
  animation: float linear infinite;
  opacity: 0;
}

@keyframes float {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% { opacity: 0.8; }
  90% { opacity: 0.3; }
  100% {
    transform: translateY(-100px) scale(1);
    opacity: 0;
  }
}

/* Content */
.container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  max-width: 720px;
  animation: fadeUp 1.2s ease-out;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border: 1px solid rgba(225, 6, 0, 0.5);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 2rem;
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(225, 6, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 30px 5px rgba(225, 6, 0, 0.15);
  }
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, #fff 40%, var(--red-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
}

h1 .dot {
  color: var(--red-bright);
  -webkit-text-fill-color: var(--red-bright);
  animation: blink 2s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0.3; }
}

.subtitle {
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  animation: fadeUp 1.2s ease-out 0.2s both;
}

.line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  margin: 0 auto 2.5rem;
  border-radius: 2px;
  animation: lineGrow 1.5s ease-out 0.4s both, lineGlow 2s ease-in-out 2s infinite;
}

@keyframes lineGrow {
  from { width: 0; opacity: 0; }
  to { width: 80px; opacity: 1; }
}

@keyframes lineGlow {
  0%, 100% { box-shadow: 0 0 10px var(--red-glow); }
  50% { box-shadow: 0 0 25px var(--red-glow); }
}

.status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
  animation: fadeUp 1.2s ease-out 0.6s both;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--red-glow);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.footer {
  position: fixed;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.75rem;
  color: #444;
  z-index: 1;
  animation: fadeUp 1.2s ease-out 0.8s both;
}

/* Corner accents */
.corner {
  position: fixed;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(225, 6, 0, 0.2);
  z-index: 0;
}

.corner-tl { top: 2rem; left: 2rem; border-right: none; border-bottom: none; }
.corner-br { bottom: 2rem; right: 2rem; border-left: none; border-top: none; }

@media (max-width: 600px) {
  .corner { width: 60px; height: 60px; }
  .corner-tl { top: 1rem; left: 1rem; }
  .corner-br { bottom: 1rem; right: 1rem; }
}
