@import url("https://fonts.googleapis.com/css2?family=Black+Ops+One&family=Orbitron:wght@700;900&family=Rajdhani:wght@500;700&display=swap");

:root {
  --bg: #000000;
  --text: #f2f5ed;
  --muted: #a8b09f;
  --panel: #0c0f0b;
  --border: #2e352b;
  --accent: #b8ff4f;
  --accent-dim: #5f7c39;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 18%, #1a1f14 0%, #080a08 48%, var(--bg) 76%),
    repeating-linear-gradient(
      -45deg,
      rgba(184, 255, 79, 0.04) 0,
      rgba(184, 255, 79, 0.04) 2px,
      transparent 2px,
      transparent 10px
    );
  color: var(--text);
  font-family: "Rajdhani", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  text-align: center;
  gap: 1.2rem;
  animation: reveal 620ms ease-out both;
}

.logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-wrap::before {
  content: "";
  position: absolute;
  width: min(360px, 78vw);
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle, rgba(184, 255, 79, 0.45) 0%, rgba(184, 255, 79, 0.2) 35%, rgba(184, 255, 79, 0) 72%);
  filter: blur(20px);
  z-index: 0;
}

.logo {
  position: relative;
  z-index: 1;
  width: min(320px, 70vw);
  height: auto;
  object-fit: contain;
  margin-bottom: 0.4rem;
  filter: drop-shadow(0 0 18px rgba(184, 255, 79, 0.22));
}

.logo-fallback {
  display: none;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0.1rem 0 0.8rem;
  font-size: clamp(2.2rem, 10vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-family: "Black Ops One", Impact, sans-serif;
  color: #f4f6f0;
  text-shadow: 0 0 14px rgba(184, 255, 79, 0.22);
}

.briefing {
  margin: -0.35rem 0 0.25rem;
  color: #d1d8c8;
  font-size: clamp(0.82rem, 2.2vw, 1rem);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  border: 1px solid rgba(184, 255, 79, 0.28);
  background: linear-gradient(90deg, rgba(184, 255, 79, 0.08), rgba(184, 255, 79, 0.02));
  padding: 0.35rem 0.7rem;
  border-radius: 0.2rem;
}

.countdown {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  max-width: 560px;
  animation: reveal 700ms 120ms ease-out both;
  overflow: hidden;
}

.countdown::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(184, 255, 79, 0.08) 0,
      rgba(184, 255, 79, 0.08) 1px,
      transparent 1px,
      transparent 5px
    );
  opacity: 0.33;
  animation: scanline 8s linear infinite;
}

.time-box {
  background: linear-gradient(180deg, #131810 0%, var(--panel) 100%);
  border: 1px solid var(--border);
  border-radius: 0.3rem;
  padding: 0.6rem 0.35rem;
  min-width: 0;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 0 1px rgba(184, 255, 79, 0.08), 0 6px 14px rgba(0, 0, 0, 0.45);
}

.time-value {
  font-size: clamp(1.5rem, 5vw, 2.3rem);
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--accent);
  line-height: 1;
  text-shadow: 0 0 12px rgba(184, 255, 79, 0.28);
}

.time-label {
  margin-top: 0.3rem;
  font-size: clamp(0.62rem, 1.7vw, 0.75rem);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.status {
  margin-top: 0.5rem;
  color: #c2ccba;
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  animation: reveal 760ms 220ms ease-out both;
}

@keyframes scanline {
  from {
    transform: translateY(-12px);
  }
  to {
    transform: translateY(12px);
  }
}

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

@media (max-width: 520px) {
  h1 {
    letter-spacing: 0.05em;
  }

  .countdown {
    gap: 0.35rem;
  }

  .briefing {
    letter-spacing: 0.09em;
    padding: 0.32rem 0.5rem;
  }

  .time-box {
    padding: 0.55rem 0.25rem;
  }

  .time-value {
    font-size: clamp(1.2rem, 5.2vw, 1.55rem);
  }

  .time-label {
    letter-spacing: 0.09em;
  }
}
