/* valleycardexchange.com — public site stylesheet, v2 "holo-glass".
   Tyler's verdict on v1: too flat. This is the sleek pass — cinematic
   dark (deep navy, never pure black), ambient animated glow, frosted
   glass cards, and holographic foil borders as the signature TCG move.
   Still the official VCE palette + Big Shoulders/Outfit, still zero
   JavaScript: every effect is CSS (animations gated behind
   prefers-reduced-motion; scroll reveals behind @supports). */

:root {
  --bg-deep: #05081C;
  --bg-base: #070C26;
  --bg-elevated: #0B1231;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(255, 255, 255, 0.08);
  --hairline: rgba(255, 255, 255, 0.09);
  --ink: rgba(235, 240, 255, 0.92);
  --muted: #9AA3C4;
  --navy: #0A2D87;
  --gold: #F4D23C;
  --gold-deep: #C9A50E;
  --blue: #1C9CFF;
  --sky: #63C8FF;
  --red: #FF6E64;
  --green: #7ED96A;
  --link: var(--sky);
  --radius: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --glow-gold: 0 0 32px rgba(244, 210, 60, 0.35);
  --space-1: 8px; --space-2: 16px; --space-3: 24px;
  --space-4: 40px; --space-5: 64px; --space-6: 96px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { font-size: 100%; }

body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-deep) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: "Big Shoulders Display", "Outfit", sans-serif;
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 var(--space-2);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}

h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
h3 { font-size: 1.35rem; letter-spacing: 0.04em; }

h1, h2 { text-wrap: balance; }
p { margin: 0 0 var(--space-2); text-wrap: pretty; overflow-wrap: break-word; }

a, button, .btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: #fff; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; position: relative; }

/* ---------- ambient light (fixed, behind everything) ---------- */

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.14;
  animation: drift 26s var(--ease) infinite alternate;
}

.blob-gold {
  width: 46vw; height: 46vw;
  background: radial-gradient(circle, #F4D23C 0%, transparent 70%);
  top: -12vw; right: -10vw;
}

.blob-blue {
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, #1C9CFF 0%, transparent 70%);
  top: 30vh; left: -18vw;
  animation-duration: 34s;
  animation-delay: -8s;
}

.blob-red {
  width: 34vw; height: 34vw;
  background: radial-gradient(circle, #D92B24 0%, transparent 70%);
  bottom: -10vw; right: 8vw;
  opacity: 0.09;
  animation-duration: 30s;
  animation-delay: -16s;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(6vw, 4vh, 0) scale(1.15); }
}

/* ---------- holographic foil (the signature) ---------- */

/* A conic rainbow that slowly rotates behind a glass card, visible only
   as a 1.5px rim — reads exactly like holo foil on a slab. */
.holo { position: relative; }

.holo::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--holo-angle, 0deg),
    #F4D23C, #FF6E64, #C77DFF, #63C8FF, #7ED96A, #F4D23C);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.9;
  animation: holo-spin 7s linear infinite;
}

@property --holo-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes holo-spin {
  to { --holo-angle: 360deg; }
}

/* ---------- accessibility ---------- */

.skip-link {
  position: absolute;
  left: -9999px; top: 0;
  background: var(--gold);
  color: var(--bg-deep);
  padding: 12px 20px;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 12, 38, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}

.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-1) var(--space-3);
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-height: 44px;
}

.brand img {
  width: 44px; height: 44px;
  filter: drop-shadow(0 0 10px rgba(244, 210, 60, 0.35));
}

.brand-name {
  font-family: "Big Shoulders Display", sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.03em;
}

.brand-gold { color: var(--gold); }

.site-nav { display: flex; flex-wrap: wrap; gap: 4px; }

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  transition: background-color 220ms var(--ease), color 220ms var(--ease),
              border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.site-nav a:hover {
  background: var(--glass-strong);
  border-color: var(--hairline);
  color: #fff;
}

.site-nav a[aria-current="page"] {
  background: var(--gold);
  color: var(--bg-deep);
  font-weight: 600;
  box-shadow: 0 0 18px rgba(244, 210, 60, 0.35);
}

/* ---------- buttons ---------- */

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px 28px;
  border-radius: 999px;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease),
              background-color 220ms var(--ease), border-color 220ms var(--ease);
}

/* shine sweep on hover */
.btn::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -80%;
  width: 50%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 500ms var(--ease);
}
.btn:hover::after { left: 130%; }

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

