@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

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

:root {
  --bg: #0f0d14;
  --bg-elevated: #16131f;
  --bg-purple: #1a1528;
  --surface: rgba(255, 255, 255, 0.06);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --text: #fafaf9;
  --muted: rgba(250, 250, 249, 0.55);
  --border: rgba(255, 255, 255, 0.1);
  --accent: #f97316;
  --accent-light: #fb923c;
  --accent-glow: rgba(249, 115, 22, 0.45);
  --accent-soft: rgba(249, 115, 22, 0.15);
  --link: #fdba74;
  --positive: #22c55e;
  --mixed: #eab308;
  --negative: #ef4444;
  --tbd: #71717a;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Page rhythm — shared across hero, main, static pages */
  --space-page-top: 40px;
  --space-page-bottom: 64px;
  --space-section: 32px;
  --space-block: 24px;
  --space-element: 16px;
  --space-tight: 12px;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

@supports not (scrollbar-gutter: stable) {
  html {
    overflow-y: scroll;
  }
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 15px;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 60% at 20% 0%, rgba(249, 115, 22, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(139, 92, 246, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(234, 88, 12, 0.06), transparent),
    linear-gradient(180deg, #12101a 0%, #0f0d14 40%, #0a0910 100%);
  background-attachment: fixed;
}

/* Faded gaming texture — slow drift */
@keyframes bg-grid-drift {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 72px 72px, 72px 72px;
  }
}

@keyframes bg-ambient {
  0% {
    opacity: 0.45;
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    opacity: 0.7;
    transform: translate3d(1.5%, -1%, 0) scale(1.04);
  }
  100% {
    opacity: 0.5;
    transform: translate3d(-1%, 1.5%, 0) scale(1.02);
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52' viewBox='0 0 60 52'%3E%3Cpath fill='none' stroke='rgba(249%2C115%2C22%2C0.06)' stroke-width='0.5' d='M30 1 L59 15.5 L59 36.5 L30 51 L1 36.5 L1 15.5 Z'/%3E%3C/svg%3E");
  background-size: 72px 72px, 72px 72px, 120px 104px;
  animation: bg-grid-drift 90s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: -15%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 45% 38% at 18% 22%, rgba(249, 115, 22, 0.09), transparent 72%),
    radial-gradient(ellipse 40% 34% at 82% 68%, rgba(139, 92, 246, 0.06), transparent 72%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(234, 88, 12, 0.04), transparent 70%);
  filter: blur(48px);
  animation: bg-ambient 28s ease-in-out infinite alternate;
}

body > * {
  position: relative;
  z-index: 1;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

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

img {
  display: block;
}

.hero-featured-card img,
.review-poster img,
.game-card-cover img,
.game-row-thumb img {
  max-width: 100%;
}

.poster-card-inner img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  max-width: 1280px;
}

/* Glass utility */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Scroll animations */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s var(--ease) var(--delay, 0s),
    transform 0.6s var(--ease) var(--delay, 0s);
}

.animate-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: rgba(12, 10, 9, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.site-header .container-wide {
  height: 100%;
}

.header-shell {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 72px;
  min-height: 72px;
  max-height: 72px;
}

.header-row-top {
  display: contents;
}

.header-row-nav {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 16px;
  min-width: 0;
}

.header-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.header-menu-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.header-menu-icon,
.header-menu-icon::before,
.header-menu-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.header-menu-icon {
  position: relative;
}

.header-menu-icon::before,
.header-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.header-menu-icon::before {
  top: -6px;
}

.header-menu-icon::after {
  top: 6px;
}

.site-header.is-open .header-menu-icon {
  background: transparent;
}

.site-header.is-open .header-menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-open .header-menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

@media (min-width: 900px) {
  .header-shell {
    display: grid;
    grid-template-columns: minmax(160px, auto) 1fr 200px;
    grid-template-areas: "logo nav search";
    align-items: center;
    gap: 16px;
    padding: 0;
    height: 72px;
    min-height: 72px;
    max-height: 72px;
  }

  .header-row-top {
    display: contents;
  }

  .logo {
    grid-area: logo;
  }

  .header-menu-btn {
    display: none !important;
  }

  .header-row-nav {
    display: contents !important;
  }

  .nav-main {
    grid-area: nav;
    justify-self: center;
    width: max-content;
    max-width: 100%;
    flex: none;
  }

  .header-search-wrap {
    grid-area: search;
    justify-self: end;
    width: 200px;
    min-width: 200px;
    max-width: 200px;
  }
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
  line-height: 0;
}

.logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(240px, 52vw);
  object-fit: contain;
}

.nav-main {
  flex: 1;
  justify-content: center;
  min-width: 0;
  flex-wrap: nowrap;
}

.nav-muted {
  color: var(--muted) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.header-search {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 200px;
  max-width: 200px;
  min-width: 140px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.header-search:focus-within {
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.header-search input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
}

.header-search input::placeholder {
  color: var(--muted);
}

.header-search input:focus {
  outline: none;
}

.header-search button {
  display: flex;
  padding: 10px 14px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
}

.header-search button:hover {
  color: var(--accent-light);
}

.header-search button svg {
  width: 18px;
  height: 18px;
}

.logo:hover,
.footer-logo:hover {
  text-decoration: none;
  opacity: 0.92;
}

.nav {
  display: flex;
  gap: 6px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.25rem;
  min-height: 40px;
  padding: 9px 16px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  box-sizing: border-box;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease);
}

.nav a:hover {
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
}

.nav a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ea580c);
  border-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.nav-admin-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}

