/* Vibe Coding 路演场 · 方向 C 席位票根视觉系统 */
:root {
  --fluo: #e9ff3b;
  --ink: #111111;
  --paper: #ffffff;
  --mute: #333333;
  --line: 3px solid var(--ink);
  --dash: 3px dashed var(--ink);
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", "Consolas", ui-monospace, monospace;
  --radius: 0;
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--fluo);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100dvh;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Top bar */
.topbar {
  background: var(--ink);
  color: var(--fluo);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 10px 3vw;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: var(--line);
}
.topbar a { color: var(--fluo); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 3vw;
  border-bottom: var(--line);
  background: var(--fluo);
  position: sticky;
  top: 0;
  z-index: 40;
  max-height: 72px;
}
.nav-brand {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  font-weight: 700;
  font-size: 14px;
}
.nav-links a { text-decoration: none; }
.nav-links a[aria-current="page"] {
  background: var(--ink);
  color: var(--fluo);
  padding: 6px 10px;
}
.nav-cta {
  background: var(--ink);
  color: var(--fluo);
  border: var(--line);
  padding: 10px 16px;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--fluo); color: var(--ink); }
.nav-toggle {
  display: none;
  background: var(--ink);
  color: var(--fluo);
  border: 0;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}

/* Hero grid */
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  border-bottom: var(--line);
}
.hero-copy {
  grid-column: 1 / 9;
  padding: clamp(32px, 5vh, 64px) 3vw;
  border-right: var(--line);
}
.hero-copy h1 {
  font-size: clamp(48px, 8.2vw, 132px);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.hero-copy .lede {
  font-size: 18px;
  line-height: 1.65;
  margin-top: 22px;
  max-width: 32em;
  font-weight: 500;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: var(--line);
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none !important;
  background: var(--ink);
  color: var(--fluo);
}
.btn:hover { filter: brightness(1.08); }
.btn-fluo {
  background: var(--fluo);
  color: var(--ink);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn:active { transform: translateY(1px); }

.price-stack {
  grid-column: 9 / 13;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
}
.price-block {
  border-bottom: var(--line);
  padding: 18px 2vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.price-block:last-child { border-bottom: 0; }
.price-block b {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 900;
  font-family: var(--font-mono);
  line-height: 1.1;
}
.price-block span {
  font-size: 13px;
  margin-top: 4px;
  font-weight: 600;
}

/* Coldstart banner */
.cold-banner {
  background: var(--ink);
  color: var(--fluo);
  padding: 16px 3vw;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--line);
  font-size: 14px;
  font-weight: 700;
}
.cold-banner strong { font-family: var(--font-mono); font-size: 18px; }

/* Tickets */
.tickets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3vw;
  padding: clamp(36px, 6vh, 72px) 3vw;
  background: var(--ink);
}
.ticket {
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr 110px;
  position: relative;
  color: var(--ink);
}
.ticket-main { padding: 28px; }
.ticket-stub {
  border-left: var(--dash);
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.22em;
  background: var(--fluo);
}
.ticket.inv .ticket-stub { background: var(--ink); color: var(--fluo); }
.ticket small {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}
.ticket h2 { font-size: 28px; margin: 8px 0 10px; font-weight: 900; letter-spacing: -0.02em; }
.ticket p, .ticket li { font-size: 14px; line-height: 1.7; }
.ticket ol { margin: 12px 0 0 1.2em; }
.ticket .hook {
  margin-top: 12px;
  padding: 10px 12px;
  border: var(--line);
  background: var(--fluo);
  font-weight: 800;
  font-size: 13px;
}
.field {
  width: 100%;
  border: var(--line);
  padding: 12px 14px;
  font-size: 15px;
  margin-top: 14px;
  background: #fff;
  border-radius: var(--radius);
}
.field::placeholder { color: #666; }
.label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-top: 14px;
  font-family: var(--font-mono);
}
.ticket .btn, .form-actions .btn { width: 100%; margin-top: 10px; }
.ticket.inv .btn { background: var(--fluo); color: var(--ink); }

/* Rules strip */
.rules {
  padding: 26px 3vw;
  display: flex;
  gap: 3vw;
  flex-wrap: wrap;
  font-weight: 700;
  font-size: 14px;
  border-bottom: var(--line);
  background: var(--fluo);
}
.rules span::before { content: "■ "; }

/* Sections */
.section {
  padding: clamp(40px, 7vh, 80px) 3vw;
  border-bottom: var(--line);
}
.section-dark {
  background: var(--ink);
  color: var(--fluo);
}
.section h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 18em;
}
.section .sub {
  margin-top: 12px;
  max-width: 42em;
  font-size: 16px;
  font-weight: 500;
  opacity: 0.92;
}
.section-head { margin-bottom: 28px; }

