/* FafaSpin — interactive lava flame theme */
:root {
  --coal: #070101;
  --ember-bg: #120303;
  --lava-deep: #1a0505;
  --lava-mid: #3d0c0c;
  --fire-red: #ff1e1e;
  --flame: #ff3d12;
  --molten: #ff6a12;
  --ember: #ff9a2e;
  --gold: #ffd24a;
  --ash: #f6ebe2;
  --smoke: #cbb5a6;
  --muted: #8d7268;
  --line: rgba(255, 210, 74, 0.28);
  --font-display: "Teko", sans-serif;
  --font-body: "Outfit", sans-serif;
  --max: 1180px;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ash);
  background: var(--coal);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ember);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

a:hover {
  color: var(--gold);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.03em;
  margin: 0 0 0.4em;
  text-transform: uppercase;
}

p { margin: 0 0 1em; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ========== MOVING LAVA WORLD ========== */
.lava-world {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
  background: #050000;
}

.lava-flow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(255, 50, 10, 0.45), transparent 55%),
    radial-gradient(ellipse 45% 35% at 80% 20%, rgba(255, 120, 20, 0.28), transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 90%, rgba(180, 20, 0, 0.55), transparent 60%),
    linear-gradient(160deg, #090101 0%, #1a0505 40%, #2a0800 70%, #0a0101 100%);
  animation: lava-drift 14s ease-in-out infinite alternate;
}

.lava-flow::before,
.lava-flow::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      115deg,
      transparent 0 40px,
      rgba(255, 80, 10, 0.04) 40px 80px
    );
  mix-blend-mode: screen;
  animation: lava-shear 9s linear infinite;
}

.lava-flow::after {
  background:
    radial-gradient(circle at 30% 70%, rgba(255, 200, 60, 0.18), transparent 25%),
    radial-gradient(circle at 70% 40%, rgba(255, 60, 20, 0.22), transparent 30%);
  animation: lava-blob 11s ease-in-out infinite alternate;
}

@keyframes lava-drift {
  from { transform: translate(-2%, -1%) scale(1.05) rotate(-1deg); }
  to { transform: translate(2%, 2%) scale(1.12) rotate(1.5deg); }
}

@keyframes lava-shear {
  from { transform: translateX(-8%); }
  to { transform: translateX(8%); }
}

@keyframes lava-blob {
  from { transform: translate(0, 0) scale(1); opacity: 0.7; }
  to { transform: translate(-4%, 3%) scale(1.15); opacity: 1; }
}

.lava-river {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent, rgba(255, 40, 0, 0.35) 40%, rgba(255, 120, 20, 0.55) 70%, #ff6a12 100%);
  filter: blur(0.5px);
  opacity: 0.85;
}

.lava-river::before {
  content: "";
  position: absolute;
  inset: -40% -10% 0;
  background:
    radial-gradient(ellipse 20% 60% at 10% 80%, #ffeb3b 0%, transparent 55%),
    radial-gradient(ellipse 25% 70% at 35% 90%, #ff5722 0%, transparent 50%),
    radial-gradient(ellipse 22% 65% at 60% 85%, #ff9800 0%, transparent 55%),
    radial-gradient(ellipse 28% 75% at 85% 95%, #ff1744 0%, transparent 50%);
  animation: river-wave 6s ease-in-out infinite alternate;
}

@keyframes river-wave {
  from { transform: translateX(-4%) scaleY(0.9); }
  to { transform: translateX(4%) scaleY(1.15); }
}

.lava-embers {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.lava-embers span {
  position: absolute;
  bottom: -12px;
  border-radius: 50%;
  opacity: 0;
  animation: rise-ember linear infinite;
  box-shadow: 0 0 8px currentColor;
}

@keyframes rise-ember {
  0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  8% { opacity: 0.95; }
  50% { transform: translateY(-55vh) translateX(18px) scale(0.7); }
  100% { transform: translateY(-110vh) translateX(-12px) scale(0.2); opacity: 0; }
}

.heat-shimmer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 60%,
    rgba(255, 100, 20, 0.06) 80%,
    rgba(255, 60, 0, 0.1) 100%
  );
  animation: shimmer 4s ease-in-out infinite alternate;
}

@keyframes shimmer {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(7, 1, 1, 0.94), rgba(20, 4, 4, 0.88));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 48px;
  width: auto;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 10px rgba(255, 60, 20, 0.45));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 16px rgba(255, 180, 40, 0.7));
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  color: var(--ash);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--flame), var(--gold));
  transition: width 0.25s ease;
}

.nav a:not(.nav-cta):hover::after,
.nav a.active:not(.nav-cta)::after {
  width: 100%;
}

