:root {
  --bg: #020506;
  --panel: rgba(2, 10, 12, 0.90);
  --panel-soft: rgba(255, 255, 255, 0.045);
  --cyan: #18e9ff;
  --gold: #ffbd28;
  --orange: #ff7a16;
  --green: #42ff93;
  --text: #f6fbff;
  --muted: #b9c9cf;
  --line: rgba(24, 233, 255, 0.18);
  --line-gold: rgba(255, 189, 40, 0.28);
  --danger: #ff6b6b;
  --success: #4aff8a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  overflow-x: hidden;
}

#matrixCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 18%, rgba(24, 233, 255, 0.07), transparent 30%),
    radial-gradient(circle at 72% 72%, rgba(255, 122, 22, 0.08), transparent 34%),
    #020506;
  opacity: 0.55;
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  place-items: start center;
  padding: clamp(14px, 3vw, 36px) 12px 48px;
}

.card {
  width: min(850px, 100%);
  padding: clamp(18px, 4vw, 38px);
  border: 1px solid rgba(24, 233, 255, 0.28);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(24, 233, 255, 0.10), transparent 34%),
    linear-gradient(315deg, rgba(255, 122, 22, 0.12), transparent 34%),
    var(--panel);
  box-shadow:
    0 20px 72px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: center;
}

.logo-wrap {
  width: min(680px, 100%);
  margin: 0 auto 8px;
  filter:
    drop-shadow(0 0 12px rgba(24, 233, 255, 0.34))
    drop-shadow(0 0 10px rgba(255, 122, 22, 0.20));
}

.logo {
  display: block;
  width: 100%;
  height: auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 8px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 900;
}

h1 {
  margin: 0 auto 12px;
  max-width: 680px;
  font-size: clamp(2.05rem, 7.4vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  text-wrap: balance;
  background: linear-gradient(90deg, #ffffff 0%, #dffaff 35%, var(--cyan) 56%, var(--gold) 78%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 16px 46px rgba(0, 0, 0, 0.40);
}

.lead {
  max-width: 620px;
  margin: 0 auto 18px;
  color: rgba(246, 251, 255, 0.76);
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  line-height: 1.5;
}

.signup-form,
.pro-pass,
.rules,
.apps {
  width: min(700px, 100%);
  margin: 16px auto 0;
}

.signup-form {
  text-align: left;
  padding: clamp(15px, 3vw, 22px);
  border: 1px solid rgba(24, 233, 255, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(24, 233, 255, 0.08), transparent 45%),
    rgba(0, 0, 0, 0.34);
  box-shadow: inset 0 1px 18px rgba(24, 233, 255, 0.05);
}

.signup-form label:not(.rule-check) {
  display: block;
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
  padding: 7px;
  border: 1px solid rgba(24, 233, 255, 0.30);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.52);
}

input[type="email"] {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  border-radius: 13px;
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--text);
  font: inherit;
}

input[type="email"]::placeholder {
  color: rgba(246, 251, 255, 0.42);
}

button {
  border: 0;
  border-radius: 13px;
  padding: 0 18px;
  min-height: 50px;
  color: #061013;
  background: linear-gradient(90deg, var(--cyan), var(--gold) 62%, var(--orange));
  font-weight: 1000;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(255, 122, 22, 0.18);
}

button:disabled {
  opacity: 0.68;
  cursor: wait;
}

.rule-check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 11px;
  align-items: start;
  margin: 12px 0 0;
  padding: 12px;
  border: 1px solid rgba(255, 189, 40, 0.30);
  border-radius: 16px;
  background: rgba(255, 189, 40, 0.07);
  color: rgba(246, 251, 255, 0.88);
  font-size: 0.9rem;
  line-height: 1.45;
}

.rule-check input {
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  accent-color: var(--gold);
}

.form-message {
  min-height: 22px;
  margin: 10px 2px 0;
  color: rgba(246, 251, 255, 0.62);
  font-size: 0.88rem;
  line-height: 1.4;
}

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

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

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.pro-pass {
  position: relative;
  overflow: hidden;
  padding: clamp(16px, 3vw, 24px);
  border-radius: 22px;
  border: 1px solid var(--line-gold);
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 189, 40, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 189, 40, 0.09), rgba(24, 233, 255, 0.06) 48%, rgba(255, 122, 22, 0.11)),
    rgba(0, 0, 0, 0.40);
  text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 50px rgba(0, 0, 0, 0.26);
}

.pro-pass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.09), transparent);
  transform: translateX(-62%);
  pointer-events: none;
}

.pass-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.pass-topline span {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 1000;
}

.pass-topline strong {
  padding: 7px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  color: #041012;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pro-pass p {
  margin: 0;
  color: rgba(246, 251, 255, 0.84);
  font-size: clamp(1.05rem, 2.6vw, 1.28rem);
  line-height: 1.42;
  font-weight: 760;
  letter-spacing: -0.025em;
}

.rules,
.apps {
  padding: clamp(16px, 3vw, 22px);
  border: 1px solid rgba(24, 233, 255, 0.23);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.30);
  text-align: left;
}

.rules h2,
.apps h2 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.rules ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: rgba(246, 251, 255, 0.78);
  line-height: 1.46;
}

.rules li::marker {
  color: var(--gold);
}

.rules strong {
  color: #fff;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.app-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 13px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: var(--panel-soft);
}

.app-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
}

.app-card h3 {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 1rem;
}

.app-card p {
  margin: 0;
  color: rgba(246, 251, 255, 0.64);
  font-size: 0.84rem;
  line-height: 1.34;
}

.launch-note {
  max-width: 650px;
  margin: 16px auto 0;
  color: rgba(246, 251, 255, 0.58);
  font-size: 0.86rem;
  line-height: 1.4;
}

footer {
  position: relative;
  z-index: 1;
  padding: 0 16px 16px;
  color: rgba(246, 251, 255, 0.46);
  text-align: center;
  font-size: 0.82rem;
}

@media (max-width: 720px) {
  .page-shell {
    padding: 8px 4px 28px;
  }

  .card {
    border-radius: 18px;
    padding: 16px 12px 20px;
  }

  .logo-wrap {
    width: min(100%, 560px);
    margin-bottom: 4px;
  }

  .lead {
    margin-bottom: 14px;
  }

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

  button {
    width: 100%;
  }

  .pass-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

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

@media (max-width: 390px) {
  .card {
    padding-left: 10px;
    padding-right: 10px;
  }

  h1 {
    font-size: 2.28rem;
    line-height: 1.06;
    letter-spacing: -0.045em;
  }

  .app-card {
    grid-template-columns: 62px 1fr;
  }

  .app-card img {
    width: 62px;
    height: 62px;
    border-radius: 15px;
  }
}