.btn-gold {
  background: linear-gradient(180deg, #F8DC5C, var(--gold));
  color: var(--bg-deep);
  box-shadow: var(--glow-gold);
}
.btn-gold:hover { box-shadow: 0 0 44px rgba(244, 210, 60, 0.5); color: var(--bg-deep); }

.btn-navy {
  background: linear-gradient(180deg, #1C9CFF, #0A63D6);
  color: #fff;
  box-shadow: 0 0 28px rgba(28, 156, 255, 0.3);
}
.btn-navy:hover { box-shadow: 0 0 44px rgba(28, 156, 255, 0.45); color: #fff; }

.btn-outline, .btn-outline-navy {
  border: 1px solid var(--hairline);
  background: var(--glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
}
.btn-outline:hover, .btn-outline-navy:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: var(--glass-strong);
  color: #fff;
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.text-link:hover { color: #fff; text-decoration: underline; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  text-align: center;
  padding: var(--space-5) 0 calc(var(--space-6) + 24px);
  overflow: hidden;
}

/* energy ring behind the logo */
.hero::before {
  content: "";
  position: absolute;
  left: 50%; top: 40px;
  width: 520px; height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(circle,
    rgba(28, 156, 255, 0.22) 0%,
    rgba(10, 45, 135, 0.12) 40%,
    transparent 70%);
  pointer-events: none;
}

.hero-inner { display: flex; flex-direction: column; align-items: center; }

.hero-logo {
  width: clamp(170px, 32vw, 250px);
  height: auto;
  margin-bottom: var(--space-3);
  filter: drop-shadow(0 12px 40px rgba(28, 156, 255, 0.45))
          drop-shadow(0 0 18px rgba(244, 210, 60, 0.25));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero h1 { max-width: 18ch; }

.hero-triad {
  font-family: "Big Shoulders Display", sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 4.5vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: var(--space-2);
}

.triad-buy { color: var(--red); text-shadow: 0 0 18px rgba(217, 43, 36, 0.55); }
.triad-sell { color: var(--sky); text-shadow: 0 0 18px rgba(28, 156, 255, 0.55); }
.triad-trade { color: var(--green); text-shadow: 0 0 18px rgba(79, 167, 59, 0.55); }
.triad-sep { color: var(--gold); margin: 0 0.5ch; }

.hero-sub {
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.12rem;
  margin-bottom: var(--space-3);
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; }

/* staggered entrance on load */
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * {
    animation: rise-in 700ms var(--ease) both;
  }
  .hero-inner > *:nth-child(2) { animation-delay: 90ms; }
  .hero-inner > *:nth-child(3) { animation-delay: 180ms; }
  .hero-inner > *:nth-child(4) { animation-delay: 270ms; }
  .hero-inner > *:nth-child(5) { animation-delay: 360ms; }
  .hero-inner > *:nth-child(6) { animation-delay: 450ms; }
}

/* live stats (real numbers from the database) */
.hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin: var(--space-4) 0 0;
  padding: 0;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 150px;
  padding: 14px 22px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stat-value {
  font-family: "Big Shoulders Display", sans-serif;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--gold);
  text-shadow: 0 0 22px rgba(244, 210, 60, 0.35);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* ---------- ticker marquee ---------- */

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.02);
  padding: 12px 0;
  margin-top: var(--space-4);
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  padding-right: 28px;
  font-family: "Big Shoulders Display", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(235, 240, 255, 0.75);
  animation: ticker-scroll 28s linear infinite;
}

.tick-star { color: var(--gold); font-size: 0.8rem; }
.tick-buy { color: var(--red); }
.tick-sell { color: var(--sky); }
.tick-trade { color: var(--green); }

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

@media (prefers-reduced-motion: reduce) {
  .ticker { display: none; }
}

/* ---------- next show (holo glass, overlapping the hero) ---------- */

.next-show { margin-top: -72px; position: relative; z-index: 2; }

.next-show-card {
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(244, 210, 60, 0.14), rgba(255, 255, 255, 0.04) 55%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(244, 210, 60, 0.08);
  padding: var(--space-3) var(--space-3) var(--space-2);
  text-align: center;
}

.next-show-kicker {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  margin-bottom: 6px;
  color: var(--gold);
}

.next-show-card h2 { margin-bottom: 4px; }
.next-show-meta { font-weight: 500; color: var(--ink); margin-bottom: var(--space-1); }

/* ---------- sections ---------- */

.section { padding: var(--space-5) 0; }

.section-sand {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.section-title { text-align: center; margin-bottom: var(--space-4); }

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 720px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}

.info-card {
  background: var(--glass);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--space-3);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease),
              border-color 260ms var(--ease), background-color 260ms var(--ease);
}