.nav-admin-key:hover {
  color: var(--accent-light);
  border-color: rgba(249, 115, 22, 0.45);
  background: rgba(249, 115, 22, 0.1);
  text-decoration: none;
}

.nav-admin-key.active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ea580c);
  border-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

/* Footer */
.site-footer {
  position: relative;
  margin-top: auto;
  padding: 0 0 28px;
  border-top: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(15, 13, 20, 0.4) 0%, rgba(10, 9, 16, 0.95) 100%),
    var(--bg);
  color: var(--muted);
  font-size: 0.875rem;
  overflow: hidden;
}

.footer-accent {
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent) 20%,
    #fbbf24 50%,
    var(--accent) 80%,
    transparent
  );
  opacity: 0.85;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px 32px;
  padding: 48px 0 36px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo .logo-img {
  height: 40px;
  max-width: 260px;
}

.footer-tagline {
  margin: 0 0 20px;
  line-height: 1.65;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a1008;
  background: linear-gradient(135deg, #fbbf24, var(--accent));
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 4px 20px var(--accent-glow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-glow);
  color: #1a1008;
  text-decoration: none;
}

.footer-heading {
  margin: 0 0 16px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0.85;
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--accent-light);
  opacity: 1;
  text-decoration: none;
}

.footer-score-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  flex-shrink: 0;
  vertical-align: middle;
}

.footer-score-dot--high {
  background: var(--positive);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.footer-score-dot--mid {
  background: var(--mixed);
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.45);
}

.footer-score-dot--low {
  background: var(--negative);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.45);
}

