@font-face {
  font-family: "Brandon Light";
  src: url("../font.woff2");
}

:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --muted-2: rgba(255, 255, 255, 0.38);
  --line: rgba(255, 255, 255, 0.1);
  --red: #8b0000;
  --bright-red: #ed0f08;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #000;
}

body {
  color: var(--text);
  overflow: hidden;
  font-family: "Brandon Light", Arial, sans-serif;
  position: relative;
}

.bg-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(139, 0, 0, 0.09), transparent 28%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.84));
}

.bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 38px 38px;
}

.bg-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 180px rgba(0, 0, 0, 0.97);
}

.bg-glow {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 480px;
  height: 260px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(237, 15, 8, 0.08), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

#border {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

#borderTop,
#borderBottom {
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: rgba(139, 0, 0, 0.9);
}

#borderRight,
#borderLeft {
  position: absolute;
  width: 1px;
  height: 100%;
  background-color: rgba(139, 0, 0, 0.9);
}

#borderTop { top: 0; left: 0; }
#borderRight { right: 0; top: 0; }
#borderBottom { bottom: 0; left: 0; }
#borderLeft { left: 0; top: 0; }

.updates-pill {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 12;
  height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 14, 20, 0.68);
  color: #fff;
  font-family: "Brandon Light", Arial, sans-serif;
  font-size: 14px;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.updates-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(237, 15, 8, 0.25);
}

.center-wrap {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  width: 100%;
  padding: 40px 20px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-block {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.heading-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-bottom: 28px;
}

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

h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.94;
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: -0.05em;
}

.heading-block p {
  margin: 0;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.66);
}

.waitlist-form {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.inline-field {
  width: 100%;
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.2s ease;
}

.inline-field:focus-within {
  border-bottom-color: rgba(237, 15, 8, 0.45);
}

.field-label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  text-align: left;
  text-transform: lowercase;
}

.inline-field input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  font-family: "Brandon Light", Arial, sans-serif;
  font-size: 18px;
  padding: 0;
  height: 34px;
}

.inline-field input::placeholder {
  color: var(--muted-2);
}

.submit-btn {
  margin-top: 8px;
  width: 100%;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(16, 16, 22, 0.72);
  color: #fff;
  font-family: "Brandon Light", Arial, sans-serif;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(237, 15, 8, 0.28);
  background: rgba(20, 20, 28, 0.9);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.submit-btn:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.submit-arrow {
  opacity: 0.75;
}

#message {
  min-height: 20px;
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.bottom-links {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  text-transform: lowercase;
}

.bottom-links a,
.updates-trigger-inline {
  color: #fff;
  text-decoration: none;
}

.updates-trigger-inline {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  padding: 0;
  text-transform: lowercase;
}

.updates-drawer {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

.updates-drawer.open {
  pointer-events: auto;
}

.updates-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.24);
  opacity: 0;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.updates-drawer.open .updates-drawer-backdrop {
  opacity: 1;
}

.updates-panel {
  position: absolute;
  top: 70px;
  right: 22px;
  width: min(380px, calc(100vw - 24px));
  max-height: calc(100vh - 92px);
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(14, 14, 20, 0.92);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  padding: 18px;
  transform: translateX(24px);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.updates-drawer.open .updates-panel {
  transform: translateX(0);
  opacity: 1;
}

.updates-panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  text-align: left;
}

.updates-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.updates-panel h2 {
  margin: 0;
  font-size: 26px;
  text-transform: lowercase;
}

.updates-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.updates-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.update-item {
  text-align: left;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
}

.update-date {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.update-item h3 {
  margin: 0 0 6px;
  font-size: 18px;
  text-transform: lowercase;
}

.update-item p {
  margin: 0;
  line-height: 1.5;
  font-size: 14px;
  color: rgba(255,255,255,0.74);
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
}

.success-modal.open {
  display: block;
}

.success-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.success-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(92vw, 420px);
  transform: translate(-50%, -50%);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(18, 18, 24, 0.96);
  box-shadow: 0 30px 80px rgba(0,0,0,0.42);
  padding: 28px 24px 22px;
  text-align: center;
}

.success-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.success-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(to bottom, #3bc96b, #24954a);
  color: #fff;
  font-size: 30px;
  font-weight: 700;
}

.success-card h2 {
  margin: 0 0 8px;
  font-size: 40px;
  line-height: 1;
  text-transform: lowercase;
  letter-spacing: -0.04em;
}

.success-text {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--muted);
}

.success-email {
  min-height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  font-size: 15px;
  color: rgba(255,255,255,0.88);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: revealUp 0.85s cubic-bezier(.2,.8,.2,1) forwards;
}

.reveal-1 { animation-delay: 0.08s; }
.reveal-2 { animation-delay: 0.18s; }
.reveal-3 { animation-delay: 0.28s; }
.reveal-4 { animation-delay: 0.38s; }

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  body {
    overflow: auto;
  }

  .updates-pill {
    top: 12px;
    right: 12px;
  }

  .center-wrap {
    min-height: auto;
    padding: 96px 16px 28px;
  }

  .heading-block p {
    font-size: 17px;
  }

  .inline-field {
    grid-template-columns: 68px 1fr;
    gap: 12px;
  }

  .field-label {
    font-size: 15px;
  }

  .inline-field input {
    font-size: 17px;
  }

  .updates-panel {
    top: 58px;
    right: 10px;
    width: calc(100vw - 20px);
  }
}