:root {
  --bg: #0b1631;
  --panel: rgba(10, 18, 42, 0.88);
  --text: #f5fbff;
  --muted: #a5b3d2;
  --line: rgba(255, 255, 255, 0.1);
  --yellow: #ffd44d;
  --orange: #ff9347;
  --fire: #ff6524;
  --fire-soft: rgba(255, 101, 36, 0.35);
  --cyan: #39c7ff;
  --mint: #77f6cb;
  --pink: #ff76bd;
  --radius-xl: 34px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px rgba(3, 7, 22, 0.42);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(57, 199, 255, 0.26), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 148, 71, 0.22), transparent 28%),
    linear-gradient(180deg, #0f214b 0%, #081124 100%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { border: 0; cursor: pointer; }

.site-shell, .detail-shell { max-width: 1600px; margin: 0 auto; padding: 24px; }
.site-shell { display: grid; grid-template-columns: 280px 1fr; gap: 24px; }
.site-shell-home { display: block; max-width: 1860px; }
.sidebar { position: sticky; top: 24px; height: calc(100vh - 48px); display: flex; flex-direction: column; gap: 18px; }

.brand, .sidebar-card, .page-panel, .stat-card, .hero-feature, .game-card, .player-card, .article-card, .info-card, .content-block, .site-footer {
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.1); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.brand-mark {
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.58), transparent 16%),
    linear-gradient(135deg, #7af7ff, #2ba6ff 48%, #ff6524 100%);
  color: #081124; font: 800 1.25rem "Baloo 2", cursive; letter-spacing: 0.08em;
  box-shadow: 0 14px 32px rgba(43, 166, 255, 0.26), 0 10px 28px rgba(255, 101, 36, 0.24);
}
.brand strong, .brand small { display: block; }
.brand strong { font: 800 1.45rem "Baloo 2", cursive; line-height: 1; }
.brand small { margin-top: 2px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

.sidebar-nav { display: grid; gap: 10px; }
.sidebar-link, .category-pill, .primary-button, .ghost-link {
  border-radius: 999px; transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.sidebar-link, .ghost-link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px;
  background: rgba(255,255,255,0.08); border: 1px solid var(--line);
}
.sidebar-link.active, .sidebar-link:hover, .ghost-link:hover { transform: translateY(-2px); background: rgba(255,255,255,0.14); }

.sidebar-card, .page-panel, .player-card, .article-card, .info-card, .content-block, .site-footer {
  background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.sidebar-card, .content-block, .article-card, .site-footer { padding: 24px; border-radius: var(--radius-xl); }
.sidebar-card { margin-top: auto; }
.page-panel { padding: 26px; border-radius: 40px; }
.home-page-panel { padding: 20px 20px 26px; background: rgba(9, 17, 38, 0.82); }
.home-topbar { display: flex; align-items: center; justify-content: flex-start; margin-bottom: 18px; }
.home-brand { padding: 14px 18px; }
.home-mosaic { margin-bottom: 24px; }

.home-page-body {
  background: #000000;
  color: #f3f0ff;
}
.home-portal {
  min-height: 100vh;
  background: #000000;
}
.home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(118, 126, 164, 0.24);
}
.home-wordmark {
  font-family: "Baloo 2", cursive;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #8d63ff;
  text-shadow: 0 0 10px rgba(144, 105, 255, 0.42);
}
.home-search-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,0.74);
}
.home-search-button svg {
  width: 28px;
  height: 28px;
}
.home-main-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  padding: 0 24px 24px;
}
.home-side-nav {
  padding-top: 32px;
  border-right: 1px solid rgba(118, 126, 164, 0.24);
}
.home-side-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}
.home-side-link:hover {
  color: #ffffff;
}
.home-side-icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
}
.home-side-icon svg {
  width: 24px;
  height: 24px;
}
.home-content-column {
  min-width: 0;
  padding-top: 10px;
}
.home-ad-label {
  color: rgba(255,255,255,0.4);
  text-align: center;
  font-size: 0.9rem;
  margin: 6px 0 14px;
}
.home-ad-label-bottom {
  margin: 22px 0 18px;
}
.home-player-module {
  max-width: 1280px;
}
.home-player-shell {
  border-radius: 6px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(118, 126, 164, 0.24);
}
.home-player-stage {
  position: relative;
  background: linear-gradient(135deg, #65cfc4 0%, #7794d0 100%);
  aspect-ratio: 16 / 9;
}
.home-player-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}
.home-player-stage.is-playing iframe {
  opacity: 1;
  pointer-events: auto;
}
.home-player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: linear-gradient(135deg, rgba(101, 207, 196, 0.22), rgba(119, 148, 208, 0.18));
}
.home-player-overlay.is-hidden {
  display: none;
}
.home-player-logo {
  width: 200px;
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(0,0,0,0.28);
}
.home-play-button {
  min-width: 204px;
  min-height: 72px;
  padding: 0 28px;
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 16px 30px rgba(0,0,0,0.26);
}
.home-player-overlay h1 {
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  color: #ffffff;
}
.home-player-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 0 16px;
  background: #262626;
  color: #f0f0f0;
  font-size: 1.12rem;
}
.home-frame-icon-button {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  background: transparent;
  color: #f6f6f6;
  border: 1px solid rgba(255,255,255,0.22);
}
.home-frame-icon-button svg {
  width: 18px;
  height: 18px;
}
.home-frame-icon-button.is-active {
  background: rgba(255,255,255,0.12);
}
.homepage-article {
  margin-top: 0;
  padding: 22px 18px 10px;
  border-left: 1px solid rgba(118, 126, 164, 0.24);
  border-right: 1px solid rgba(118, 126, 164, 0.24);
  border-bottom: 1px solid rgba(118, 126, 164, 0.24);
  background: #000000;
}
.homepage-article .section-title h2 {
  color: #ffffff;
}
.homepage-article .article-prose p,
.homepage-article .article-prose h3 {
  color: rgba(255,255,255,0.82);
}
.homepage-article .article-prose strong {
  color: #ffffff;
}
.homepage-article .article-prose em,
.homepage-article .article-prose a {
  color: #9db8ff;
}
.home-games-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  max-width: 1280px;
}
.home-game-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #101010;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04);
}
.home-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}
.home-game-overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
  min-height: 42%;
  padding: 14px 12px 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.9));
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 220ms ease;
}
.home-game-overlay strong {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.05;
  text-shadow: 0 4px 16px rgba(0,0,0,0.45);
}
.home-game-overlay small {
  color: rgba(255,255,255,0.74);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.home-game-card:hover img,
.home-game-card:focus-visible img {
  transform: scale(1.04);
  filter: brightness(0.86);
}
.home-game-card:hover .home-game-overlay,
.home-game-card:focus-visible .home-game-overlay {
  opacity: 1;
  transform: translateY(0);
}
.home-card-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 0 0 10px 0;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.home-card-badge.hot {
  background: linear-gradient(135deg, #ffb454, #ff7d3c);
  color: #ffffff;
}
.home-card-badge.like {
  background: linear-gradient(135deg, #f06ad7, #7a57ff);
  color: #ffffff;
}
.home-footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 32px;
  align-items: end;
  padding: 32px 28px 22px 214px;
  margin-top: 46px;
  border-top: 1px solid rgba(118, 126, 164, 0.24);
}
.home-footer-wordmark {
  font-family: "Baloo 2", cursive;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.95;
  color: #8d63ff;
  text-shadow: 0 0 12px rgba(141, 99, 255, 0.38);
}
.home-footer-brand p {
  max-width: 440px;
  margin: 20px 0 0;
  color: rgba(255,255,255,0.4);
  font-size: 0.95rem;
  line-height: 1.7;
}
.home-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
  color: #f2f2f2;
}
.home-footer-social {
  display: flex;
  gap: 10px;
  color: rgba(255,255,255,0.72);
}
.home-footer-social span {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
}

.eyebrow {
  margin: 0 0 10px; color: var(--mint); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; font-weight: 800;
}
h1, h2, h3 { margin: 0; line-height: 0.95; font-family: "Baloo 2", cursive; }
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); gap: 22px; }
.hero-copy { padding: 12px 4px 18px; }
.hero-copy h1 { font-size: clamp(3rem, 5vw, 5.7rem); max-width: 10ch; }
.hero-text { color: var(--muted); line-height: 1.7; max-width: 66ch; margin: 16px 0 0; }
.search-wrap { display: block; margin: 22px 0 18px; max-width: 560px; }
.search-label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 0.92rem; }
#search-input {
  width: 100%; min-height: 58px; padding: 0 20px; border-radius: 20px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.08); color: var(--text); outline: none;
}
.category-pills, .player-actions, .footer-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.category-pill {
  min-height: 46px; padding: 0 18px; background: rgba(255,255,255,0.08); color: var(--text); border: 1px solid var(--line);
}
.category-pill.active, .category-pill:hover { background: rgba(57,199,255,0.14); border-color: rgba(57,199,255,0.34); transform: translateY(-2px); }
.hero-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hero-spotlight {
  position: relative;
  grid-column: 1 / -1;
  min-height: 360px;
  width: 100%;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(135deg, rgba(10,16,34,0.92), rgba(41,14,8,0.94));
  box-shadow: 0 30px 80px rgba(255, 88, 31, 0.24);
}
.hero-spotlight-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
}
.hero-spotlight-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 132, 0, 0.28), transparent 26%),
    radial-gradient(circle at 75% 30%, rgba(255, 64, 0, 0.24), transparent 22%),
    linear-gradient(180deg, rgba(8,14,31,0.25), rgba(8,14,31,0.9));
}
.hero-spotlight-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 360px;
  padding: 28px;
}
.hero-spotlight-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}
.spotlight-kicker {
  margin: 0 0 10px;
  color: #ffd4bf;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hot-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd44d, #ff6524);
  color: #210d05;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 26px rgba(255, 101, 36, 0.35);
}
.hot-badge.alt {
  background: rgba(255,255,255,0.12);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: none;
}
.hero-spotlight-logo {
  width: min(640px, 90%);
  filter:
    drop-shadow(0 0 14px rgba(255, 130, 44, 0.9))
    drop-shadow(0 0 36px rgba(255, 74, 28, 0.68))
    drop-shadow(0 0 70px rgba(255, 156, 52, 0.42));
}
.hero-spotlight-copy p {
  max-width: 60ch;
  margin: 16px 0 0;
  color: #ffe9dc;
  font-size: 1.02rem;
  line-height: 1.7;
}
.hero-feature, .game-card {
  position: relative; overflow: hidden; border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(8,15,33,0.94)); border: 1px solid rgba(255,255,255,0.1);
}
.hero-feature { min-height: 200px; }
.hero-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(8,14,31,0.84)); }
.hero-feature-copy { position: absolute; inset: auto 16px 16px 16px; z-index: 1; }

