:root {
  --navy: #0b1220;
  --navy-2: #121c31;
  --panel: rgba(12, 20, 36, 0.88);
  --gold: #c9a227;
  --gold-soft: #e0c56a;
  --ink: #e8eef8;
  --muted: #8a97ad;
  --danger: #c45c4a;
  --line: rgba(201, 162, 39, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Rajdhani", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 50% -10%, #1c2d4f 0%, transparent 55%),
    linear-gradient(180deg, #08101c 0%, var(--navy) 40%, #070b14 100%);
  overflow: hidden;
}

.scanlines,
.grid {
  pointer-events: none;
  position: fixed;
  inset: 0;
}

.scanlines {
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.03) 0px,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 2px,
    transparent 4px
  );
  z-index: 2;
}

.grid {
  background-image:
    linear-gradient(rgba(201, 162, 39, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 162, 39, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.top-bar,
.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 22px;
  font-family: "Share Tech Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold-soft);
  background: rgba(6, 10, 18, 0.85);
  border-color: var(--line);
}

.top-bar {
  top: 0;
  border-bottom: 1px solid var(--line);
}

.bottom-bar {
  bottom: 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.22em;
}

.classif {
  color: #111;
  background: var(--gold);
  padding: 3px 8px;
  font-weight: 700;
}

.top-meta {
  opacity: 0.85;
}

.stage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 88px 20px;
  position: relative;
  z-index: 1;
}

.hero {
  text-align: center;
  margin-bottom: 28px;
}

.seal {
  width: 92px;
  height: 92px;
  filter: drop-shadow(0 0 16px rgba(201, 162, 39, 0.35));
}

.seal-text {
  fill: var(--gold);
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  letter-spacing: 3px;
}

.bureau {
  margin: 12px 0 4px;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.42em;
  font-size: 12px;
  color: var(--gold);
}

h1 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tagline {
  margin: 6px 0 0;
  color: var(--muted);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 13px;
}

.panel {
  width: min(420px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 28px 28px 22px;
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-family: "Share Tech Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold-soft);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

label {
  display: block;
  margin: 0 0 8px;
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

input {
  width: 100%;
  height: 46px;
  margin-bottom: 18px;
  padding: 0 14px;
  color: var(--ink);
  background: #0a1220;
  border: 1px solid rgba(201, 162, 39, 0.45);
  outline: none;
  font-family: "Share Tech Mono", monospace;
  font-size: 15px;
}

input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.form-error {
  min-height: 18px;
  margin: -6px 0 14px;
  color: var(--danger);
  font-family: "Share Tech Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
}

button {
  width: 100%;
  height: 48px;
  border: 0;
  cursor: pointer;
  background: linear-gradient(180deg, #dfbf5a 0%, var(--gold) 100%);
  color: #1a1406;
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

button:hover {
  filter: brightness(1.08);
}

button:active {
  transform: translateY(1px);
}

.fineprint {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-align: center;
}

@media (max-width: 640px) {
  .top-meta {
    display: none;
  }

  h1 {
    letter-spacing: 0.04em;
  }
}
