/* ============================================
   EMBERQUESTER - COMPLETE STYLESHEET
   Mobile-first, CSS variables, no frameworks
   ============================================ */

/* ============================================
   1. CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  --background: #fdf6f0;
  --foreground: #1a0f0a;
  --card: #fff4eb;
  --card-foreground: #1a0f0a;
  --popover: #fff4eb;
  --popover-foreground: #1a0f0a;
  --primary: #c85a1a;
  --primary-foreground: #fdf6f0;
  --secondary: #f5e6d8;
  --secondary-foreground: #2d1a0e;
  --muted: #f0ddd0;
  --muted-foreground: #6b3d28;
  --accent: #a0522d;
  --accent-foreground: #fdf6f0;
  --destructive: #c0392b;
  --destructive-foreground: #fdf6f0;
  --border: #e8ccb8;
  --input: #f5e6d8;
  --ring: #c85a1a;

  /* Typography */
  --font-heading: 'Cinzel', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-editorial: 'Crimson Pro', Georgia, serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26,15,10,0.1), 0 1px 2px rgba(26,15,10,0.06);
  --shadow-md: 0 4px 12px rgba(26,15,10,0.12), 0 2px 6px rgba(26,15,10,0.08);
  --shadow-lg: 0 10px 30px rgba(26,15,10,0.15), 0 4px 12px rgba(26,15,10,0.1);
  --shadow-ember: 0 0 20px rgba(200,90,26,0.25), 0 4px 12px rgba(26,15,10,0.2);
  --shadow-glow: 0 0 40px rgba(200,90,26,0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Header height */
  --header-h: 64px;
}

[data-theme="dark"] {
  --background: #0f0906;
  --foreground: #f5e8d8;
  --card: #1c1008;
  --card-foreground: #f5e8d8;
  --popover: #1c1008;
  --popover-foreground: #f5e8d8;
  --primary: #d4692a;
  --primary-foreground: #0f0906;
  --secondary: #2a1a0e;
  --secondary-foreground: #e8c9a8;
  --muted: #1f1209;
  --muted-foreground: #b8896a;
  --accent: #3d2010;
  --accent-foreground: #f0c898;
  --destructive: #b83232;
  --destructive-foreground: #f5e8d8;
  --border: #2e1a0c;
  --input: #1c1008;
  --ring: #d4692a;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.5), 0 2px 6px rgba(0,0,0,0.35);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.4);
  --shadow-ember: 0 0 20px rgba(212,105,42,0.3), 0 4px 12px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(212,105,42,0.4);
}

/* ============================================
   2. RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img, video, iframe, embed, object, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent);
}

a:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

button:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--foreground);
  overflow-wrap: break-word;
}

p, li, td, th {
  overflow-wrap: break-word;
}

pre, code {
  max-width: 100%;
  overflow-x: auto;
}

input, textarea, select {
  max-width: 100%;
  box-sizing: border-box;
}

/* ============================================
   3. LAYOUT UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-6);
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: var(--space-8);
  }
}

.text-accent {
  color: var(--primary);
}

.link-accent {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-accent:hover {
  color: var(--accent);
}

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-3);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted-foreground);
  font-family: var(--font-editorial);
  font-style: italic;
}

/* ============================================
   4. BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  border-radius: var(--radius-md);
  padding: 0.625rem 1.25rem;
  min-height: 44px;
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
}

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

.btn:active {
  transform: translateY(1px);
}

/* Primary */
.btn--primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.btn--primary:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--accent-foreground);
  box-shadow: var(--shadow-ember);
}

/* Outline */
.btn--outline {
  background-color: transparent;
  color: var(--foreground);
  border-color: var(--border);
}

.btn--outline:hover {
  background-color: var(--secondary);
  border-color: var(--primary);
  color: var(--primary);
}

.btn--outline-sm {
  background-color: transparent;
  color: var(--muted-foreground);
  border: 1.5px solid var(--border);
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  min-height: 38px;
  border-radius: var(--radius-md);
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn--outline-sm:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: color-mix(in srgb, var(--primary) 8%, transparent);
}

/* Ghost */
.btn--ghost {
  background-color: transparent;
  color: var(--primary);
  border-color: transparent;
}

.btn--ghost:hover {
  background-color: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
}

