/* Variation A — CRYPT
   Dark dungeon cavern. Torchlight warm amber on near-black.
   Pixel UI chrome, heavy CRT feel, scanlines on by default.
   Feature cards = parchment scrolls pinned to stone.
*/

.v-crypt {
  --bg: #0a0806;
  --stone: #1a1410;
  --stone-2: #221a12;
  --ink: #e8dcc0;
  --muted: #8b7650;
  --gold: #d4a656;
  --gold-hot: #f0c070;
  --blood: #8b1a1a;
  --blood-hot: #c44040;
  --torch: #ff9040;
  --ghost: #5eb8c8;
  --parchment: #c9b892;
  --parchment-dark: #a89068;

  background:
    radial-gradient(ellipse 1200px 600px at 50% -100px, rgba(255, 144, 64, 0.08), transparent 60%),
    radial-gradient(ellipse 800px 400px at 20% 100%, rgba(139, 26, 26, 0.08), transparent 60%),
    radial-gradient(ellipse 800px 400px at 80% 100%, rgba(94, 184, 200, 0.05), transparent 60%),
    #0a0806;
  color: var(--ink);
  font-family: 'VT323', 'Silkscreen', monospace;
  font-size: 22px;
  line-height: 1.45;
}

/* ---------- HERO ---------- */
.crypt-hero {
  position: relative;
  min-height: calc(100vh - 40px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  padding: 80px 64px 48px;
  max-width: 1440px;
  margin: 0 auto;
  align-items: center;
}

.crypt-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    /* Stone texture */
    repeating-linear-gradient(90deg, transparent 0 40px, rgba(255,255,255,0.01) 40px 41px),
    repeating-linear-gradient(0deg, transparent 0 40px, rgba(255,255,255,0.01) 40px 41px);
  pointer-events: none;
}