.nav a:hover,
.nav a.active {
  color: var(--gold);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.3rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff !important;
  background: linear-gradient(135deg, var(--fire-red), var(--molten), var(--gold));
  background-size: 200% 200%;
  animation: cta-lava 3s ease infinite;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  box-shadow: 0 0 20px rgba(255, 50, 20, 0.45);
}

@keyframes cta-lava {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.nav-cta:hover {
  filter: brightness(1.12);
  color: #fff !important;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: rgba(255, 40, 20, 0.15);
  border: 1px solid var(--line);
  color: var(--ash);
  padding: 0.45rem 0.8rem;
  font-family: var(--font-body);
  cursor: pointer;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  animation: hero-ken 16s ease-in-out infinite alternate;
}

@keyframes hero-ken {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 1, 1, 0.35) 0%, rgba(7, 1, 1, 0.55) 40%, rgba(7, 1, 1, 0.92) 100%),
    linear-gradient(90deg, rgba(7, 1, 1, 0.95) 0%, rgba(7, 1, 1, 0.82) 34%, rgba(7, 1, 1, 0.25) 62%, transparent 78%);
}

.hero-crack {
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(255, 60, 0, 0.35));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 0 8rem;
  max-width: 620px;
  animation: hero-in 0.9s ease both;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero .hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 13vw, 7.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0.88;
  margin: 0 0 0.25em;
  max-width: none;
  background: linear-gradient(180deg, #fff 0%, var(--ember) 45%, var(--fire-red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 24px rgba(255, 40, 10, 0.55));
  animation: brand-pulse 3.5s ease-in-out infinite;
}

@keyframes brand-pulse {
  0%, 100% { filter: drop-shadow(0 6px 24px rgba(255, 40, 10, 0.45)); }
  50% { filter: drop-shadow(0 8px 36px rgba(255, 180, 40, 0.7)); }
}

.hero h1 {
  font-size: clamp(1.7rem, 4.2vw, 2.5rem);
  color: var(--gold);
  margin-bottom: 0.5em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85);
}

.hero .hero-content > p:not(.hero-brand) {
  font-size: 1.08rem;
  color: var(--smoke);
  max-width: 34ch;
  margin-bottom: 1.6rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.7rem;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.08);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--fire-red), var(--molten), var(--ember));
  background-size: 200% 200%;
  animation: cta-lava 3.5s ease infinite;
  box-shadow: 0 10px 32px rgba(255, 40, 10, 0.45);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

.btn-ghost {
  color: var(--ash);
  background: rgba(255, 40, 20, 0.08);
  border: 1px solid var(--line);
}

.btn-img {
  padding: 0;
  border: none;
  background: none;
  clip-path: none;
  box-shadow: none;
  animation: none;
}

.btn-img img {
  height: 48px;
  width: auto;
  transition: transform 0.25s ease, filter 0.25s ease;
  mix-blend-mode: screen;
}

.btn-img:hover img {
  transform: scale(1.06);
  filter: drop-shadow(0 0 12px rgba(255, 180, 40, 0.8));
}

/* ========== ACTION RAIL ========== */
.action-rail {
  position: relative;
  z-index: 2;
  margin-top: -2.5rem;
  padding: 0 0 1.5rem;
}

.action-rail-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.action-tile {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(26, 5, 5, 0.85);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  min-height: 110px;
}

.action-tile:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(255, 40, 10, 0.35);
}

.action-tile img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.action-tile:hover img {
  transform: scale(1.08);
}

.action-tile span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.55rem 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, rgba(180, 10, 0, 0.92), rgba(40, 5, 0, 0.7));
}

