:root {
  --bg: #141414;
  --bg-elevated: #1a1a1a;
  --bg-card: #181818;
  --text: #ffffff;
  --text-muted: #b3b3b3;
  --text-dim: #808080;
  --red: #e50914;
  --red-hot: #f40612;
  --accent: #e50914;
  --rail-gap: 0.75rem;
  --card-w: 240px;
  --card-h: 135px;
  --radius: 6px;
  --topbar-h: 68px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* —— Top bar —— */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(20, 20, 20, 0.55) 70%, transparent 100%);
  transition: background 0.25s ease;
}

.topbar.is-scrolled {
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 4px;
  letter-spacing: -0.04em;
}

.logo-text {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
}

.nav-link.is-active {
  font-weight: 600;
}

/* —— Hero —— */
.hero {
  position: relative;
  z-index: 1;
  min-height: min(78vh, 640px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: end;
  padding: calc(var(--topbar-h) + 2.5rem) clamp(1.25rem, 4vw, 3.5rem) 3.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(229, 9, 20, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(61, 92, 255, 0.12), transparent 50%),
    linear-gradient(180deg, #141414 0%, #0a0a0a 55%, #141414 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.hero-glow--pink {
  width: 420px;
  height: 420px;
  right: 8%;
  top: 15%;
  background: #e50914;
}

.hero-glow--blue {
  width: 280px;
  height: 280px;
  left: 5%;
  bottom: 10%;
  background: #3d5cff;
  opacity: 0.25;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  opacity: 0.5;
}

.hero-crowd {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 82%, transparent 100%);
}

.hero-crowd .hc-p { fill: #6f7482; }
.hero-crowd .hc-row { animation: hc-drift-a 24s ease-in-out infinite alternate; }
.hero-crowd .hc-row--b { animation-name: hc-drift-b; }
.hero-crowd .hc-pick { animation: hc-flash 7s linear infinite; }
.hero-crowd .hc-win { animation: hc-win 7s ease-out infinite; }
.hero-crowd .hc-spot { animation: hc-spot 7s ease-out infinite; }

@keyframes hc-drift-a { from { transform: translateX(-18px); } to { transform: translateX(18px); } }
@keyframes hc-drift-b { from { transform: translateX(16px); } to { transform: translateX(-16px); } }

@keyframes hc-flash {
  0%, 4.5%, 100% { fill: #6f7482; }
  1%, 3% { fill: #ff3d7f; }
}

@keyframes hc-win {
  0%, 44%, 100% { fill: #6f7482; }
  48%, 92% { fill: #ff3d7f; }
}

@keyframes hc-spot {
  0%, 44%, 96%, 100% { fill-opacity: 0; }
  48%, 92% { fill-opacity: 1; }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.7) 32%, rgba(10, 10, 10, 0) 60%),
    linear-gradient(0deg, #141414 0%, rgba(20, 20, 20, 0) 22%);
}

.hero-content {
  max-width: 36rem;
  padding-bottom: 0.5rem;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin-bottom: 1rem;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}

.hero-blurb {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 1.15rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  background: rgba(229, 9, 20, 0.2);
  color: #ff6b73;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.meta-dot {
  opacity: 0.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  padding: 0.7rem 1.45rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-play {
  background: var(--text);
  color: #141414;
}

.btn-play:hover {
  background: #e6e6e6;
}

.hero-poster {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 1rem;
}

.poster-card {
  width: min(280px, 70vw);
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: rotate(-2deg);
  transition: transform 0.35s ease;
}

.poster-card:hover {
  transform: rotate(0deg) scale(1.03);
}

.poster-card--lottery {
  background:
    linear-gradient(160deg, #1a1a1a 0%, #0d0d0d 40%, #1a0a0c 100%),
    #111;
  border: 2px solid rgba(255, 61, 127, 0.35);
  padding: 1.5rem;
}

.poster-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff3d7f;
}

.poster-line {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: #fff;
}

.poster-btn {
  margin-top: 1rem;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ff3d7f;
  color: #fff;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  box-shadow: 0 8px 24px rgba(255, 61, 127, 0.45);
}

/* —— Rows —— */
.row {
  position: relative;
  z-index: 1;
  padding: 0.5rem 0 1.75rem;
}

.row--last {
  padding-bottom: 3rem;
}

.row-head {
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  margin-bottom: 0.85rem;
}

.row-head h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.row-sub {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.15rem;
}

.rail-wrap {
  position: relative;
}

.rail {
  display: flex;
  gap: var(--rail-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem clamp(1.25rem, 4vw, 3.5rem) 1.25rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.rail::-webkit-scrollbar {
  display: none;
}

.rail:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: -2px;
}

.rail-arrow {
  position: absolute;
  top: 0;
  bottom: 1.25rem;
  z-index: 5;
  width: 3rem;
  border: none;
  background: linear-gradient(90deg, rgba(20, 20, 20, 0.95), transparent);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
  display: grid;
  place-items: center;
}

.rail-arrow--right {
  right: 0;
  background: linear-gradient(270deg, rgba(20, 20, 20, 0.95), transparent);
}

.rail-arrow--left {
  left: 0;
}

.rail-wrap:hover .rail-arrow:not([hidden]) {
  opacity: 1;
}

.rail-arrow:hover {
  color: var(--red);
}

/* —— Cards —— */
.card {
  flex: 0 0 var(--card-w);
  scroll-snap-align: start;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.card:not(.card--soon):hover {
  transform: scale(1.08);
  z-index: 3;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.card-art {
  height: var(--card-h);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.card-art--lottery {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 61, 127, 0.45), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(61, 92, 255, 0.35), transparent 50%),
    linear-gradient(145deg, #1f1f1f, #0c0c0c);
}

.card-art-label {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: #ff3d7f;
  color: #fff;
  font-weight: 800;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(255, 61, 127, 0.4);
}

.card-art--coastwatch {
  background: #000000;
}

.coastwatch-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.coastwatch-svg .cw-sweep {
  transform-origin: 120px 68px;
  animation: cw-sweep 4.5s linear infinite;
}

@keyframes cw-sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.card-art-title.card-art-title--coastwatch {
  color: #39ff88;
  text-shadow: 0 0 10px rgba(57, 255, 136, 0.45);
}

.lottery-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.lottery-svg .lh-p { fill: #8a8f9c; }
.lottery-svg .lh-pick { animation: lh-flash 4s linear infinite; }
.lottery-svg .lh-win { animation: lh-win 4s ease-out infinite; }
.lottery-svg .lh-spot { animation: lh-spot 4s ease-out infinite; }
.lottery-svg .lh-ring { animation: lh-spin 4s linear infinite; transform-box: fill-box; transform-origin: center; }
.lottery-svg .lh-btn { animation: lh-pulse 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

@keyframes lh-flash {
  0%, 7%, 100% { fill: #8a8f9c; }
  1.5%, 5% { fill: #ff3d7f; }
}

@keyframes lh-win {
  0%, 38%, 100% { fill: #8a8f9c; }
  42%, 90% { fill: #ff3d7f; }
}

@keyframes lh-spot {
  0%, 38%, 100% { opacity: 0; }
  44%, 88% { opacity: 1; }
}

@keyframes lh-spin {
  0% { transform: rotate(0deg); }
  38% { transform: rotate(320deg); }
  100% { transform: rotate(360deg); }
}

@keyframes lh-pulse {
  0%, 100% { transform: scale(1); }
  4% { transform: scale(0.88); }
  10% { transform: scale(1.06); }
  16% { transform: scale(1); }
}

.card-art-title {
  position: absolute;
  left: 0.7rem;
  bottom: 0.5rem;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: #ffe27a;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.card-art-title.card-art-title--lottery {
  color: #ff7aa8;
}

.card-art--raster {
  background: #111317;
}

.raster-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.raster-svg .ra-layer { animation: ra-bob 6s ease-in-out infinite alternate; }
.raster-svg .ra-layer--2 { animation-delay: -2s; }
.raster-svg .ra-layer--3 { animation-delay: -4s; }
.raster-svg .ra-stroke {
  stroke-dasharray: 100;
  animation: ra-paint 4s ease-in-out infinite;
}
.raster-svg .ra-row { fill: #23272e; }
.raster-svg .ra-row--1 { fill: rgba(190, 237, 103, 0.22); }

@keyframes ra-bob {
  from { transform: translateY(-2px); }
  to { transform: translateY(2px); }
}

@keyframes ra-paint {
  0% { stroke-dashoffset: 100; stroke-opacity: 1; }
  55%, 88% { stroke-dashoffset: 0; stroke-opacity: 1; }
  98% { stroke-dashoffset: 0; stroke-opacity: 0; }
  100% { stroke-dashoffset: 100; stroke-opacity: 0; }
}

.card-art-title.card-art-title--raster {
  color: #beed67;
}

.card-art--rare {
  background: #ffffff;
}

.rare-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.rare-svg .hr-dots--1 { animation: hr-fall1 8s ease-in infinite; }
.rare-svg .hr-dots--2 { animation: hr-fall2 8s ease-in infinite; }
.rare-svg .hr-dots--3 { animation: hr-fall3 8s ease-in infinite; }
.rare-svg .hr-dots--4 { animation: hr-fall4 8s ease-in infinite; }
.rare-svg .hr-count--1 { animation: hr-c1 8s steps(1, end) infinite; }
.rare-svg .hr-count--2 { animation: hr-c2 8s steps(1, end) infinite; }
.rare-svg .hr-count--3 { animation: hr-c3 8s steps(1, end) infinite; }
.rare-svg .hr-count--4 { animation: hr-c4 8s steps(1, end) infinite; }
.rare-svg .hr-count--5 { animation: hr-c5 8s steps(1, end) infinite; }
.rare-svg .hr-count--6 { animation: hr-c6 8s steps(1, end) infinite; }
.rare-svg .hr-figs { animation: hr-figs 8s ease-out infinite; }
.rare-svg .hr-fig--you { animation: hr-you 8s ease-out infinite; }
.rare-svg .hr-you-tag { animation: hr-tag 8s ease-out infinite; }

@keyframes hr-fall1 {
  0%, 14% { transform: translateY(0); fill-opacity: 1; }
  22%, 97% { transform: translateY(40px); fill-opacity: 0; }
  100% { transform: translateY(0); fill-opacity: 1; }
}
@keyframes hr-fall2 {
  0%, 24% { transform: translateY(0); fill-opacity: 1; }
  32%, 97% { transform: translateY(40px); fill-opacity: 0; }
  100% { transform: translateY(0); fill-opacity: 1; }
}
@keyframes hr-fall3 {
  0%, 34% { transform: translateY(0); fill-opacity: 1; }
  42%, 97% { transform: translateY(40px); fill-opacity: 0; }
  100% { transform: translateY(0); fill-opacity: 1; }
}
@keyframes hr-fall4 {
  0%, 44% { transform: translateY(0); fill-opacity: 1; }
  52%, 97% { transform: translateY(40px); fill-opacity: 0; }
  100% { transform: translateY(0); fill-opacity: 1; }
}

@keyframes hr-c1 {
  0%, 13% { fill-opacity: 1; }
  14%, 97% { fill-opacity: 0; }
  100% { fill-opacity: 1; }
}
@keyframes hr-c2 {
  0%, 13% { fill-opacity: 0; }
  14%, 23% { fill-opacity: 1; }
  24%, 100% { fill-opacity: 0; }
}
@keyframes hr-c3 {
  0%, 23% { fill-opacity: 0; }
  24%, 33% { fill-opacity: 1; }
  34%, 100% { fill-opacity: 0; }
}
@keyframes hr-c4 {
  0%, 33% { fill-opacity: 0; }
  34%, 43% { fill-opacity: 1; }
  44%, 100% { fill-opacity: 0; }
}
@keyframes hr-c5 {
  0%, 43% { fill-opacity: 0; }
  44%, 53% { fill-opacity: 1; }
  54%, 100% { fill-opacity: 0; }
}
@keyframes hr-c6 {
  0%, 53% { fill-opacity: 0; }
  54%, 94% { fill-opacity: 1; }
  95%, 100% { fill-opacity: 0; }
}

@keyframes hr-figs {
  0%, 52% { stroke-opacity: 0; fill-opacity: 0; }
  58%, 94% { stroke-opacity: 1; fill-opacity: 1; }
  98%, 100% { stroke-opacity: 0; fill-opacity: 0; }
}

@keyframes hr-you {
  0%, 62% { stroke: #111111; fill: #111111; }
  66%, 100% { stroke: #ff4757; fill: #ff4757; }
}

@keyframes hr-tag {
  0%, 64% { fill-opacity: 0; }
  68%, 94% { fill-opacity: 1; }
  98%, 100% { fill-opacity: 0; }
}

.card-art-title.card-art-title--rare {
  color: #111111;
  text-shadow: none;
}

.card-art--luma {
  background: #0e1214;
}

.luma-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.card-art-title.card-art-title--luma {
  color: #5ce0c0;
}

.card-art--xp {
  background: #5fa9e8;
}

.xp-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.xp-svg .xp-cloud--1 { animation: xp-drift 16s ease-in-out infinite alternate; }
.xp-svg .xp-cloud--2 { animation: xp-drift 19s ease-in-out infinite alternate-reverse; }
.xp-svg .xp-win { opacity: 0; }
.xp-svg .xp-win--1 { transform-origin: 138px 40px; animation: xp-pop1 9s ease-out infinite; }
.xp-svg .xp-win--2 { transform-origin: 176px 62px; animation: xp-pop2 9s ease-out infinite; }
.xp-svg .xp-dim { animation: xp-dim 9s linear infinite; }
.xp-svg .xp-task { opacity: 0; }
.xp-svg .xp-task--1 { animation: xp-task1 9s steps(1, end) infinite; }
.xp-svg .xp-task--2 { animation: xp-task2 9s steps(1, end) infinite; }
.xp-svg .xp-doodle {
  stroke-dasharray: 100 120;
  animation: xp-doodle 9s ease-in-out infinite;
}
.xp-svg .xp-start-glow { animation: xp-glow 9s ease-out infinite; }

@keyframes xp-drift {
  from { transform: translateX(-5px); }
  to { transform: translateX(5px); }
}

@keyframes xp-pop1 {
  0%, 8% { opacity: 0; transform: scale(0.55); }
  12% { opacity: 1; transform: scale(1.04); }
  15%, 88% { opacity: 1; transform: scale(1); }
  94%, 100% { opacity: 0; transform: scale(0.92); }
}

@keyframes xp-pop2 {
  0%, 24% { opacity: 0; transform: scale(0.55); }
  28% { opacity: 1; transform: scale(1.04); }
  31%, 88% { opacity: 1; transform: scale(1); }
  94%, 100% { opacity: 0; transform: scale(0.92); }
}

@keyframes xp-dim {
  0%, 26% { opacity: 0; }
  29%, 100% { opacity: 0.38; }
}

@keyframes xp-task1 {
  0% { opacity: 0; }
  11% { opacity: 1; }
  92% { opacity: 0; }
}

@keyframes xp-task2 {
  0% { opacity: 0; }
  27% { opacity: 1; }
  92% { opacity: 0; }
}

@keyframes xp-doodle {
  0%, 34% { stroke-dashoffset: 104; }
  64%, 100% { stroke-dashoffset: 0; }
}

@keyframes xp-glow {
  0%, 1% { opacity: 0; }
  4% { opacity: 0.35; }
  9%, 17% { opacity: 0; }
  20% { opacity: 0.3; }
  25%, 100% { opacity: 0; }
}

.card-art-title.card-art-title--xp {
  bottom: 1.3rem;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75), 0 0 10px rgba(10, 60, 20, 0.6);
}

.card-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.45rem;
}

.card-tags li {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.12rem 0.4rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.card-tags li:first-child {
  background: rgba(255, 207, 74, 0.16);
  color: #ffd76a;
}

.card-art--soon {
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  opacity: 0.72;
  filter: grayscale(0.35);
}

.card-art--d { background: linear-gradient(135deg, #2a2a2a, #2a241e); }
.card-art--e { background: linear-gradient(135deg, #2a2a2a, #1e222a); }

.card-art--soon::before {
  content: "?";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 5.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.soon-badge {
  position: relative;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.65rem;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.35);
}

.card-body {
  padding: 0.75rem 0.85rem 0.5rem;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.card-desc {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-open {
  display: none;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.85rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
}

.card:not(.card--soon):hover .card-open {
  display: inline-flex;
}

.card:not(.card--soon):focus-within {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* —— Responsive —— */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: calc(var(--topbar-h) + 1.5rem);
    padding-bottom: 2rem;
  }

  .hero-poster {
    order: -1;
    padding-bottom: 0;
  }

  .poster-card {
    width: min(200px, 55vw);
    transform: rotate(0);
  }

  .nav {
    display: none;
  }

  :root {
    --card-w: 200px;
    --card-h: 112px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card,
  .poster-card,
  .btn {
    transition: none;
  }
  .card:not(.card--soon):hover {
    transform: none;
  }
  .coastwatch-svg .cw-sweep,
  .lottery-svg .lh-pick,
  .lottery-svg .lh-spot,
  .lottery-svg .lh-ring,
  .lottery-svg .lh-btn {
    animation: none;
  }
  .lottery-svg .lh-win { animation: none; fill: #ff3d7f; }
  .hero-crowd .hc-row,
  .hero-crowd .hc-pick,
  .hero-crowd .hc-spot { animation: none; }
  .hero-crowd .hc-win { animation: none; fill: #ff3d7f; }
  .raster-svg .ra-layer,
  .raster-svg .ra-stroke { animation: none; }
  .raster-svg .ra-stroke { stroke-dashoffset: 0; }
  .raster-svg .ra-cursor { display: none; }
  .rare-svg .hr-dots,
  .rare-svg .hr-count,
  .rare-svg .hr-figs,
  .rare-svg .hr-fig--you,
  .rare-svg .hr-you-tag { animation: none; }
  .rare-svg .hr-dots--1,
  .rare-svg .hr-dots--2,
  .rare-svg .hr-dots--3 { fill-opacity: 0; }
  .rare-svg .hr-count { fill-opacity: 0; }
  .rare-svg .hr-count--6 { fill-opacity: 1; }
  .rare-svg .hr-fig--you { stroke: #ff4757; fill: #ff4757; }
  .hero-crowd .hc-spot { fill-opacity: 1; }
  .lottery-svg .lh-spot { opacity: 1; }
  .xp-svg .xp-cloud,
  .xp-svg .xp-win,
  .xp-svg .xp-dim,
  .xp-svg .xp-task,
  .xp-svg .xp-doodle,
  .xp-svg .xp-start-glow { animation: none; }
  .xp-svg .xp-win,
  .xp-svg .xp-task { opacity: 1; transform: none; }
  .xp-svg .xp-dim { opacity: 0.38; }
  .xp-svg .xp-doodle { stroke-dashoffset: 0; }
}