.crypt-hero .torch {
  position: absolute;
  width: 4px; height: 48px;
  background: linear-gradient(#3a2a1a, #1a1410);
}
.crypt-hero .torch::before {
  content: '';
  position: absolute;
  top: -20px; left: -10px;
  width: 24px; height: 28px;
  background: radial-gradient(ellipse at center 80%, var(--torch) 0%, #ff4020 40%, transparent 70%);
  filter: blur(3px);
  animation: flicker 0.12s infinite alternate;
}
.crypt-hero .torch.left  { top: 80px; left: 40px; }
.crypt-hero .torch.right { top: 80px; right: 40px; }
@keyframes flicker {
  0%   { opacity: 0.85; transform: translateY(0) scale(1, 1); }
  50%  { opacity: 1;    transform: translateY(-1px) scale(1.05, 1.1); }
  100% { opacity: 0.9;  transform: translateY(1px) scale(0.98, 0.95); }
}

.crypt-hero .left-col { position: relative; z-index: 2; }
.crypt-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 18px; letter-spacing: 3px;
  color: var(--parchment-dark);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 4px 10px;
  border: 1px solid var(--parchment-dark);
  background: rgba(0,0,0,0.4);
}
.crypt-hero .eyebrow .sq { width: 8px; height: 8px; background: var(--blood); }

.crypt-hero h1 {
  font-family: 'Press Start 2P', 'VT323', monospace;
  font-size: 64px;
  line-height: 1.05;
  color: var(--gold);
  text-shadow:
    4px 4px 0 #000,
    4px 4px 0 var(--blood);
  margin-bottom: 28px;
  letter-spacing: -1px;
}
.crypt-hero h1 .small {
  display: block;
  font-size: 32px;
  color: var(--ink);
  text-shadow: 3px 3px 0 #000;
  margin-top: 8px;
}

.crypt-hero .tagline {
  font-size: 26px;
  color: var(--parchment);
  max-width: 560px;
  margin-bottom: 36px;
  text-shadow: 2px 2px 0 #000;
}

.crypt-hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.crypt-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: 'VT323', monospace;
  font-size: 22px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  background: #000;
  color: var(--gold);
  cursor: pointer;
  box-shadow: 4px 4px 0 0 var(--gold), 4px 4px 0 2px #000;
  transition: transform 0.05s ease, box-shadow 0.05s ease;
}
.crypt-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--gold), 6px 6px 0 2px #000; }
.crypt-btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 0 var(--gold); }
.crypt-btn.primary { background: var(--gold); color: #000; }
.crypt-btn.primary:hover { background: var(--gold-hot); }
.crypt-btn .arrow { color: var(--blood); }
.crypt-btn.primary .arrow { color: #000; }

/* Server card */
.crypt-hero .right-col { position: relative; z-index: 2; }
.server-card {
  background:
    linear-gradient(180deg, #12100c 0%, #0a0806 100%);
  border: 2px solid var(--gold);
  padding: 0;
  box-shadow:
    inset 0 0 0 2px #000,
    inset 0 0 0 4px #5c4420,
    6px 6px 0 0 #000;
  position: relative;
  max-width: 440px;
  margin-left: auto;
}
.server-card::before {
  content: '';
  position: absolute;
  top: -10px; left: -10px; right: -10px; bottom: -10px;
  border: 1px dashed #3a2a1a;
  pointer-events: none;
}
.server-card .sc-head {
  background: var(--gold);
  color: #000;
  padding: 8px 16px;
  font-size: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: bold;
}
.server-card .sc-head .live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px;
}
.server-card .sc-head .live .d { width: 8px; height: 8px; background: #1a6630; animation: dot-pulse 2s infinite; }

.server-card .sc-body { padding: 18px 20px; }
.server-card .sc-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dotted #3a2a1a;
  font-size: 20px;
}
.server-card .sc-row:last-child { border-bottom: none; }
.server-card .sc-row .k { color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-size: 16px; }
.server-card .sc-row .v { color: var(--ink); }
.server-card .sc-row .v.hl { color: var(--gold); }
.server-card .sc-foot {
  background: #000;
  padding: 14px 20px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 2px solid var(--gold);
  font-size: 18px;
  color: var(--muted);
}
.server-card .sc-foot .players {
  color: var(--ghost);
  font-family: 'VT323', monospace;
  font-size: 22px;
}
.server-card .sc-foot .players b { color: #fff; font-weight: normal; }

/* Stat ticker under hero */
.crypt-ticker {
  position: relative;
  border-top: 2px solid #2a1f14;
  border-bottom: 2px solid #2a1f14;
  background: #000;
  overflow: hidden;
  height: 44px;
  display: flex; align-items: center;
}
.crypt-ticker .track {
  display: flex; gap: 48px;
  animation: tick 45s linear infinite;
  white-space: nowrap;
  padding-left: 48px;
}
.crypt-ticker .item {
  font-size: 20px;
  color: var(--parchment-dark);
  letter-spacing: 2px;
  display: inline-flex; align-items: center; gap: 12px;
}
.crypt-ticker .item b { color: var(--gold); font-weight: normal; }
.crypt-ticker .item .sep { color: var(--blood); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- MODES ---------- */
.crypt-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 96px 64px;
}
.crypt-section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 40px;
  border-bottom: 2px solid #2a1f14;
  padding-bottom: 20px;
}
.crypt-section-head h2 {
  font-family: 'Press Start 2P', monospace;
  font-size: 32px;
  color: var(--gold);
  text-shadow: 3px 3px 0 #000;
  letter-spacing: -1px;
}
.crypt-section-head .kicker {
  color: var(--muted);
  font-size: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.crypt-section-head .kicker::before { content: '//'; color: var(--blood); margin-right: 8px; }

.modes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.mode-card {
  position: relative;
  background:
    radial-gradient(ellipse at top left, rgba(212, 166, 86, 0.04), transparent 60%),
    #120d08;
  border: 2px solid var(--gold);
  padding: 32px;
  box-shadow: 6px 6px 0 0 #000;
}
.mode-card .mc-seal {
  position: absolute;
  top: -16px; right: 24px;
  background: var(--blood);
  color: #fff;
  padding: 4px 12px;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid #000;
}
.mode-card h3 {
  font-family: 'Press Start 2P', monospace;
  font-size: 28px;
  color: var(--gold);
  text-shadow: 3px 3px 0 #000;
  margin-bottom: 4px;
}
.mode-card .mc-sub {
  color: var(--parchment-dark);
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.mode-card .mc-blurb {
  color: var(--parchment);
  font-size: 21px;
  line-height: 1.55;
  margin-bottom: 24px;
}
.mode-card .mc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.mode-card .mc-tag {
  padding: 4px 10px;
  border: 1px solid var(--gold);
  background: rgba(212, 166, 86, 0.08);
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------- PILLARS ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar {
  background: #12100c;
  border: 2px solid #3a2a1a;
  padding: 24px;
  position: relative;
  transition: transform 0.1s, border-color 0.1s, box-shadow 0.1s;
}
.pillar:hover {
  transform: translate(-2px, -2px);
  border-color: var(--gold);
  box-shadow: 4px 4px 0 0 #000;
}
.pillar .p-idx {
  font-family: 'Press Start 2P', monospace;
  font-size: 14px;
  color: var(--blood);
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.pillar h4 {
  font-family: 'VT323', monospace;
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 10px;
  line-height: 1.15;
}
.pillar p {
  color: var(--parchment);
  font-size: 19px;
  line-height: 1.5;
}

/* ---------- RATES TABLE ---------- */
.rates-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}
.rates-table {
  background: #0f0a06;
  border: 2px solid var(--gold);
  box-shadow: 6px 6px 0 0 #000;
}
.rates-table .rt-head {
  background: var(--gold);
  color: #000;
  padding: 10px 20px;
  font-family: 'Press Start 2P', monospace;
  font-size: 14px;
  letter-spacing: 2px;
  display: grid;
  grid-template-columns: 1fr 100px 1.4fr;
  gap: 16px;
}
.rates-table .rt-row {
  display: grid;
  grid-template-columns: 1fr 100px 1.4fr;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px dotted #3a2a1a;
  font-size: 22px;
  align-items: center;
}
.rates-table .rt-row:last-child { border-bottom: none; }
.rates-table .rt-row .lvl { color: var(--ink); }
.rates-table .rt-row .rate {
  color: var(--gold);
  font-family: 'Press Start 2P', monospace;
  font-size: 18px;
  text-align: right;
}
.rates-table .rt-row:last-child .rate { color: var(--blood-hot); }
.rates-table .rt-row .rate .ast {
  font-size: 11px;
  vertical-align: super;
  margin-left: 2px;
  color: var(--gold);
  opacity: 0.85;
}
.rates-table .rt-row:last-child .rate .ast { color: var(--blood-hot); }
.rates-table .rt-row .note {
  color: var(--muted);
  font-size: 18px;
}

.rates-sidecard {
  background: #0f0a06;
  border: 2px solid #3a2a1a;
  padding: 24px;
}
.rates-sidecard h4 {
  font-family: 'Press Start 2P', monospace;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #3a2a1a;
}
.rates-sidecard .rs-row {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  font-size: 20px;
}
.rates-sidecard .rs-row .k { color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-size: 16px; }
.rates-sidecard .rs-row .v { color: var(--ink); }
.rates-sidecard .rs-row .v.pos { color: #4ade80; }

/* ---------- MEDIA GALLERY ---------- */
.media-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 140px;
  gap: 12px;
}
.media-tile {
  background: #0a0806;
  border: 2px solid #3a2a1a;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.1s, transform 0.1s;
}
.media-tile:hover { border-color: var(--gold); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 #000; }
.media-tile .placeholder { position: absolute; inset: 0; }
.media-tile .mt-overlay {
  position: absolute; left: 8px; top: 8px; right: 8px;
  display: flex; justify-content: space-between; align-items: flex-start;
  pointer-events: none;
  z-index: 2;
}
.media-tile .mt-kind {
  padding: 3px 8px;
  background: #000;
  color: var(--gold);
  border: 1px solid var(--gold);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'VT323', monospace;
}
.media-tile .mt-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 8px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  color: var(--parchment);
  font-size: 16px;
  z-index: 2;
  pointer-events: none;
}

.media-tile.size-1 { grid-column: span 3; grid-row: span 3; }
.media-tile.size-2 { grid-column: span 3; grid-row: span 2; }
.media-tile.size-3 { grid-column: span 2; grid-row: span 2; }
.media-tile.size-4 { grid-column: span 2; grid-row: span 1; }
.media-tile.size-5 { grid-column: span 2; grid-row: span 1; }
.media-tile.size-6 { grid-column: span 1; grid-row: span 2; }
.media-tile.size-7 { grid-column: span 3; grid-row: span 2; }
.media-tile.size-8 { grid-column: span 2; grid-row: span 2; }
.media-tile.size-9 { grid-column: span 4; grid-row: span 1; }

/* Big play icon on videos */
.media-tile[data-kind="video"] .mt-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 3; pointer-events: none;
}
.media-tile[data-kind="video"] .mt-play span {
  width: 56px; height: 56px;
  background: rgba(212, 166, 86, 0.9);
  border: 3px solid #000;
  box-shadow: 3px 3px 0 #000;
  display: flex; align-items: center; justify-content: center;
  color: #000;
  font-size: 24px;
  clip-path: polygon(10% 0, 100% 50%, 10% 100%);
}

/* ---------- HOW TO PLAY ---------- */
.howto-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 2px solid var(--gold);
  background: #0f0a06;
  box-shadow: 6px 6px 0 0 #000;
}
.howto-step {
  display: grid;
  grid-template-columns: 80px 1fr 140px;
  gap: 24px;
  padding: 24px 28px;
  border-bottom: 2px dashed #3a2a1a;
  align-items: center;
}
.howto-step:last-child { border-bottom: none; }
.howto-step .n {
  font-family: 'Press Start 2P', monospace;
  font-size: 36px;
  color: var(--gold);
  text-shadow: 3px 3px 0 #000;
}
.howto-step .txt h5 {
  font-family: 'VT323', monospace;
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 4px;
}
.howto-step .txt p {
  color: var(--parchment);
  font-size: 20px;
  line-height: 1.5;
}
.howto-step .side {
  text-align: right;
  color: var(--muted);
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ---------- FOOTER ---------- */
.crypt-footer {
  border-top: 2px solid #2a1f14;
  padding: 48px 64px 32px;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.crypt-footer h6 {
  font-family: 'VT323', monospace;
  color: var(--gold);
  font-size: 22px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.crypt-footer a, .crypt-footer p {
  display: block;
  color: var(--parchment-dark);
  font-size: 18px;
  padding: 4px 0;
}
.crypt-footer a:hover { color: var(--gold); }
.crypt-footer .sig {
  color: var(--muted);
  font-size: 16px;
  margin-top: 24px;
  grid-column: 1 / -1;
  text-align: center;
  border-top: 1px dashed #2a1f14;
  padding-top: 20px;
}

/* Responsive-ish — keep it simple, this is a showcase */
@media (max-width: 1100px) {
  .crypt-hero { grid-template-columns: 1fr; padding: 60px 32px; }
  .crypt-section { padding: 64px 32px; }
  .modes-grid, .rates-layout, .pillars-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .crypt-hero h1 { font-size: 44px; }
  .crypt-hero h1 .small { font-size: 24px; }
  .crypt-footer { grid-template-columns: 1fr; padding: 32px; }
  .media-bento { grid-template-columns: repeat(4, 1fr); }
}



/* ---------- XP CALCULATOR ---------- */
.xp-calc {
  margin-top: 20px;
  background: #0f0a06;
  border: 2px solid var(--gold);
  box-shadow: 4px 4px 0 0 #000;
  padding: 14px 16px 16px;
}
.xp-calc .xpc-head {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #3a2a1a;
}
.xp-calc .xpc-head h4 {
  font-family: 'Press Start 2P', monospace;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.xp-calc .xpc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.xp-calc .xpc-grid label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: 'VT323', monospace;
  font-size: 16px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.xp-calc .xpc-grid input[type="number"] {
  font-family: 'VT323', monospace;
  font-size: 20px;
  color: var(--ink);
  background: #000;
  border: 2px solid #3a2a1a;
  padding: 5px 10px;
  outline: none;
  letter-spacing: 1px;
  width: 100%;
  box-sizing: border-box;
}
.xp-calc .xpc-grid input[type="number"]:focus {
  border-color: var(--gold);
  box-shadow: 2px 2px 0 0 var(--gold);
}

.xp-calc .xpc-result-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 10px;
  border-top: 1px dashed #3a2a1a;
}
.xp-calc .xpc-line {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 4px 0;
  font-family: 'VT323', monospace;
  font-size: 18px;
}
.xp-calc .xpc-line .kk {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}
.xp-calc .xpc-line .vv { color: var(--ink); }
.xp-calc .xpc-line.final {
  margin-top: 6px;
  padding: 8px 10px;
  background: rgba(212, 166, 86, 0.08);
  border: 1px solid var(--gold);
}
.xp-calc .xpc-line.final .kk { color: var(--gold); }
.xp-calc .xpc-line.final .vv b {
  font-family: 'Press Start 2P', monospace;
  font-size: 18px;
  color: var(--gold-hot);
  text-shadow: 2px 2px 0 #000;
  font-weight: normal;
}


/* ---------- EXPERIENCE PAGE ---------- */
.experience-hero {
  padding-bottom: 0 !important;
}
.experience-lede {
  max-width: 760px;
  margin-top: 18px;
  font-family: 'VT323', monospace;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.5;
}
.experience-lede b {
  color: var(--gold);
  font-weight: normal;
}



/* ---------- FEATURES PAGE ---------- */
.features-hero { padding-bottom: 0 !important; }
.features-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Flat card, same visual vocabulary as .mode-card */
.feature-card {
  position: relative;
  background:
    radial-gradient(ellipse at top left, rgba(212, 166, 86, 0.04), transparent 60%),
    #120d08;
  border: 2px solid var(--gold);
  box-shadow: 6px 6px 0 0 #000;
}

/* Seal — same treatment as .mode-card .mc-seal */
.feature-card .fc-seal {
  position: absolute;
  top: -16px; right: 24px;
  background: var(--blood);
  color: #fff;
  padding: 6px 14px;
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  border: 2px solid #000;
  z-index: 2;
}

/* Gold header strip on top */
.feature-card .fc-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--gold);
  color: #000;
  border-bottom: 2px solid #000;
  flex-wrap: wrap;
}
.feature-card .fc-strip .fc-kicker {
  font-family: 'Press Start 2P', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #000;
  opacity: 0.75;
}
.feature-card .fc-strip .fc-strip-sep {
  color: var(--blood);
  font-family: 'Press Start 2P', monospace;
  font-size: 14px;
}
.feature-card .fc-strip h3 {
  font-family: 'Press Start 2P', monospace;
  font-size: 20px;
  color: #000;
  letter-spacing: -0.5px;
  line-height: 1.1;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.1);
}

/* Two-column body */
.feature-card .fc-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  padding: 28px 32px 32px;
}
.feature-card .fc-main > *:last-child { margin-bottom: 0; }

.feature-card .fc-lede {
  font-family: 'VT323', monospace;
  font-size: 24px;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 14px;
}
.feature-card .fc-body {
  font-family: 'VT323', monospace;
  font-size: 20px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 22px;
}

/* Stat blocks — item cards */
.feature-card .fc-statblocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.feature-card .fc-statblock {
  background: #0a0806;
  border: 1px solid #3a2a1a;
  padding: 12px 14px;
}
.feature-card .fc-sb-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: var(--gold-hot);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #3a2a1a;
}
.feature-card .fc-sb-row {
  display: flex; justify-content: space-between;
  padding: 2px 0;
  font-family: 'VT323', monospace;
}
.feature-card .fc-sb-row .k { color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-size: 12px; }
.feature-card .fc-sb-row .v { color: var(--ink); font-size: 17px; }

/* Lists — raid buffs, gem tiers */
.feature-card .fc-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}
.feature-card .fc-list {
  background: #0a0806;
  border: 1px solid #3a2a1a;
  padding: 14px 16px;
}
.feature-card .fc-list h5 {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: var(--gold-hot);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #3a2a1a;
}
.feature-card .fc-list ul { list-style: none; padding: 0; margin: 0; }
.feature-card .fc-list li {
  font-family: 'VT323', monospace;
  font-size: 19px;
  color: var(--ink);
  padding: 3px 0 3px 18px;
  position: relative;
  line-height: 1.35;
}
.feature-card .fc-list li::before {
  content: '▸';
  position: absolute; left: 0;
  color: var(--blood-hot);
}

