:root {
  --ink: #100f12;
  --paper: #f3f0e7;
  --paper-2: #ddd8c9;
  --chalk: #fffaf0;
  --acid: #cfff4f;
  --mint: #7be0c3;
  --cobalt: #4258ff;
  --rose: #ff6d7a;
  --amber: #f7c66f;
  --muted: #686255;
  --line: rgba(16, 15, 18, 0.14);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--acid);
  transform-origin: left;
  z-index: 200;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 16px clamp(18px, 4vw, 54px);
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--chalk);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 0.9;
  white-space: nowrap;
}

.brand span:first-child,
.brand span:last-child {
  font-style: italic;
}

.nav-links {
  justify-self: center;
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(14px);
}

.nav-links a,
.nav-cta {
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.nav-links a:hover,
.nav-cta:hover {
  background: rgba(255, 250, 240, 0.14);
}

.nav-cta {
  justify-self: end;
  border: 1px solid rgba(255, 250, 240, 0.45);
  background: rgba(255, 250, 240, 0.1);
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
  color: var(--chalk);
  display: grid;
  align-items: end;
  padding: 120px clamp(18px, 5vw, 72px) 34px;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 15, 18, 0.94), rgba(16, 15, 18, 0.58) 42%, rgba(16, 15, 18, 0.18)),
    linear-gradient(180deg, rgba(16, 15, 18, 0.2), rgba(16, 15, 18, 0.86));
}

.hero-content {
  position: relative;
  max-width: 980px;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 930px;
  font-family: var(--serif);
  font-size: clamp(58px, 11vw, 148px);
  font-weight: 400;
  line-height: 0.83;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 250, 240, 0.8);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.pill-button,
.event-card,
.mood-card,
.ticket-bar button,
.listing-row button,
.glossary-term,
.phone-action {
  border: 0;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover,
.mood-card:hover,
.event-card:hover,
.ticket-bar button:hover,
.listing-row button:hover,
.glossary-term:hover,
.phone-action:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--acid);
  color: var(--ink);
}

.button.secondary {
  background: rgba(255, 250, 240, 0.12);
  color: var(--chalk);
  border: 1px solid rgba(255, 250, 240, 0.25);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: currentColor;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1;
}

.button.secondary .icon,
.app-principles .icon {
  background: var(--chalk);
}

.hero-dock {
  position: relative;
  z-index: 2;
  justify-self: end;
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: 10px;
  align-items: baseline;
  margin-top: 44px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 250, 240, 0.24);
  border-radius: 999px;
  background: rgba(16, 15, 18, 0.34);
  backdrop-filter: blur(16px);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.hero-dock strong {
  color: var(--acid);
  font-size: 19px;
}

.ticker {
  overflow: hidden;
  background: var(--acid);
  color: var(--ink);
  border-block: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.ticker div {
  display: flex;
  width: max-content;
  gap: 44px;
  padding: 14px 0;
  animation: ticker 24s linear infinite;
}

.ticker span::before {
  content: "•";
  margin-right: 44px;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section {
  scroll-margin-top: 96px;
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 72px);
}

.section-header {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-header h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 400;
  line-height: 0.9;
}

.section-header p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.mood-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mood-card {
  min-height: 230px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--mood), transparent 72%), transparent),
    var(--chalk);
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.mood-card.active {
  border-color: var(--ink);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--mood), white 10%), color-mix(in srgb, var(--mood), transparent 75%)),
    var(--chalk);
}

.mood-card span,
.mood-card small {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mood-card strong {
  display: block;
  max-width: 360px;
  margin: 32px 0 22px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 400;
  line-height: 0.95;
}

.explorer {
  margin-top: 16px;
}

.welcome-strip {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 0 0 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(207, 255, 79, 0.36), rgba(123, 224, 195, 0.18)),
    var(--chalk);
}

.welcome-strip div {
  display: grid;
  gap: 4px;
}

