/* ============================================================
   GameNest.shop — "Terminal Counter" design system
   A stark black-screen / data-readout aesthetic: sharp edges,
   monospace everywhere, bracket-corner panels instead of soft
   paper cards. Same ticket/order logic, new visual language.
   ============================================================ */

:root {
  --ink: #000000;
  --ink-2: #0a0a0a;
  --ink-3: #050505;
  --paper: #ffffff;
  --paper-dim: #d8d8d8;
  --paper-line: rgba(255, 255, 255, 0.22);
  --stamp: #ffffff;
  --stamp-dark: #d8d8d8;
  --approve: #ffffff;
  --sand: #b8b8b8;
  --sand-dim: #777777;
  --line: rgba(255, 255, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.09);

  --font-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --radius: 0px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    repeating-linear-gradient(to bottom, rgba(255,255,255,0.025) 0 1px, transparent 1px 3px),
    var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.96;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h3 { font-size: 1.2rem; font-weight: 700; text-transform: none; }
em { font-style: normal; color: var(--paper); border-bottom: 3px solid var(--paper); padding-bottom: 2px; }
p { margin: 0; }

.muted { color: var(--sand-dim); font-weight: 400; }

.section { padding: 100px 24px; position: relative; }
.section:not(.hero)::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(100% - 48px, var(--container));
  height: 1px;
  background: var(--line);
}
@media (max-width: 720px) { .section { padding: 64px 20px; } }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--paper);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.section-label::before { content: "//"; color: var(--sand-dim); }

/* scanline texture already lives in the body background (see top of file) —
   removed the separate blended overlay layer here since it duplicated that
   effect while forcing an expensive full-viewport blend every frame. */

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.1s cubic-bezier(.16,.84,.44,1), transform 1.1s cubic-bezier(.16,.84,.44,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ CUSTOM CURSOR: flowing ink-ribbon trail on canvas ============ */
.has-custom-cursor, .has-custom-cursor a, .has-custom-cursor button, .has-custom-cursor input,
.has-custom-cursor summary, .has-custom-cursor label { cursor: none; }

#cursorCanvas {
  position: fixed; inset: 0; z-index: 200;
  pointer-events: none;
}
.cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 201;
  pointer-events: none;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition:
    width 0.7s cubic-bezier(.19,1,.22,1),
    height 0.7s cubic-bezier(.19,1,.22,1),
    opacity 0.5s ease;
  will-change: transform, width, height, opacity;
}
.cursor-ring.is-visible { opacity: 1; }
.cursor-ring.is-active {
  width: 58px; height: 58px;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: 100%; mask-size: 100%;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' fill='white'/%3E%3Cpolygon points='8,5 19,12 8,19' fill='black'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' fill='white'/%3E%3Cpolygon points='8,5 19,12 8,19' fill='black'/%3E%3C/svg%3E");
}
.cursor-ring.is-down { width: 42px; height: 42px; }

