:root {
  --bg: #0F172A;
  --surface: #1E293B;
  --surface-2: #334155;
  --gold: #E6B422;
  --text: #F8FAFC;
  --muted: #94A3B8;
  --success: #22C55E;
}

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

html,
body {
  min-height: 100%;
  background: var(--bg);
}

body {
  font-family: Montserrat, Arial, sans-serif;
  color: var(--text);
  overflow-x: hidden;
  overflow-y: auto;
}

.construction {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 42px 28px;
  background:
    radial-gradient(circle at 50% 8%, rgba(230, 180, 34, .18), transparent 24rem),
    linear-gradient(135deg, rgba(51, 65, 85, .36), rgba(15, 23, 42, 0) 52%),
    var(--bg);
}

.panel {
  width: min(100%, 780px);
  text-align: center;
  position: relative;
}

.logo {
  width: min(340px, 76vw);
  height: auto;
  margin: 0 auto 44px;
  border-radius: 10px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .32);
}

.loader {
  width: 124px;
  height: 124px;
  margin: 0 auto 32px;
  position: relative;
  display: grid;
  place-items: center;
}

.ring {
  position: absolute;
  border-radius: 999px;
  border: 2px solid transparent;
}

.ring-a {
  inset: 0;
  border-top-color: var(--gold);
  border-right-color: rgba(230, 180, 34, .52);
  animation: spin 1.05s linear infinite;
}

.ring-b {
  inset: 17px;
  border-left-color: rgba(255, 255, 255, .9);
  border-bottom-color: rgba(255, 255, 255, .28);
  animation: spin 1.45s linear infinite reverse;
}

.core {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 26px rgba(230, 180, 34, .74);
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
}

h1 {
  margin-top: 16px;
  font-size: clamp(36px, 8vw, 78px);
  line-height: .95;
  letter-spacing: 0;
}

h1 span {
  color: var(--gold);
}

.copy {
  max-width: 650px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.waitlist {
  max-width: 640px;
  margin: 30px auto 0;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 16px;
  background: rgba(30, 41, 59, .64);
  padding: 16px;
  display: grid;
  gap: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .22);
}

.waitlist strong {
  color: var(--text);
  font-size: 15px;
}

.waitlist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.waitlist input {
  min-height: 48px;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 12px;
  background: rgba(15, 23, 42, .78);
  color: var(--text);
  padding: 0 13px;
  font: inherit;
  outline: none;
}

.waitlist input:focus {
  border-color: rgba(230, 180, 34, .64);
  box-shadow: 0 0 0 3px rgba(230, 180, 34, .12);
}

.waitlist button {
  min-height: 50px;
  border: 0;
  border-radius: 12px;
  background: var(--gold);
  color: var(--bg);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.waitlist button:disabled {
  opacity: .64;
  cursor: wait;
}

.waitlist-message {
  min-height: 20px;
  color: var(--muted);
  font-size: 12px;
}

.waitlist-message.success {
  color: var(--success);
}

.waitlist-message.error {
  color: #FCA5A5;
}

.status {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(230, 180, 34, .34);
  color: var(--gold);
  background: rgba(230, 180, 34, .1);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.status i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 20px rgba(34, 197, 94, .62);
}

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

@media (max-width: 520px) {
  .construction {
    padding: 32px 22px;
  }

  .logo {
    margin-bottom: 34px;
  }

  .status {
    width: 100%;
    justify-content: center;
    letter-spacing: .08em;
  }

  .waitlist-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ring {
    animation: none;
  }
}