/* Sizes */
.btn--lg {
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
  min-height: 52px;
}

.btn--sm {
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  min-height: 36px;
}

.btn--full {
  width: 100%;
}

/* Steam special button */
.btn--steam {
  background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
  color: #c7d5e0;
  border-color: #1b2838;
  font-size: 0.9rem;
}

.btn--steam:hover {
  background: linear-gradient(135deg, #2a475e 0%, #1b2838 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(27,40,56,0.5);
}

/* ============================================
   5. COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: var(--space-4);
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.cookie-banner.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner__inner {
  background: color-mix(in srgb, var(--card) 92%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  max-width: 360px;
  width: 100%;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(212,105,42,0.08);
  animation: cookieGlowPulse 2.5s ease-in-out infinite;
}

@keyframes cookieGlowPulse {
  0%, 100% { box-shadow: var(--shadow-lg), 0 0 20px rgba(212,105,42,0.08); }
  50% { box-shadow: var(--shadow-lg), 0 0 40px rgba(212,105,42,0.22); }
}

.cookie-banner__icon {
  margin-bottom: var(--space-3);
}

.cookie-banner__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--foreground);
}

.cookie-banner__text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.55;
  margin-bottom: var(--space-5);
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.cookie-banner__btn {
  flex: 1;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  min-height: 44px;
  transition: background-color var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);
  cursor: pointer;
  font-family: var(--font-body);
}

.cookie-banner__btn--accept {
  background: linear-gradient(135deg, var(--primary), #a0420f);
  color: var(--primary-foreground);
  border: none;
  box-shadow: 0 2px 12px rgba(212,105,42,0.35);
}

.cookie-banner__btn--accept:hover {
  background: linear-gradient(135deg, #e07030, var(--primary));
  box-shadow: 0 4px 20px rgba(212,105,42,0.5);
}

.cookie-banner__btn--decline {
  background: transparent;
  color: var(--muted-foreground);
  border: 1.5px solid var(--border);
}

.cookie-banner__btn--decline:hover {
  border-color: var(--muted-foreground);
  color: var(--foreground);
}

.cookie-banner__privacy {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted-foreground);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__privacy:hover {
  color: var(--primary);
}

/* ============================================
   6. HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background-color: color-mix(in srgb, var(--background) 90%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--space-4);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .header-inner {
    padding-inline: var(--space-6);
  }
}

@media (min-width: 1024px) {
  .header-inner {
    padding-inline: var(--space-8);
  }
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo:hover .header-logo__name {
  color: var(--primary);
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.header-logo__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--foreground);
  transition: color var(--transition-fast);
  letter-spacing: 0.02em;
}

.header-logo__accent {
  color: var(--primary);
}

/* Desktop Nav */
.header-nav {
  display: none;
  flex: 1;
  justify-content: center;
}

@media (min-width: 1024px) {
  .header-nav {
    display: flex;
  }
}

.header-nav__list {
  display: flex;
  gap: var(--space-1);
}

.header-nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-foreground);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  text-decoration: none;
}

.header-nav__link:hover {
  color: var(--foreground);
  background-color: var(--secondary);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: auto;
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  color: var(--muted-foreground);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  flex-shrink: 0;
}

.theme-toggle:hover {
  color: var(--foreground);
  background-color: var(--secondary);
}

.theme-toggle__icon {
  transition: opacity var(--transition-fast), transform var(--transition-base);
}

.theme-toggle__icon--sun {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--moon {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--sun {
  display: block;
}

/* Header CTA */
.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: inline-flex;
  }
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  color: var(--foreground);
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  transition: background-color var(--transition-fast);
}

.hamburger:hover {
  background-color: var(--secondary);
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}

.hamburger__line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--foreground);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
  transform-origin: center;
}

.hamburger[aria-expanded="true"] .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger[aria-expanded="true"] .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  background-color: var(--card);
  border-top: 1px solid var(--border);
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--transition-slow);
}

.mobile-nav.is-open {
  max-height: 400px;
}

.mobile-nav__list {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.mobile-nav__link {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast), color var(--transition-fast);
  text-decoration: none;
}

.mobile-nav__link:hover {
  background-color: var(--secondary);
  color: var(--primary);
}

.mobile-nav__link--cta {
  background-color: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
  font-weight: 700;
  margin-top: var(--space-2);
}