.footer-tiers {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-tiers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.footer-tiers li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-color-key {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: rgba(250, 250, 249, 0.45);
}

.footer-tier {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 4px 6px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 6px;
  color: #fff;
}

.footer-tier--legendary {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.footer-tier--epic {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
}

.footer-tier--rare {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.footer-tier--uncommon {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.footer-tier--common {
  background: linear-gradient(135deg, #6b7280, #4b5563);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-copy,
.footer-made {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(250, 250, 249, 0.4);
}

.footer-made {
  font-weight: 600;
  color: rgba(250, 250, 249, 0.5);
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding: 40px 0 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 0 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Raid score badge — shared mark + number */
.raid-score-mark {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 0.44rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 191, 36, 0.82);
}

.raid-score-num {
  display: block;
  margin: 0;
  padding: 0;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.metascore,
.poster-score {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-sizing: border-box;
  text-align: center;
  flex-shrink: 0;
  padding: 8px 10px;
  background: linear-gradient(165deg, rgba(28, 24, 36, 0.98), rgba(10, 9, 14, 0.99));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.metascore .score-label {
  display: block;
  margin: 1px 0 0;
  padding: 0;
  font-size: 0.5rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.metascore.sm {
  min-width: 46px;
  min-height: 46px;
  padding: 7px 9px;
  gap: 3px;
}

.metascore.sm .raid-score-mark {
  font-size: 0.4rem;
  letter-spacing: 0.12em;
}

.metascore.sm .raid-score-num {
  font-size: 1.05rem;
}

.metascore.md {
  min-width: 54px;
  min-height: 54px;
  padding: 8px 11px;
  gap: 4px;
}

.metascore.md .raid-score-mark {
  font-size: 0.44rem;
}

.metascore.md .raid-score-num {
  font-size: 1.3rem;
}

.metascore.lg {
  min-width: 88px;
  min-height: 88px;
  padding: 12px 14px;
  gap: 5px;
}

.metascore.lg .raid-score-mark {
  font-size: 0.52rem;
  letter-spacing: 0.16em;
}

.metascore.lg .raid-score-num {
  font-size: 2.2rem;
}

.metascore.xl {
  min-width: 100px;
  min-height: 100px;
  padding: 14px 16px;
  gap: 6px;
}

.metascore.xl .raid-score-mark {
  font-size: 0.56rem;
}

.metascore.xl .raid-score-num {
  font-size: 2.65rem;
}

.metascore.panel {
  min-width: 66px;
  min-height: 66px;
  padding: 9px 12px;
  gap: 4px;
}

.metascore.panel .raid-score-mark {
  font-size: 0.46rem;
}

.metascore.panel .raid-score-num {
  font-size: 1.6rem;
}

.metascore.panel .score-label {
  font-size: 0.42rem;
}

.metascore.positive,
.poster-score.positive {
  border-color: rgba(74, 222, 128, 0.35);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.45),
    0 0 16px rgba(34, 197, 94, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -2px 0 rgba(34, 197, 94, 0.5);
}

.metascore.positive .raid-score-num,
.poster-score.positive .raid-score-num {
  color: #86efac;
}

.metascore.mixed,
.poster-score.mixed {
  border-color: rgba(253, 224, 71, 0.35);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.45),
    0 0 16px rgba(234, 179, 8, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -2px 0 rgba(234, 179, 8, 0.45);
}

.metascore.mixed .raid-score-num,
.poster-score.mixed .raid-score-num {
  color: #fde047;
}

.metascore.negative,
.poster-score.negative {
  border-color: rgba(248, 113, 113, 0.35);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.45),
    0 0 16px rgba(239, 68, 68, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -2px 0 rgba(239, 68, 68, 0.45);
}

.metascore.negative .raid-score-num,
.poster-score.negative .raid-score-num {
  color: #fca5a5;
}

.metascore.tbd,
.poster-score.tbd {
  border-color: rgba(161, 161, 170, 0.3);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -2px 0 rgba(113, 113, 122, 0.4);
}

.metascore.tbd .raid-score-num,
.poster-score.tbd .raid-score-num {
  color: #d4d4d8;
}

/* Hero */
.hero-band {
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
  margin-bottom: 8px;
}

.hero-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  filter: blur(60px);
  opacity: 0.5;
  animation: pulse-glow 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.4;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.65;
    transform: translateX(-50%) scale(1.08);
  }
}

.hero-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-light);
  background: var(--accent-soft);
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: var(--radius-pill);
  animation: fade-down 0.8s var(--ease) both;
}

.hero-band h1 {
  position: relative;
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  animation: fade-down 0.8s var(--ease) 0.1s both;
}

.hero-band h1 span {
  background: linear-gradient(135deg, #fff 20%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-band p {
  position: relative;
  margin: 0;
  max-width: 520px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--muted);
  animation: fade-down 0.8s var(--ease) 0.2s both;
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-heading {
  padding: 0 0 var(--space-block);
}

.page-heading h1 {
  margin: 0 0 var(--space-tight);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-heading p {
  margin: 0;
  max-width: 560px;
  line-height: 1.6;
  color: var(--muted);
}

.page-main {
  padding: var(--space-page-top) 0 var(--space-page-bottom);
}

.page-main > .page-heading:last-child {
  padding-bottom: 0;
}

/* Static pages (About) */
.static-page {
  padding: var(--space-page-top) 0 var(--space-page-bottom);
}

.static-page-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-section);
  padding-bottom: 0;
}

.static-page-head p {
  margin-left: auto;
  margin-right: auto;
}

.static-article {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-section) 36px;
}

.static-section {
  margin-bottom: var(--space-section);
}

.static-section:last-child {
  margin-bottom: 0;
}

.static-section h2 {
  margin: 0 0 14px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent-light);
  letter-spacing: -0.02em;
}

.static-section h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
}

.static-section p {
  margin: 0 0 14px;
  line-height: 1.7;
  color: var(--muted);
}

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

.static-list {
  margin: 0;
  padding: 0 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}

.static-list li {
  margin-bottom: 12px;
}

.static-list strong {
  color: var(--text);
}

.static-promise-cards {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .static-promise-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.static-promise-card {
  padding: 20px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.static-promise-card p {
  margin: 0;
  font-size: 0.9rem;
}

.static-cta-block {
  padding-top: var(--space-block);
  margin-top: var(--space-tight);
  border-top: 1px solid var(--border);
  text-align: center;
}

.static-cta-block a {
  font-weight: 700;
}

.static-muted {
  font-size: 0.85rem;
  opacity: 0.65;
}

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 14px 28px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ea580c);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 32px var(--accent-glow);
  text-decoration: none;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.link-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--accent-glow);
  color: #fff;
  text-decoration: none;
}

.text-center {
  text-align: center;
}

/* Featured */
.featured-strip {
  display: grid;
  gap: 24px;
  margin-bottom: 40px;
  padding: 28px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .featured-strip {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
}

.featured-strip a {
  text-decoration: none;
  color: inherit;
}

.featured-strip h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  transition: color 0.25s var(--ease);
}

.featured-strip a:hover h2 {
  color: var(--accent-light);
}

.featured-sub {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.featured-excerpt {
  margin: 12px 0 0;
  color: rgba(250, 250, 249, 0.75);
  line-height: 1.5;
}

.featured-poster {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s var(--ease);
}

.featured-poster:hover {
  transform: scale(1.03) rotate(1deg);
}

.featured-poster img {
  width: 140px;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* Game grid */
.games-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.game-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(249, 115, 22, 0.25);
  text-decoration: none;
}

.game-card-cover {
  aspect-ratio: 3 / 4;
  background: var(--bg-elevated);
  overflow: hidden;
  position: relative;
  border-radius: var(--radius) var(--radius) 0 0;
}

.game-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.game-card:hover .game-card-cover img {
  transform: scale(1.06);
}

.game-card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 10, 9, 0.85), transparent 50%);
}

.game-card-score {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
}

.game-card-body {
  padding: 18px;
  flex: 1;
}

.game-card-body h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  transition: color 0.25s var(--ease);
}