/* ========== SECTIONS ========== */
.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-head {
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.section-head > div {
  max-width: 36rem;
}

.section-head h2 {
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  color: #fff;
}

.section-head p {
  color: var(--smoke);
  margin: 0;
}

.magma-divider {
  height: 4px;
  margin: 0 auto;
  width: min(100% - 2rem, var(--max));
  background: linear-gradient(90deg, transparent, var(--flame), var(--gold), var(--molten), transparent);
  background-size: 200% 100%;
  animation: magma-run 3s linear infinite;
  border-radius: 2px;
  box-shadow: 0 0 16px rgba(255, 80, 20, 0.6);
}

@keyframes magma-run {
  from { background-position: 0% 0; }
  to { background-position: 200% 0; }
}

/* ========== FILTERS + GAME MOSAIC ========== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--smoke);
  background: rgba(255, 40, 20, 0.08);
  border: 1px solid rgba(255, 210, 74, 0.2);
  padding: 0.45rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.is-active {
  color: #fff;
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(255, 40, 20, 0.55), rgba(255, 120, 20, 0.35));
  box-shadow: 0 0 16px rgba(255, 60, 20, 0.35);
}

.game-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.85rem;
  perspective: 900px;
}

.game-card {
  position: relative;
  grid-column: span 3;
  overflow: hidden;
  border: 1px solid transparent;
  background: var(--lava-deep);
  color: inherit;
  transform-style: preserve-3d;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.35s ease;
  cursor: pointer;
}

.game-card.is-hidden {
  display: none;
}

.game-card:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.game-card:nth-child(2) { grid-column: span 3; }
.game-card:nth-child(3) { grid-column: span 4; }
.game-card:nth-child(4) { grid-column: span 4; }
.game-card:nth-child(5) { grid-column: span 4; }
.game-card:nth-child(6) { grid-column: span 4; }
.game-card:nth-child(7) { grid-column: span 3; }
.game-card:nth-child(8) { grid-column: span 3; }
.game-card:nth-child(9) { grid-column: span 3; }
.game-card:nth-child(10) { grid-column: span 3; }

.game-card img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.game-card:nth-child(1) img {
  min-height: 100%;
  aspect-ratio: auto;
}

.game-card:hover {
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(255, 40, 10, 0.4), inset 0 0 30px rgba(255, 80, 20, 0.15);
  z-index: 2;
}

.game-card:hover img {
  transform: scale(1.08);
}

.game-card .meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 0.9rem 0.85rem;
  background: linear-gradient(180deg, transparent, rgba(10, 0, 0, 0.92));
  transform: translateY(8px);
  transition: transform 0.3s ease;
}

.game-card:hover .meta {
  transform: translateY(0);
}

.game-card .meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}

.game-card .meta small {
  color: var(--ember);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-card .play-burst {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(255, 60, 10, 0.35), rgba(0, 0, 0, 0.55));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover .play-burst {
  opacity: 1;
}

.game-card .play-burst b {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  color: #fff;
  padding: 0.55rem 1.2rem;
  background: linear-gradient(135deg, var(--fire-red), var(--molten));
  border: 1px solid var(--gold);
  box-shadow: 0 0 24px rgba(255, 80, 20, 0.7);
  animation: play-pulse 1.2s ease-in-out infinite;
}

@keyframes play-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* ========== MARQUEE ========== */
.marquee-wrap {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(40, 8, 0, 0.45);
  padding: 1rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-track img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border: 1px solid rgba(255, 210, 74, 0.25);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.marquee-track a:hover img {
  transform: scale(1.08) rotate(-2deg);
  border-color: var(--gold);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========== FEATURE / PROMO ========== */
.feature-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.feature-visual {
  position: relative;
}

.feature-visual img {
  width: 100%;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(255, 40, 10, 0.25);
}

.feature-visual .float-gif {
  position: absolute;
  width: 110px;
  right: -12px;
  top: -18px;
  animation: float-y 2.8s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
  mix-blend-mode: screen;
}

@keyframes float-y {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-12px) rotate(4deg); }
}

.feature-band h2 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  color: #fff;
}

.feature-band p { color: var(--smoke); }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 1.6rem;
}

.feature-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.5rem;
  color: var(--ash);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translateY(-50%) rotate(45deg);
  background: linear-gradient(135deg, var(--flame), var(--gold));
  box-shadow: 0 0 10px rgba(255, 100, 20, 0.7);
}

.promo-stage {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1rem;
}

.promo-stage .promo-main,
.promo-stage .promo-side {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 260px;
}

.promo-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
  transition: transform 0.5s ease;
}

.promo-stage a:hover img {
  transform: scale(1.05);
}

.promo-stage .caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 12px #000;
}

/* ========== GUIDE GRID ========== */
.seo-feed {
  display: grid;
  gap: 2rem;
}

.content-table-wrap {
  margin: 0 0 2.75rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: rgba(26, 5, 5, 0.65);
}

.table-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
  margin: 0 0 0.4rem;
}

.table-lead {
  color: var(--smoke);
  margin: 0 0 1.25rem;
  max-width: 52ch;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.content-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.95rem;
}

.content-table th,
.content-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 210, 74, 0.18);
}

.content-table thead th {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: linear-gradient(90deg, rgba(255, 40, 20, 0.35), rgba(40, 8, 0, 0.5));
  white-space: nowrap;
}

.content-table tbody tr {
  transition: background 0.2s ease;
}

.content-table tbody tr:hover {
  background: rgba(255, 60, 20, 0.12);
}

.content-table tbody td:first-child {
  color: #fff;
  font-weight: 600;
}

.content-table tbody td {
  color: var(--smoke);
}

.seo-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: rgba(26, 5, 5, 0.55);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.seo-block:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(255, 40, 10, 0.25);
}

.seo-block img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border: 1px solid rgba(255, 210, 74, 0.2);
}

.seo-block h2 {
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  text-transform: none;
  letter-spacing: 0.01em;
  line-height: 1.25;
  margin: 0 0 0.65rem;
  font-family: var(--font-body);
  font-weight: 700;
}