.mobile-nav__link--cta:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

/* ============================================
   7. HERO SECTION
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero__parallax-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  contain: strict;
}

.hero__bg-image {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.08);
  will-change: transform;
  transition: transform 0.1s linear;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(10,5,2,0.97) 0%,
    rgba(10,5,2,0.8) 25%,
    rgba(10,5,2,0.45) 55%,
    rgba(10,5,2,0.15) 80%,
    rgba(10,5,2,0.05) 100%
  );
}

.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero__particle {
  position: absolute;
  bottom: -10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: var(--primary);
  opacity: 0;
  animation: particleRise var(--dur, 4s) ease-in var(--delay, 0s) infinite;
}

@keyframes particleRise {
  0% { opacity: 0; transform: translateY(0) scale(1); }
  10% { opacity: 0.8; }
  80% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-80vh) scale(0.3) translateX(var(--drift, 0px)); }
}

.hero__content {
  position: relative;
  z-index: 3;
  padding: var(--space-8) var(--space-4) 7rem;
  max-width: 900px;
}

@media (min-width: 768px) {
  .hero__content {
    padding: var(--space-12) var(--space-8) 8rem;
  }
}

@media (min-width: 1024px) {
  .hero__content {
    padding: var(--space-16) var(--space-16) 9rem;
  }
}

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

.hero__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background-color: color-mix(in srgb, var(--primary) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.hero__divider {
  color: rgba(245,232,216,0.35);
  font-size: 1.1rem;
}

.hero__release {
  font-size: 0.8rem;
  color: rgba(245,232,216,0.6);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 700;
  color: #f5e8d8;
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.hero__tagline {
  font-family: var(--font-editorial);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-style: italic;
  color: rgba(245,232,216,0.8);
  margin-bottom: var(--space-6);
  max-width: 580px;
  line-height: 1.5;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

/* Hero animations */
.hero__anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.hero__anim--1 { transition-delay: 0.1s; }
.hero__anim--2 { transition-delay: 0.25s; }
.hero__anim--3 { transition-delay: 0.4s; }
.hero__anim--4 { transition-delay: 0.55s; }
.hero__anim--5 { transition-delay: 0.7s; }

.hero.is-loaded .hero__anim {
  opacity: 1;
  transform: translateY(0);
}

/* Alternative thumbnails */
.hero__alternatives {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.hero__alt-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.15);
  padding: 0;
  background: none;
  cursor: pointer;
  transition: border-color var(--transition-base), transform var(--transition-fast);
  flex-shrink: 0;
}

.hero__alt-thumb:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.hero__alt-thumb--active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 40%, transparent);
}

.hero__alt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

@media (min-width: 768px) {
  .hero__alt-thumb {
    width: 72px;
    height: 72px;
  }
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  color: rgba(245,232,216,0.55);
  text-decoration: none;
  transition: color var(--transition-fast);
  animation: scrollBounce 2.4s ease-in-out infinite;
}

.hero__scroll-indicator:hover {
  color: var(--primary);
}

.hero__scroll-text {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero__scroll-arrow {
  animation: arrowBob 2.4s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(5px); }
}

@keyframes arrowBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ============================================
   8. MOODS SECTION
   ============================================ */
.moods {
  padding-block: var(--space-16) var(--space-20);
  background-color: var(--background);
  position: relative;
}

.moods::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
  opacity: 0.4;
}

.moods__intro {
  max-width: 820px;
  margin: 0 auto var(--space-10);
}

.moods__intro p {
  font-family: var(--font-editorial);
  font-size: 1.05rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}

.moods__intro p:last-child {
  margin-bottom: 0;
}

.moods__intro em {
  color: var(--foreground);
}

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

@media (min-width: 480px) {
  .moods__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .moods__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
  }
}

@media (min-width: 1024px) {
  .moods__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Mood Card */
.mood-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border: 1px solid var(--border);
  min-width: 0;
}

@media (min-width: 768px) {
  .mood-card {
    aspect-ratio: 2/3;
  }
}

@media (min-width: 1024px) {
  .mood-card {
    aspect-ratio: 3/5;
  }
}

.mood-card:hover,
.mood-card:focus-visible {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-ember);
  outline: none;
}

.mood-card:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.mood-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mood-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.mood-card:hover .mood-card__bg img {
  transform: scale(1.07);
}