.game-card:hover h3 {
  color: var(--accent-light);
}

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

.cert-pill {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--cert-color, rgba(249, 115, 22, 0.4));
  color: var(--cert-color, var(--accent-light));
  box-shadow: 0 0 12px var(--cert-glow, transparent);
}

.cert-pill.cert-raid-legendary,
.cert-pill.cert-legendary {
  --cert-color: #f59e0b;
  --cert-glow: rgba(245, 158, 11, 0.35);
}

.cert-pill.cert-raid-epic,
.cert-pill.cert-epic {
  --cert-color: #a855f7;
  --cert-glow: rgba(168, 85, 247, 0.35);
}

.cert-pill.cert-raid-rare,
.cert-pill.cert-rare {
  --cert-color: #3b82f6;
  --cert-glow: rgba(59, 130, 246, 0.35);
}

.cert-pill.cert-raid-uncommon,
.cert-pill.cert-uncommon {
  --cert-color: #22c55e;
  --cert-glow: rgba(34, 197, 94, 0.3);
}

.cert-pill.cert-raid-common,
.cert-pill.cert-common {
  --cert-color: #9ca3af;
  --cert-glow: rgba(156, 163, 175, 0.25);
}

.cert-desc {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* Game list */
.game-list {
  border-radius: var(--radius);
  overflow: hidden;
}

.game-list.glass-card {
  padding: 0;
}

#reviews-page .game-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  overflow: visible;
}

#reviews-page .game-row {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin: 0;
}

#reviews-page .game-row:hover {
  padding-left: 22px;
  background: rgba(249, 115, 22, 0.08);
}

#reviews-page .game-row.review-hidden {
  display: none !important;
}

.game-row {
  display: flex;
  align-items: stretch;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition:
    background 0.3s var(--ease),
    padding-left 0.3s var(--ease);
}

.game-row:last-child {
  border-bottom: none;
}

.game-row:hover {
  background: rgba(249, 115, 22, 0.08);
  padding-left: 28px;
  text-decoration: none;
}

.game-row-thumb {
  width: 72px;
  height: 96px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-elevated);
}

.game-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-row-body h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.game-row:hover h3 {
  color: var(--accent-light);
}

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

.game-row-excerpt {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-row-score {
  display: flex;
  align-items: center;
}

/* Filter pills */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-element);
}

.filter-count {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  color: var(--text);
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--muted);
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}

.filter-pill:hover {
  transform: translateY(-1px);
  color: var(--text);
}

.filter-pill-all {
  color: var(--muted);
}

.filter-pill-high {
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.12);
}

.filter-pill-mid {
  color: #fde047;
  border-color: rgba(234, 179, 8, 0.35);
  background: rgba(234, 179, 8, 0.12);
}

.filter-pill-low {
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.12);
}

.filter-pill-all.active {
  color: #fff;
  background: rgba(249, 115, 22, 0.22);
  border-color: var(--accent);
  box-shadow:
    0 0 0 2px var(--accent-glow),
    0 4px 16px rgba(249, 115, 22, 0.28);
}

.filter-pill-high.active {
  color: #fff;
  background: rgba(34, 197, 94, 0.35);
  border-color: #4ade80;
  box-shadow:
    0 0 0 2px rgba(74, 222, 128, 0.45),
    0 4px 16px rgba(34, 197, 94, 0.3);
}

.filter-pill-mid.active {
  color: #1a1008;
  background: rgba(234, 179, 8, 0.55);
  border-color: #fde047;
  box-shadow:
    0 0 0 2px rgba(253, 224, 71, 0.45),
    0 4px 16px rgba(234, 179, 8, 0.28);
}

.filter-pill-low.active {
  color: #fff;
  background: rgba(239, 68, 68, 0.35);
  border-color: #f87171;
  box-shadow:
    0 0 0 2px rgba(248, 113, 113, 0.45),
    0 4px 16px rgba(239, 68, 68, 0.28);
}

.filter-active-hint {
  margin: 0 0 var(--space-block);
  font-size: 0.78rem;
  color: var(--accent-light);
  letter-spacing: 0.02em;
}

.reviews-tabs {
  margin-bottom: var(--space-block);
}

/* Search autocomplete */
.header-search-wrap {
  position: relative;
  grid-area: search;
  justify-self: end;
  width: 200px;
  max-width: 200px;
}

.header-search-wrap .header-search {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.search-suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 200;
  max-height: 320px;
  overflow-y: auto;
  background: rgba(18, 16, 24, 0.98);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  -webkit-overflow-scrolling: touch;
}

.search-suggest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s var(--ease);
}

.search-suggest-item:last-child {
  border-bottom: none;
}

.search-suggest-item:hover,
.search-suggest-item.is-active {
  background: var(--accent-soft);
  text-decoration: none;
}

.search-suggest-thumb {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-elevated);
}

.search-suggest-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.search-suggest-thumb .poster-score {
  top: auto;
  bottom: 4px;
  right: 4px;
  left: auto;
  min-width: 32px;
  min-height: 32px;
  padding: 5px 6px;
  gap: 2px;
  border-radius: 5px;
}