/* Formula */
.feature-card .fc-formula {
  background: #000;
  border: 1px solid var(--gold);
  padding: 14px 18px;
  margin-bottom: 14px;
}
.feature-card .fc-formula-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.feature-card .fc-formula pre {
  margin: 0;
  font-family: 'VT323', 'IBM Plex Mono', monospace;
  font-size: 20px;
  color: var(--ink);
  line-height: 1.35;
  white-space: pre;
  overflow-x: auto;
}

.feature-card .fc-example {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 12px 16px;
  background: rgba(212, 166, 86, 0.06);
  border-left: 3px solid var(--gold);
  font-family: 'VT323', monospace;
  font-size: 19px;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 18px;
}
.feature-card .fc-ex-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  flex-shrink: 0;
  min-width: 64px;
}

.feature-card .fc-cta {
  margin-top: 6px;
  font-size: 13px;
  padding: 10px 18px;
}

/* Media slot — mirrors .media-tile visual */
.feature-card .fc-media {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-card .fc-media-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #0a0806;
  border: 2px solid #3a2a1a;
  overflow: hidden;
}
.feature-card .fc-media-placeholder {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(212, 166, 86, 0.04),
      rgba(212, 166, 86, 0.04) 8px,
      transparent 8px,
      transparent 16px
    ),
    #0f0a06;
  text-align: center;
}
.feature-card .fc-media-kind {
  position: absolute;
  top: 8px; left: 8px;
  padding: 3px 8px;
  background: #000;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.feature-card .fc-media-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-shadow: 2px 2px 0 #000;
}
.feature-card .fc-media-note {
  font-family: 'VT323', monospace;
  font-size: 16px;
  color: var(--muted);
  font-style: italic;
}
.feature-card .fc-media-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) translateY(-8px);
  width: 56px; height: 56px;
  background: var(--blood);
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 0 0 #000;
}
.feature-card .fc-media-play span {
  width: 0; height: 0;
  border-left: 14px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}