.welcome-strip span,
.wallet-topline,
.saved-header span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.welcome-strip strong {
  font-size: 22px;
}

.welcome-strip p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.welcome-strip button {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--chalk);
  cursor: pointer;
  font-weight: 800;
}

.welcome-strip button.active {
  background: var(--chalk);
  color: var(--ink);
}

.explorer-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.pill-button {
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
}

.pill-button.active {
  background: var(--ink);
  color: var(--chalk);
  border-color: var(--ink);
}

.event-browser {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 14px;
  align-items: stretch;
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-card {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.58);
  text-align: left;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.event-card.selected {
  background: var(--ink);
  color: var(--chalk);
  border-color: var(--ink);
}

.event-date,
.event-meta,
.detail-topline,
.ticket-bar span,
.console-header,
.listing-row span,
.glossary-answer span,
.phone-status,
.route-card span,
.qr-card span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.event-main {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.event-main strong {
  font-size: 18px;
}

.event-main em {
  width: fit-content;
  padding: 4px 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--acid), transparent 58%);
  color: var(--ink);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.event-main span,
.event-meta {
  color: var(--muted);
}

.event-card.selected .event-main span,
.event-card.selected .event-meta {
  color: rgba(255, 250, 240, 0.64);
}

.event-card.selected .event-main em {
  background: var(--acid);
}

.empty-state,
.event-detail,
.trust-panel,
.resale-console,
.glossary-answer {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--chalk);
}

.empty-state {
  display: grid;
  gap: 8px;
  padding: 24px;
}

.empty-state-btn {
  justify-self: start;
  margin-top: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.08);
  color: var(--chalk);
  border: 1px solid rgba(255, 250, 240, 0.2);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
  width: fit-content;
}

.empty-state-btn:hover {
  background: rgba(255, 250, 240, 0.16);
  border-color: rgba(255, 250, 240, 0.4);
  transform: translateY(-1px);
}

.empty-state-btn:active {
  transform: translateY(0);
}

.event-detail {
  min-height: 420px;
  padding: clamp(22px, 4vw, 42px);
}

.detail-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.event-detail h3 {
  margin: 26px 0 0;
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 400;
  line-height: 0.9;
}

.event-detail p {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.practical-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.practical-list div {
  display: flex;
  gap: 10px;
  align-items: center;
}

.ticket-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 34px;
  padding: 14px;
  border-radius: 8px;
  background: var(--paper);
}

.ticket-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ticket-bar div {
  display: grid;
  gap: 4px;
}

.ticket-bar strong {
  font-size: 22px;
}

.ticket-bar button,
.listing-row button,
.phone-action {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--chalk);
  font-weight: 800;
  transition: transform 160ms ease;
}

.ticket-actions button:first-child {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.checklist {
  background:
    linear-gradient(180deg, rgba(123, 224, 195, 0.18), transparent 38%),
    var(--paper);
}

.checklist-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1.28fr);
  gap: 14px;
  align-items: stretch;
}

.checklist-score,
.checklist-item,
.ticket-wallet,
.saved-nights,
.login-panel,
.link-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--chalk);
}

.checklist-score {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 430px;
  padding: 28px;
  text-align: center;
  transition: box-shadow 300ms ease, border-color 300ms ease;
}

.checklist-score.complete {
  border-color: var(--mint);
  box-shadow: 0 8px 30px rgba(123, 224, 195, 0.15);
}

.checklist-score > span {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 300ms ease;
}

.checklist-score.complete > span {
  color: var(--mint);
}