@media (hover: none), (pointer: coarse) {
  #cursorCanvas, .cursor-ring { display: none; }
  .has-custom-cursor, .has-custom-cursor a, .has-custom-cursor button { cursor: auto; }
}
@media (prefers-reduced-motion: reduce) {
  #cursorCanvas, .cursor-ring { display: none; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
  border: 1.5px solid var(--paper);
  transition: transform 0.45s cubic-bezier(.16,.84,.44,1), background 0.45s cubic-bezier(.16,.84,.44,1), color 0.45s cubic-bezier(.16,.84,.44,1);
}
.btn span { transition: transform 0.45s cubic-bezier(.16,.84,.44,1); }
.btn:hover span { transform: translate(3px, -3px); }
.btn:active { transform: scale(0.96); }
.btn.primary { background: var(--paper); color: var(--ink); }
.btn.primary:hover { background: transparent; color: var(--paper); }
.btn.light { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.light:hover { background: var(--ink); color: var(--paper); }
.btn.big { padding: 18px 34px; font-size: 0.9rem; }
.btn.product-btn { width: 100%; justify-content: center; background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn.product-btn:hover { background: transparent; color: var(--paper); }

.text-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--sand); border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.text-btn:hover { color: var(--paper); border-color: var(--paper); }
.text-btn.light-text { color: var(--ink); border-color: var(--paper-line); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.05em; color: var(--sand); margin-bottom: 18px; text-transform: uppercase; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 0; background: var(--paper); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0.15; } }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  background: rgba(0, 0, 0, 0.96);
  border-bottom: 1.5px solid var(--paper);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: auto;
  object-fit: contain;
}
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.01em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.nav-cta) { font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sand); transition: color 0.3s ease; }
.nav-links a:not(.nav-cta):hover { color: var(--paper); }
.nav-links a:not(.nav-cta):hover::before { content: "["; margin-right: 3px; color: var(--sand-dim); }
.nav-links a:not(.nav-cta):hover::after { content: "]"; margin-left: 3px; color: var(--sand-dim); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; background: var(--paper); color: var(--ink); padding: 10px 16px; border: 1.5px solid var(--paper); }
.nav-cta:hover { background: transparent; color: var(--paper); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--paper); }

@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; height: 100vh; width: min(78vw, 320px);
    background: var(--ink-2); flex-direction: column; align-items: flex-start;
    padding: 100px 28px 40px; gap: 22px; transition: right 0.3s ease; border-left: 1.5px solid var(--paper);
  }
  .nav-links.mobile-open { right: 0; }
  .nav-links a { font-size: 1.05rem; }
}

/* ============ HERO: terminal boot / boarding readout ============ */
.hero { padding-top: 56px; }
.ticket-hero {
  max-width: var(--container); margin: 0 auto;
  background: var(--ink); color: var(--paper);
  border: 1.5px solid var(--paper);
  overflow: hidden;
  position: relative;
}
.ticket-hero-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 32px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600;
}
.th-serial { color: var(--ink); }
.ticket-hero-body { padding: 52px 44px 40px; position: relative; overflow: hidden; }
.ticket-hero-body::after {
  content: "01";
  position: absolute; right: -0.05em; bottom: -0.2em;
  font-family: var(--font-display); font-weight: 900; font-size: 11rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.06);
  pointer-events: none; z-index: 0;
}
.ticket-hero-body > * { position: relative; z-index: 1; }
.ticket-hero-body .eyebrow { color: var(--sand); }
.ticket-hero-body .eyebrow .dot { background: var(--paper); }
.ticket-hero-body h1 { color: var(--paper); }
.ticket-hero-body h1 em { color: var(--paper); border-color: var(--paper); }
.ticket-hero-visual {
  position: absolute; top: 40px; right: 44px;
  width: 84px; height: 84px;
  display: grid; place-items: center;
  transform: none;
}
.ticket-hero-visual img { width: 84px; height: 84px; object-fit: contain; }
@media (max-width: 720px) { .ticket-hero-visual { position: static; margin-bottom: 20px; width: 60px; height: 60px; } .ticket-hero-visual img { width: 60px; height: 60px; } }
.hero-text { margin-top: 20px; max-width: 46ch; color: var(--sand); font-size: 1.06rem; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 32px; flex-wrap: wrap; }
.ticket-hero .text-btn { color: var(--sand); border-color: var(--line); }
.ticket-hero .text-btn:hover { color: var(--paper); border-color: var(--paper); }

.perforation { height: 0; border-top: 1px dashed var(--line); position: relative; margin: 0 32px; }
.perforation::before, .perforation::after {
  content: ""; position: absolute; top: -1px; width: 10px; height: 2px; background: var(--paper);
}
.perforation::before { left: -32px; } .perforation::after { right: -32px; }

