:root {
  --bg: #111111;
  --surface: #1a1a1a;
  --surface-2: #222222;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --accent: #41db90;
  --accent-dim: rgba(65, 219, 144, 0.12);
  --text: #e8e8e8;
  --text-dim: #999999;
  --text-muted: #666666;
  --discord: #5865f2;
  --danger: #f87171;
  --warning: #fbbf24;
}

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

html {
  color-scheme: dark;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 20%, rgba(65, 219, 144, 0.06), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  min-height: 66px;
  padding: 10px clamp(18px, 4vw, 56px);
  background: #161616;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: #ffffff;
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 13px;
  letter-spacing: 0.02em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--text-dim);
  font-size: 11px;
}

.site-link {
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-link:hover {
  color: var(--accent);
}

.page-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(38px, 7vw, 78px) 0 52px;
}

.registration-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(65, 219, 144, 0.09);
}

.registration-intro h1 {
  color: #ffffff;
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.registration-intro h1 span {
  color: var(--accent);
}

.hero-copy {
  max-width: 540px;
  margin-top: 24px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.75;
}

.fee-card {
  max-width: 500px;
  margin-top: 28px;
  padding: 17px 19px;
  background: var(--accent-dim);
  border: 1px solid rgba(65, 219, 144, 0.28);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.fee-card > div {
  display: grid;
}

.fee-label {
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fee-price {
  margin-top: 2px;
  color: #ffffff;
  font-size: 25px;
  line-height: 1.1;
}

.fee-note {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  text-align: right;
}

.process-list {
  max-width: 500px;
  margin-top: 30px;
  list-style: none;
  display: grid;
}

.process-list li {
  min-height: 68px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 15px;
}

.process-list li:last-child {
  border-bottom: 0;
}

.process-number {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  border: 1px solid rgba(65, 219, 144, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.process-list li > span:last-child {
  display: grid;
  gap: 2px;
}

.process-list strong {
  color: #ffffff;
  font-size: 13px;
}

.process-list small {
  color: var(--text-muted);
  font-size: 11px;
}

.what-happens {
  max-width: 500px;
  margin-top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.65;
}

.check-icon {
  color: var(--accent);
  font-weight: 900;
}

.form-card {
  padding: clamp(24px, 4vw, 38px);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
}

.discord-join-callout {
  margin-bottom: 26px;
  padding: 15px;
  background:
    linear-gradient(135deg, rgba(88, 101, 242, 0.18), rgba(88, 101, 242, 0.07));
  border: 1px solid rgba(121, 132, 255, 0.48);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(34, 42, 145, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.discord-join-copy {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.discord-join-icon {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  background: var(--discord);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
}

.discord-join-copy strong {
  display: block;
  color: #ffffff;
  font-size: 12px;
  font-weight: 850;
}

.discord-join-copy p {
  margin-top: 3px;
  color: #b9bdf5;
  font-size: 10px;
  line-height: 1.45;
}

.discord-join-link {
  padding: 9px 11px;
  flex: 0 0 auto;
  background: var(--discord);
  border-radius: 7px;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  transition: background 0.15s ease, transform 0.15s ease;
}

.discord-join-link:hover {
  background: #6874f5;
  transform: translateY(-1px);
}

.discord-join-link:focus-visible {
  outline: 3px solid rgba(88, 101, 242, 0.35);
  outline-offset: 3px;
}

.form-heading {
  margin-bottom: 26px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.form-kicker {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-heading h2 {
  margin-top: 5px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.secure-badge {
  padding: 5px 9px;
  background: var(--accent-dim);
  border: 1px solid rgba(65, 219, 144, 0.28);
  border-radius: 999px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #d6d6d6;
  font-size: 12px;
  font-weight: 700;
}

.required-label {
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-group select,
.form-group input {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group select {
  cursor: pointer;
}

.form-group select:focus,
.form-group input:focus {
  outline: none;
  border-color: rgba(65, 219, 144, 0.7);
  box-shadow: 0 0 0 3px rgba(65, 219, 144, 0.09);
}

.form-group input::placeholder {
  color: #5f5f5f;
}

.field-help {
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 10.5px;
  line-height: 1.55;
}

.field-help a {
  color: var(--accent);
}

.rules-checkbox {
  margin: 4px 0 18px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 11px;
  line-height: 1.55;
}

.rules-checkbox input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex: 0 0 auto;
  accent-color: var(--accent);
}

.rules-checkbox a {
  color: var(--accent);
  font-weight: 700;
}

.reward-card,
.service-disclosure {
  margin: 14px 0;
  padding: 16px;
  background: rgba(65, 219, 144, 0.06);
  border: 1px solid rgba(65, 219, 144, 0.24);
  border-radius: 9px;
}

.reward-label {
  display: block;
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reward-amount {
  display: block;
  margin: 4px 0 8px;
  color: #ffffff;
  font-size: 22px;
}

.reward-card p,
.service-disclosure p {
  margin: 7px 0 0;
  color: var(--text-dim);
  font-size: 10.5px;
  line-height: 1.6;
}

.reward-finalization strong {
  color: #ffffff;
}

.service-disclosure {
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.025);
  border-color: var(--border);
}

.service-disclosure h3 {
  margin: 0;
  color: #ffffff;
  font-size: 13px;
}

.consent-checkbox {
  margin-bottom: 10px;
}

.checkout-finality-notice {
  margin: 12px 0;
  padding: 13px 14px;
  color: #fecaca;
  background: rgba(239, 68, 68, 0.09);
  border: 1px solid rgba(248, 113, 113, 0.45);
  border-radius: 8px;
  font-size: 11.5px;
  line-height: 1.55;
}

.checkout-finality-notice strong {
  color: #ffffff;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a {
  color: inherit;
}

.legal-shell {
  width: min(100% - 32px, 820px);
  margin: 42px auto 70px;
}

.legal-document {
  padding: clamp(24px, 5vw, 52px);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.legal-document h1 {
  margin: 8px 0;
  color: #ffffff;
  font-size: clamp(30px, 6vw, 46px);
}

.legal-document h2 {
  margin: 30px 0 8px;
  color: #ffffff;
  font-size: 18px;
}

.legal-document p,
.legal-document li {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.75;
}

.legal-document a {
  color: var(--accent);
}

.discord-button {
  width: 100%;
  min-height: 49px;
  padding: 12px 18px;
  background: var(--discord);
  border: 0;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  transition: background 0.15s ease, transform 0.15s ease;
}

.discord-button:hover {
  background: #6874f5;
  transform: translateY(-1px);
}

.discord-button:active {
  transform: translateY(0);
}

.discord-button:focus-visible {
  outline: 3px solid rgba(88, 101, 242, 0.35);
  outline-offset: 3px;
}

.discord-icon {
  width: 20px;
  height: 20px;
}

.payment-disclaimer {
  margin: 12px auto 0;
  max-width: 410px;
  color: var(--text-muted);
  font-size: 9.5px;
  line-height: 1.55;
  text-align: center;
}

.error-message {
  margin-bottom: 20px;
  padding: 12px 14px;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.3);
  border-radius: 8px;
  color: #fca5a5;
  font-size: 12px;
  line-height: 1.5;
}

.error-message[hidden] {
  display: none;
}

.review-message {
  margin-bottom: 20px;
  padding: 12px 14px;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 8px;
  color: #fcd34d;
  font-size: 12px;
  line-height: 1.5;
}

.review-message[hidden] {
  display: none;
}

.discord-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.success-shell {
  min-height: calc(100vh - 128px);
  display: grid;
  place-items: center;
}

.success-card {
  width: min(100%, 560px);
  text-align: center;
}

.success-mark {
  width: 54px;
  height: 54px;
  margin: 0 auto 20px;
  background: var(--accent-dim);
  border: 1px solid rgba(65, 219, 144, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 25px;
  font-weight: 900;
}

.success-card h1 {
  margin: 6px 0 12px;
  color: #ffffff;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.success-card > p {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.75;
}

.success-steps {
  margin: 26px 0 20px;
  display: grid;
  gap: 8px;
  text-align: left;
}

.success-steps span {
  padding: 11px 13px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: #d5d5d5;
  font-size: 11px;
}

.success-steps strong {
  width: 22px;
  height: 22px;
  margin-right: 9px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--accent-dim);
  color: var(--accent);
}

.success-card .what-happens {
  margin: 0 0 22px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 7px;
  text-align: left;
}

.success-button {
  color: #ffffff;
  text-decoration: none;
}

.success-secondary {
  margin-top: 15px;
  display: inline-block;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.success-secondary:hover {
  color: var(--accent);
}

.pending-shell {
  min-height: calc(100vh - 128px);
  display: grid;
  place-items: center;
}

.pending-card {
  width: min(100%, 540px);
}

.pending-card .eyebrow {
  margin-bottom: 13px;
}

.pending-card h1 {
  color: #ffffff;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.pending-copy {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.7;
}

.registration-details {
  margin: 24px 0 18px;
  padding: 4px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.detail-row {
  min-height: 47px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
}

.detail-row:last-child {
  border-bottom: 0;
}

.detail-row span {
  color: var(--text-muted);
}

.detail-row strong {
  color: #ffffff;
  text-align: right;
}

.changes-detected {
  margin-bottom: 18px;
  padding: 11px 13px;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 7px;
  color: #fcd34d;
  font-size: 10.5px;
  line-height: 1.55;
}

.changes-detected[hidden] {
  display: none;
}

.pending-actions {
  display: grid;
  gap: 10px;
}

.primary-action,
.secondary-action {
  min-height: 46px;
  padding: 11px 16px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.primary-action {
  background: var(--accent);
  color: #111111;
}

.primary-action:hover {
  background: #52e39d;
}

.secondary-action {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
}

.secondary-action:hover {
  border-color: rgba(248, 113, 113, 0.35);
  color: var(--danger);
}

footer {
  min-height: 62px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--text-muted);
  font-size: 10px;
}

@media (max-width: 900px) {
  .registration-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .registration-intro {
    max-width: 650px;
  }

  .fee-card,
  .process-list,
  .what-happens {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 58px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-copy strong {
    font-size: 11px;
  }

  .brand-copy small,
  .site-link {
    font-size: 9px;
  }

  .page-shell {
    width: min(100% - 24px, 1120px);
    padding-top: 32px;
  }

  .registration-intro h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 13px;
  }

  .fee-card {
    align-items: flex-start;
  }

  .fee-note {
    font-size: 9px;
  }

  .form-card {
    padding: 22px 17px;
    border-radius: 11px;
  }

  .discord-join-callout {
    align-items: stretch;
    flex-direction: column;
  }

  .discord-join-link {
    width: 100%;
    padding: 11px;
  }

  .form-heading h2 {
    font-size: 21px;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  footer {
    flex-direction: column;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
