:root {
  --bg: #0f1c1f;
  --panel: #162428;
  --accent: #37d1a3;
  --text: #eef2f5;
  --muted: #9fb1b5;
}

* {
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, #1d343a, #0f1c1f);
  color: var(--text);
}

.gate {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6, 12, 14, 0.9);
  z-index: 1000;
  padding: 24px;
  text-align: center;
}

.gate.active {
  display: flex;
}

.gate-card {
  background: #132226;
  border: 1px solid #27424a;
  padding: 24px;
  border-radius: 16px;
  max-width: 420px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.app {
  max-width: 920px;
  margin: 0 auto;
  padding: 24px;
}

header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.brand {
  font-size: 24px;
  font-weight: 700;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav button {
  background: transparent;
  border: 1px solid var(--muted);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.panel {
  display: none;
  background: var(--panel);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.panel.active {
  display: block;
}

.card {
  display: grid;
  gap: 10px;
  background: #1b2b30;
  padding: 14px;
  border-radius: 12px;
  margin-bottom: 14px;
}

label {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

input, select {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #2e454c;
  background: #0c171a;
  color: var(--text);
}

button {
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  background: var(--accent);
  color: #082017;
  font-weight: 600;
  cursor: pointer;
}

button.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--muted);
}

.list {
  display: grid;
  gap: 10px;
}

.list-item {
  background: #1b2b30;
  padding: 12px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.list-item small {
  color: var(--muted);
}

.status {
  margin: 10px 0;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .app {
    padding: 16px;
  }
}

body.gated .app {
  filter: blur(4px);
  pointer-events: none;
  user-select: none;
}