.ticket-hero-stub { display: grid; grid-template-columns: repeat(3, 1fr); padding: 26px 44px 34px; }
.ticket-hero-stub div { display: flex; flex-direction: column; gap: 4px; padding-right: 12px; border-right: 1px solid var(--line-soft); }
.ticket-hero-stub div:last-child { border-right: none; }
.ticket-hero-stub strong { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; color: var(--paper); }
.ticket-hero-stub span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--sand-dim); text-transform: uppercase; letter-spacing: 0.04em; }

@media (max-width: 720px) {
  .ticket-hero-body { padding: 40px 24px 30px; }
  .ticket-hero-stub { padding: 22px 24px 28px; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .ticket-hero-top { padding: 12px 22px; }
  .perforation { margin: 0 22px; }
}

/* ============ THE DEAL strip ============ */
.deal { max-width: var(--container); margin: 0 auto; }
.deal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.deal-card {
  background: transparent; border-right: 1px solid var(--line); padding: 30px 26px;
  transition: background 0.55s cubic-bezier(.16,.84,.44,1), transform 0.55s cubic-bezier(.16,.84,.44,1);
}
.deal-card:hover { transform: translateY(-6px); }
.deal-grid .deal-card:last-child { border-right: none; }
.deal-card:hover { background: var(--ink-2); }
.stamp-icon {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border: 1.5px solid var(--paper); color: var(--paper); border-radius: 0;
  font-family: var(--font-mono); font-weight: 600; margin-bottom: 18px;
}
.deal-card h3 { margin-bottom: 10px; text-transform: uppercase; }
.deal-card p { color: var(--sand); font-size: 0.95rem; }
@media (max-width: 860px) { .deal-grid { grid-template-columns: 1fr; } .deal-card { border-right: none; border-bottom: 1px solid var(--line); } .deal-grid .deal-card:last-child { border-bottom: none; } }

/* ============ SECTION HEAD ============ */
.section-head { max-width: var(--container); margin: 0 auto 48px; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.section-head h2 { color: var(--paper); }
.section-head p { max-width: 34ch; color: var(--sand); font-size: 1rem; font-family: var(--font-mono); font-size: 0.9rem; }

/* ============ PRODUCT GRID: terminal panels sharing a border grid ============ */
.store, .crew { max-width: var(--container); margin: 0 auto; }
.product-grid, .crew-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); gap: 0; }

.ticket-stub {
  position: relative;
  background: var(--ink); color: var(--paper);
  border-right: 1px solid var(--line);
  padding: 24px 22px 26px;
  display: flex; flex-direction: column; gap: 10px;
  transition: background 0.55s cubic-bezier(.16,.84,.44,1), transform 0.55s cubic-bezier(.16,.84,.44,1);
}
.ticket-stub:hover { transform: translateY(-8px); }
.product-grid .ticket-stub:last-child, .crew-grid .ticket-stub:last-child { border-right: none; }
.ticket-stub:hover { background: var(--ink-2); }
.ticket-stub.featured { background: var(--paper); color: var(--ink); }
.ticket-stub.featured:hover { background: var(--paper-dim); }
.ticket-stub.featured .stub-row, .ticket-stub.featured .stub-unit { color: rgba(0,0,0,0.6); }
.ticket-stub.featured .stub-perf { border-color: rgba(0,0,0,0.25); }
.ticket-stub.featured .btn.product-btn { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ticket-stub.featured .btn.product-btn:hover { background: transparent; color: var(--ink); }
.ticket-stub.featured .stub-visual { background: var(--ink); }
.ticket-stub.featured .stub-visual img { filter: none; }

.badge {
  position: absolute; top: 0; right: 0;
  background: var(--paper); color: var(--ink);
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 10px;
}

.stub-row { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--sand-dim); text-transform: uppercase; }

.stub-punch { position: relative; height: 1px; background: var(--line); margin: 4px 0; }

