:root {
  --cream: #f6f3ec;
  --line: rgba(255, 255, 255, 0.15);
  --muted: rgba(255, 255, 255, 0.55);
  --warm: #e8a050;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 375px;
  margin: 0;
  color: #fff;
  background: #000;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page {
  min-height: 100vh;
  overflow-x: hidden;
  background: #000;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 30px;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  color: #fff;
  background: transparent;
  backdrop-filter: blur(2px);
  border-bottom: 1px solid transparent;
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}

.site-header.past-hero {
  color: #000;
  background: var(--cream);
  border-color: #e0ddd6;
}

.header-left,
.header-actions,
.status {
  display: flex;
  align-items: center;
}

.header-left {
  gap: 16px;
}

.header-actions {
  gap: 15px;
}

.brand {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid currentColor;
}

.brand-text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.status {
  gap: 10px;
  font-size: 11px;
  letter-spacing: 2.2px;
  white-space: nowrap;
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  animation: pulse 2.2s ease-in-out infinite;
}

.status-dot.dim {
  opacity: 0.35;
}

@keyframes pulse {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0.25; }
}

.countdown {
  font-size: 11px;
  letter-spacing: 1.98px;
  white-space: nowrap;
}

.small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 16px;
  color: inherit;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.32px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.share-btn {
  border-color: rgba(255, 255, 255, 0.6);
}

.past-hero .small-btn {
  border-color: #e0ddd6;
}

.past-hero .share-btn {
  border-color: #000;
}

.small-btn:hover {
  color: #000;
  background: #fff;
}

.past-hero .small-btn:hover {
  color: #fff;
  background: #000;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  background: #090909;
}

.glitch-canvas,
.vignette,
.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.glitch-canvas {
  z-index: 0;
  width: 100%;
  height: 100%;
}

.vignette-outer {
  z-index: 1;
  background: radial-gradient(circle, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, 0.94) 100%);
}

.vignette-center {
  z-index: 1;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.08) 45%, rgba(0, 0, 0, 0) 64%);
}

.hero-shade {
  z-index: 1;
  background: rgba(0, 0, 0, 0.18);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: center;
  justify-content: center;
  width: min(977px, calc(100vw - 32px));
  height: 100%;
  padding: 0 40px;
  text-align: center;
}

.hero-title {
  min-height: 120px;
  margin: 0;
  font-size: 52px;
  font-weight: 600;
  line-height: 60px;
  color: transparent;
  white-space: pre-wrap;
  background: linear-gradient(90deg, #7e8f9e, #b0beca 45%, #fff);
  background-clip: text;
}

.type-cursor {
  animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.token-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  width: 100%;
  margin-bottom: 24px;
  animation: fade-in-up 0.6s ease-out 0.2s both;
}

.token-label {
  margin: 0;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 11px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 3.85px;
}

.token-number {
  margin: 0;
  color: #fff;
  font-size: 64px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 64px;
  letter-spacing: -1.7px;
  white-space: nowrap;
}

.token-of {
  margin: 0;
  color: #a8a49c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-style: italic;
}

.waitlist-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(534px, 100%);
  height: 55px;
  padding: 0 16px;
  color: #fff;
  background: rgba(246, 243, 236, 0.28);
  backdrop-filter: blur(2.5px);
  border: 1px solid #fff;
  animation: fade-in-up 0.6s ease-out 0.4s both;
  transition: background 0.15s;
}

.waitlist-btn:hover {
  background: rgba(246, 243, 236, 0.38);
}

.waitlist-btn span {
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 2.16px;
}

.hero-divider {
  width: min(704px, 70vw);
  height: 1px;
  margin-top: 50px;
  background: rgba(255, 255, 255, 0.11);
}

.scroll-down {
  position: absolute;
  bottom: 44px;
  z-index: 3;
  display: grid;
  padding: 8px;
  place-items: center;
  background: transparent;
  border: 0;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.scroll-down:hover {
  opacity: 1;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  pointer-events: none;
  background: var(--cream);
  border-radius: 50%;
  opacity: 0;
  mix-blend-mode: difference;
  transform: translate3d(-240px, -240px, 0) translate(-50%, -50%);
  will-change: transform;
  transition: width 0.2s cubic-bezier(0.22, 1, 0.36, 1), height 0.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.15s;
}

.cursor-ring span {
  color: var(--cream);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0;
}

.cursor-ring.hidden-cursor {
  width: 16px;
  height: 16px;
  opacity: 0;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-status {
  display: none;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  width: 100%;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 2.1px;
}

.mobile-status div {
  display: flex;
  gap: 10px;
  align-items: center;
}

.mobile-status p {
  margin: 0;
}

.faq-section {
  width: 100%;
  background: #000;
}

.faq-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(900px, calc(100% - 60px));
  margin: 0 auto;
}

.faq-title-wrap {
  padding: 65px 12px 12px;
  border-bottom: 1px solid var(--line);
}

.faq-title-wrap p {
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 12px;
}

.faq-q {
  margin: 0;
  color: #fff;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 14px;
  font-weight: 400;
}

.faq-q.highlight {
  color: var(--warm);
}

.faq-a {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  color: var(--muted);
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 14px;
  line-height: 19.2px;
  letter-spacing: 0.24px;
}

.faq-a p {
  margin: 0;
}

.faq-a a {
  color: inherit;
  text-decoration: underline;
}

.footer {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 32px 0 12px;
  color: rgba(255, 255, 255, 0.35);
  background: #000;
  font-family: Outfit, sans-serif;
  font-size: 12px;
  line-height: 32px;
}

.footer a {
  color: inherit;
  text-decoration: none;
}

.toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  z-index: 2000;
  display: none;
  padding: 12px 24px;
  color: var(--cream);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  letter-spacing: 1.4px;
  background: #000;
  border: 1px solid #333;
  border-radius: 4px;
  transform: translateX(-50%);
}