.info-card:hover {
  transform: translateY(-6px);
  background: var(--glass-strong);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4), 0 0 30px rgba(28, 156, 255, 0.12);
}

.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 14px;
  margin-bottom: var(--space-2);
  border: 1px solid var(--hairline);
}

.icon-chip svg { width: 26px; height: 26px; }

.chip-buy { background: rgba(217, 43, 36, 0.16); color: var(--red); box-shadow: 0 0 20px rgba(217, 43, 36, 0.2); }
.chip-sell { background: rgba(28, 156, 255, 0.14); color: var(--sky); box-shadow: 0 0 20px rgba(28, 156, 255, 0.2); }
.chip-trade { background: rgba(79, 167, 59, 0.16); color: var(--green); box-shadow: 0 0 20px rgba(79, 167, 59, 0.2); }

/* ---------- find us ---------- */

.find-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 800px) {
  .find-grid { grid-template-columns: 3fr 2fr; }
}

.find-card {
  background: var(--glass);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--space-3);
}

.mini-shows { list-style: none; margin: 0 0 var(--space-2); padding: 0; }

.mini-shows li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
}

.mini-shows li:first-child { padding-top: 0; }

.mini-show-date { font-weight: 700; color: var(--gold); white-space: nowrap; }
.mini-show-name { font-weight: 500; color: #fff; }
.mini-show-loc { color: var(--muted); width: 100%; font-size: 0.95rem; }

/* ---------- sell banner ---------- */

.sell-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(10, 45, 135, 0.55), rgba(28, 156, 255, 0.12));
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.sell-banner h2 { color: var(--gold); margin-bottom: var(--space-1); }
.sell-banner p { color: var(--ink); max-width: 52ch; margin: 0; }

/* ---------- inner pages ---------- */

.page-head {
  position: relative;
  padding: var(--space-5) 0;
  text-align: center;
  border-bottom: 1px solid var(--hairline);
  background:
    radial-gradient(ellipse at 50% 120%, rgba(28, 156, 255, 0.14), transparent 60%);
}

.page-sub { color: var(--muted); max-width: 56ch; margin: 0 auto var(--space-2); font-size: 1.12rem; }
.page-head .hero-ctas { margin-top: var(--space-2); }

/* ---------- shows page ---------- */

.show-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }

.show-card {
  background: var(--glass);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--space-3);
  transition: transform 260ms var(--ease), border-color 260ms var(--ease);
}

.show-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.18); }

/* the next show wears the holo foil */
.show-card-next {
  background: linear-gradient(160deg, rgba(244, 210, 60, 0.1), var(--glass) 60%);
}

.show-next-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--bg-deep);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: var(--space-1);
  box-shadow: 0 0 18px rgba(244, 210, 60, 0.35);
}

.show-meta { font-size: 1.05rem; margin-bottom: 4px; color: #fff; }
.show-loc { color: var(--muted); margin-bottom: 4px; }
.show-tables { font-weight: 600; color: var(--gold); margin: 0; }

.past-list { list-style: none; margin: 0 0 var(--space-2); padding: 0; }

.past-list li { padding: 10px 0; border-bottom: 1px solid var(--hairline); }

.past-date { font-weight: 600; color: var(--muted); margin-right: 8px; }

.empty-note { max-width: 60ch; }

/* ---------- buy page ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  background: var(--glass);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--space-3);
  transition: transform 260ms var(--ease), border-color 260ms var(--ease);
}

.step:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.18); }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(180deg, #F8DC5C, var(--gold));
  color: var(--bg-deep);
  font-family: "Big Shoulders Display", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
  box-shadow: 0 0 20px rgba(244, 210, 60, 0.3);
}

.fineprint {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 70ch;
  margin: var(--space-3) auto 0;
  text-align: center;
}

/* ---------- about page ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 800px) {
  .about-grid { grid-template-columns: 3fr 2fr; }
}

.about-copy { font-size: 1.12rem; }

.contact-card {
  background: var(--glass);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--space-3);
  align-self: start;
}

.contact-line { display: flex; flex-direction: column; margin-bottom: var(--space-2); }

.contact-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.contact-socials { margin-top: var(--space-1); }

/* ---------- cards showcase ---------- */

.cards-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.filter-field { display: flex; flex-direction: column; gap: 4px; flex: 1 1 160px; }

.filter-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.cards-filter input,
.cards-filter select {
  min-height: 48px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background-color: var(--bg-elevated);
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
}

.cards-filter input:focus-visible,
.cards-filter select:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 1px;
}