/* Cards / works */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: var(--line);
}
.card {
  border-right: var(--line);
  border-bottom: var(--line);
  padding: 20px;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
}
.card:nth-child(4n) { border-right: 0; }
.card-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border: 2px solid var(--ink);
  background: var(--fluo);
}
.card-tag.idea { background: var(--ink); color: var(--fluo); }
.card h3 { font-size: 18px; font-weight: 900; line-height: 1.25; }
.card p { font-size: 13px; line-height: 1.6; flex: 1; }
.card .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.chip {
  border: var(--line);
  background: transparent;
  padding: 8px 14px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  min-height: 44px;
}
.chip[aria-pressed="true"], .chip.active {
  background: var(--ink);
  color: var(--fluo);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: var(--line);
}
.step {
  padding: 24px;
  border-right: var(--line);
  background: var(--paper);
  color: var(--ink);
}
.step:last-child { border-right: 0; }
.step .n {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}
.step h3 { font-size: 20px; font-weight: 900; margin-bottom: 8px; }
.step p { font-size: 14px; line-height: 1.65; }

/* Pricing table */
.price-table {
  width: 100%;
  border-collapse: collapse;
  border: var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
}
.price-table th, .price-table td {
  border: 1.5px solid var(--ink);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}
.price-table th {
  background: var(--ink);
  color: var(--fluo);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.price-table .amt {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 18px;
  white-space: nowrap;
}
.note-box {
  margin-top: 20px;
  border: var(--line);
  padding: 16px 18px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

/* About / split */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: var(--line);
}
.split-2 > div {
  padding: 28px;
  border-right: var(--line);
  background: var(--paper);
  color: var(--ink);
}
.split-2 > div:last-child { border-right: 0; }
.split-2 h3 { font-size: 22px; font-weight: 900; margin-bottom: 10px; }
.split-2 ul { margin-left: 1.2em; font-size: 14px; line-height: 1.8; }

/* Page hero compact */
.page-hero {
  padding: clamp(36px, 6vh, 64px) 3vw;
  border-bottom: var(--line);
}
.page-hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.page-hero p {
  margin-top: 16px;
  max-width: 40em;
  font-size: 17px;
  font-weight: 500;
}

/* Success state */
.success-panel {
  display: none;
  border: var(--line);
  background: var(--fluo);
  padding: 24px;
  margin-top: 16px;
}
.success-panel.show { display: block; }
.success-panel h3 { font-size: 22px; font-weight: 900; margin-bottom: 8px; }
.success-panel p { font-size: 14px; line-height: 1.7; }

/* Footer */
.footer {
  background: var(--ink);
  color: var(--fluo);
  padding: 36px 3vw 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
  font-size: 13px;
}
.footer strong { display: block; font-size: 16px; margin-bottom: 10px; }
.footer a { color: var(--fluo); }
.footer ul { list-style: none; line-height: 2; }
.footer .legal {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(233,255,59,0.25);
  padding-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.85;
}

/* Claim dual forms page */
.claim-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: var(--line);
}
.claim-pane {
  padding: 36px 3vw;
  border-right: var(--line);
  background: var(--fluo);
}
.claim-pane:last-child {
  border-right: 0;
  background: var(--ink);
  color: var(--fluo);
}
.claim-pane:last-child .field {
  background: #1a1a1a;
  color: var(--fluo);
  border-color: var(--fluo);
}
.claim-pane:last-child .field::placeholder { color: #999; }
.claim-pane:last-child .btn {
  background: var(--fluo);
  color: var(--ink);
  border-color: var(--fluo);
}
.claim-pane h2 { font-size: 32px; font-weight: 900; margin: 8px 0 12px; }
.claim-pane .ticket-like {
  border: var(--line);
  padding: 20px;
  background: var(--paper);
  color: var(--ink);
  margin-top: 16px;
}
.claim-pane:last-child .ticket-like {
  border-color: var(--fluo);
  background: #161616;
  color: var(--fluo);
}

@media (max-width: 980px) {
  .hero-copy, .price-stack { grid-column: 1 / 13; border-right: 0; }
  .hero-copy { border-bottom: var(--line); }
  .price-stack { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .price-block { border-right: var(--line); border-bottom: var(--line); }
  .price-block:nth-child(2n) { border-right: 0; }
  .tickets, .claim-layout, .split-2 { grid-template-columns: 1fr; }
  .claim-pane { border-right: 0; border-bottom: var(--line); }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .card:nth-child(4n) { border-right: var(--line); }
  .card:nth-child(2n) { border-right: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2n) { border-right: 0; }
  .step { border-bottom: var(--line); }
  .footer { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--fluo);
    border-bottom: var(--line);
    padding: 16px 3vw 20px;
    gap: 14px;
  }
  .nav.is-open .nav-cta {
    display: inline-flex;
    position: absolute;
    right: 3vw;
    top: calc(100% + 12px);
    z-index: 41;
  }
  .nav-toggle { display: inline-flex; }
  .nav { max-height: none; position: relative; }
}

@media (max-width: 760px) {
  .ticket { grid-template-columns: 1fr 64px; }
  .ticket-stub { font-size: 14px; letter-spacing: 0.12em; }
  .card-grid, .steps, .footer, .price-stack { grid-template-columns: 1fr; }
  .card { border-right: 0 !important; }
  .step { border-right: 0 !important; }
  .price-block { border-right: 0 !important; }
  .hero-copy h1 { font-size: clamp(40px, 14vw, 64px); }
  .price-table { font-size: 13px; display: block; overflow-x: auto; }
}

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