.feature-card .fc-media-caption {
  font-family: 'VT323', monospace;
  font-size: 14px;
  color: var(--muted);
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.6;
}

.feature-card .fc-note {
  margin: 0 32px;
  padding: 14px 0 22px;
  border-top: 1px dashed #2a1f14;
  font-family: 'VT323', monospace;
  font-size: 16px;
  font-style: italic;
  color: #6b5a3e;
}

@media (max-width: 1000px) {
  .feature-card .fc-grid { grid-template-columns: 1fr; gap: 24px; padding: 22px 20px 24px; }
  .feature-card .fc-statblocks { grid-template-columns: 1fr 1fr; }
  .feature-card .fc-lists { grid-template-columns: 1fr; }
  .feature-card .fc-strip { padding: 12px 20px; }
  .feature-card .fc-strip h3 { font-size: 16px; }
  .feature-card .fc-example { flex-direction: column; gap: 6px; }
  .feature-card .fc-note { margin: 0 20px; }
}
@media (max-width: 560px) {
  .feature-card .fc-statblocks { grid-template-columns: 1fr; }
}


/* Stat categories — Items card */
.feature-card .fc-stat-cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.feature-card .fc-stat-cat {
  background: #0a0806;
  border: 1px solid #3a2a1a;
  padding: 14px 16px;
}
.feature-card .fc-stat-cat h5 {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: var(--gold-hot);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #3a2a1a;
}
.feature-card .fc-stat-cat dl {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(96px, auto) 1fr;
  column-gap: 14px;
  row-gap: 5px;
  font-family: 'VT323', monospace;
}
.feature-card .fc-stat-cat dt {
  color: var(--gold);
  font-size: 17px;
  font-weight: normal;
}
.feature-card .fc-stat-cat dd {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.3;
}

