/* =========================================================
   BANZFINDS — styles
   ========================================================= */
:root {
  --bg: #170b1f;
  --bg-2: #1d0f29;
  --panel: #241334;
  --panel-2: #2c1840;
  --line: #3a2352;
  --line-2: #5a3a80;
  --text: #ffffff;
  --muted: #bba9cf;
  --dim: #8a77a0;
  --yellow: #ffd60a;
  --yellow-2: #ffe84d;
  --pink: #ff2d7e;
  --cyan: #22b8ff;
  --purple: #7b3fe4;
  --card-img: #e8e6ec;

  --f-display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --f-title: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --f-brand: "Lilita One", "Arial Rounded MT Bold", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  --skew: -10deg;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 92px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--f-body);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before { /* subtle diagonal texture */
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(123, 63, 228, .22), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(255, 45, 126, .08), transparent 60%),
    repeating-linear-gradient(-58deg, rgba(255,255,255,.018) 0 1px, transparent 1px 46px);
  pointer-events: none;
  z-index: -1;
}
img { max-width: 100%; display: block; }
main { overflow-x: clip; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); color: #000; padding: 8px 14px; font-weight: 700; }
.skip:focus { left: 8px; }
.mono { font-family: var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Wordmark ---------- */
.wordmark {
  display: block;
  height: 50px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  aspect-ratio: 1200 / 337;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .45));
  transition: transform .4s var(--ease);
  user-select: none;
  -webkit-user-drag: none;
}
.brand:hover .wordmark { transform: rotate(-2deg) scale(1.03); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(23, 11, 31, .86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.site-header::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px; background: var(--line-2); opacity: .7; }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-logo { width: 60px; height: 60px; transition: transform .5s var(--ease); }
.brand:hover .brand-logo { transform: rotate(-12deg) scale(1.06); }
.main-nav { margin-left: auto; display: flex; gap: 6px; }
.main-nav a {
  font-family: var(--f-title); font-style: italic; font-weight: 800;
  font-size: 22px; letter-spacing: .01em; text-transform: uppercase;
  text-decoration: none; padding: 6px 11px; position: relative; color: #fff; white-space: nowrap;
  transition: color .2s;
}
.main-nav a::before {
  content: ""; position: absolute; inset: 6px 4px; z-index: -1;
  background: var(--yellow); transform: skewX(var(--skew)) scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.main-nav a:hover { color: #1a0b22; }
.main-nav a:hover::before, .main-nav a.active::before { transform: skewX(var(--skew)) scaleX(1); }
.main-nav a.active { color: #1a0b22; }
.header-tools { display: flex; align-items: center; gap: 8px; }
.currency select {
  appearance: none; background: transparent; color: var(--muted);
  border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px;
  font: 600 13px var(--f-mono); letter-spacing: .06em; cursor: pointer;
}
.currency select:hover { color: #fff; border-color: var(--muted); }
.currency option { background: var(--bg-2); }
.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line-2); background: transparent; cursor: pointer; color: #fff;
  transition: border-color .2s, background .2s, transform .2s;
}
.icon-btn:hover { border-color: var(--yellow); background: rgba(255, 214, 10, .08); }
.saved-link { text-decoration: none; }
.saved-link.active { color: var(--yellow); border-color: var(--yellow); }
.saved-count {
  position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--pink); color: #fff; font: 700 11px/20px var(--f-body); text-align: center;
}
.burger { display: none; }
.burger span { display: block; width: 22px; height: 2px; background: currentColor; margin: 2.5px 0; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 39;
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
  padding: 24px var(--gutter) 40px; overflow: auto;
  background: var(--bg);
}
.mobile-menu[hidden] { display: none; }
.mm-bg { position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(-58deg, rgba(123,63,228,.08) 0 2px, transparent 2px 38px); }
.mm-list { display: flex; flex-direction: column; gap: 2px; position: relative; }
.mm-list a {
  font-family: var(--f-display); font-style: italic; text-transform: uppercase;
  font-size: clamp(40px, 12vw, 64px); line-height: 1.05; text-decoration: none; color: #fff;
  transform: skewX(-6deg); opacity: 0; animation: mmIn .5s var(--ease) forwards;
  animation-delay: calc(var(--i) * 55ms); width: max-content; padding: 0 10px;
}
.mm-list a:nth-child(even) { color: var(--muted); }
.mm-list a.active { background: var(--yellow); color: #1a0b22; }
@keyframes mmIn { from { opacity: 0; transform: translateX(-30px) skewX(-6deg); } to { opacity: 1; transform: skewX(-6deg); } }
.mm-coupon { position: relative; align-self: flex-start; font: 700 14px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: #1a0b22; background: var(--pink); color: #fff; padding: 12px 18px; text-decoration: none; transform: skewX(-8deg); }

/* ---------- Views ---------- */
.view { display: none; }
.view.is-active { display: block; animation: viewIn .55s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
body.is-home .site-header, body.is-home .site-footer { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-title); font-style: italic; font-weight: 800; text-transform: uppercase;
  font-size: 21px; letter-spacing: .02em; line-height: 1;
  padding: 14px 22px; border-radius: 8px; border: 2px solid transparent; cursor: pointer;
  text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s;
}
.btn-yellow { background: var(--yellow); color: #1a0b22; box-shadow: 4px 4px 0 var(--pink); }
.btn-yellow:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--pink); background: var(--yellow-2); }
.btn-yellow:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--pink); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-sm { font-size: 18px; padding: 10px 16px; }
.btn-lg { font-size: 25px; padding: 17px 26px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 12px; padding: 6px; }
.link-btn:hover { color: #fff; }

/* ---------- Display type ---------- */
.display {
  font-family: var(--f-display); font-weight: 400; font-style: italic;
  text-transform: uppercase; line-height: .9; letter-spacing: -.005em;
  font-size: clamp(64px, 11vw, 150px); margin: 0;
  transform: skewX(-8deg); transform-origin: left bottom;
  text-shadow: 0 6px 30px rgba(0,0,0,.35);
}
.display-sm { font-family: var(--f-display); font-style: italic; text-transform: uppercase; font-weight: 400; font-size: clamp(34px, 5vw, 52px); line-height: 1; margin: 0 0 12px; transform: skewX(-8deg); transform-origin: left; }
.underline-bar { display: block; width: 130px; height: 12px; background: var(--yellow); transform: skewX(-24deg); margin: 14px 0 0 6px; transform-origin: left; animation: barIn .8s .15s var(--ease) both; }
@keyframes barIn { from { transform: skewX(-24deg) scaleX(0); } }

/* ---------- Hero (Latest Finds) ---------- */
.hero {
  position: relative; margin-top: 20px; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: center;
  min-height: 280px; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(70% 120% at 80% 60%, #3d1c5c 0%, #2a1340 45%, transparent 75%),
    linear-gradient(180deg, transparent, rgba(61, 28, 92, .35));
}
.hero-copy { position: relative; z-index: 2; padding: 40px 0 36px; }
.hero .display { white-space: nowrap; font-size: clamp(60px, 9.6vw, 132px); }
.hero .display span { display: inline-block; animation: wordIn .7s var(--ease) both; }
.hero .display span:nth-child(2) { animation-delay: .08s; }
@keyframes wordIn { from { opacity: 0; transform: translateY(40%) skewX(8deg); } }
.hero-sub { color: var(--muted); max-width: 440px; margin: 18px 0 0; font-size: 15px; }
.hero-art { position: relative; align-self: stretch; }
.hero-art img {
  position: absolute; right: -4%; bottom: 0; height: 100%; max-height: 300px; width: auto; max-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 92%, transparent 100%), linear-gradient(0deg, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 92%, transparent 100%);
  animation: heroArt 1s .1s var(--ease) both;
}
@keyframes heroArt { from { opacity: 0; transform: translateX(40px) scale(1.04); } }

/* ---------- Ticker ---------- */
.ticker { background: var(--yellow); color: #1a0b22; overflow: hidden; transform: rotate(-1.2deg); margin: 26px -20px 8px; border-top: 3px solid #1a0b22; border-bottom: 3px solid #1a0b22; box-shadow: 0 8px 0 var(--pink); }
.ticker-track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker-track span { font-family: var(--f-display); font-style: italic; font-size: 26px; text-transform: uppercase; padding: 8px 22px; white-space: nowrap; display: flex; align-items: center; gap: 22px; }
.ticker-track span::after { content: "✦"; font-size: 18px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Toolbar ---------- */
.toolbar { display: flex; gap: 16px; margin: 28px 0 18px; align-items: stretch; }
.sticky-tools { position: sticky; top: var(--header-h); z-index: 20; padding: 12px 0; margin: 18px 0 10px; background: linear-gradient(180deg, var(--bg) 70%, transparent); }
.search {
  flex: 1; display: flex; align-items: center; gap: 12px;
  border: 1.5px solid var(--line-2); border-radius: 8px; padding: 0 16px; height: 52px;
  background: rgba(36, 19, 52, .55); color: var(--muted);
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255,214,10,.12); color: #fff; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #fff; font: 500 17px var(--f-body); height: 100%; }
.search input::placeholder { color: var(--muted); }
.search-narrow { max-width: 520px; margin: 26px 0; }
.filters { position: relative; }
.filters-btn {
  height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 18px; min-width: 180px; justify-content: space-between;
  border: 1.5px solid var(--line-2); border-radius: 8px; background: rgba(36, 19, 52, .55); cursor: pointer;
  font: 600 17px var(--f-body);
}
.filters-btn:hover, .filters-btn[aria-expanded="true"] { border-color: var(--yellow); }
.filters-btn .chev { transition: transform .25s; }
.filters-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.filters-btn .dotflag { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.filters-pop {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: 320px;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; padding: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5); animation: popIn .22s var(--ease);
}
@keyframes popIn { from { opacity: 0; transform: translateY(-6px); } }
.fp-group + .fp-group { margin-top: 16px; }
.fp-label { display: block; font: 700 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.fp-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.fp-opts button { border: 1px solid var(--line-2); background: transparent; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; cursor: pointer; }
.fp-opts button[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: #1a0b22; }
.fp-range { display: flex; gap: 8px; align-items: center; }
.fp-range input { width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 8px; color: #fff; padding: 8px 10px; font: 500 14px var(--f-body); }
.fp-toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; font-size: 14px; }
.fp-toggle input { width: 18px; height: 18px; accent-color: var(--yellow); }
.fp-foot { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }

/* ---------- Chips ---------- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.chip {
  border: 1.5px solid #e9e1f3; background: transparent; color: #fff; border-radius: 999px;
  padding: 7px 20px; font: 600 16px var(--f-body); cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.chip:hover { border-color: var(--yellow); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: #1a0b22; }
.chip small { opacity: .6; font-weight: 500; margin-left: 4px; font-size: .8em; }
.chip-row { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }
.chip-row .chip-label { flex-shrink: 0; width: 76px; font-size: 11px; color: var(--dim); }
.chips-scroll { flex-wrap: nowrap; overflow-x: auto; border: 0; padding: 12px 0; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.chips-scroll::-webkit-scrollbar { display: none; }
.chips-scroll .chip { padding: 6px 15px; font-size: 14px; }
.results-head { display: flex; justify-content: space-between; align-items: center; min-height: 44px; color: var(--dim); font-size: 12px; }

/* ---------- Product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }
.card {
  position: relative; display: flex; flex-direction: column;
  border-bottom: 1px solid var(--line-2); padding-bottom: 14px;
  animation: cardIn .5s var(--ease) both; animation-delay: calc(var(--d, 0) * 30ms);
  cursor: pointer;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } }
.card-media { position: relative; aspect-ratio: 1 / .92; background: var(--card-img); border-radius: 4px; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--yellow); transition: box-shadow .25s; pointer-events: none; border-radius: 4px; }
.card:hover .card-media::after { box-shadow: inset 0 0 0 4px var(--yellow); }
.card-tag {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  font: 700 10px var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  background: var(--yellow); color: #1a0b22; padding: 4px 9px; transform: skewX(-10deg);
}
.card-qc { position: absolute; left: 10px; bottom: 10px; z-index: 2; font: 700 10px var(--f-mono); letter-spacing: .1em; background: #1a0b22; color: var(--cyan); padding: 4px 8px; border-radius: 3px; }
.heart {
  position: absolute; right: 8px; top: 8px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer; background: rgba(26, 11, 34, .72); color: #fff;
  backdrop-filter: blur(4px); transition: transform .2s var(--ease), background .2s;
}
.heart:hover { transform: scale(1.12); }
.heart[aria-pressed="true"] { background: var(--pink); }
.heart[aria-pressed="true"] svg path { fill: #fff; }
.heart.pop { animation: heartPop .45s var(--ease); }
@keyframes heartPop { 40% { transform: scale(1.35); } }
.card-noimg { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #2a1340, #3d1c5c); }
.card-noimg img { width: 40%; height: auto; opacity: .9; }
.card-body { padding: 12px 6px 0 6px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title {
  font-family: var(--f-title); font-style: italic; font-weight: 800; text-transform: uppercase;
  font-size: 23px; line-height: 1.02; margin: 0; letter-spacing: .005em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 4px; }
.price { font-family: var(--f-title); font-style: italic; font-weight: 800; font-size: 25px; color: var(--yellow); line-height: 1; }
.price small { display: block; font: 500 11px var(--f-mono); color: var(--dim); font-style: normal; margin-top: 4px; letter-spacing: .04em; }
.kako-link { font-size: 15px; font-weight: 500; text-decoration: none; border-bottom: 1.5px solid #fff; padding-bottom: 2px; white-space: nowrap; transition: color .2s, border-color .2s; }
.kako-link:hover { color: var(--yellow); border-color: var(--yellow); }
.sentinel { height: 40px; }
.empty { text-align: center; padding: 60px 0; color: var(--muted); }
.empty img { margin: 0 auto 14px; animation: bob 2.4s ease-in-out infinite; }
.center-cta { display: flex; justify-content: center; padding: 30px 0 10px; }

/* skeleton while images load */
.card-media.loading { background: linear-gradient(100deg, #ddd9e3 30%, #f0eef3 50%, #ddd9e3 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }

/* ---------- Page heads ---------- */
.page-head { padding: 44px 0 6px; position: relative; }
.page-head .display { font-size: clamp(64px, 10vw, 128px); }
.page-sub { color: var(--muted); max-width: 520px; margin: 18px 0 0; }
.page-sub b { color: #fff; }
.page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- Brands ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; padding-bottom: 40px; }
.brand-tile {
  position: relative; display: block; text-decoration: none; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px;
  transition: transform .3s var(--ease), border-color .2s, box-shadow .3s;
  animation: cardIn .5s var(--ease) both; animation-delay: calc(var(--d, 0) * 25ms);
}
.brand-tile:hover { transform: translateY(-4px) rotate(-.6deg); border-color: var(--yellow); box-shadow: 6px 6px 0 var(--pink); }
.bt-imgs { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; aspect-ratio: 16/10; border-radius: 6px; overflow: hidden; background: var(--card-img); }
.bt-imgs img { width: 100%; height: 100%; object-fit: cover; background: var(--card-img); }
.bt-imgs img:first-child { grid-row: span 2; }
.bt-name { font-family: var(--f-title); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 28px; line-height: 1; margin: 14px 0 4px; }
.bt-count { color: var(--yellow); font-size: 12px; }
.bt-arrow { position: absolute; right: 16px; bottom: 16px; font-size: 22px; transition: transform .3s var(--ease); }
.brand-tile:hover .bt-arrow { transform: translate(4px, -4px); color: var(--yellow); }

/* ---------- How to buy ---------- */
.cta-slab {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--yellow); color: #1a0b22; text-decoration: none; border-radius: 6px;
  padding: 20px 26px; margin: 34px 0 14px; box-shadow: 6px 6px 0 var(--pink);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.cta-slab:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--pink); }
.cta-slab b { display: block; font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(26px, 3.4vw, 38px); text-transform: uppercase; line-height: 1; }
.cta-slab small { display: block; margin-top: 6px; font-size: 12px; }
.cta-arrow { font-size: 40px; font-weight: 700; transition: transform .3s var(--ease); }
.cta-slab:hover .cta-arrow { transform: translate(5px, -5px); }
.steps { list-style: none; margin: 0; padding: 0; }
.step {
  display: grid; grid-template-columns: 110px 1fr minmax(0, 46%); gap: 26px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.step-num { font-family: var(--f-display); font-style: italic; font-size: 76px; line-height: .9; color: var(--yellow); transform: skewX(-8deg); -webkit-text-stroke: 0; }
.step-num::before { content: "#"; font-size: .45em; vertical-align: top; color: var(--pink); margin-right: 2px; }
.step h3 { font-family: var(--f-title); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 32px; line-height: 1; margin: 0 0 10px; }
.step p { color: var(--muted); margin: 0; max-width: 460px; }
.step p a { color: var(--yellow); }
.step-shot { border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); cursor: zoom-in; background: #fff; transition: transform .35s var(--ease), box-shadow .35s; }
.step-shot:hover { transform: rotate(-1deg) scale(1.02); box-shadow: 8px 8px 0 var(--yellow); }
.step-shot img { width: 100%; height: auto; }
.done-banner { display: flex; align-items: center; gap: 22px; margin: 40px 0; padding: 26px; border: 2px dashed var(--yellow); border-radius: 14px; background: rgba(255, 214, 10, .05); }
.done-banner img { animation: bob 2.4s ease-in-out infinite; flex-shrink: 0; }
.done-banner p { margin: 0; color: var(--muted); }
.done-banner b { color: var(--yellow); }
.faq { padding: 10px 0 60px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-family: var(--f-title); font-style: italic; font-weight: 800; font-size: 24px; text-transform: uppercase; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--yellow); font-size: 30px; transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; max-width: 720px; }

/* ---------- Socials ---------- */
.social-list { display: flex; flex-direction: column; gap: 14px; padding: 34px 0 70px; }
.social {
  display: flex; align-items: center; gap: 22px; text-decoration: none;
  padding: 18px 26px; border-radius: 6px; position: relative; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line);
  transform: skewX(-6deg); transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s;
  animation: cardIn .5s var(--ease) both; animation-delay: calc(var(--d, 0) * 60ms);
}
.social > * { transform: skewX(6deg); }
.social:hover { background: var(--yellow); color: #1a0b22; transform: skewX(-6deg) translateX(12px); box-shadow: -8px 8px 0 var(--pink); }
.social-ico { width: 54px; height: 54px; display: grid; place-items: center; flex-shrink: 0; border-radius: 12px; background: #1a0b22; color: var(--yellow); }
.social-ico svg { width: 28px; height: 28px; }
.social-name { font-family: var(--f-display); font-style: italic; font-size: clamp(32px, 5vw, 56px); text-transform: uppercase; line-height: 1; }
.social-handle { margin-left: auto; font-size: 13px; opacity: .8; }
.social.soon { cursor: default; }
.social.soon:hover { background: var(--panel); color: #fff; transform: skewX(-6deg); box-shadow: none; }
.social.soon .social-handle::after { content: " · soon"; color: var(--pink); }

/* ---------- Panels (shipping / tracking) ---------- */
.panel { background: rgba(36, 19, 52, .55); border: 1px solid var(--line-2); border-radius: 22px; padding: 28px 30px; position: relative; }
.panel-dashed { border: 1.5px dashed rgba(255, 214, 10, .55); background: rgba(29, 15, 41, .5); }
.panel-kicker { display: block; font-weight: 700; font-size: 15px; color: #fff; }
.panel-dashed > .panel-kicker { color: var(--yellow); }
.panel-title { font-family: var(--f-title); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 3.6vw, 46px); line-height: 1; margin: 6px 0 6px; }
.panel-title em { font-style: inherit; color: var(--yellow); }
.panel-sub { color: var(--muted); margin: 0 0 22px; }
.field-label { display: block; font-weight: 700; font-size: 16px; margin: 22px 0 10px; }
.field { display: flex; align-items: stretch; border: 1.5px solid var(--line-2); border-radius: 14px; background: rgba(23, 11, 31, .6); transition: border-color .2s, box-shadow .2s; overflow: hidden; }
.field:focus-within { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255,214,10,.12); }
.field input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #fff; font: 700 20px var(--f-body); padding: 16px 18px; }
.stepper { display: flex; border-left: 1px solid var(--line-2); }
.stepper button { width: 54px; background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer; transition: background .2s, color .2s; }
.stepper button + button { border-left: 1px solid var(--line-2); }
.stepper button:hover { background: var(--yellow); color: #1a0b22; }
.field-hint { color: var(--dim); font-size: 13px; margin: 8px 2px 0; }
.weight-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.weight-presets button { border: 1px solid var(--line-2); background: transparent; border-radius: 999px; padding: 6px 12px; font: 600 13px var(--f-body); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.weight-presets button small { color: var(--dim); margin-left: 4px; font-weight: 500; }
.weight-presets button:hover { border-color: var(--yellow); }

.ship-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; align-items: start; padding: 34px 0 60px; }
.country-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.country {
  text-align: left; border: 1.5px solid var(--line-2); border-radius: 14px; background: rgba(23, 11, 31, .5);
  padding: 14px 18px; cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.country b { display: block; font-size: 18px; font-weight: 800; letter-spacing: .02em; }
.country small { display: block; color: var(--dim); font-size: 13px; margin-top: 2px; }
.country:hover { border-color: var(--muted); transform: translateY(-2px); }
.country.is-on { border-color: var(--yellow); background: rgba(255, 214, 10, .14); box-shadow: inset 0 0 0 1px var(--yellow); }
.country.is-on small { color: var(--yellow); }
.more-countries { margin-top: 10px; font-size: 11px; }
.dims { margin: 18px 0 24px; border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; }
.dims summary { cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 14px; color: var(--muted); list-style: none; }
.dims summary::-webkit-details-marker { display: none; }
.dims summary::before { content: "+ "; color: var(--yellow); font-weight: 800; }
.dims[open] summary::before { content: "− "; }
.dims-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dims-row input { min-width: 0; }
.dims-row label { display: flex; flex-direction: column; gap: 6px; font-size: 11px; color: var(--dim); }
.dims-row input { background: rgba(23, 11, 31, .6); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; color: #fff; font: 600 16px var(--f-body); width: 100%; }
.dims-row input:focus { outline: none; border-color: var(--yellow); }
.dims .field-hint { margin-bottom: 14px; }

.ship-result { position: sticky; top: calc(var(--header-h) + 20px); }
.ship-sort { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; margin-bottom: 14px; }
.ship-sort button { border: 0; background: transparent; border-radius: 999px; padding: 6px 14px; font: 700 13px var(--f-body); cursor: pointer; color: var(--muted); }
.ship-sort button[aria-pressed="true"] { background: var(--yellow); color: #1a0b22; }
.ship-list { display: flex; flex-direction: column; gap: 10px; max-height: min(62vh, 640px); overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.ship-empty { border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.ship-empty span { color: var(--yellow); font-size: 12px; letter-spacing: .3em; opacity: .8; }
.ship-empty b { display: block; font-size: 26px; margin: 4px 0; }
.ship-empty p { margin: 0; color: var(--muted); font-size: 17px; }
.ship-line { border: 1px solid var(--line); border-radius: 16px; background: rgba(23, 11, 31, .45); transition: border-color .2s, background .2s; animation: cardIn .45s var(--ease) both; animation-delay: calc(var(--d, 0) * 35ms); }
.ship-line:hover { border-color: var(--line-2); }
.ship-line[open] { border-color: var(--yellow); }
.ship-line summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.ship-line summary::-webkit-details-marker { display: none; }
.sl-main { flex: 1; min-width: 0; }
.sl-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: rgba(255, 214, 10, .75); font-size: 10px; letter-spacing: .22em; }
.sbadge { letter-spacing: .08em; font-weight: 700; padding: 2px 7px; border-radius: 4px; transform: skewX(-8deg); }
.sb-yellow { background: var(--yellow); color: #1a0b22; }
.sb-cyan { background: var(--cyan); color: #06222f; }
.sl-name { display: block; font-size: 16px; font-weight: 700; margin: 5px 0 6px; line-height: 1.25; }
.sl-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.stag { font-style: normal; font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.st-ok { color: #8ef0b0; border-color: rgba(142, 240, 176, .35); }
.st-info { color: var(--cyan); border-color: rgba(34, 184, 255, .35); }
.st-warn { color: #ff9ac0; border-color: rgba(255, 45, 126, .4); }
.sl-side { text-align: right; flex-shrink: 0; }
.sl-price { display: block; font-family: var(--f-title); font-style: italic; font-weight: 900; font-size: 30px; line-height: 1; color: var(--yellow); }
.sl-days { display: block; font-size: 11px; color: var(--muted); margin-top: 5px; }
.sl-break { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0 18px 16px; font-size: 10px; color: var(--dim); }
.sl-break b { display: block; color: #fff; font-size: 12px; margin-top: 3px; letter-spacing: .02em; }
.ship-note { margin: 16px 0 0; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.ship-note a { color: var(--yellow); white-space: nowrap; }

/* tracking */
.track-bar { display: flex; gap: 14px; margin-top: 30px; }
.track-search { height: 64px; border-radius: 16px; }
.track-search input { font-size: 19px; font-family: var(--f-mono); letter-spacing: .06em; }
.track-go { padding: 0 34px; font-size: 24px; }
.track-hint { margin: 12px 4px 0; }
.track-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 26px; padding: 28px 0 60px; align-items: start; }
.track-main { min-height: 360px; }
.track-idle { text-align: center; padding: 40px 10px; }
.track-idle img { margin: 0 auto 14px; animation: bob 2.6s ease-in-out infinite; }
.track-idle .panel-sub { max-width: 420px; margin: 8px auto 0; }
.track-num { font-family: var(--f-mono); font-style: normal; font-weight: 700; letter-spacing: .04em; font-size: clamp(22px, 3vw, 34px); word-break: break-all; }
.track-result .panel-kicker { color: var(--cyan); font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.track-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 20px; }
.track-embed { border-radius: 14px; overflow: hidden; background: #fff; min-height: 120px; }
.track-embed:empty { display: none; }
.embed-loading, .embed-fallback { background: var(--bg-2); display: flex; align-items: center; justify-content: center; gap: 12px; padding: 40px 20px; color: var(--muted); text-align: center; min-height: 160px; border: 1px dashed var(--line-2); border-radius: 14px; }
.embed-fallback p { margin: 0; max-width: 420px; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--yellow); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.recent-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.recent-list li { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.recent { flex: 1; min-width: 0; text-align: left; background: transparent; border: 0; padding: 10px 14px; cursor: pointer; }
.recent:hover { background: rgba(255, 214, 10, .08); }
.recent b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; letter-spacing: .04em; }
.recent small { color: var(--dim); font-size: 12px; }
.recent-x { width: 40px; background: transparent; border: 0; border-left: 1px solid var(--line); color: var(--dim); font-size: 20px; cursor: pointer; }
.recent-x:hover { color: var(--pink); }
.track-tips { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.track-tips h3 { font-family: var(--f-title); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 22px; margin: 0 0 8px; }
.track-tips ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; display: grid; gap: 8px; }
.track-tips b { color: var(--yellow); }

/* qc finder */
.qc-result { margin-top: 26px; scroll-margin-top: calc(var(--header-h) + 16px); }
.qc-card { animation: cardIn .45s var(--ease) both; }
.qc-head { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: start; }
.qc-thumb { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--card-img); }
.qc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.qc-thumb-empty { background: linear-gradient(135deg, #2a1340, #3d1c5c); display: grid; place-items: center; }
.qc-thumb-empty img { width: 60%; height: auto; }
.qc-kick { color: var(--cyan); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.qc-sub { color: var(--muted); margin: 4px 0 0; max-width: 620px; }
.price-inline { color: var(--yellow); font-family: var(--f-title); font-style: italic; font-size: 22px; }
.qc-card .track-links { margin-bottom: 0; }
.qc-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 24px; }
.qc-shot { position: relative; padding: 0; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--card-img); cursor: zoom-in; aspect-ratio: 4 / 3; transition: transform .3s var(--ease), box-shadow .3s; }
.qc-shot:hover { transform: rotate(-.6deg) scale(1.01); box-shadow: 6px 6px 0 var(--yellow); }
.qc-shot img { width: 100%; height: 100%; object-fit: cover; }
.qc-shot span { position: absolute; left: 10px; bottom: 10px; background: #1a0b22; color: var(--cyan); font-size: 10px; padding: 4px 8px; border-radius: 4px; }
.qc-none { margin: 20px 0 0; color: var(--muted); }
.qc-none a { color: var(--yellow); }
.qc-search-head { color: var(--dim); font-size: 12px; margin-bottom: 14px; }
.qc-latest { padding: 50px 0 40px; }
.qc-latest-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.qc-latest-head .mono { color: var(--yellow); font-size: 12px; }
.qc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 16px; }
.qc-tile { text-align: left; background: none; border: 0; padding: 0; cursor: pointer; display: flex; flex-direction: column; gap: 6px; animation: cardIn .45s var(--ease) both; }
.qc-tile-img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--card-img); border: 1px solid var(--line); transition: border-color .2s; }
.qc-tile-img > img:first-child { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.qc-tile:hover .qc-tile-img { border-color: var(--yellow); }
.qc-tile:hover .qc-tile-img > img:first-child { transform: scale(1.06); }
.qc-tile .card-qc { font-style: normal; }
.qc-tile-mini { position: absolute; right: 8px; bottom: 8px; width: 46px; height: 46px; object-fit: cover; border-radius: 8px; border: 2px solid #fff; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.qc-tile b { font-family: var(--f-title); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 19px; line-height: 1.05; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qc-tile > .mono { color: var(--yellow); font-size: 12px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 60px; border-top: 1px solid var(--line-2); background: linear-gradient(180deg, var(--bg-2), #10071a); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 26px 40px; padding-top: 40px; padding-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand .wordmark { height: 44px; }
.footer-brand p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; align-content: center; justify-content: flex-end; }
.footer-links a { font-family: var(--f-title); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 19px; text-decoration: none; cursor: pointer; }
.footer-links a:hover { color: var(--yellow); }
.disclaimer { grid-column: 1 / -1; color: var(--dim); font-size: 10.5px; line-height: 1.7; margin: 0; padding-top: 20px; border-top: 1px solid var(--line); text-transform: none; letter-spacing: .02em; }

/* =========================================================
   HOME — game menu
   ========================================================= */
.view-home { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.view-home.is-active { display: flex; flex-direction: column; }
.home-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(50% 60% at 18% 55%, rgba(123, 63, 228, .22), transparent 70%),
    radial-gradient(40% 50% at 78% 50%, rgba(255, 45, 126, .12), transparent 70%),
    repeating-linear-gradient(-58deg, rgba(255,255,255,.035) 0 1px, transparent 1px 34px);
}
.ghost-word {
  position: absolute; left: -2vw; top: 2vh; font-family: var(--f-brand); font-size: clamp(110px, 17vw, 260px); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(187, 169, 207, .1); transform: rotate(-14deg) skewX(-8deg); white-space: nowrap;
  animation: ghostDrift 18s ease-in-out infinite alternate;
}
.ghost-word-2 { left: auto; right: -6vw; top: auto; bottom: -6vh; -webkit-text-stroke: 2px rgba(255, 214, 10, .06); animation-delay: -9s; }
@keyframes ghostDrift { to { transform: rotate(-14deg) skewX(-8deg) translateX(4vw); } }
.shape { position: absolute; display: block; }
.shape.tri { width: 0; height: 0; border-left: 46px solid transparent; border-right: 46px solid transparent; border-bottom: 80px solid rgba(34, 184, 255, .32); top: 12%; left: 54%; animation: floatA 7s ease-in-out infinite; filter: drop-shadow(0 0 18px rgba(34,184,255,.5)); }
.shape.tri-2 { border-bottom-color: rgba(255, 214, 10, .5); border-left-width: 22px; border-right-width: 22px; border-bottom-width: 38px; top: 74%; left: 92%; animation-duration: 9s; filter: drop-shadow(0 0 14px rgba(255,214,10,.5)); }
.shape.sq { width: 70px; height: 70px; background: rgba(255, 45, 126, .35); top: 70%; left: 46%; transform: rotate(28deg); animation: floatB 8s ease-in-out infinite; box-shadow: 0 0 30px rgba(255,45,126,.4); }
.shape.sq-2 { width: 26px; height: 26px; background: var(--yellow); top: 20%; left: 8%; animation-duration: 6s; box-shadow: 0 0 20px rgba(255,214,10,.6); }
.shape.ring { width: 120px; height: 120px; border-radius: 50%; border: 10px solid rgba(123, 63, 228, .45); top: 6%; right: 6%; animation: floatA 10s ease-in-out infinite reverse; }
@keyframes floatA { 50% { transform: translate(14px, -22px) rotate(12deg); } }
@keyframes floatB { 0%,100% { transform: rotate(28deg); } 50% { transform: translate(-16px, 18px) rotate(70deg); } }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-3deg); } }

.ribbon {
  position: relative; z-index: 3; align-self: center; margin-top: 22px;
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; cursor: pointer;
  background: var(--pink); color: #fff; padding: 13px 54px;
  font: 700 13px var(--f-mono); letter-spacing: .16em; text-transform: uppercase;
  clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
  transition: transform .3s var(--ease), background .2s;
}
.ribbon:hover { transform: scale(1.04); background: #ff4d93; }
.ribbon .dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .2; } }

.home-grid {
  position: relative; z-index: 2; flex: 1;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px;
  width: 100%; max-width: 1320px; margin: 0 auto; padding: 20px var(--gutter) 70px;
}
.home-logo { display: flex; align-items: center; gap: 16px; text-decoration: none; margin-bottom: 26px; width: max-content; }
.home-logo img:not(.wordmark) { width: 112px; height: 112px; animation: bob 3s ease-in-out infinite; filter: drop-shadow(0 10px 26px rgba(255, 45, 126, .35)); }
.wordmark-xl { height: clamp(64px, 8.5vw, 112px); filter: drop-shadow(0 10px 28px rgba(123, 63, 228, .45)); }

.menu { display: flex; flex-direction: column; align-items: flex-start; }
.menu-item {
  position: relative; display: block; text-decoration: none;
  font-family: var(--f-display); font-style: italic; text-transform: uppercase;
  font-size: clamp(40px, min(5.4vw, 7.6vh), 78px); line-height: .98;
  margin: -0.06em 0; padding: 0 .22em;
  color: rgba(187, 169, 207, .38);
  transform: skewX(-10deg) rotate(-4deg); transform-origin: left center;
  transition: color .25s, transform .35s var(--ease), text-shadow .35s;
}
.menu-item:nth-child(even) { color: rgba(34, 184, 255, .38); transform: skewX(-10deg) rotate(-4deg) translateX(.35em); }
.menu-item span { position: relative; z-index: 2; display: inline-block; }
.menu-item::before, .menu-item::after {
  content: ""; position: absolute; z-index: 1; inset: .1em -.08em .02em -.1em;
  clip-path: polygon(2% 12%, 100% 0, 95% 100%, 0 88%);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.menu-item::before { background: var(--pink); translate: .14em .12em; }
.menu-item::after { background: var(--yellow); }
.menu-item.is-active { color: #1a0b22; text-shadow: none; transform: skewX(-10deg) rotate(-4deg) translateX(.18em) scale(1.06); z-index: 2; }
.menu-item:nth-child(even).is-active { transform: skewX(-10deg) rotate(-4deg) translateX(.5em) scale(1.06); }
.menu-item.is-active::before, .menu-item.is-active::after { transform: scaleX(1); }
.menu-item.is-active::before { transition-delay: .05s; }
.menu-item:not(.is-active):hover { color: rgba(255,255,255,.8); }
.home-stats { margin: 34px 0 0; color: var(--dim); font-size: 12px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.home-stats b { color: var(--yellow); font-weight: 700; }

.home-right { position: relative; display: flex; flex-direction: column; align-items: center; perspective: 1200px; }
.preview-card { display: block; width: min(420px, 100%); text-decoration: none; transform: rotate(4deg); transition: transform .5s var(--ease); }
.preview-card:hover { transform: rotate(2deg) scale(1.02); }
.pc-frame {
  position: relative; padding: 14px; background: rgba(36, 19, 52, .65);
  border: 1.5px solid rgba(34, 184, 255, .5);
  clip-path: polygon(0 2%, 100% 0, 98% 100%, 2% 98%);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.pc-frame::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(34,184,255,.2), transparent 40%, rgba(255,45,126,.2)); pointer-events: none; }
.pc-img { position: relative; aspect-ratio: 4 / 4.6; background: var(--card-img); overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.pc-img::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, transparent, rgba(16, 7, 26, .95)); }
.pc-meta { position: absolute; left: 14px; right: 14px; bottom: 26px; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 0 16px; }
.pc-kicker { color: var(--cyan); font-size: 12px; }
.pc-title { font-family: var(--f-title); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 30px; line-height: 1; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.6); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-price { color: var(--yellow); font-size: 13px; }
.preview-card.swap .pc-frame { animation: cardSwap .55s var(--ease); }
@keyframes cardSwap { 0% { transform: rotateY(0); } 45% { transform: rotateY(80deg) scale(.96); opacity: .4; } 55% { transform: rotateY(-80deg) scale(.96); opacity: .4; } 100% { transform: rotateY(0); } }
.pc-caption { margin: 22px 0 0; color: var(--muted); font-size: 11px; text-align: center; transform: rotate(4deg); }


/* ---------- Modal ---------- */
dialog { padding: 0; border: 0; color: var(--text); }
dialog::backdrop { background: rgba(10, 4, 16, .78); backdrop-filter: blur(6px); }
.modal {
  width: min(1080px, calc(100vw - 32px)); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,.7);
}
.modal[open] { animation: modalIn .38s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.modal { height: min(780px, calc(100vh - 40px)); height: min(780px, calc(100dvh - 40px)); }
.modal-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); height: 100%; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 5; background: rgba(26,11,34,.8); }
.m-media { position: relative; background: var(--card-img); display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; }
.m-main { min-height: 0; display: grid; place-items: center; overflow: hidden; }
.m-main img { width: 100%; height: 100%; object-fit: contain; animation: fadeIn .35s; }
@keyframes fadeIn { from { opacity: 0; } }
.m-thumbs { display: flex; gap: 8px; padding: 10px; background: #1a0b22; overflow-x: auto; }
.m-thumbs:empty { display: none; }
.m-thumbs button { flex-shrink: 0; width: 70px; height: 70px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: var(--card-img); position: relative; }
.m-thumbs button[aria-current="true"] { border-color: var(--yellow); }
.m-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.m-thumbs button span { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(26,11,34,.85); color: var(--cyan); font: 700 9px var(--f-mono); letter-spacing: .08em; padding: 2px 0; }
.m-nav { position: absolute; top: 40%; z-index: 3; background: rgba(26,11,34,.75); font-size: 30px; line-height: 1; border-color: transparent; }
.m-prev { left: 12px; } .m-next { right: 12px; }
.m-info { padding: 36px 34px 30px; overflow-y: auto; min-height: 0; }
.m-kicker { color: var(--cyan); font-size: 12px; }
.m-title { font-family: var(--f-title); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 4vw, 50px); line-height: .95; margin: 10px 0 16px; padding-right: 30px; }
.m-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.m-price > span { font-family: var(--f-title); font-style: italic; font-weight: 900; font-size: 46px; color: var(--yellow); line-height: 1; }
.m-price small { color: var(--dim); font-size: 12px; }
.m-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 20px; }
.m-actions .btn-yellow { flex: 1 1 100%; }
.m-actions .btn-ghost { flex: 1; font-size: 18px; }
.heart-btn[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); }
.m-facts { list-style: none; margin: 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 11px; color: var(--muted); }
.m-facts b { display: block; color: #fff; font-size: 12px; margin-top: 2px; }
.m-more-title { font-family: var(--f-title); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 22px; margin: 22px 0 12px; }
.m-more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
.mini { display: block; text-decoration: none; cursor: pointer; background: none; border: 0; padding: 0; text-align: left; }
.mini-img { aspect-ratio: 1; background: var(--card-img); border-radius: 6px; overflow: hidden; }
.mini-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.mini:hover .mini-img img { transform: scale(1.08); }
.mini span { display: block; font-size: 12px; font-weight: 600; margin-top: 6px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini b { color: var(--yellow); font-family: var(--f-title); font-style: italic; font-size: 17px; }

/* lightbox for step screenshots */
.lightbox { background: transparent; max-width: 96vw; max-height: 94vh; }
.lightbox img { max-width: 96vw; max-height: 94vh; border-radius: 10px; }

/* ---------- Coupon popup ---------- */
.coupon { width: min(440px, calc(100vw - 32px)); background: #1a0b22; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; box-shadow: 0 40px 120px rgba(0,0,0,.7), 8px 8px 0 var(--pink); }
.coupon[open] { animation: couponIn .5s var(--ease); }
@keyframes couponIn { from { opacity: 0; transform: scale(.85) rotate(-3deg); } }
.coupon-top { position: relative; background: var(--yellow); color: #1a0b22; padding: 26px 24px 20px; text-align: center; }
.coupon-top h2 { font-family: var(--f-display); font-weight: 400; font-style: italic; text-transform: uppercase; font-size: 54px; line-height: 1; margin: 0; transform: skewX(-8deg); }
.coupon-tag { display: inline-block; margin-top: 12px; padding: 6px 14px; border: 1.5px dashed #1a0b22; border-radius: 999px; font-size: 11px; }
.coupon-x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; background: #1a0b22; color: #fff; border: 0; font-size: 20px; }
.coupon-body { padding: 20px 24px 18px; text-align: center; }
.coupon-img { width: 100%; border-radius: 6px; margin-bottom: 14px; aspect-ratio: 16 / 8; object-fit: cover; }
.coupon-body p { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.coupon-body b { color: var(--yellow); }
.coupon-body .link-btn { margin-top: 10px; }

/* ---------- Route wipe ---------- */
.wipe { position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; }
.wipe:not(.run) span { display: none; }
.wipe span { position: absolute; top: -20%; bottom: -20%; width: 70%; left: -90%; transform: skewX(-18deg); }
.wipe span:nth-child(1) { background: var(--pink); }
.wipe span:nth-child(2) { background: var(--yellow); }
.wipe span:nth-child(3) { background: var(--bg); }
.wipe.run span { animation: wipe .62s cubic-bezier(.7, 0, .3, 1) both; }
.wipe.run span:nth-child(2) { animation-delay: .05s; }
.wipe.run span:nth-child(3) { animation-delay: .1s; }
@keyframes wipe { 0% { left: -90%; } 50% { left: 10%; width: 120%; } 100% { left: 140%; width: 70%; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 95; transform: translate(-50%, calc(100% + 40px)); opacity: 0; background: var(--yellow); color: #1a0b22; font: 800 italic 19px var(--f-title); text-transform: uppercase; padding: 12px 22px; border-radius: 6px; box-shadow: 4px 4px 0 var(--pink); transition: transform .35s var(--ease); pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast { transition: transform .35s var(--ease), opacity .25s; max-width: calc(100vw - 32px); width: max-content; text-align: center; line-height: 1.2; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .grid, .qc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .main-nav a { font-size: 20px; padding: 6px 8px; }
  .currency { display: none; }
}
@media (max-width: 1080px) {
  :root { --header-h: 76px; }
  .main-nav { display: none; }
  .burger { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; }
  .header-tools { margin-left: auto; }
  .ship-grid, .track-grid { grid-template-columns: minmax(0, 1fr); }
  .ship-result { position: static; }
  .ship-list { max-height: none; overflow: visible; }
}
@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .main-nav, .currency { display: none; }
  .burger { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; }
  .brand-logo { width: 50px; height: 50px; }
  .wordmark { height: 42px; }
  .header-tools { margin-left: auto; }
  .hero { grid-template-columns: 1fr 1fr; min-height: 220px; }
  .modal { height: auto; }
  .modal-inner { grid-template-columns: 1fr; overflow-y: auto; height: auto; max-height: calc(100dvh - 40px); }
  .m-media { grid-template-rows: auto auto; }
  .m-main { height: min(56vh, 520px); }
  .m-info { overflow: visible; }
  .step { grid-template-columns: 70px 1fr; }
  .step-shot { grid-column: 2; }
  .step-num { font-size: 56px; }
  .home-grid { grid-template-columns: 1fr; gap: 26px; padding-bottom: 90px; }
  .home-right { order: -1; }
  .preview-card { width: min(300px, 70vw); }
  .pc-caption { display: none; }
  .home-logo { margin-bottom: 14px; }
  .home-logo img:not(.wordmark) { width: 84px; height: 84px; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .qc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .qc-head { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
  .qc-shots { grid-template-columns: 1fr; }
  .qc-tile b { font-size: 16px; }
  .qc-tile-mini { width: 36px; height: 36px; }
  .card-title { font-size: 19px; }
  .price { font-size: 21px; }
  .kako-link { font-size: 13px; }
  .card-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .heart { width: 32px; height: 32px; }
  .toolbar { gap: 10px; margin-top: 22px; }
  .filters-btn { min-width: 0; width: 52px; padding: 0; justify-content: center; }
  .filters-btn span, .filters-btn .chev { display: none; }
  .filters-pop { width: min(320px, calc(100vw - 32px)); }
  .chips:not(.chips-scroll) { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .chips:not(.chips-scroll)::-webkit-scrollbar { display: none; }
  .chip { font-size: 15px; padding: 6px 16px; }
  .chip-row { flex-direction: column; align-items: stretch; gap: 0; }
  .chip-row .chip-label { padding-top: 10px; }
  .chips-scroll { padding-top: 8px; }
  .hero { grid-template-columns: 1.1fr 1fr; min-height: 0; margin-top: 12px; }
  .hero-copy { padding: 22px 0 18px; }
  .hero .display { font-size: clamp(48px, 15vw, 72px); white-space: normal; }
  .hero .display span { display: block; }
  .hero-sub { display: none; }
  .hero-art img { height: 100%; right: -14%; }
  .underline-bar { width: 80px; height: 9px; }
  .ticker-track span { font-size: 20px; }
  .wordmark { height: 38px; }
  .wordmark-xl { height: clamp(56px, 17vw, 80px); }
  .brand-logo { width: 46px; height: 46px; }
  .modal { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .modal-inner { max-height: 100dvh; height: 100%; }
  .m-main { height: 46vh; }
  .m-info { padding: 22px 18px 30px; }
  .m-facts { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .social { padding: 14px 16px; gap: 14px; }
  .social-ico { width: 44px; height: 44px; }
  .social-handle { display: none; }
  .ribbon { padding: 11px 26px; font-size: 10.5px; letter-spacing: .1em; margin-top: 14px; }
  .done-banner { flex-direction: column; text-align: center; }
  .panel { padding: 22px 18px; border-radius: 18px; }
  .ship-grid { padding-top: 22px; gap: 22px; }
  .country { padding: 12px 14px; }
  .country b { font-size: 16px; }
  .sl-break { grid-template-columns: 1fr 1fr; }
  .ship-line summary { padding: 14px; gap: 10px; }
  .sl-price { font-size: 24px; }
  .track-bar { flex-direction: column; }
  .track-search { height: 56px; }
  .track-go { height: 54px; }
  .step { grid-template-columns: 56px 1fr; gap: 14px 16px; padding: 24px 0; }
  .step-shot { grid-column: 1 / -1; }
  .step-num { font-size: 48px; }
  .step h3 { font-size: 26px; }
  .shape.ring { width: 70px; height: 70px; border-width: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .wipe { display: none; }
}