.seo-block h2 a {
  color: #fff;
}

.seo-block h2 a:hover {
  color: var(--gold);
}

.seo-block p {
  color: var(--smoke);
  margin: 0 0 0.75rem;
  font-size: 1rem;
  line-height: 1.7;
}

.seo-block p a {
  color: var(--ember);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 800px) {
  .seo-block {
    grid-template-columns: 1fr;
  }
  .seo-block img {
    height: 200px;
  }
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}


.guide-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 210, 74, 0.18);
  background: rgba(20, 4, 4, 0.8);
  color: inherit;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.guide-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 14px 34px rgba(255, 40, 10, 0.3);
}

.guide-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.guide-card:hover img {
  transform: scale(1.06);
}

.guide-card .body {
  padding: 1rem 1.05rem 1.2rem;
}

.guide-card h3 {
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.35em;
}

.guide-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.guide-card .tag {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* legacy content list for content pages */
.content-list { display: grid; gap: 0; }

.content-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  transition: background 0.2s ease;
}

.content-row:hover { background: rgba(255, 40, 20, 0.08); }

.content-row img {
  width: 140px;
  height: 90px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.content-row h3 {
  font-size: 1.55rem;
  color: #fff;
  margin-bottom: 0.2em;
}

.content-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.content-row .arrow {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  padding-right: 0.5rem;
}

/* article pages */
.article-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--line);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.article-hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  color: #fff;
  max-width: 18ch;
}

.article-hero .lede {
  font-size: 1.15rem;
  color: var(--smoke);
  max-width: 52ch;
  margin-top: 0.75rem;
}

.article-cover {
  margin: 2rem 0;
  border: 1px solid var(--line);
}

.article-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.article-body {
  padding: 2.5rem 0 4rem;
  max-width: 720px;
}

.article-body h2 {
  font-size: 1.9rem;
  color: var(--gold);
  margin-top: 2rem;
}

.article-body h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-top: 1.5rem;
}

.article-body ul,
.article-body ol {
  padding-left: 1.25rem;
  color: var(--smoke);
}

.article-body li { margin-bottom: 0.4rem; }

.article-body figure { margin: 1.75rem 0; }

.article-body figure img {
  width: 100%;
  border: 1px solid var(--line);
}

.article-body figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.related {
  padding: 3rem 0 5rem;
  border-top: 1px solid var(--line);
}

.related h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.related-grid a {
  color: inherit;
  border: 1px solid var(--line);
  background: var(--lava-deep);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.related-grid a:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.related-grid img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.related-grid span {
  display: block;
  padding: 0.85rem 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--ash);
}

.page-banner {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 70% 80% at 20% 0%, rgba(255, 40, 20, 0.28), transparent 60%);
}

.page-banner h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: #fff;
}

.page-banner p {
  color: var(--smoke);
  max-width: 40ch;
}

/* footer */
.site-footer {
  padding: 3.5rem 0 2rem;
  background: linear-gradient(180deg, var(--lava-deep), var(--coal));
  border-top: 1px solid var(--line);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.site-footer h3 {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.site-footer p,
.site-footer li {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: var(--smoke); }

.site-footer .logo img,
.site-footer img[alt="FafaSpin"] {
  mix-blend-mode: screen;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.age-note {
  color: var(--ember);
  font-weight: 600;
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal.js-ready:not(.visible) {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.js-ready.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* spark cursor trail canvas sits above bg */
#spark-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

@media (max-width: 980px) {
  .action-rail-inner,
  .guide-grid,
  .feature-band,
  .promo-stage,
  .footer-grid,
  .related-grid {
    grid-template-columns: 1fr 1fr;
  }

  .game-mosaic { grid-template-columns: repeat(6, 1fr); }
  .game-card,
  .game-card:nth-child(n) {
    grid-column: span 3 !important;
    grid-row: span 1 !important;
  }

  .content-row {
    grid-template-columns: 100px 1fr;
  }
  .content-row .arrow { display: none; }
}

@media (max-width: 720px) {
  .menu-toggle { display: block; }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7, 1, 1, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0;
  }

  .nav.open { display: flex; }

  .nav a {
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-cta {
    margin: 0.75rem 1.25rem 1rem;
    text-align: center;
  }

  .action-rail-inner,
  .guide-grid,
  .feature-band,
  .promo-stage,
  .footer-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .game-mosaic { grid-template-columns: repeat(2, 1fr); }
  .game-card,
  .game-card:nth-child(n) {
    grid-column: span 1 !important;
  }

  .hero { min-height: 88vh; }
  .feature-visual .float-gif { width: 80px; right: 8px; top: 8px; }
  #spark-layer { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