.mood-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(10,5,2,0.92) 0%,
    rgba(10,5,2,0.55) 45%,
    rgba(10,5,2,0.15) 100%
  );
  transition: background var(--transition-base);
}

.mood-card:hover .mood-card__overlay {
  background: linear-gradient(
    to top,
    rgba(10,5,2,0.95) 0%,
    rgba(10,5,2,0.65) 50%,
    rgba(10,5,2,0.2) 100%
  );
}

.mood-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: var(--space-4);
}

.mood-card__icon {
  color: var(--primary);
  margin-bottom: var(--space-2);
  opacity: 0.9;
}

.mood-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #f5e8d8;
  margin-bottom: var(--space-1);
  letter-spacing: 0.03em;
}

@media (min-width: 1024px) {
  .mood-card__title {
    font-size: 0.95rem;
  }
}

.mood-card__desc {
  font-size: 0.78rem;
  color: rgba(245,232,216,0.65);
  line-height: 1.4;
}

.moods__bridge {
  text-align: center;
  margin-top: var(--space-10);
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted-foreground);
}

/* ============================================
   9. COLLECTIONS SECTION
   ============================================ */
.collections {
  padding-block: var(--space-16) var(--space-20);
  background-color: var(--muted);
  position: relative;
}

[data-theme="dark"] .collections {
  background-color: var(--muted);
}

.collections__intro {
  max-width: 820px;
  margin: 0 auto var(--space-10);
}

.collections__intro p {
  font-family: var(--font-editorial);
  font-size: 1.05rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}

.collections__intro p:last-child { margin-bottom: 0; }
.collections__intro strong { color: var(--foreground); }

/* Tabs */
.collections__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--space-3);
}

.collections__tab {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted-foreground);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  min-height: 44px;
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

.collections__tab:hover {
  color: var(--foreground);
  background-color: var(--secondary);
}

.collections__tab--active {
  color: var(--primary);
  background-color: color-mix(in srgb, var(--primary) 12%, transparent);
}

.collections__tab svg {
  flex-shrink: 0;
}

/* Tab Panels */
.collections__panel {
  display: none;
}

.collections__panel--active {
  display: block;
  animation: fadeInPanel var(--transition-base) ease;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Asymmetric grid */
.collections__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .collections__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .collections__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .collections__grid .game-card--featured {
    grid-column: span 6;
    grid-row: span 2;
  }

  .collections__grid .game-card:not(.game-card--featured) {
    grid-column: span 6;
  }
}

/* Game Card */
.game-card {
  background-color: var(--card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.game-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background-color: var(--muted);
}

.game-card--featured .game-card__img-wrap {
  aspect-ratio: 3/2;
}

@media (min-width: 1024px) {
  .game-card--featured .game-card__img-wrap {
    aspect-ratio: unset;
    flex: 1;
    min-height: 200px;
  }

  .game-card--featured {
    flex-direction: column;
  }
}

.game-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.game-card:hover .game-card__img-wrap img {
  transform: scale(1.04);
}

.game-card__body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.game-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--card-foreground);
  letter-spacing: 0.02em;
}

.game-card--featured .game-card__title {
  font-size: 1.15rem;
}

.game-card__meta {
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

.game-card__score {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-top: var(--space-1);
}

.score-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.score-denom {
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

/* Hover overlay */
.game-card__hover {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--card) 96%, transparent);
  backdrop-filter: blur(2px);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-3);
  opacity: 0;
  transition: opacity var(--transition-base);
  border-radius: var(--radius-xl);
}

.game-card:hover .game-card__hover,
.game-card:focus-within .game-card__hover {
  opacity: 1;
}

.game-card__verdict {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--card-foreground);
  line-height: 1.55;
}