.stats-strip, .game-grid, .player-support { display: grid; gap: 16px; }
.stats-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 24px 0; }
.stat-card { padding: 20px; border-radius: 24px; background: rgba(255,255,255,0.08); border: 1px solid var(--line); }
.stat-card span { display: block; font: 800 2.1rem "Baloo 2", cursive; }
.stat-card small, .results-label, .game-card p, .article-card p, .info-card p, .source-list a, .site-footer p, .legal-page li { color: var(--muted); }
.home-search-bar {
  margin-bottom: 20px;
}
.compact-search {
  margin: 0;
  max-width: 460px;
}
.compact-search #search-input {
  min-height: 50px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
}

.section-title { margin-bottom: 16px; }
.section-title.row { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.section-title h2 { font-size: 2.4rem; }
.content-block { margin-bottom: 24px; }
.game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 14px;
  grid-auto-flow: dense;
}
.logo-grid-home {
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 12px;
  align-items: start;
}
.compact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.library-item[hidden] { display: none; }
.logo-grid > .library-item { display: contents; }
.logo-tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}
.logo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}
.logo-tile-overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  min-height: 40%;
  padding: 14px 12px 12px;
  background: linear-gradient(180deg, transparent, rgba(5, 9, 20, 0.88));
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 220ms ease;
}
.logo-tile-overlay strong {
  font-family: "Baloo 2", cursive;
  font-size: 1.1rem;
  line-height: 0.95;
}
.logo-tile-overlay small {
  color: #d7e6ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
}
.logo-tile:hover img,
.logo-tile:focus-visible img {
  transform: scale(1.05);
  filter: brightness(0.86);
}
.logo-tile:hover .logo-tile-overlay,
.logo-tile:focus-visible .logo-tile-overlay {
  opacity: 1;
  transform: translateY(0);
}
.logo-tile-featured {
  box-shadow: 0 20px 46px rgba(255, 101, 36, 0.24);
  border-color: rgba(255, 149, 71, 0.4);
}
.logo-tile-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 236px;
  border-radius: 28px;
}
.logo-tile-large .logo-tile-overlay strong {
  font-size: 1.5rem;
}
.logo-grid-home .logo-tile-featured.logo-tile-large {
  min-height: 300px;
}
.logo-grid-home .logo-tile-featured {
  z-index: 2;
}
.logo-grid-home .logo-tile-featured img {
  object-fit: contain;
  object-position: center;
  padding: 14px;
  background:
    radial-gradient(circle at 24% 30%, rgba(90, 255, 194, 0.16), transparent 24%),
    linear-gradient(135deg, #0d261b 0%, #143826 48%, #0a1227 100%);
}
.page-detail {
  background:
    radial-gradient(circle at top left, rgba(57, 199, 255, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 148, 71, 0.14), transparent 26%),
    linear-gradient(180deg, #13254f 0%, #0a1530 100%);
  color: #dfeaff;
}
.detail-shell-game {
  max-width: 1960px;
  padding-left: 160px;
}
.game-card { min-height: 100%; padding: 14px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.game-card::before {
  content: ""; position: absolute; width: 180px; height: 180px; right: -40px; bottom: -70px; border-radius: 50%;
  background: var(--card-accent, rgba(255,212,77,0.26)); filter: blur(10px);
}
.game-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.2); }
.game-card-media { position: relative; z-index: 1; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: rgba(255,255,255,0.08); }
.game-card-media img { width: 100%; height: 100%; object-fit: cover; }
.game-card-body { position: relative; z-index: 1; }
.card-topline { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.badge { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; background: rgba(255,255,255,0.12); }
.game-card h3 { font-size: 1.65rem; }
.game-card p { line-height: 1.65; }

.detail-topbar { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 18px; }
.detail-brand {
  position: sticky;
  top: 24px;
  z-index: 5;
  background: rgba(15,24,52,0.9);
  border-color: rgba(255,255,255,0.1);
  color: #f5fbff;
}
.detail-layout { display: grid; gap: 24px; }
.player-card { padding: 26px; border-radius: 40px; }
.player-card-showcase,
.article-card-game,
.content-block-similar {
  background: linear-gradient(180deg, rgba(14,24,52,0.96), rgba(10,18,40,0.96));
  color: #eef5ff;
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 24px 60px rgba(4,10,24,0.28);
}
.player-card-space-waves {
  padding: 26px;
}
.player-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.player-head h1, .legal-page h1 { font-size: clamp(2.8rem, 4vw, 4.8rem); max-width: 12ch; }
.detail-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.detail-game-logo {
  width: min(150px, 42vw);
  margin-bottom: 8px;
  border-radius: 18px;
  filter:
    drop-shadow(0 0 16px rgba(255, 129, 44, 0.92))
    drop-shadow(0 0 40px rgba(255, 74, 28, 0.68))
    drop-shadow(0 0 70px rgba(255, 164, 64, 0.36));
}
.detail-game-logo.compact {
  width: 72px;
  min-width: 72px;
  margin: 0;
  border-radius: 16px;
}
.primary-button { min-height: 52px; padding: 0 22px; background: linear-gradient(135deg, var(--yellow), var(--orange)); color: #102144; font-weight: 800; }
.primary-button:hover { transform: translateY(-2px); }
.player-frame-card {
  border-radius: 30px;
  overflow: hidden;
  background: #0d1834;
  border: 1px solid rgba(255,255,255,0.08);
}
.player-stage {
  position: relative;
  margin: 0;
  border-radius: 26px 26px 0 0;
  overflow: hidden;
  border: 0;
  background: #0f2748;
  aspect-ratio: 16 / 8.8;
}
.player-stage iframe { width: 100%; height: 100%; border: 0; background: #050914; }
.frame-fullscreen-button {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px 0 12px;
  border-radius: 16px;
  background: rgba(248,206,86,0.98);
  color: #162849;
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: 0 12px 28px rgba(8, 20, 44, 0.3);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.frame-fullscreen-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(8, 20, 44, 0.2);
}
.frame-fullscreen-button.is-active {
  background: #ff9347;
  color: #102144;
}
.frame-fullscreen-icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(16, 33, 68, 0.12);
}
.frame-fullscreen-button.is-active .frame-fullscreen-icon {
  background: rgba(255,255,255,0.22);
}
.frame-fullscreen-icon svg {
  width: 18px;
  height: 18px;
}
.frame-fullscreen-label {
  font-weight: 800;
  letter-spacing: 0.02em;
}
.player-stage-space-waves {
  margin: 0;
  border-radius: 26px 26px 0 0;
  border: 0;
  background: #17345d;
  aspect-ratio: 16 / 7.6;
  box-shadow: inset 0 0 0 1px rgba(130, 252, 230, 0.16), 0 18px 44px rgba(87, 232, 213, 0.2);
}
.game-meta-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 0 0 26px 26px;
  background: linear-gradient(180deg, rgba(18,31,62,0.98), rgba(12,22,45,0.98));
  color: #eaf2ff;
}
.game-meta-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.game-meta-logo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 18px;
  flex-shrink: 0;
}
.game-meta-kicker {
  margin: 0 0 8px;
  color: rgba(230,241,255,0.58);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 800;
}
.game-meta-copy h1 {
  max-width: none;
  color: #f5fbff;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}
.game-meta-copy p {
  margin: 6px 0 0;
  color: rgba(223,234,255,0.72);
  line-height: 1.5;
}
.game-meta-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  flex-shrink: 0;
}
.game-meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #dfeaff;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.game-meta-pill-hot {
  background: linear-gradient(135deg, #ffd44d, #ff8e3d);
  color: #1f1809;
}
.player-support { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.player-support-inline {
  margin-top: 18px;
}
.info-card {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #eaf2ff;
}
.control-list, .legal-page ul { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.8; }

.article-card { line-height: 1.8; }
.article-card-game {
  padding: 36px;
}
.article-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 420px);
  gap: 28px;
  align-items: start;
  margin-bottom: 18px;
}
.article-intro-copy h2 {
  font-size: clamp(2.8rem, 4vw, 4.6rem);
  color: #f5fbff;
  line-height: 0.96;
}
.article-intro-media img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(4,10,24,0.34);
}
.article-meta-pills,
.article-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.article-meta-pills {
  margin-top: 16px;
}
.article-meta-pills span,
.article-tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: #d7e8ff;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
}
.article-tag-row {
  margin-top: 26px;
}
.homepage-article .article-prose {
  max-width: 1040px;
}
.homepage-article .article-prose p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}
.homepage-article .article-prose h3 {
  margin: 22px 0 10px;
  font-size: 1.35rem;
}
.homepage-article .article-prose strong {
  color: var(--text);
}
.homepage-article .article-prose em {
  color: #dffcff;
}
.homepage-article .article-prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.space-waves-page {
  border-color: rgba(255, 101, 36, 0.18);
  box-shadow: 0 24px 60px rgba(255, 92, 31, 0.12);
}
.space-waves-page .section-title h2,
.space-waves-page .article-section h2 {
  color: #f5fbff;
}
.space-waves-page .article-section a {
  color: #8ecbff;
}
.space-waves-page .article-section em {
  color: #ffffff;
}
.article-card .section-title h2 { font-size: 2.8rem; }
.article-section + .article-section { margin-top: 26px; }
.article-section h2 { font-size: 2rem; margin-bottom: 12px; color: #f5fbff; }
.article-section h3 { font-size: 1.35rem; margin: 18px 0 8px; color: #f5fbff; }
.article-section p { margin: 0 0 14px; font-size: 1.02rem; color: #b8c9e8; }
.article-section a, .source-list a, .legal-page a { color: #8ecbff; text-decoration: underline; text-underline-offset: 3px; }
.article-section em { color: #ffffff; font-style: italic; }
.article-list {
  margin: 0;
  padding-left: 18px;
  color: #b8c9e8;
  line-height: 1.8;
}
.article-figure {
  margin: 18px 0 20px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
}
.article-figure img {
  width: 100%;
  border-radius: 16px;
}
.article-figure figcaption {
  margin-top: 10px;
  color: #b8c9e8;
  font-size: 0.94rem;
  line-height: 1.6;
}
.source-list { margin: 10px 0 0; padding-left: 18px; }

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(0, 2fr);
  gap: 38px;
  margin-top: 8px;
  background: linear-gradient(180deg, rgba(9,15,33,0.98), rgba(7,12,27,0.98));
  color: #eaf2ff;
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 24px 60px rgba(4,10,24,0.28);
}
.footer-brand { max-width: 420px; }
.footer-brand-link { display: inline-flex; margin-bottom: 14px; }
.footer-brand strong { display: block; font-size: 1.2rem; margin-bottom: 8px; font-family: "Baloo 2", cursive; }
.footer-copy { margin-top: 14px; font-size: 0.95rem; }
.footer-copy a, .footer-column a { color: #dbe8ff; }
.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.footer-column h3 { margin-bottom: 14px; font-size: 1.2rem; color: rgba(234,242,255,0.34); text-transform: uppercase; letter-spacing: 0.08em; }
.footer-column a {
  display: block;
  padding: 8px 0;
  color: #b8c9e8;
  transition: color 180ms ease;
}
.footer-column a:hover,
.footer-copy a:hover { color: #ffffff; }
.legal-page h1 { max-width: none; }

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 540px);
  gap: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(119, 246, 203, 0.18), transparent 24%),
    radial-gradient(circle at bottom right, rgba(255, 118, 189, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(14, 24, 58, 0.96), rgba(10, 17, 40, 0.92));
}
.home-hero-copy h1 {
  font-size: clamp(3.3rem, 6vw, 6.2rem);
  max-width: 10ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 18px;
}
.hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-secondary {
  min-height: 52px;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: #dfeaff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.spotlight-panel {
  display: grid;
  gap: 16px;
}
.spotlight-preview {
  display: block;
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(135deg, rgba(57, 199, 255, 0.18), rgba(255, 101, 36, 0.18));
}
.spotlight-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,9,20,0.1), rgba(5,9,20,0.3));
}
.spotlight-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spotlight-content {
  padding: 22px;
  border-radius: 30px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}
.spotlight-content h2 {
  margin-top: 12px;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
}
.spotlight-content p {
  margin: 14px 0 18px;
  color: #dce7ff;
  line-height: 1.7;
}
.spotlight-logo {
  width: min(220px, 70%);
  filter: drop-shadow(0 18px 34px rgba(3, 7, 22, 0.42));
}
.spotlight-logo-link {
  display: inline-block;
}
.spotlight-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.spotlight-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}
.spotlight-picker {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.spotlight-button {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.spotlight-button img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
}
.spotlight-button span {
  font-weight: 800;
  line-height: 1.25;
}
.spotlight-button:hover,
.spotlight-button.active {
  transform: translateY(-3px);
  border-color: rgba(57,199,255,0.42);
  background: rgba(57,199,255,0.1);
}
.category-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.filter-button {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.filter-button:hover,
.filter-button.active {
  transform: translateY(-2px);
  border-color: rgba(255, 212, 77, 0.44);
  background: rgba(255, 212, 77, 0.14);
}
.top-fifty-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.top-card[hidden] {
  display: none;
}

@media (max-width: 1180px) {
  .site-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
  .hero { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .compact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hero { grid-template-columns: 1fr; }
  .spotlight-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer,
  .footer-columns { grid-template-columns: 1fr; }
  .detail-shell-game { padding-left: 24px; }
  .article-intro-grid { grid-template-columns: 1fr; }
  .game-meta-strip { flex-direction: column; align-items: flex-start; }
  .home-main-layout { grid-template-columns: 1fr; }
  .home-side-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    border-right: 0;
    border-bottom: 1px solid rgba(118, 126, 164, 0.24);
    padding: 18px 0;
  }
  .home-side-link { min-height: 48px; }
  .home-footer {
    grid-template-columns: 1fr;
    padding-left: 28px;
    align-items: start;
  }
  .home-games-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .site-shell, .detail-shell { padding: 16px; }
  .page-panel, .player-card { padding: 18px; border-radius: 28px; }
  .stats-strip, .game-grid, .compact-grid, .player-support { grid-template-columns: 1fr; }
  .detail-topbar, .player-head, .section-title.row { flex-direction: column; align-items: stretch; }
  .hero-stack { grid-template-columns: 1fr; }
  .hero-spotlight,
  .hero-spotlight-copy { min-height: 300px; }
  .hero-spotlight-logo { width: 100%; }
  .hero-copy h1 { font-size: 3rem; }
  .logo-tile-large { grid-column: span 1; grid-row: span 1; }
  .logo-grid-home { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .home-hero-copy h1 { font-size: 3rem; }
  .spotlight-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { display: block; }
  .detail-shell-game { padding-left: 16px; }
  .detail-brand { position: static; }
  .player-stage,
  .player-stage-space-waves { aspect-ratio: 16 / 10.5; }
  .frame-fullscreen-button {
    right: 12px;
    bottom: 12px;
    min-height: 44px;
    padding: 0 12px 0 10px;
  }
  .frame-fullscreen-label {
    font-size: 0.86rem;
  }
  .game-meta-main { align-items: flex-start; }
  .game-meta-logo {
    width: 60px;
    height: 60px;
  }
  .article-card-game {
    padding: 22px;
  }
  .article-intro-copy h2 {
    font-size: 2.8rem;
  }
  .home-header {
    padding: 0 16px;
    min-height: 64px;
  }
  .home-wordmark {
    font-size: 1.5rem;
  }
  .home-main-layout {
    gap: 14px;
    padding: 0 12px 16px;
  }
  .home-side-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 12px 0 4px;
    border-bottom: 0;
    scrollbar-width: none;
  }
  .home-side-nav::-webkit-scrollbar {
    display: none;
  }
  .home-side-link {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 14px;
    gap: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 0.88rem;
  }
  .home-side-icon {
    width: 20px;
    height: 20px;
  }
  .home-side-icon svg {
    width: 18px;
    height: 18px;
  }
  .home-ad-label,
  .home-ad-label-bottom {
    display: none;
  }
  .home-player-module {
    max-width: none;
  }
  .home-player-shell {
    border-radius: 10px;
  }
  .home-player-stage {
    aspect-ratio: 4 / 4.6;
  }
  .home-player-logo {
    width: 120px;
  }
  .home-play-button {
    min-width: 148px;
    min-height: 52px;
    font-size: 0.95rem;
    padding: 0 20px;
  }
  .home-player-overlay h1 {
    font-size: 2rem;
    text-align: center;
    max-width: 8ch;
  }
  .home-player-caption {
    min-height: auto;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    font-size: 0.92rem;
    line-height: 1.45;
  }
  .home-frame-icon-button {
    align-self: flex-end;
    width: 38px;
    height: 38px;
  }
  .homepage-article {
    padding: 16px 14px 6px;
  }
  .homepage-article .section-title {
    margin-bottom: 12px;
  }
  .homepage-article .section-title h2 {
    font-size: 2rem;
    line-height: 1;
  }
  .homepage-article .article-prose p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  .homepage-article .article-prose h3 {
    font-size: 1.12rem;
  }
  .home-games-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .home-game-overlay {
    min-height: 46%;
    padding: 10px 10px 9px;
  }
  .home-game-overlay strong {
    font-size: 0.88rem;
  }
  .home-game-overlay small {
    font-size: 0.64rem;
  }
  .home-footer {
    margin-top: 28px;
    padding: 20px 12px 16px;
    gap: 14px;
  }
  .home-footer-links {
    justify-content: flex-start;
    gap: 10px 16px;
    font-size: 0.92rem;
  }
  .home-footer-wordmark {
    font-size: 2.6rem;
  }
  .home-footer-brand p {
    margin-top: 12px;
    font-size: 0.88rem;
  }
  .home-footer-social {
    flex-wrap: wrap;
  }
}
@media (max-width: 460px) {
  .home-main-layout {
    padding: 0 10px 14px;
  }
  .home-player-stage {
    aspect-ratio: 4 / 5;
  }
  .home-games-wall {
    grid-template-columns: 1fr;
  }
  .home-player-overlay {
    gap: 14px;
  }
  .home-player-logo {
    width: 104px;
  }
  .home-wordmark {
    font-size: 1.34rem;
  }
}
