/* China Ticket Drop — 中国风对照版
   Cinnabar · ink · gold on rice-paper. Not a template clone. */

:root {
  --paper: #f4ebd8;
  --paper-deep: #ebe0c8;
  --ink: #1c1410;
  --ink-soft: #4a3c32;
  --mute: #7a6a5c;
  --cinnabar: #b91c1c;
  --cinnabar-deep: #8f1212;
  --lacquer: #5c0a0a;
  --gold: #b8953d;
  --gold-soft: #d4b56a;
  --jade: #2f5d50;
  --jade-soft: #3d7a68;
  --line: rgba(28, 20, 16, 0.12);
  --line-strong: rgba(28, 20, 16, 0.22);
  --shadow: 0 12px 40px rgba(28, 20, 16, 0.08);
  --radius: 4px;
  --font-display: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-body: "Noto Sans SC", "DM Sans", system-ui, sans-serif;
  --font-en: "DM Sans", system-ui, sans-serif;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

.silk {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.45;
  background-image:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(185, 28, 28, 0.06), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(184, 149, 61, 0.08), transparent 50%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(28, 20, 16, 0.015) 3px,
      rgba(28, 20, 16, 0.015) 4px
    );
}

.frame-edge {
  pointer-events: none;
  position: fixed;
  inset: 10px;
  z-index: 1;
  border: 1px solid rgba(185, 28, 28, 0.18);
  box-shadow: inset 0 0 0 4px rgba(244, 235, 216, 0.6);
}

@media (max-width: 720px) {
  .frame-edge { inset: 0; border: none; box-shadow: none; }
}

body > header,
body > main,
body > footer {
  position: relative;
  z-index: 2;
}

a { color: var(--cinnabar-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cinnabar); }

img, svg { display: block; max-width: 100%; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.section-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Top bar —— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 235, 216, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.seal {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #f8efe0;
  background: var(--cinnabar);
  border: 2px solid var(--lacquer);
  box-shadow: 2px 2px 0 rgba(28, 20, 16, 0.15);
  border-radius: 2px;
  letter-spacing: 0;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.brand-text small {
  display: block;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}

.nav a:hover { color: var(--cinnabar); }

.nav-switch {
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--gold);
  color: var(--ink) !important;
  border-radius: 2px;
  font-size: 0.8rem !important;
}

.nav-cta {
  padding: 0.4rem 0.9rem;
  background: var(--ink);
  color: var(--paper) !important;
  border-radius: 2px;
}

.nav-cta:hover { background: var(--cinnabar); color: #fff !important; }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 2px;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--cinnabar);
  color: #fff7ea;
  border-color: var(--lacquer);
  box-shadow: 2px 2px 0 rgba(28, 20, 16, 0.12);
}

.btn-primary:hover { background: var(--cinnabar-deep); color: #fff; }
.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  border-color: var(--cinnabar);
  color: var(--cinnabar);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--line);
  padding: 0.45rem 0.75rem;
}

.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn-sm { padding: 0.45rem 0.85rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* —— Hero —— */
.hero {
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cinnabar);
  margin-bottom: 1rem;
}

.eyebrow i {
  width: 1.4rem;
  height: 1.4rem;
  border: 1.5px solid var(--cinnabar);
  border-radius: 1px;
  position: relative;
}

.eyebrow i::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--cinnabar);
  opacity: 0.85;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin: 0 0 1.1rem;
  color: var(--ink);
}

.hero h1 em {
  font-style: normal;
  color: var(--cinnabar);
  border-bottom: 3px solid var(--gold-soft);
}

.lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 36rem;
  margin: 0 0 1.5rem;
}

.lead strong { color: var(--ink); font-weight: 600; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--mute);
}

.trust-row li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-row li::before {
  content: "▣";
  color: var(--gold);
  font-size: 0.7rem;
}