.search-suggest-thumb .raid-score-mark {
  font-size: 0.36rem;
  letter-spacing: 0.1em;
}

.search-suggest-thumb .raid-score-num {
  font-size: 0.75rem;
}

.search-suggest-title {
  flex: 1;
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-suggest-empty {
  margin: 0;
  padding: 14px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

/* Review page */
.review-layout {
  display: grid;
  gap: var(--space-block);
  padding: var(--space-page-top) 0 var(--space-page-bottom);
}

@media (min-width: 900px) {
  .review-layout {
    grid-template-columns: 200px 1fr 300px;
    align-items: start;
  }
}

.review-poster {
  border-radius: var(--radius);
  overflow: hidden;
}

.review-poster.glass-card,
.review-main.glass-card,
.review-scores.glass-card,
.section-block.glass-card {
  padding: 0;
}

.review-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.review-main {
  padding: 28px 32px !important;
}

.review-main h1 {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.review-subtitle {
  margin: 0 0 20px;
  font-size: 1.1rem;
  color: var(--muted);
}

.review-meta-line {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.review-summary {
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 600;
  margin-bottom: 28px;
  color: rgba(250, 250, 249, 0.9);
}

.review-body p {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

.review-scores {
  padding: 0 !important;
  position: sticky;
  top: 80px;
  overflow: hidden;
}

@media (max-width: 899px) {
  .review-scores {
    position: static;
    top: auto;
  }
}

.review-scores-inner {
  display: flex;
  flex-direction: column;
}

.score-panel {
  padding: 22px 24px 0;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.score-panel:last-of-type {
  border-bottom: none;
}

.score-panel-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.score-panel-copy {
  flex: 1;
  min-width: 0;
}

.score-panel-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.score-panel-verdict {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 6px;
}

.score-panel-meta {
  display: block;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
}

.score-panel-bar {
  height: 4px;
  margin: 0 -24px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.score-panel-bar-fill {
  display: block;
  height: 100%;
  border-radius: 0 2px 2px 0;
  transition: width 0.5s var(--ease);
}

.score-panel-bar-fill.positive {
  background: linear-gradient(90deg, var(--positive), #4ade80);
}

.score-panel-bar-fill.mixed {
  background: linear-gradient(90deg, var(--mixed), #fde047);
}

.score-panel-bar-fill.negative {
  background: linear-gradient(90deg, var(--negative), #f87171);
}

.score-panel-bar-fill.tbd {
  background: var(--tbd);
}

.score-panel-bar--rarity .score-panel-bar-fill {
  background: var(--cert-color, var(--accent));
  box-shadow: 0 0 12px color-mix(in srgb, var(--cert-color) 50%, transparent);
}

.loot-badge {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--cert-color) 22%, rgba(0, 0, 0, 0.4));
  border: 2px solid var(--cert-color);
  box-shadow: 0 0 20px color-mix(in srgb, var(--cert-color) 35%, transparent);
}

.loot-badge-short {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--cert-color);
}

.score-details {
  padding: 20px 24px 24px;
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  text-align: left;
}

.score-details dt {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.score-details dd {
  margin: 0;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

@media (min-width: 900px) {
  .review-layout {
    grid-template-columns: 200px 1fr 320px;
  }
}

.section-block {
  padding: 24px 28px !important;
}

.section-block h2 {
  margin: 0 0 18px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.gallery-main {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
  background: #000;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumb {
  width: 120px;
  height: 68px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--bg-elevated);
  transition:
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.gallery-thumb:hover {
  transform: scale(1.04);
}

.gallery-thumb.active {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 404 */
.error-page {
  text-align: center;
  padding: 80px 32px;
  margin: 48px auto;
  max-width: 440px;
}

/* Admin — match theme */
.admin-body {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--accent-soft), transparent);
}

.admin-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.admin-login-box {
  max-width: 420px;
  margin: 48px auto 80px;
  padding: 40px;
}

.admin-login-lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
  margin-top: 20px;
}

.admin-login-box h1 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 800;
}

.admin-panel {
  padding: 32px 36px;
  margin-bottom: 28px;
}

.admin-editor {
  padding: 36px 40px 40px;
}

.admin-panel h2 {
  margin: 0 0 24px;
  font-size: 1.15rem;
  font-weight: 800;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.form-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 640px) {
  .form-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group > label:not(.toggle-switch),
.form-group .field-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: inherit;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    filter 0.25s var(--ease);
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ea580c);
  color: #fff;
  box-shadow: 0 6px 24px var(--accent-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid var(--border);
}

.btn-danger {
  background: linear-gradient(135deg, #f87171, var(--negative));
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.admin-toolbar h1 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.admin-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  margin-left: 6px;
  vertical-align: middle;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.8rem;
}

.admin-panel-head {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.admin-panel-lead {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.admin-section {
  margin-bottom: 40px;
  padding: 0 0 36px;
  border-bottom: 1px solid var(--border);
}

.admin-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.admin-section-title {
  margin: 0 0 24px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-light);
}

.admin-form .form-group {
  margin-bottom: 28px;
}

.admin-form .form-group:last-child {
  margin-bottom: 0;
}

.admin-form .form-group > label:first-child {
  margin-bottom: 6px;
}

.field-help {
  margin: 0 0 14px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.field-help code {
  font-size: 0.85em;
  color: var(--accent-light);
}

.form-group-full {
  grid-column: 1 / -1;
}

.input-mt {
  margin-top: 10px;
}

.picker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.picker-row-multi {
  margin-bottom: 4px;
}

.picker-extra-label {
  display: block;
  margin: 18px 0 8px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.picker-extra {
  width: 100%;
  max-width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.picker-extra:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.picker-selected {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: var(--accent-light);
  min-height: 1.2em;
}

.admin-form #score {
  margin-bottom: 14px;
}

.picker-scores {
  margin-top: 6px;
}

.picker-certs {
  gap: 12px;
  margin-top: 8px;
}

.picker-certs-auto .picker-chip {
  cursor: default;
  pointer-events: none;
  opacity: 0.45;
}

.picker-certs-auto .picker-chip.active {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--accent-glow);
}

.picker-chip.active.multi-hint {
  /* same as active */
}

.picker-chip {
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.picker-chip:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.picker-chip.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 2px var(--accent-glow);
  color: #fff;
}

.picker-cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 88px;
  border-color: color-mix(in srgb, var(--cert-color) 50%, var(--border));
}

.picker-cert.active {
  border-color: var(--cert-color);
  background: color-mix(in srgb, var(--cert-color) 18%, transparent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--cert-color) 40%, transparent);
  color: #fff;
}

.picker-cert-label {
  font-weight: 700;
}

.picker-cert-hint {
  font-size: 0.6rem;
  opacity: 0.75;
  letter-spacing: 0.08em;
}

.picker-custom {
  margin-top: 10px;
  width: 100%;
  max-width: 320px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-family: inherit;
}

.form-group-featured {
  margin-top: 12px;
  padding-top: 8px;
}

.form-group-featured .field-label {
  margin-bottom: 6px;
}

.form-group-featured .field-help {
  margin-bottom: 14px;
}

.toggle-switch {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  cursor: pointer;
  user-select: none;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.toggle-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.toggle-track {
  width: 48px;
  height: 26px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  position: relative;
  flex-shrink: 0;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s var(--ease);
}

.toggle-switch input:checked + .toggle-track {
  background: var(--accent);
  border-color: var(--accent);
}

.toggle-switch input:checked + .toggle-track::after {
  transform: translateX(22px);
}

.toggle-switch input:focus-visible + .toggle-track {
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.toggle-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  margin-left: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-light);
  vertical-align: middle;
}

.admin-list-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-list-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

.admin-list-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-list-empty {
  color: var(--muted);
  padding: 24px 0;
  border: none;
}

.admin-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.alert {
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

.alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.alert-success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
}

.hidden {
  display: none !important;
}

/* —— GameTrusty-style home layout (orange) —— */
.glass-bar {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-trust {
  padding: var(--space-page-top) 0 var(--space-section);
  position: relative;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.hero-trust::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(249, 115, 22, 0.35) 25%,
    rgba(251, 191, 36, 0.5) 50%,
    rgba(249, 115, 22, 0.35) 75%,
    transparent 100%
  );
  pointer-events: none;
}

.hero-trust-grid {
  display: grid;
  gap: var(--space-section);
  align-items: center;
}

@media (min-width: 900px) {
  .hero-trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-block);
  }
}

.hero-trust-copy h1 {
  margin: 0 0 var(--space-block);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-lead {
  margin: 0 0 var(--space-section);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 420px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1008;
  background: linear-gradient(135deg, #fbbf24, var(--accent), #ea580c);
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow:
    0 0 40px var(--accent-glow),
    0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  max-width: 100%;
}

.btn-hero:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 0 56px var(--accent-glow),
    0 12px 32px rgba(0, 0, 0, 0.4);
  color: #1a1008;
  text-decoration: none;
}

.btn-hero-icon {
  font-size: 1.2rem;
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: var(--space-block) 0 0;
  max-width: 400px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
}

.hero-note-icon {
  flex-shrink: 0;
  opacity: 0.7;
}

.hero-featured-card {
  display: block;
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.hero-featured-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(249, 115, 22, 0.25);
  text-decoration: none;
}

.hero-featured-card img {
  width: 100%;
  height: auto;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.hero-featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(to top, rgba(15, 13, 20, 0.95), transparent);
}

.hero-featured-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  text-align: right;
  flex: 1;
}

/* Hero — top 3 in a row */
.hero-trust-visual {
  width: 100%;
}

.hero-top-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 100%;
}

.hero-grid-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.hero-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.18);
  text-decoration: none;
}

.hero-grid-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.hero-grid-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent-light);
  background: rgba(0, 0, 0, 0.6);
  border-radius: var(--radius-pill);
}

.hero-grid-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  background: linear-gradient(to top, rgba(15, 13, 20, 0.92), transparent 65%);
}