.score-ring {
  display: grid;
  place-items: center;
  width: min(240px, 70vw);
  aspect-ratio: 1;
  margin: 22px 0;
  border-radius: 50%;
  background:
    radial-gradient(var(--chalk) 0 56%, transparent 57%),
    conic-gradient(var(--acid) var(--ready), rgba(16, 15, 18, 0.12) 0);
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.checklist-score.complete .score-ring {
  background:
    radial-gradient(var(--chalk) 0 56%, transparent 57%),
    conic-gradient(var(--mint) 100%, rgba(16, 15, 18, 0.12) 0);
  transform: scale(1.05);
  animation: neonPulse 2s infinite ease-in-out;
}

.score-ring strong {
  font-family: var(--serif);
  font-size: 70px;
  font-weight: 400;
  transition: color 300ms ease;
}

.checklist-score.complete .score-ring strong {
  color: var(--mint);
}

.checklist-score p {
  max-width: 340px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

@keyframes neonPulse {
  0% { box-shadow: 0 0 15px rgba(123, 224, 195, 0.2); }
  50% { box-shadow: 0 0 30px rgba(123, 224, 195, 0.5); }
  100% { box-shadow: 0 0 15px rgba(123, 224, 195, 0.2); }
}

.checklist-items {
  display: grid;
  gap: 8px;
}

.checklist-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 80px;
  padding: 16px;
  text-align: left;
  transition: transform 160ms ease, background 160ms ease;
  cursor: pointer;
}

.checklist-item:hover {
  transform: translateX(4px);
}

.checklist-item.checked {
  background:
    linear-gradient(90deg, rgba(207, 255, 79, 0.42), transparent),
    var(--chalk);
}

.check-dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font-weight: 900;
}

.checklist-item.checked .check-dot {
  background: var(--acid);
}

.checklist-item strong,
.saved-nights button strong {
  display: block;
  font-size: 17px;
}

.checklist-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.resale {
  background: var(--ink);
  color: var(--chalk);
}

.resale .section-header p {
  color: rgba(255, 250, 240, 0.68);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.trust-panel {
  background: #19181c;
  color: var(--chalk);
  border-color: rgba(255, 250, 240, 0.16);
  padding: 24px;
}

.trust-panel strong {
  display: block;
  color: var(--acid);
  font-family: var(--serif);
  font-size: clamp(52px, 8vw, 92px);
  font-weight: 400;
  line-height: 0.85;
}

.trust-panel span {
  display: block;
  margin-top: 10px;
  font-weight: 800;
}

.trust-panel p {
  margin: 10px 0 0;
  color: rgba(255, 250, 240, 0.62);
  line-height: 1.5;
}

.resale-console {
  margin-top: 14px;
  background: #0b0b0d;
  color: var(--chalk);
  border-color: rgba(255, 250, 240, 0.16);
  overflow: hidden;
}

.console-header,
.listing-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 250, 240, 0.12);
}

.listing-row {
  grid-template-columns: 1fr 120px 1fr auto;
  min-height: 70px;
}

.listing-row strong {
  color: var(--mint);
  font-size: 24px;
}

.listing-row button {
  background: var(--acid);
  color: var(--ink);
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: 14px;
}

.glossary-list {
  display: grid;
  gap: 8px;
}

.glossary-term {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 62px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.56);
  font-weight: 800;
  text-align: left;
  transition: transform 160ms ease, background 160ms ease;
}

.glossary-term.active {
  background: var(--cobalt);
  color: white;
}

.glossary-answer {
  display: flex;
  min-height: 414px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 5vw, 56px);
  background:
    linear-gradient(140deg, rgba(207, 255, 79, 0.34), transparent 42%),
    var(--chalk);
}

.glossary-answer h3 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(62px, 12vw, 150px);
  font-weight: 400;
  line-height: 0.82;
}

.glossary-answer p {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.18;
}

.my-tix {
  background:
    linear-gradient(120deg, rgba(255, 109, 122, 0.12), transparent 48%),
    var(--paper);
}

.mytix-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 14px;
}

.ticket-wallet {
  position: relative;
  min-height: 430px;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(66, 88, 255, 0.16), transparent 45%),
    var(--chalk);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 12px !important;
}

.wallet-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
}

.ticket-main h3 {
  margin: 28px 0 8px;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 400;
  line-height: 0.86;
}