.game-card__platforms {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* Badges */
.badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.badge--editors-pick {
  background: linear-gradient(135deg, var(--primary), #8b3a0f);
  color: #fff;
  box-shadow: 0 2px 8px rgba(212,105,42,0.5);
}

.badge--top-score {
  background: linear-gradient(135deg, #c4962a, #8b6b1a);
  color: #fff;
}

.badge--new {
  background: linear-gradient(135deg, #2a8b4a, #1a5c30);
  color: #fff;
}

.badge--underrated {
  background: linear-gradient(135deg, #5a2a8b, #3a1a5c);
  color: #fff;
}

/* Platform tags */
.platform-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted-foreground);
  background-color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.collections__bridge {
  text-align: center;
  margin-top: var(--space-10);
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted-foreground);
}

/* ============================================
   10. REVIEWS SECTION
   ============================================ */
.reviews {
  padding-block: var(--space-16) var(--space-20);
  background-color: var(--background);
  position: relative;
}

.reviews::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

.reviews__intro {
  max-width: 820px;
  margin: 0 auto var(--space-10);
}

.reviews__intro p {
  font-family: var(--font-editorial);
  font-size: 1.05rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}

.reviews__intro p:last-child { margin-bottom: 0; }
.reviews__intro strong { color: var(--foreground); }

.reviews__disclosure {
  font-size: 0.875rem !important;
  padding: var(--space-4);
  background-color: var(--muted);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Reviews Grid */
.reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .reviews__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .reviews__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .review-card--featured {
    grid-column: span 8;
  }

  .reviews__grid .review-card:not(.review-card--featured) {
    grid-column: span 4;
  }
}

/* Review Card */
.review-card {
  background-color: var(--card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  min-width: 0;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.review-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/7;
  background-color: var(--muted);
  flex-shrink: 0;
}

.review-card__img-wrap--short {
  aspect-ratio: 16/9;
}

.review-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.review-card:hover .review-card__img-wrap img {
  transform: scale(1.03);
}

.review-card__score-overlay {
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-4);
  background: color-mix(in srgb, #0f0906 88%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  text-align: center;
}

.score-big {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.score-verdict {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,232,216,0.7);
  margin-top: 2px;
}

.review-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.review-card__type-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background-color: color-mix(in srgb, var(--primary) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  align-self: flex-start;
}

.review-card__type-tag--roundup {
  color: #2a8b4a;
  background-color: rgba(42,139,74,0.12);
  border-color: rgba(42,139,74,0.3);
}

.review-card__type-tag--comparison {
  color: #5a2a8b;
  background-color: rgba(90,42,139,0.12);
  border-color: rgba(90,42,139,0.3);
}

[data-theme="dark"] .review-card__type-tag--comparison {
  color: #a060e0;
  background-color: rgba(160,96,224,0.12);
  border-color: rgba(160,96,224,0.3);
}

[data-theme="dark"] .review-card__type-tag--roundup {
  color: #4ade80;
  background-color: rgba(74,222,128,0.12);
  border-color: rgba(74,222,128,0.3);
}

.review-card__type-tag--guide {
  color: #c4962a;
  background-color: rgba(196,150,42,0.12);
  border-color: rgba(196,150,42,0.3);
}

[data-theme="dark"] .review-card__type-tag--guide {
  color: #f0c050;
  background-color: rgba(240,192,80,0.12);
  border-color: rgba(240,192,80,0.3);
}

.review-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.review-card__title a {
  color: var(--card-foreground);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.review-card__title a:hover {
  color: var(--primary);
}

.review-card__genre {
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

.review-card__excerpt {
  font-family: var(--font-editorial);
  font-size: 0.95rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  flex: 1;
}

.review-card__list {
  list-style: decimal;
  padding-left: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.review-card__list li {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.review-card__list li a {
  color: var(--foreground);
  font-weight: 600;
}

.review-card__list li a:hover {
  color: var(--primary);
}

.review-card__list li em {
  color: var(--muted-foreground);
}

.review-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}

.review-card__reactions {
  display: flex;
  gap: var(--space-3);
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.reviews__cta-bridge {
  text-align: center;
  margin-top: var(--space-10);
  font-family: var(--font-editorial);
  font-size: 1.05rem;
  color: var(--muted-foreground);
}

/* ============================================
   11. GAME HUB SECTION
   ============================================ */
.game-hub {
  padding-block: var(--space-16) var(--space-20);
  background-color: var(--muted);
  position: relative;
}

[data-theme="dark"] .game-hub {
  background-color: var(--muted);
}

/* Hub Tabs */
.game-hub__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}

.game-hub__tab {
  padding: var(--space-3) var(--space-4);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted-foreground);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
  min-height: 44px;
  cursor: pointer;
  font-family: var(--font-body);
  border: 1px solid transparent;
  border-bottom: none;
  background: none;
  position: relative;
  bottom: -1px;
}

.game-hub__tab:hover {
  color: var(--foreground);
  background-color: var(--secondary);
}

.game-hub__tab--active {
  color: var(--primary);
  background-color: var(--card);
  border-color: var(--border);
  border-bottom-color: var(--card);
}

/* Hub Panels */
.game-hub__panel {
  display: none;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 0 var(--radius-xl) var(--radius-xl) var(--radius-xl);
  padding: var(--space-6);
}

.game-hub__panel--active {
  display: block;
  animation: fadeInPanel var(--transition-base) ease;
}

/* Overview layout */
.game-hub__overview-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

@media (min-width: 1024px) {
  .game-hub__overview-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: start;
  }
}

.game-hub__key-art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.game-hub__hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Meta panel */
.game-hub__meta-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.game-hub__game-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--foreground);
  letter-spacing: 0.02em;
}

.game-hub__meta-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.game-hub__meta-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.game-hub__meta-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  min-width: 80px;
  flex-shrink: 0;
  padding-top: 2px;
}

.game-hub__meta-value {
  font-size: 0.9rem;
  color: var(--foreground);
  font-weight: 500;
}

.game-hub__platforms {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  min-width: 0;
}

.platform-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background-color: color-mix(in srgb, var(--primary) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

/* Score block */
.game-hub__score-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  background-color: var(--muted);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.game-hub__editorial-score {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.game-hub__score-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.game-hub__score-max {
  font-size: 1rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.game-hub__score-bar {
  width: 100%;
  height: 6px;
  background-color: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.game-hub__score-fill {
  height: 100%;
  background: linear-gradient(to right, var(--primary), #f0a050);
  border-radius: var(--radius-full);
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-hub__score-verdict {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.game-hub__user-score {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}

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

.game-hub__user-num {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--foreground);
}

.game-hub__user-count {
  font-size: 0.78rem;
  color: var(--muted-foreground);
}

/* CTAs */
.game-hub__ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.game-hub__price-note {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: center;
}

.game-hub__secondary-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.game-hub__affiliate-note {
  font-size: 0.72rem;
  color: var(--muted-foreground);
  line-height: 1.45;
  font-style: italic;
}

/* Summary */
.game-hub__summary {
  margin-bottom: var(--space-8);
}

.game-hub__summary p {
  font-family: var(--font-editorial);
  font-size: 1.02rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}

.game-hub__section-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--foreground);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border);
}

/* Pros & Cons */
.game-hub__pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .game-hub__pros-cons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.game-hub__pros,
.game-hub__cons {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.game-hub__pros {
  background-color: rgba(74,222,128,0.04);
  border-color: rgba(74,222,128,0.15);
}

.game-hub__cons {
  background-color: rgba(248,113,113,0.04);
  border-color: rgba(248,113,113,0.15);
}

.pros-list,
.cons-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.pros-list li,
.cons-list li {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  padding-left: var(--space-4);
  position: relative;
  line-height: 1.55;
}

.pros-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #4ade80;
  font-weight: 700;
}

.cons-list li::before {
  content: '-';
  position: absolute;
  left: 0;
  color: #f87171;
  font-weight: 700;
}

/* Best for */
.game-hub__best-for {
  padding: var(--space-4) var(--space-5);
  background-color: color-mix(in srgb, var(--primary) 8%, transparent);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.game-hub__best-for strong {
  color: var(--foreground);
}

/* Media Tab */
.game-hub__screenshot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .game-hub__screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hub-screenshot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: var(--muted);
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hub-screenshot:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hub-screenshot img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.hub-screenshot:hover img {
  transform: scale(1.02);
}

/* Specs Tab */
.game-hub__specs-wrap {
  overflow-x: auto;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 520px;
}

.specs-table thead {
  background-color: var(--muted);
}

.specs-table th,
.specs-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--border);
  overflow-wrap: break-word;
}

.specs-table th[scope="col"] {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
}

.specs-table th[scope="row"] {
  font-weight: 600;
  color: var(--foreground);
  white-space: nowrap;
}

.specs-table td {
  color: var(--muted-foreground);
}

.specs-table tbody tr:last-child th,
.specs-table tbody tr:last-child td {
  border-bottom: none;
}

.specs-table tbody tr:hover {
  background-color: var(--muted);
}

/* Reviews Tab */
.game-hub__review-content {
  max-width: 780px;
}

.game-hub__review-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .game-hub__review-header {
    flex-direction: row;
    align-items: flex-start;
  }
}

.game-hub__review-score {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex-shrink: 0;
  min-width: 100px;
}

.game-hub__review-byline {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.game-hub__review-byline strong {
  color: var(--foreground);
}

.game-hub__review-content [itemprop="reviewBody"] p {
  font-family: var(--font-editorial);
  font-size: 1.05rem;
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: var(--space-5);
}

/* Community reactions */
.game-hub__community-reactions {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}

.game-hub__community-reactions h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  margin-bottom: var(--space-3);
}

.reactions-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.reaction-item {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  background-color: var(--muted);
  border: 1px solid var(--border);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  cursor: default;
}

/* Related */
.game-hub__related {
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-5);
}

@media (min-width: 480px) {
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.related-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.related-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.related-card:hover img {
  transform: scale(1.04);
}

.related-card__body {
  padding: var(--space-3) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.related-card__body h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--card-foreground);
}

.related-card__body p {
  font-size: 0.78rem;
  color: var(--muted-foreground);
}

.related-score {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

/* ============================================
   12. FOOTER
   ============================================ */
.site-footer {
  background-color: var(--card);
  border-top: 1px solid var(--border);
  padding-top: var(--space-16);
}

.footer-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .footer-inner {
    padding-inline: var(--space-6);
  }
}

@media (min-width: 1024px) {
  .footer-inner {
    padding-inline: var(--space-8);
  }
}

/* Footer Top */
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
}

.footer-logo__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--foreground);
  transition: color var(--transition-fast);
  letter-spacing: 0.02em;
}

