@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;900&family=Inter:wght@300;400&display=swap');

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

html, body {
  height: 100%;
    font-family: 'Inter', sans-serif;
}

body {
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  color: #555;
}
footer {
  display: flex;
  position: fixed;
  width: 100%;
  bottom: 0px;
  padding: 20px 0px;
  justify-content: center;
}

a {
  color: #e61e1e;
  letter-spacing: 0.05em;
  text-decoration: none;
  &:hover {
    text-decoration: underline;
  }
}

.nd-root {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 3rem 2rem;
  text-align: center;
}

.nd-root::before {
  content: '';
  position: fixed;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 30, 30, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.nd-logo {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.35em;
  color: #e61e1e;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.nd-title {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 44px;
  color: #ffffff;
  letter-spacing: 0.1em;
  margin-bottom: 3rem;
}

.nd-countdown {
  display: flex;
  align-items: flex-end;
  gap: 0;
}

.nd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
}

.nd-number {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: 72px;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.nd-number.urgent {
  color: #e61e1e;
}

.nd-label {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #555;
  text-transform: uppercase;
  margin-top: 10px;
}

.nd-sep {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 56px;
  color: #e61e1e;
  line-height: 1;
  padding: 0 6px;
  padding-bottom: 22px;
  opacity: 0.75;
}

.nd-footer {
  margin-top: 3rem;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #444;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nd-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e61e1e;
  flex-shrink: 0;
  animation: blink 1.2s ease-in-out infinite;
}

.nd-dot.inactive {
  background: #444;
  animation: none;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.15; }
}

/* Responsive */
@media (max-width: 480px) {
  .nd-number { font-size: 48px; }
  .nd-unit   { min-width: 60px; }
  .nd-sep    { font-size: 38px; padding-bottom: 16px; }
}