.hero-panel {
  background: linear-gradient(165deg, #2a1814 0%, #1a0e0c 100%);
  color: #f3e8d4;
  border: 1px solid rgba(184, 149, 61, 0.35);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem 1.2rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(184, 149, 61, 0.2);
  border-radius: 50%;
}

.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(243, 232, 212, 0.15);
  position: relative;
  z-index: 1;
}

.panel-sub {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.clock-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  z-index: 1;
}

.clock-list li {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 0.65rem 0.85rem;
  align-items: center;
}

.clock-time {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold-soft);
  min-width: 2.5rem;
}

.clock-digital {
  font-family: var(--font-en);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 1.05rem;
  color: #fff;
}

.clock-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.82rem;
  line-height: 1.35;
}

.clock-meta strong { font-weight: 600; color: #f8efe0; }
.clock-meta em { font-style: normal; color: rgba(243, 232, 212, 0.55); font-size: 0.75rem; }

.hero-panel-note {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(243, 232, 212, 0.5);
  position: relative;
  z-index: 1;
}

.hero-panel-note code {
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  color: var(--gold-soft);
}

/* —— Sections —— */
.section-head { margin-bottom: 1.75rem; }

.kicker {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cinnabar);
}

.kicker.light { color: var(--gold-soft); }

.section-head h2,
.audience h2,
.waitlist-panel h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  line-height: 1.35;
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}

.section-head p,
.section-lead {
  margin: 0;
  color: var(--ink-soft);
  max-width: 40rem;
}

.features { padding: 3.5rem 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.feature-card {
  background: rgba(255, 252, 245, 0.7);
  border: 1px solid var(--line);
  border-top: 3px solid var(--cinnabar);
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: var(--radius);
}

.feature-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.audience {
  padding: 3rem 0;
  background: linear-gradient(180deg, #1f1210 0%, #140c0a 100%);
  color: #f3e8d4;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.audience h2 { color: #f8efe0; }

.audience .section-lead { color: rgba(243, 232, 212, 0.7); }

.audience-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(184, 149, 61, 0.3);
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
}

.audience-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 0.75rem;
  color: var(--gold-soft);
}

.audience-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(243, 232, 212, 0.75);
  font-size: 0.92rem;
}

.audience-card li { margin-bottom: 0.4rem; }

.pricing { padding: 3.5rem 0; }

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.price-card {
  background: #fffaf0;
  border: 1px solid var(--line);
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.price-card-featured {
  border-color: var(--cinnabar);
  background: linear-gradient(160deg, #fff6e8 0%, #fce8d4 100%);
  box-shadow: var(--shadow);
}

.price-tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}

.price-card-featured .price-tag { color: var(--cinnabar); }

.price-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.price-card p {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* —— Calendar —— */
.calendar-section {
  padding: 3rem 0 3.5rem;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.toolbar {
  position: sticky;
  top: 3.4rem;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  background: rgba(255, 250, 240, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(28, 20, 16, 0.06);
}

.toggle {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--ink-soft);
  user-select: none;
}

.toggle input { position: absolute; opacity: 0; width: 0; height: 0; }

.toggle-ui {
  width: 2.4rem;
  height: 1.3rem;
  border-radius: 2px;
  background: var(--line-strong);
  position: relative;
  flex-shrink: 0;
  transition: background 0.15s;
}

.toggle-ui::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1rem;
  height: calc(1.3rem - 4px);
  background: #fffaf0;
  border-radius: 1px;
  transition: transform 0.15s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.toggle input:checked + .toggle-ui { background: var(--jade); }
.toggle input:checked + .toggle-ui::after { transform: translateX(1.05rem); }
.toggle input:focus-visible + .toggle-ui { outline: 2px solid var(--gold); outline-offset: 2px; }

.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.count {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mute);
  min-width: 3.5rem;
  text-align: center;
}

.attraction-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.empty {
  margin: 0;
  padding: 2rem;
  text-align: center;
  color: var(--mute);
  background: rgba(255, 250, 240, 0.6);
  border: 1px dashed var(--line-strong);
}


.card {
  background: #fffaf0;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.15rem 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.card.selected {
  border-color: var(--cinnabar);
  border-left-color: var(--cinnabar);
  box-shadow: 0 0 0 1px rgba(185, 28, 28, 0.2);
}

.attr-row {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.attr-row input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.35rem;
  accent-color: var(--cinnabar);
  cursor: pointer;
  flex-shrink: 0;
}

.attr-body { flex: 1; min-width: 0; }

.attr-body h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.02em;
}

.attr-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 0.45rem;
}