.ticket-main p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* Notched stub divider */
.ticket-stub-divider {
  position: relative;
  height: 1px;
  border-top: 2px dashed var(--line);
  margin: 24px -28px 16px; /* stretch to edge */
  z-index: 4;
}

.ticket-stub-divider::before,
.ticket-stub-divider::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--paper); /* matching page bg */
  border-radius: 50%;
  border: 1px solid var(--line);
  top: -12px;
  z-index: 5;
}

.ticket-stub-divider::before {
  left: -13px; /* left side notch */
}

.ticket-stub-divider::after {
  right: -13px; /* right side notch */
}

/* Digital Ticket Barcode styling */
.ticket-barcode {
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: 48px;
  gap: 3px;
  padding: 0 16px;
  margin-top: 8px;
  opacity: 0.85;
}

.barcode-line {
  background: var(--cobalt);
  border-radius: 1px;
  display: block;
}

.wallet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.wallet-grid div {
  min-height: 120px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.58);
}

.wallet-grid span,
.saved-nights button span,
.saved-nights button em {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.wallet-grid strong {
  display: block;
  margin-top: 12px;
  line-height: 1.25;
}

.saved-nights {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 14px;
}

.saved-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 4px 2px 10px;
}

.saved-nights button {
  display: grid;
  gap: 6px;
  min-height: 94px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  text-align: left;
  cursor: pointer;
}

.saved-nights button:hover {
  background: var(--acid);
}

.account {
  background:
    linear-gradient(160deg, rgba(207, 255, 79, 0.24), transparent 42%),
    var(--paper);
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(320px, 1.2fr);
  gap: 14px;
  align-items: stretch;
}

.login-panel {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: clamp(22px, 4vw, 34px);
}

.login-panel label {
  display: grid;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-panel input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: 700 16px var(--sans);
}

.login-panel input:focus {
  outline: 3px solid rgba(207, 255, 79, 0.62);
  border-color: var(--ink);
}

.login-panel > button,
.login-actions button {
  min-height: 48px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--chalk);
  cursor: pointer;
  font-weight: 900;
}

.login-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.login-actions button {
  background: transparent;
  color: var(--ink);
}

.link-panel {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 14px;
}

.link-panel button {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  text-align: left;
  cursor: pointer;
}

.link-panel button.linked {
  background:
    linear-gradient(90deg, rgba(207, 255, 79, 0.48), transparent),
    var(--paper);
}

.link-panel button:hover {
  border-color: var(--ink);
}

.link-panel button span {
  display: grid;
  gap: 6px;
}

.link-panel button em {
  font-style: normal;
  color: var(--muted);
}

.link-panel button b {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--chalk);
  font-size: 12px;
}

.link-panel button.linked b {
  background: var(--acid);
  color: var(--ink);
}

.mobile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(28px, 7vw, 96px);
  align-items: center;
  background:
    linear-gradient(180deg, transparent, rgba(66, 88, 255, 0.11)),
    var(--paper-2);
}

.app-principles {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.app-principles span {
  display: flex;
  gap: 10px;
  align-items: center;
  width: fit-content;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.56);
  font-weight: 800;
}

.phone-shell {
  position: relative;
  width: min(390px, 100%);
  min-height: 760px;
  border: 12px solid var(--ink);
  border-radius: 44px;
  background: var(--ink);
  box-shadow: 0 36px 90px rgba(16, 15, 18, 0.32);
  overflow: hidden;
}

.phone-top {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 2;
  width: 112px;
  height: 30px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--ink);
}

.phone-screen {
  min-height: 760px;
  padding: 62px 20px 22px;
  border-radius: 30px;
  background:
    linear-gradient(160deg, rgba(207, 255, 79, 0.2), transparent 35%),
    #151519;
  color: var(--chalk);
}

.phone-status,
.route-card span,
.qr-card span {
  color: rgba(255, 250, 240, 0.58);
}