.stub-visual { width: 38px; height: 38px; border: 1px solid var(--line); display: grid; place-items: center; }
.stub-visual img { width: 26px; height: 26px; object-fit: contain; }

.ticket-stub h3 { font-size: 2.2rem; margin-top: 4px; text-transform: none; }
.stub-unit { font-size: 0.85rem; color: var(--sand-dim); margin-top: -6px; font-family: var(--font-mono); }

.stub-perf { border-top: 1px dashed var(--line); margin: 6px 0 4px; }

.stub-price { font-family: var(--font-mono); font-weight: 600; font-size: 1.3rem; margin-bottom: 8px; }
.stub-price small { font-size: 0.7rem; opacity: 0.6; margin-left: 2px; }

.crew-stub h3 { font-size: 1.7rem; }

@media (max-width: 980px) { .product-grid, .crew-grid { grid-template-columns: repeat(2, 1fr); } .ticket-stub:nth-child(even) { border-right: none; } }
@media (max-width: 560px) { .product-grid, .crew-grid { grid-template-columns: 1fr; } .ticket-stub { border-right: none; border-bottom: 1px solid var(--line); } .ticket-stub:last-child { border-bottom: none; } }

/* ============ QUEUE / HOW IT WORKS timeline ============ */
.how { max-width: var(--container); margin: 0 auto; }
.queue { position: relative; display: flex; flex-direction: column; gap: 0; max-width: 720px; }
.queue-line { position: absolute; left: 21px; top: 10px; bottom: 10px; width: 1px; background: repeating-linear-gradient(to bottom, var(--paper) 0 4px, transparent 4px 10px); }
.queue-item { position: relative; display: flex; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line-soft); }
.queue-item:last-child { border-bottom: none; }
.queue-item span {
  flex-shrink: 0; width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--ink); border: 1.5px solid var(--paper); border-radius: 0;
  font-family: var(--font-mono); font-size: 0.9rem; color: var(--paper); z-index: 1;
}
.queue-item b { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--sand-dim); }
.queue-item h3 { margin: 6px 0 6px; font-size: 1.15rem; text-transform: none; }
.queue-item p { color: var(--sand); font-size: 0.95rem; max-width: 48ch; }

/* ============ PAYMENTS ============ */
.payments { max-width: var(--container); margin: 0 auto; }
.payment-wrap {
  display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap;
  background: var(--ink-2); border: 1px solid var(--line); padding: 44px;
}
.payment-wrap h2 { margin-top: 10px; }
.payment-wrap p { color: var(--sand); max-width: 40ch; margin-top: 14px; font-family: var(--font-mono); font-size: 0.9rem; }
.payment-grid { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--paper); min-width: 260px; }
.payment-chip {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s cubic-bezier(.16,.84,.44,1);
}
.payment-chip:last-child { border-bottom: none; }
.payment-chip:hover { background: var(--ink-2); }
.payment-mark {
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--sand-dim);
  border: 1px solid var(--line); width: 26px; height: 26px;
  display: grid; place-items: center; flex-shrink: 0;
}
.payment-chip strong {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.01em; color: var(--paper);
  white-space: nowrap;
}
a.payment-chip { text-decoration: none; cursor: pointer; }
.payment-detail {
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--sand-dim);
  letter-spacing: 0.01em; margin-left: auto; text-align: right;
}
.payment-go { color: var(--sand-dim); font-weight: 700; flex-shrink: 0; }
a.payment-chip:hover .payment-go { color: var(--paper); }
a.payment-chip:hover .payment-detail { color: var(--sand); }
@media (max-width: 560px) {
  .payment-chip { flex-wrap: wrap; row-gap: 4px; }
  .payment-detail { margin-left: 42px; text-align: left; }
}
@media (max-width: 720px) { .payment-wrap { padding: 30px 24px; } }