.toast.show {
  display: block;
}

.form-panel {
  min-height: 100vh;
  padding: 96px 24px 72px;
  color: #000;
  background: var(--cream);
}

.standalone-form {
  padding-top: 112px;
}

.form-shell {
  width: min(700px, 100%);
  margin: 0 auto;
}

.form-shell h2 {
  margin: 18px 0 0;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.25;
}

.form-sub {
  margin: 16px 0 0;
  color: #948e83;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-style: italic;
  line-height: 1.6;
}

.field {
  margin-top: 32px;
}

.field label {
  display: block;
  margin-bottom: 12px;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.23em;
}

.underline-input {
  display: flex;
  gap: 10px;
  align-items: center;
  height: 38px;
  border-bottom: 1px solid #000;
}

.underline-input:hover {
  border-bottom-color: #dba460;
}

.underline-input span {
  flex-shrink: 0;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 14px;
}

.underline-input input,
.field textarea {
  width: 100%;
  color: #000;
  background: transparent;
  border: 0;
  outline: 0;
}

.field textarea {
  min-height: 150px;
  padding: 15px 17px;
  border: 1px solid #000;
  resize: vertical;
}

.field textarea:hover {
  border-color: #dba460;
}

.textarea-footer {
  display: flex;
  justify-content: space-between;
  padding: 10px 0 0;
  color: #948e83;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 11px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips button,
.submit-btn,
.back-btn {
  color: #000;
  background: transparent;
  border: 1px solid #000;
}

.chips button {
  height: 36px;
  padding: 0 17px;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 12px;
}

.chips button:hover,
.chips button:first-child,
.submit-btn:hover {
  color: var(--cream);
  background: #000;
}

.upload-zone {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 78px;
  padding: 20px 22px;
  margin-top: 32px;
  border: 1px dashed #a9a9a9;
}

.upload-zone:hover {
  background: #eee9df;
  border-color: #dba460;
}

.upload-icon {
  display: grid;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  place-items: center;
  font-size: 24px;
}

.upload-zone p {
  margin: 0 0 3px;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 13px;
}

.upload-zone span,
.form-actions p {
  color: #948e83;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.form-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 40px;
}

.submit-btn {
  height: 44px;
  padding: 0 18px;
  color: var(--cream);
  background: #000;
  font-size: 12px;
  letter-spacing: 0.2em;
}

.back-btn {
  display: inline-flex;
  padding: 10px 16px;
  color: #948e83;
  border: 0;
  text-decoration: none;
}

.apply-page {
  color: #000;
  background: var(--cream);
}

.apply-header-link {
  border-color: #000;
}

@media (max-width: 768px) {
  .site-header {
    height: 52px;
    padding: 0 16px;
  }

  .desktop-only {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .small-btn {
    height: 28px;
    padding: 0 12px;
    font-size: 10px;
  }

  .brand-text {
    font-size: 14px;
  }

  .hero {
    min-height: 640px;
  }

  .hero-content {
    padding: 80px 0;
  }

  .hero-title {
    min-height: 88px;
    padding: 0 8px;
    font-size: 22px;
    line-height: 40px;
  }

  .token-label {
    font-size: 9px;
    letter-spacing: 2.5px;
  }

  .token-number {
    font-size: 32px;
    line-height: 64px;
    letter-spacing: -0.8px;
  }

  .token-of {
    font-size: 11px;
  }

  .waitlist-btn {
    width: min(300px, 100%);
    height: 48px;
  }

  .waitlist-btn span {
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  .hero-divider {
    width: min(300px, 70vw);
    margin-top: 34px;
  }

  .mobile-status {
    display: flex;
  }

  .cursor-ring {
    display: none;
  }

  .faq-group {
    width: min(900px, calc(100% - 32px));
  }

  .faq-title-wrap {
    padding: 39px 12px 12px;
  }

  .faq-title-wrap p {
    font-size: 14px;
    letter-spacing: 2px;
  }

  .faq-q {
    font-size: 12px;
  }

  .faq-a {
    font-size: 11px;
    line-height: 1.7;
  }

  .form-shell h2 {
    font-size: 24px;
  }
}