.hero-grid-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  text-align: right;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-grid-empty {
  padding: 48px 24px;
  text-align: center;
  border-radius: var(--radius);
  color: var(--muted);
}

.hero-collage {
  position: relative;
  height: 380px;
  max-width: 520px;
  margin: 0 auto;
}

.hero-collage-item {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.5s var(--ease);
}

.hero-collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-collage-item.item-1 {
  width: 55%;
  height: 75%;
  top: 5%;
  left: 0;
  z-index: 3;
  animation: float-a 5s ease-in-out infinite;
}

.hero-collage-item.item-2 {
  width: 48%;
  height: 65%;
  top: 15%;
  right: 0;
  z-index: 2;
  animation: float-b 6s ease-in-out infinite;
}

.hero-collage-item.item-3 {
  width: 42%;
  height: 50%;
  bottom: 0;
  left: 20%;
  z-index: 4;
  animation: float-a 7s ease-in-out infinite reverse;
}

.hero-collage-item.item-4 {
  width: 38%;
  height: 45%;
  bottom: 10%;
  right: 15%;
  z-index: 1;
  animation: float-b 5.5s ease-in-out infinite reverse;
}

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

@keyframes float-b {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(8px) rotate(1deg);
  }
}

.category-bar {
  margin: 0 20px 32px;
  padding: 0;
}