.attr-clock {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--cinnabar);
  background: rgba(185, 28, 28, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
}

.attr-clock .meta { color: var(--mute); font-weight: 500; }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  border: 1px solid transparent;
}

.pill-high {
  background: rgba(47, 93, 80, 0.12);
  color: var(--jade);
  border-color: rgba(47, 93, 80, 0.25);
}

.pill-medium {
  background: rgba(184, 149, 61, 0.15);
  color: #7a5e18;
  border-color: rgba(184, 149, 61, 0.35);
}

.pill-low {
  background: rgba(185, 28, 28, 0.1);
  color: var(--cinnabar-deep);
  border-color: rgba(185, 28, 28, 0.25);
}

.pill-phone-no {
  background: rgba(47, 93, 80, 0.1);
  color: var(--jade-soft);
  border-color: rgba(47, 93, 80, 0.2);
}

.pill-phone-yes {
  background: rgba(185, 28, 28, 0.08);
  color: var(--cinnabar);
  border-color: rgba(185, 28, 28, 0.2);
}

.pill-phone-unknown {
  background: rgba(122, 106, 92, 0.1);
  color: var(--mute);
  border-color: var(--line);
}

.rule {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.meta {
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  color: var(--mute);
}

.attr-body h3 .meta {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--mute);
}

.note-warn {
  margin: 0.45rem 0;
  font-size: 0.8rem;
  color: var(--cinnabar-deep);
  background: rgba(185, 28, 28, 0.06);
  padding: 0.45rem 0.6rem;
  border-left: 2px solid var(--cinnabar);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.55rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.links a { text-decoration: none; }
.links a:hover { text-decoration: underline; }

.disclaimer {
  margin: 1.25rem 0 0;
  font-size: 0.8rem;
  color: var(--mute);
}

/* —— Waitlist —— */
.waitlist-section { padding: 3rem 0; }

.waitlist-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 1.75rem 1.75rem;
  background: #fffaf0;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
}

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: flex-start;
}

.waitlist-form input[type="email"] {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 2px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.waitlist-form input:focus {
  outline: none;
  border-color: var(--cinnabar);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12);
}

.form-msg {
  flex: 1 1 100%;
  margin: 0;
  font-size: 0.85rem;
  color: var(--jade);
}

/* —— Footer —— */
.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--mute);
  max-width: 36rem;
}

.footer-inner .brand .seal {
  width: 1.7rem;
  height: 1.7rem;
  font-size: 0.85rem;
}

.footer-inner .brand-text {
  font-size: 0.95rem;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .hero-inner,
  .audience-grid,
  .price-grid,
  .waitlist-panel {
    grid-template-columns: 1fr;
  }

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

  .hero { padding-top: 2.5rem; }
}

@media (max-width: 640px) {
  .nav a:not(.nav-cta):not(.nav-switch) { display: none; }

  .toolbar {
    top: 3.2rem;
    flex-direction: column;
    align-items: stretch;
  }

  .toolbar-actions { justify-content: space-between; }

}

/* Language switcher + topbar cluster */
.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.65rem 0.9rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--gold);
  border-radius: 2px;
  background: rgba(255, 252, 245, 0.7);
  overflow: hidden;
}
.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--mute);
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.55rem;
  cursor: pointer;
  line-height: 1.2;
}
.lang-switch button + button {
  border-left: 1px solid rgba(184, 149, 61, 0.45);
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.is-active {
  background: var(--cinnabar);
  color: #f8efe0;
}