/* ============ PAY NOW (modal) ============ */
.pay-now-label {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em;
  color: var(--sand-dim); text-transform: uppercase; margin: 22px 0 10px;
}
.pay-now-grid { display: flex; flex-direction: column; gap: 8px; }
.pay-now-btn {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); padding: 12px 16px;
  text-decoration: none; transition: background 0.3s ease, border-color 0.3s ease;
}
.pay-now-btn span {
  font-family: var(--font-display); font-weight: 800; font-size: 0.95rem;
  text-transform: uppercase; color: var(--paper);
}
.pay-now-btn small { font-family: var(--font-mono); font-size: 0.72rem; color: var(--sand-dim); }
.pay-now-btn b { margin-left: auto; color: var(--sand-dim); font-weight: 700; }
.pay-now-btn:hover { background: var(--ink-2); border-color: var(--paper); }
.pay-now-btn.is-static { cursor: default; opacity: 0.85; }
.pay-now-btn.is-static:hover { background: transparent; border-color: var(--line); }

/* ============ FAQ ============ */
.faq { max-width: 860px; margin: 0 auto; }
.faq .section-head { max-width: none; }
.faq-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); }
.faq-list details { background: transparent; border-bottom: 1px solid var(--line); padding: 20px 24px; }
.faq-list details:last-child { border-bottom: none; }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; list-style: none; text-transform: uppercase;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font-family: var(--font-mono); color: var(--paper); font-size: 1.1rem; transition: transform 0.4s cubic-bezier(.16,.84,.44,1); }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { margin-top: 14px; color: var(--sand); font-size: 0.96rem; }

/* ============ FINAL CTA ============ */
.final-cta { max-width: var(--container); margin: 0 auto; }
.cta-box {
  position: relative; text-align: center;
  background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--paper);
  padding: 76px 32px;
  overflow: hidden;
}
.cta-box .section-label { color: rgba(0,0,0,0.6); }
.cta-box .section-label::before { color: rgba(0,0,0,0.4); }
.cta-box h2 { color: var(--ink); }
.cta-box p { margin: 18px auto 30px; max-width: 40ch; color: rgba(0,0,0,0.7); }
.cta-perf { position: absolute; left: 0; right: 0; bottom: 96px; height: 0; border-top: 1px dashed rgba(0,0,0,0.25); }
.cta-box .btn.light { border-color: var(--ink); color: var(--ink); }
.cta-box .btn.light:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 720px) { .cta-box { padding: 56px 24px; } .cta-perf { display: none; } }

/* ============ FOOTER ============ */
.footer { max-width: var(--container); margin: 0 auto; padding: 60px 24px 40px; }
.footer-main { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid var(--line-soft); }
.footer-main p { color: var(--sand); margin-top: 10px; font-family: var(--font-mono); font-size: 0.85rem; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; }
.footer-links a { font-family: var(--font-mono); font-size: 0.82rem; text-transform: uppercase; color: var(--sand); }
.footer-links a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--sand-dim); flex-wrap: wrap; gap: 10px; text-transform: uppercase; }

/* ============ MODAL: terminal ticket printout ============ */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.5s cubic-bezier(.16,.84,.44,1); }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.92); }
.modal-box {
  position: relative; width: 100%; max-width: 500px;
  background: var(--ink); color: var(--paper);
  border: 1.5px solid var(--paper);
  border-bottom: none;
  padding: 30px 28px 34px;
  max-height: 92vh; overflow-y: auto;
  transform: translateY(36px);
  transition: transform 0.6s cubic-bezier(.16,.84,.44,1);
}
.modal.open .modal-box { transform: translateY(0); }
@media (min-width: 640px) {
  .modal { align-items: center; }
  .modal-box { border-bottom: 1.5px solid var(--paper); margin-bottom: 0; }
}

