:root {
  --bg: #050508;
  --panel: rgba(12, 12, 16, 0.72);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --red: #e11d2e;
  --red-soft: rgba(225, 29, 46, 0.14);
  --glow: rgba(225, 29, 46, 0.35);
  --ok: #34d399;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 45% at 50% -10%, rgba(225, 29, 46, 0.18), transparent 55%),
    radial-gradient(ellipse 40% 30% at 100% 80%, rgba(225, 29, 46, 0.08), transparent 50%),
    linear-gradient(rgba(225, 29, 46, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225, 29, 46, 0.06) 1px, transparent 1px),
    #000;
  background-size: auto, auto, 40px 40px, 40px 40px, auto;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #7a1020, var(--red));
  box-shadow: 0 0 24px var(--glow);
  font-size: 0.85rem;
  font-weight: 900;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a:hover {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 10px;
  padding: 0.7rem 1.1rem;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: 0.18s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 24px rgba(225, 29, 46, 0.28);
}

.btn-primary:hover {
  background: #ff2d4a;
}

.btn-ghost {
  border-color: rgba(225, 29, 46, 0.45);
  background: transparent;
  color: #fff;
}

.btn-ghost:hover {
  background: var(--red-soft);
}

.hero {
  padding: 4.5rem 0 3rem;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(225, 29, 46, 0.4);
  background: var(--red-soft);
  color: #ff7b88;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin: 0 auto 1rem;
}

h1 span {
  background: linear-gradient(90deg, #c41e3a, #ff2d4a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto 1.6rem;
  font-size: 1.05rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  padding: 1rem 0 3rem;
}

.card {
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.25rem;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--red-soft);
  border: 1px solid rgba(225, 29, 46, 0.25);
  margin-bottom: 0.9rem;
  font-size: 1rem;
}

.panel {
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 1.4rem;
  margin-bottom: 3rem;
}

.panel h2 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.panel > p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.stat {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.9rem;
}

.stat strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.15rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.78rem;
}

.status-box {
  margin-top: 1rem;
  border: 1px solid rgba(52, 211, 153, 0.25);
  background: rgba(52, 211, 153, 0.08);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  color: #a7f3d0;
  white-space: pre-wrap;
  word-break: break-word;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 1.6rem 0 2.2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer b {
  color: #d4d4d8;
}

@media (max-width: 860px) {
  .grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .nav-links a:not(.btn) {
    display: none;
  }
}