@media (min-width: 900px) {
  .category-bar {
    margin: 0 auto 40px;
    max-width: 1280px;
    padding: 0 20px;
  }
}

.category-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.category-chip:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.category-chip.active {
  color: #fff;
  background: rgba(249, 115, 22, 0.2);
  border: 1px solid rgba(249, 115, 22, 0.35);
}

.chip-icon {
  font-size: 1rem;
}

.section-games {
  padding: var(--space-section) 0 var(--space-page-bottom);
  overflow: visible;
}

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

.section-games-head h2 {
  margin: 0 0 var(--space-tight);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-games-head p {
  margin: 0 auto;
  max-width: 520px;
  color: var(--muted);
  line-height: 1.5;
}

.tabs-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  margin-bottom: var(--space-section);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  flex: 1;
  min-width: 120px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.tab-btn:hover {
  color: var(--text);
}

.tab-btn.active {
  color: #1a1008;
  background: linear-gradient(135deg, #fbbf24, var(--accent));
  box-shadow: 0 4px 20px var(--accent-glow);
}

.tab-btn-link {
  text-decoration: none;
  text-align: center;
}

.tab-btn-link:hover {
  color: #fff;
  text-decoration: none;
}

.poster-track-wrap {
  overflow: visible;
  margin: 0 -20px;
  padding: 0 20px var(--space-section);
}

.poster-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-padding: 20px;
  padding: 12px 4px 16px;
  -webkit-overflow-scrolling: touch;
}

.poster-track::-webkit-scrollbar {
  height: 8px;
}

.poster-track::-webkit-scrollbar-thumb {
  background: rgba(249, 115, 22, 0.4);
  border-radius: var(--radius-pill);
}

.review-item.review-hidden {
  display: none !important;
}

.poster-card {
  flex: 0 0 200px;
  width: 200px;
  min-width: 200px;
  max-width: 200px;
  scroll-snap-align: start;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
  outline: none;
  overflow: visible;
}

.poster-card:hover,
.poster-card:focus-visible {
  text-decoration: none;
}

.poster-card:focus-visible .poster-card-inner {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.poster-card-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.poster-card:hover .poster-card-inner {
  transform: translateY(-8px);
  border-color: rgba(249, 115, 22, 0.35);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.5),
    0 0 32px rgba(249, 115, 22, 0.15);
}

.poster-card-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.poster-card:hover .poster-card-inner img {
  transform: scale(1.08);
}

.poster-card-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 13, 20, 0.95) 0%, transparent 55%);
  pointer-events: none;
}

.poster-score {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  min-width: 44px;
  min-height: 44px;
  padding: 7px 10px;
  gap: 3px;
  background: linear-gradient(165deg, rgba(28, 24, 36, 0.96), rgba(8, 7, 12, 0.98));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.poster-score .raid-score-mark {
  font-size: 0.42rem;
  letter-spacing: 0.12em;
}

.poster-score .raid-score-num {
  font-size: 1.05rem;
}

.picker-score.score-positive.active {
  border-color: var(--positive);
  color: #86efac;
}

.picker-score.score-mixed.active {
  border-color: var(--mixed);
  color: #fde047;
}

.picker-score.score-negative.active {
  border-color: var(--negative);
  color: #fca5a5;
}

.poster-title {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.poster-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--bg-purple), var(--bg-elevated));
}

.section-cta {
  margin-top: var(--space-block);
  padding-top: var(--space-tight);
}

.section-cta-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.section-cta-note a {
  font-weight: 600;
}

.empty-state {
  text-align: center;
  color: var(--muted);
  padding: 40px;
}