@media (max-width: 700px) {
  .feature-card .fc-stat-cats { grid-template-columns: 1fr; }
}


/* Sub-features — alternating rows with small media slot */
.feature-card .fc-subs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
}
.feature-card .fc-sub {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 20px;
  align-items: center;
  padding: 16px 18px;
  background: #0a0806;
  border: 1px solid #3a2a1a;
}
.feature-card .fc-sub-text h4 {
  font-family: 'Press Start 2P', monospace;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 1px;
  line-height: 1.25;
  margin-bottom: 8px;
  text-transform: none;
  text-shadow: 2px 2px 0 #000;
}
.feature-card .fc-sub-text p {
  font-family: 'VT323', monospace;
  font-size: 19px;
  color: var(--ink);
  line-height: 1.4;
  margin: 0;
}
.feature-card .fc-sub-media {
  width: 100%;
}
.feature-card .fc-sub-media-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 2px solid #3a2a1a;
  background: #0f0a06;
  overflow: hidden;
}
.feature-card .fc-sub-media-frame .fc-media-kind {
  font-size: 8px;
  padding: 2px 6px;
}
.feature-card .fc-sub-media-frame .fc-media-label {
  font-size: 10px;
  margin-bottom: 4px;
}
.feature-card .fc-sub-media-frame .fc-media-note {
  font-size: 13px;
}