.footer-logo__accent {
  color: var(--primary);
}

.footer-logo:hover .footer-logo__name {
  color: var(--primary);
}

.footer-brand__desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  max-width: 360px;
}

/* Newsletter */
.footer-newsletter__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: var(--space-3);
}

.footer-newsletter__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

@media (min-width: 480px) {
  .footer-newsletter__form {
    flex-direction: row;
  }
}

.footer-newsletter__input {
  flex: 1;
  padding: 0.65rem 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  background-color: var(--input);
  color: var(--foreground);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 44px;
}

.footer-newsletter__input::placeholder {
  color: var(--muted-foreground);
}

.footer-newsletter__input:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ring) 20%, transparent);
}

.footer-newsletter__btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Divider */
.footer-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin-block: var(--space-8);
}

/* Footer Links */
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6) var(--space-4);
  margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
  .footer-links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.footer-col__title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--foreground);
  margin-bottom: var(--space-3);
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color var(--transition-fast);
  line-height: 1.4;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-link--btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  text-align: left;
  padding: 0;
  display: inline;
}

/* Partners */
.footer-partners {
  text-align: center;
  margin-bottom: var(--space-6);
}

.footer-partners__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-bottom: var(--space-3);
}

.footer-partners__logos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-3);
}

.partner-badge {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
  background-color: var(--muted);
  border: 1px solid var(--border);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
}

.footer-partners__note {
  font-size: 0.78rem;
  color: var(--muted-foreground);
  font-style: italic;
}

/* Footer Bottom */
.footer-bottom {
  padding-block: var(--space-5);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

.footer-affiliate {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-style: italic;
  max-width: 480px;
}

.footer-legal-links {
  display: flex;
  gap: var(--space-4);
  flex-shrink: 0;
}

.footer-legal-links .footer-link {
  font-size: 0.8rem;
}

/* ============================================
   13. SCROLL-TRIGGERED ANIMATIONS
   ============================================ */
.anim-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.anim-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.anim-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.anim-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.anim-stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: translateY(0); }
.anim-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateY(0); }
.anim-stagger.is-visible > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
.anim-stagger.is-visible > *:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: translateY(0); }

/* ============================================
   14. ACCESSIBILITY & PRINT
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--primary);
  color: var(--primary-foreground);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  z-index: 9999;
  font-weight: 700;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: var(--space-4);
}

@media print {
  .site-header,
  .cookie-banner,
  .hero__scroll-indicator,
  .hero__particles,
  .hamburger,
  .mobile-nav {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}