/* —— Mobile & tablet —— */
@media (max-width: 899px) {
  .container,
  .container-wide {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-header {
    height: auto;
    min-height: 56px;
  }

  .site-header .container-wide {
    padding-left: 16px;
    padding-right: 16px;
    height: auto;
  }

  .header-shell {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 8px 0 0;
  }

  .header-row-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
  }

  .header-menu-btn {
    display: flex;
  }

  .header-row-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 0 0 16px;
    border-top: 1px solid var(--border);
    margin-top: 4px;
    padding-top: 16px;
  }

  .site-header.is-open .header-row-nav {
    display: flex;
  }

  .nav-main {
    flex: none;
    flex-direction: column;
    width: 100%;
    gap: 8px;
    overflow: visible;
  }

  .nav a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .header-search-wrap {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .header-search-wrap .header-search {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .header-search input {
    padding: 12px 14px;
    font-size: 1rem;
  }

  .search-suggest {
    left: 0;
    right: 0;
  }

  .hero-trust {
    padding: var(--space-block) 0 var(--space-section);
  }

  .page-main,
  .static-page {
    padding-top: var(--space-block);
    padding-bottom: var(--space-section);
  }

  .section-games {
    padding-top: var(--space-block);
    padding-bottom: var(--space-section);
  }

  .static-article {
    padding: var(--space-block) 20px;
  }

  .hero-trust-copy h1 {
    font-size: clamp(2rem, 9vw, 2.75rem);
    margin-bottom: 16px;
  }

  .hero-lead {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .btn-hero {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.9rem;
    text-align: center;
    flex-wrap: wrap;
  }

  .hero-top-grid {
    gap: 8px;
  }

  .hero-grid-card {
    border-radius: var(--radius-lg);
  }

  .hero-grid-overlay {
    padding: 8px;
  }

  .hero-grid-title {
    font-size: 0.65rem;
  }

  .hero-grid-rank {
    top: 6px;
    left: 6px;
    padding: 3px 7px;
    font-size: 0.55rem;
  }

  .hero-top-grid .metascore.sm {
    transform: scale(0.9);
    transform-origin: bottom left;
  }

  .section-games-head {
    margin-bottom: var(--space-block);
    padding: 0 4px;
  }

  .section-games-head h2 {
    font-size: 1.35rem;
  }

  .tabs-bar {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding: 6px;
    gap: 8px;
    scrollbar-width: none;
  }

  .tabs-bar::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex: 0 0 auto;
    min-width: auto;
    padding: 10px 16px;
    font-size: 0.8rem;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .poster-track-wrap {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .poster-track {
    gap: 14px;
    scroll-padding-left: 16px;
  }

  .page-heading {
    padding-bottom: var(--space-block);
  }

  .page-heading h1 {
    font-size: 1.5rem;
  }

  .page-heading p {
    font-size: 0.9rem;
  }

  .filter-bar {
    gap: 8px;
    margin-bottom: var(--space-element);
  }

  .filter-count,
  .filter-pill {
    padding: 8px 14px;
    font-size: 0.75rem;
  }

  #reviews-page .game-list {
    grid-template-columns: 1fr;
    padding: 12px;
    gap: 10px;
  }

  .game-row {
    flex-wrap: wrap;
    padding: 16px;
    gap: 14px;
  }

  #reviews-page .game-row {
    flex-wrap: nowrap;
  }

  .game-row:hover {
    padding-left: 16px;
  }

  #reviews-page .game-row:hover {
    padding-left: 16px;
  }

  .game-row-thumb {
    width: 64px;
    height: 86px;
  }

  .game-row-body {
    flex: 1;
    min-width: 0;
  }

  .game-row-score {
    width: 100%;
    justify-content: flex-start;
    padding-top: 4px;
  }

  .review-layout {
    padding: 20px 0 40px;
    gap: 16px;
  }

  .review-main {
    padding: 20px 18px !important;
  }

  .review-meta-line {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .score-panel {
    padding: 18px 18px 0;
  }

  .score-panel-bar {
    margin-left: -18px;
    margin-right: -18px;
  }

  .score-details {
    padding: 16px 18px 20px;
  }

  .gallery-thumb {
    width: 88px;
    height: 50px;
  }

  .admin-wrap {
    padding: 24px 16px 48px;
  }

  .admin-editor {
    padding: 24px 18px 28px;
  }

  .admin-panel {
    padding: 24px 18px;
  }

  .picker-row {
    gap: 8px;
  }

  .picker-cert {
    min-width: calc(50% - 8px);
    flex: 1 1 calc(50% - 8px);
  }

  .hero-collage {
    height: 280px;
  }

  .category-bar {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .poster-card {
    flex: 0 0 168px;
    width: 168px;
    min-width: 168px;
    max-width: 168px;
    border-radius: var(--radius);
  }

  .logo-img {
    height: 30px;
    max-width: min(200px, 48vw);
  }

  .loot-badge,
  .metascore.panel {
    width: 64px;
    min-width: 64px;
    min-height: 64px;
    padding: 8px 10px;
  }

  .metascore.panel .raid-score-num {
    font-size: 1.35rem;
  }

  .score-panel-row {
    gap: 12px;
  }

  .score-panel-verdict {
    font-size: 0.95rem;
  }
}

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

  .animate-in {
    opacity: 1;
    transform: none;
  }
}
