:root {
  --bg-1: #06111f;
  --bg-2: #11253d;
  --text: #f8f4ec;
  --muted: #cfcbc3;
  --accent: #ff6f3c;
  --accent-2: #25d0a7;
  --panel: rgba(255, 255, 255, 0.09);
  --panel-border: rgba(255, 255, 255, 0.23);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 25%, #1e3d62 0%, transparent 32%),
    radial-gradient(circle at 80% 75%, #0a705f 0%, transparent 28%),
    linear-gradient(140deg, var(--bg-1), var(--bg-2));
  overflow-x: hidden;
}

.auth-gate {
  position: fixed;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 10, 20, 0.72);
  backdrop-filter: blur(8px);
}

.auth-gate.hidden {
  display: none;
}

.auth-card {
  width: min(480px, 92vw);
  background: rgba(7, 20, 36, 0.95);
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.45);
}

.auth-kicker {
  margin: 0;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  font-weight: 700;
  text-transform: uppercase;
}

.auth-card h2 {
  margin: 10px 0;
}

.auth-copy,
.auth-message {
  color: var(--muted);
  line-height: 1.5;
}

.auth-message {
  margin-bottom: 0;
}

.bg-shape {
  position: fixed;
  z-index: 0;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.35;
  pointer-events: none;
  animation: drift 16s ease-in-out infinite;
}

.bg-shape-a {
  width: 260px;
  height: 260px;
  top: -70px;
  right: -60px;
  background: var(--accent);
}

.bg-shape-b {
  width: 330px;
  height: 330px;
  left: -90px;
  bottom: -100px;
  background: var(--accent-2);
  animation-delay: -7s;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1080px, 92vw);
  margin: 0 auto;
  padding: 24px 0 42px;
}

.shell--locked {
  visibility: hidden;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.06em;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  margin: 0;
}

.ghost-btn {
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--panel-border);
  padding: 10px 14px;
  border-radius: 999px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.ghost-btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent-2);
}

.hero {
  max-width: 700px;
}

.kicker {
  margin: 0;
  color: var(--accent-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.title {
  margin: 8px 0 12px;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.02em;
  line-height: 0.95;
  font-size: clamp(2.9rem, 9vw, 6.5rem);
}

.subtitle {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
}

.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.cta-btn {
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), #ff9f45);
  color: #111;
  font-weight: 700;
  font-family: inherit;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(255, 111, 60, 0.35);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.cta-btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 35px rgba(255, 111, 60, 0.45);
}

.status {
  border: 1px solid var(--panel-border);
  background: var(--panel);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.cards {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  padding: 18px;
  backdrop-filter: blur(6px);
}

.card h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.foot {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.95rem;
}

.reveal,
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  animation: in 680ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal:nth-of-type(2) {
  animation-delay: 120ms;
}

.reveal:nth-of-type(3) {
  animation-delay: 220ms;
}

.reveal:nth-of-type(4) {
  animation-delay: 320ms;
}

.reveal-stagger > *:nth-child(1) {
  animation-delay: 340ms;
}

.reveal-stagger > *:nth-child(2) {
  animation-delay: 430ms;
}

.reveal-stagger > *:nth-child(3) {
  animation-delay: 520ms;
}

@keyframes in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(12px, -16px, 0);
  }
}

@media (max-width: 860px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .shell {
    padding-top: 16px;
  }

  .topbar {
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
  }
}
