:root {
  --bg: #050608;
  --panel: #0b0d12;
  --panel-2: #11141b;
  --text: #f4f1e8;
  --muted: #8d8f99;
  --red: #e50914;
  --red-dark: #8f0008;
  --yellow: #ffd400;
  --purple: #21112f;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: rgba(229, 9, 20, 0.32);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(rgba(229, 9, 20, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 9, 20, 0.026) 1px, transparent 1px),
    radial-gradient(circle at 50% 18%, rgba(143, 0, 8, 0.2), transparent 34rem),
    var(--bg);
  background-size: 40px 40px, 40px 40px, auto, auto;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.025),
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 5px
    );
  opacity: 0.24;
  mix-blend-mode: screen;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-shell {
  width: min(100% - 32px, 900px);
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: clamp(32px, 7vh, 64px);
  padding: 20px 0 48px;
}

.micro-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border: 1px solid var(--red);
  background: var(--red);
  box-shadow: 0 0 18px var(--shadow);
}

.live-badge {
  border: 1px solid rgba(229, 9, 20, 0.52);
  color: var(--text);
  background: rgba(229, 9, 20, 0.08);
  padding: 8px 10px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  align-self: start;
  width: min(100%, 900px);
  min-height: min(548px, calc(100vh - 150px));
  margin: 0 auto;
  border: 1px solid rgba(229, 9, 20, 0.26);
  background:
    linear-gradient(140deg, rgba(33, 17, 47, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(17, 20, 27, 0.88), rgba(5, 6, 8, 0.97)),
    var(--panel);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.025) inset,
    0 0 38px rgba(229, 9, 20, 0.12);
  padding: clamp(28px, 5.2vw, 58px);
}

.hero-panel::before {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero-panel::before {
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent 1px) 50% 0 / 33.333% 100%;
  opacity: 0.18;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow,
.support-copy,
.signup-form label {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

.form-message {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  letter-spacing: 0;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 0;
  color: var(--muted);
  font-size: clamp(0.72rem, 1.5vw, 0.84rem);
}

h1 {
  margin: 0;
  color: var(--text);
  font-family: "Arial Black", Impact, system-ui, sans-serif;
  font-size: clamp(3rem, 9.2vw, 7.4rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    3px 0 0 var(--red-dark),
    0 0 26px rgba(229, 9, 20, 0.22);
}

.lock-in {
  margin: 16px 0 0;
  color: var(--red);
  font-family: "Arial Black", Impact, system-ui, sans-serif;
  font-size: clamp(2.25rem, 5.4vw, 4.2rem);
  line-height: 0.92;
  text-transform: lowercase;
  text-shadow: 0 0 22px var(--shadow);
}

.support-copy {
  max-width: 34rem;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(0.8rem, 1.6vw, 0.95rem);
}

.action-console {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  width: min(100%, 620px);
  gap: 12px;
  margin-top: 46px;
  padding-top: 20px;
}

.action-console::before {
  position: absolute;
  top: 0;
  left: 0;
  width: min(100%, 420px);
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-dark), transparent);
  box-shadow: 0 0 18px var(--shadow);
  content: "";
}

.signup-form {
  width: 100%;
  min-width: 0;
}

.signup-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.72rem;
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 6, 8, 0.82);
}

.input-row:focus-within {
  border-color: rgba(229, 9, 20, 0.8);
  box-shadow: 0 0 24px rgba(229, 9, 20, 0.16);
}

input {
  min-width: 0;
  width: 100%;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  padding: 16px;
}

input::placeholder {
  color: rgba(141, 143, 153, 0.72);
}

button,
.discord-button {
  min-height: 54px;
  border: 1px solid rgba(229, 9, 20, 0.72);
  border-radius: 0;
  color: var(--text);
  background: var(--red-dark);
  padding: 0 18px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

button {
  border-block: 0;
  border-right: 0;
}

button:hover,
button:focus-visible,
.discord-button:hover,
.discord-button:focus-visible {
  background: var(--red);
  box-shadow: 0 0 22px var(--shadow);
}

.discord-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-width: 0;
  border-color: rgba(88, 101, 242, 0.2);
  background: rgba(88, 101, 242, 0.045);
  color: rgba(178, 183, 216, 0.72);
  cursor: default;
}

.discord-button:hover,
.discord-button:focus-visible {
  background: rgba(88, 101, 242, 0.07);
  box-shadow: 0 0 18px rgba(88, 101, 242, 0.08);
  color: rgba(220, 223, 255, 0.82);
}

.discord-icon {
  flex: 0 0 auto;
  color: rgba(88, 101, 242, 0.68);
}

.form-message {
  min-height: 1.2em;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.form-message.is-success {
  color: var(--text);
}

.form-message.is-error {
  color: var(--red);
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 20px, 900px);
    gap: 22px;
    padding: 12px 0 28px;
  }

  .hero-panel {
    min-height: auto;
    padding: 28px 18px;
  }

  .action-console,
  .input-row {
    grid-template-columns: 1fr;
  }

  button {
    width: 100%;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .discord-button {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .brand-dot {
    animation: pulse 1.8s ease-in-out infinite;
  }

  @keyframes pulse {
    0%,
    100% {
      opacity: 0.55;
    }

    50% {
      opacity: 1;
    }
  }
}