.filter-go { flex: 0 0 auto; }

.cards-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}

@media (min-width: 720px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
}

@media (min-width: 1000px) {
  .cards-grid { grid-template-columns: repeat(4, 1fr); }
}

.card-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 260ms var(--ease), border-color 260ms var(--ease),
              box-shadow 260ms var(--ease);
}

.card-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 30px rgba(244, 210, 60, 0.12);
  color: var(--ink);
}

.card-art {
  display: block;
  aspect-ratio: 5 / 7;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(28, 156, 255, 0.12), rgba(10, 45, 135, 0.25));
  margin-bottom: 12px;
}

.card-art img { width: 100%; height: 100%; object-fit: contain; }

.card-art-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: "Big Shoulders Display", sans-serif;
  font-weight: 800;
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.25);
}

.card-info { display: flex; flex-direction: column; gap: 4px; flex: 1; }

.card-name { font-weight: 600; color: #fff; line-height: 1.3; }
.card-set { font-size: 0.9rem; color: var(--muted); }

.card-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0; }

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--glass-strong);
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.chip-grade { border-color: rgba(244, 210, 60, 0.5); color: var(--gold); }
.chip-stock { border-color: rgba(126, 217, 106, 0.4); color: var(--green); }

.card-price {
  margin-top: auto;
  font-family: "Big Shoulders Display", sans-serif;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--gold);
}

.section-more { text-align: center; margin: var(--space-4) 0 0; }

/* ---------- card detail ---------- */

.crumbs { margin-bottom: var(--space-3); }
.crumbs a { text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 800px) {
  .detail-grid { grid-template-columns: 2fr 3fr; }
}

.detail-art {
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(28, 156, 255, 0.12), rgba(10, 45, 135, 0.25));
  border: 1px solid var(--hairline);
  padding: var(--space-3);
  align-self: start;
}

.detail-art img { width: 100%; height: auto; filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.5)); }

.detail-fallback { aspect-ratio: 5 / 7; font-size: 6rem; }

.detail-set { color: var(--muted); font-size: 1.1rem; margin-bottom: var(--space-1); }

.detail-price {
  font-family: "Big Shoulders Display", sans-serif;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--gold);
  text-shadow: 0 0 28px rgba(244, 210, 60, 0.3);
  margin: var(--space-1) 0 4px;
}

.detail-how { margin-top: var(--space-3); }

.detail-steps { margin: 0 0 var(--space-2); padding-left: 1.2em; }
.detail-steps li { margin-bottom: 10px; }

.detail-ctas { justify-content: flex-start; }

/* ---------- footer ---------- */

.site-footer {
  background: rgba(4, 6, 18, 0.85);
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  margin-top: var(--space-5);
  padding: var(--space-4) 0 var(--space-3);
}

.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--gold); }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--hairline);
}

@media (min-width: 720px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.footer-brand {
  font-family: "Big Shoulders Display", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 4px;
}

.footer-tagline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-1);
}

.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-buy { background: var(--red); box-shadow: 0 0 8px rgba(217, 43, 36, 0.6); }
.dot-sell { background: var(--sky); box-shadow: 0 0 8px rgba(28, 156, 255, 0.6); }
.dot-trade { background: var(--green); box-shadow: 0 0 8px rgba(79, 167, 59, 0.6); }

.footer-heading {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: var(--space-1);
}

.footer-muted { color: var(--muted); font-size: 0.95rem; }

.footer-socials {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.footer-socials a:hover { text-decoration: underline; }

.footer-legal {
  padding-top: var(--space-2);
  font-size: 0.9rem;
  color: rgba(154, 163, 196, 0.7);
}
.footer-legal p { margin: 0; }

/* ---------- scroll reveals (progressive enhancement) ---------- */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .info-card, .show-card, .step, .find-card, .sell-banner {
      animation: rise-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