.modal-close { position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; border: 1.5px solid var(--paper); background: transparent; color: var(--paper); font-size: 1.1rem; line-height: 1; }
.modal-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--sand); text-transform: uppercase; margin-bottom: 8px; }
.modal-box h2 { font-size: 1.7rem; padding-right: 30px; }
.modal-price { font-family: var(--font-mono); font-weight: 600; font-size: 1.1rem; color: var(--paper); margin-top: 6px; }

.modal-field { margin-top: 24px; }
.modal-field label { display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--sand); margin-bottom: 8px; text-transform: uppercase; }
.modal-field input {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line);
  background: var(--ink-2); font-family: var(--font-mono); font-size: 0.98rem; color: var(--paper);
}
.modal-field input:focus { outline: none; border-color: var(--paper); }

.order-info-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--sand); margin-top: 22px; margin-bottom: 8px; text-transform: uppercase; }
.order-info-box { background: var(--ink-2); border: 1px solid var(--line); padding: 16px 18px; }
.order-info-box pre { margin: 0; font-family: var(--font-mono); font-size: 0.82rem; color: var(--paper); white-space: pre-wrap; word-break: break-word; }

.result-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.modal-action {
  flex: 1; min-width: 160px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 16px; border: 1.5px solid var(--paper);
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.copy-btn { background: var(--paper); color: var(--ink); }
.copy-btn:hover { background: transparent; color: var(--paper); }
.discord-btn { background: transparent; color: var(--paper); }
.discord-btn:hover { background: var(--paper); color: var(--ink); }

.copy-note { margin-top: 16px; font-size: 0.85rem; color: var(--sand); font-family: var(--font-mono); }
.copy-note.copied { color: var(--paper); font-weight: 600; }

@media (max-width: 560px) {
  .ticket-hero-stub { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .ticket-hero-stub div:last-child { grid-column: span 2; border-right: none; }
}

/* ============ RATINGS / REVIEWS ============ */
.review-form {
  max-width: 560px; margin: 0 auto 60px;
  border: 1px solid var(--line); padding: 30px 26px;
  display: flex; flex-direction: column; gap: 16px;
}
.review-form > * { width: 100%; box-sizing: border-box; }
.star-input { width: auto; display: flex; gap: 8px; justify-content: center; flex-wrap: nowrap; }
.star-input .star {
  background: none; border: none; color: var(--sand-dim);
  font-size: 2.2rem; line-height: 1; cursor: pointer; padding: 0;
  transition: color 0.3s cubic-bezier(.16,.84,.44,1), transform 0.3s cubic-bezier(.34,1.56,.64,1);
}
.star-input .star:hover, .star-input .star.hovered { transform: scale(1.15); }
.star-input .star.selected, .star-input .star.hovered { color: var(--paper); }
.review-form textarea {
  width: 100%; min-height: 80px; resize: vertical;
  padding: 13px 14px; border: 1.5px solid var(--line);
  background: var(--ink-2); font-family: var(--font-mono); font-size: 0.9rem; color: var(--paper);
}
.review-form textarea:focus { outline: none; border-color: var(--paper); }
.review-form input {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line);
  background: var(--ink-2); font-family: var(--font-mono); font-size: 0.9rem; color: var(--paper);
}
.review-form input:focus { outline: none; border-color: var(--paper); }
.review-form .btn { align-self: center; }

.review-list { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.review-card { padding: 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.review-card .review-stars { color: var(--paper); letter-spacing: 2px; margin-bottom: 8px; font-size: 1rem; }
.review-card p { color: var(--sand); font-size: 0.92rem; }
.review-card .review-meta { margin-top: 10px; font-family: var(--font-mono); font-size: 0.68rem; color: var(--sand-dim); text-transform: uppercase; letter-spacing: 0.05em; }
.review-empty { grid-column: 1 / -1; padding: 30px 24px; text-align: center; color: var(--sand-dim); font-family: var(--font-mono); font-size: 0.85rem; }
@media (max-width: 860px) { .review-list { grid-template-columns: 1fr; } .review-card { border-right: none; } }