.phone-status {
  display: flex;
  justify-content: space-between;
}

.phone-screen h3 {
  margin: 28px 0 6px;
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 400;
  line-height: 0.9;
}

.phone-screen p {
  margin: 0;
  color: rgba(255, 250, 240, 0.66);
}

.route-card,
.qr-card {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(255, 250, 240, 0.14);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.06);
}

.route-card {
  display: grid;
  gap: 8px;
}

.route-card strong {
  font-size: 18px;
}

.qr-card {
  display: grid;
  gap: 14px;
  place-items: center;
  min-height: 260px;
  text-align: center;
}

.qr-mark {
  width: 178px;
  height: 178px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #fff 12px, transparent 12px 24px, #fff 24px 36px, transparent 36px),
    linear-gradient(#fff 12px, transparent 12px 24px, #fff 24px 36px, transparent 36px),
    var(--acid);
  background-size: 42px 42px;
}

.phone-action {
  width: 100%;
  margin-top: 20px;
  background: var(--rose);
  color: var(--ink);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
  color: var(--muted);
}

.footer a {
  font-weight: 800;
}

@media (max-width: 940px) {
  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-dock {
    justify-self: stretch;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    border-radius: 18px;
  }

  .mood-grid,
  .event-browser,
  .trust-grid,
  .guide-layout,
  .checklist-layout,
  .mytix-layout,
  .account-layout,
  .mobile {
    grid-template-columns: 1fr;
  }

  .mobile {
    justify-items: center;
  }

  .mobile-copy {
    justify-self: stretch;
  }
}

@media (max-width: 640px) {
  .section {
    scroll-margin-top: 0;
  }

  .nav-cta {
    display: none;
  }

  .site-nav {
    display: block;
  }

  .hero {
    padding-top: 96px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(16, 15, 18, 0.28), rgba(16, 15, 18, 0.92)),
      linear-gradient(90deg, rgba(16, 15, 18, 0.8), rgba(16, 15, 18, 0.2));
  }

  .hero-dock,
  .detail-topline,
  .ticket-bar,
  .welcome-strip,
  .footer {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    border-radius: 8px;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .listing-row,
  .console-header {
    grid-template-columns: 1fr;
  }

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

  .login-actions {
    grid-template-columns: 1fr;
  }

  .phone-shell {
    min-height: 680px;
  }

  .phone-screen {
    min-height: 680px;
  }
}

/* Modal Backdrop */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 15, 18, 0.72);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  animation: fadeIn 200ms ease-out;
}

/* Modal Content Box */
.inspect-modal {
  background: var(--chalk);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 5vw, 40px);
  width: 100%;
  max-width: 460px;
  box-shadow: 0 24px 64px rgba(16, 15, 18, 0.28);
  position: relative;
  animation: modalPop 250ms cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Modal Close Button */
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: 0;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: color 150ms ease, background 150ms ease;
}

.modal-close:hover {
  color: var(--ink);
  background: rgba(16, 15, 18, 0.06);
}

/* Inspect Modal specific */
.inspect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 12px 0;
  background: var(--paper);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.inspect-grid div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.inspect-grid span {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.05em;
  display: block;
}

.inspect-grid strong {
  font-size: 16px;
  color: var(--ink);
  display: block;
}

.modal-primary {
  min-height: 48px;
  background: var(--acid);
  color: var(--ink);
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease;
}

.modal-primary:hover {
  transform: translateY(-2px);
}

/* Segmented Control for Browse Mode Toggle */
.welcome-toggle-group {
  display: flex;
  gap: 4px;
  background: rgba(16, 15, 18, 0.05);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.welcome-toggle-group button {
  min-height: 38px !important;
  padding: 8px 16px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--muted) !important;
  font-weight: 800 !important;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.welcome-toggle-group button:hover {
  color: var(--ink) !important;
}

.welcome-toggle-group button.active {
  background: var(--ink) !important;
  color: var(--chalk) !important;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalPop {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