@media (max-width: 800px) {
  .feature-card .fc-sub { grid-template-columns: 1fr; }
  .feature-card .fc-sub-media { max-width: 240px; }
}


/* Real image inside a media frame */
.feature-card .fc-media-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  display: block;
  background: #000;
}


/* Item tooltip grid — Items & Stats */
.feature-card .fc-tooltips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.feature-card .fc-tooltip {
  margin: 0;
  background: #0a0806;
  border: 1px solid #3a2a1a;
  padding: 10px;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  gap: 8px;
  min-height: 200px;
}
.feature-card .fc-tooltip img {
  display: block;
  max-width: 100%;
  max-height: 160px;
  width: auto;
  height: auto;
  align-self: center;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.feature-card .fc-tooltip figcaption {
  font-family: 'VT323', monospace;
  font-size: 15px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  align-self: end;
}


/* Wide sub-feature — image below text, full card width */
.feature-card .fc-sub-wide {
  grid-template-columns: 1fr !important;
}
.feature-card .fc-sub-wide .fc-sub-media {
  width: 100%;
  max-width: none !important;
}
.feature-card .fc-sub-wide .fc-sub-media-frame {
  aspect-ratio: auto;
  height: auto;
  min-height: 120px;
  background: #0a0806;
}
.feature-card .fc-sub-wide .fc-media-img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Text-only sub-feature (no media) — single column */
.feature-card .fc-sub-text-only {
  grid-template-columns: 1fr !important;
}


/* Flame text — retro torch flicker for notable stat values */
.rates-sidecard .v.flame,
.v.flame {
  position: relative;
  color: #ffd890 !important;
  text-shadow:
    0 0 2px #fff4b0,
    0 0 4px var(--torch),
    0 0 8px #ff4020,
    0 0 14px #c41010;
  animation: flameText 0.14s infinite alternate;
}
.v.flame::before {
  content: '';
  position: absolute;
  left: -6px; right: -6px;
  top: 50%;
  transform: translateY(-50%);
  height: 18px;
  background:
    radial-gradient(ellipse at 50% 50%,
      rgba(255, 144, 64, 0.45) 0%,
      rgba(255, 64, 32, 0.25) 40%,
      transparent 70%);
  filter: blur(4px);
  pointer-events: none;
  animation: flameHalo 0.18s infinite alternate;
  z-index: -1;
}
@keyframes flameText {
  0%   { text-shadow:
           0 0 2px #fff4b0,
           0 0 4px var(--torch),
           0 0 9px #ff4020,
           0 0 16px #c41010;
         transform: translateY(-0.5px); }
  50%  { text-shadow:
           0 0 1px #fff4b0,
           0 0 3px var(--torch),
           0 0 6px #ff4020,
           0 0 10px #c41010; }
  100% { text-shadow:
           0 0 3px #fff4b0,
           0 0 5px var(--torch),
           0 0 11px #ff4020,
           0 0 18px #c41010;
         transform: translateY(0.5px); }
}
@keyframes flameHalo {
  0%   { opacity: 0.75; transform: translateY(-50%) scale(1, 1); }
  50%  { opacity: 1;    transform: translateY(-52%) scale(1.08, 1.15); }
  100% { opacity: 0.85; transform: translateY(-50%) scale(1, 1); }
}
@media (prefers-reduced-motion: reduce) {
  .v.flame, .v.flame::before { animation: none; }
}
