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

:root {
  --bg-base: #0d1117;
  --bg-surface: #161b22;
  --bg-elevated: #1c2128;
  --primary: #e8b84b;
  --primary-hover: #f5cb6a;
  --text-primary: #f0ede6;
  --text-secondary: #8b949e;
  --text-muted: #6e7681;
  --border: #30363d;
  --active: #3dd68c;
  --upcoming: #f0a030;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(232, 184, 75, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(61, 214, 140, 0.06), transparent);
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem 3rem;
  text-align: center;
}

.radar-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 2rem;
}

.radar-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
}

.radar-ring:nth-child(2) {
  inset: 18px;
}

.radar-ring:nth-child(3) {
  inset: 36px;
}

.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 280deg,
    rgba(232, 184, 75, 0.35) 310deg,
    rgba(232, 184, 75, 0.08) 360deg
  );
  animation: sweep 4s linear infinite;
}

.radar-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(232, 184, 75, 0.6);
}

.radar-blip {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--active);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(61, 214, 140, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

.radar-blip:nth-child(6) {
  top: 28%;
  left: 62%;
  animation-delay: 0.3s;
}

.radar-blip:nth-child(7) {
  top: 58%;
  left: 32%;
  animation-delay: 0.8s;
}

.radar-blip:nth-child(8) {
  top: 42%;
  left: 78%;
  animation-delay: 1.2s;
}

@keyframes sweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

.logo {
  font-size: clamp(2rem, 8vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.logo span {
  color: var(--primary);
}

.tagline {
  font-size: clamp(1.05rem, 4vw, 1.25rem);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.subtext {
  max-width: 28rem;
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.markets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.chip {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.chip--live {
  color: var(--bg-base);
  background: var(--primary);
  border-color: var(--primary);
}

.status-card {
  width: 100%;
  max-width: 22rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.status-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--upcoming);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.status-label {
  color: var(--text-primary);
  font-weight: 600;
}

.footer {
  margin-top: auto;
  padding-top: 3rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer a:hover {
  color: var(--primary-hover);
}

@media (min-width: 480px) {
  .radar-wrap {
    width: 140px;
    height: 140px;
  }
}
