/* Ecomaterial Games — Cyborg-inspired dark gaming marketplace */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&display=swap');

:root {
  --bg: #1f2122;
  --panel: #27292a;
  --panel-2: #1f2122;
  --card: #1f2122;
  --accent: #e75e8d;
  --accent-hot: #ff2e8c;
  --mint: #7dffb2;
  --text: #ffffff;
  --muted: #666666;
  --soft: #a8a8a8;
  --radius: 23px;
  --radius-sm: 16px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  --max: 1140px;
}

iframe {
  margin: 0 auto;
}

.ecomaterialhub-ad-banner-container {
  text-align: center;
  margin: 50px 0px 26px 0;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  line-height: 1;
}

.section-inner,
.container-eco {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Loading — hexagonal energy ring */
.site-loading {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.1rem;
  padding: 2rem;
  background:
    radial-gradient(ellipse 55% 40% at 50% 42%, rgba(231, 94, 141, 0.18) 0%, transparent 58%),
    radial-gradient(ellipse 40% 30% at 78% 18%, rgba(125, 255, 178, 0.08) 0%, transparent 50%),
    #141516;
  transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
}
.site-loading.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.03);
}
.site-loading__stage {
  position: relative;
  width: 140px;
  height: 140px;
  display: grid;
  place-items: center;
}
.site-loading__orbit {
  position: absolute;
  inset: 0;
  animation: orbit-spin 2.2s linear infinite;
}
.site-loading__svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.site-loading__hex-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 3;
}
.site-loading__hex-arc {
  fill: none;
  stroke: url(#loadingGrad);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 72 200;
  filter: drop-shadow(0 0 6px rgba(231, 94, 141, 0.65));
}
.site-loading__spark {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 10px 3px rgba(231, 94, 141, 0.95),
    0 0 22px 8px rgba(125, 255, 178, 0.35);
}
.site-loading__core {
  position: relative;
  z-index: 1;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  background: #27292a;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  animation: core-breathe 1.8s ease-in-out infinite;
}
.site-loading__logo {
  width: 40px;
  height: 40px;
}
.site-loading__brand {
  margin: 0.15rem 0 0;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.site-loading__brand em {
  font-style: italic;
  color: var(--accent);
}
.site-loading__text {
  margin: 0;
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-loading__meter {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.2rem;
}
.site-loading__meter span {
  width: 22px;
  height: 5px;
  border-radius: 99px;
  background: #2c2e30;
  overflow: hidden;
  position: relative;
}
.site-loading__meter span::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--accent), var(--mint));
  transform: scaleX(0);
  transform-origin: left center;
  animation: meter-fill 1.5s ease-in-out infinite;
}
.site-loading__meter span:nth-child(1)::after { animation-delay: 0s; }
.site-loading__meter span:nth-child(2)::after { animation-delay: 0.12s; }
.site-loading__meter span:nth-child(3)::after { animation-delay: 0.24s; }
.site-loading__meter span:nth-child(4)::after { animation-delay: 0.36s; }
.site-loading__meter span:nth-child(5)::after { animation-delay: 0.48s; }

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}
@keyframes core-breathe {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.05); filter: brightness(1.12); }
}
@keyframes meter-fill {
  0%, 100% { transform: scaleX(0.15); opacity: 0.45; }
  45% { transform: scaleX(1); opacity: 1; }
}
@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
  40% { transform: translateY(-6px); opacity: 1; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0 0.5rem;
  background: linear-gradient(180deg, rgba(31, 33, 34, 0.98) 60%, rgba(31, 33, 34, 0.7) 100%);
  backdrop-filter: blur(10px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  min-width: 0;
}
.brand__mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.brand__mark img { width: 100%; height: 100%; }
.brand__title {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand__title span { color: var(--accent); }

.search-box {
  flex: 1;
  max-width: 360px;
  position: relative;
  display: none;
  margin-inline: auto;
}
@media (min-width: 900px) {
  .search-box { display: block; }
}
.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: var(--panel);
  color: var(--text);
  border-radius: 23px;
  padding: 0.75rem 2.75rem 0.75rem 1.15rem;
  font: inherit;
  font-size: 0.9rem;
}
.search-box input::placeholder { color: var(--muted); }
.search-box .search-icon {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.35rem;
}
@media (min-width: 1024px) {
  .nav-links { display: flex; }
}
.nav-links a {
  padding: 0.55rem 1rem;
  border-radius: 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.is-active {
  background: var(--accent);
  color: #fff;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
}
@media (min-width: 1024px) {
  .menu-btn { display: none; }
}

.menu-panel {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 200px;
  background: var(--panel);
  border-radius: 16px;
  padding: 0.5rem;
  box-shadow: var(--shadow);
  z-index: 120;
}
.menu-panel.is-open { display: block; }
.menu-panel a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 500;
}
.menu-panel a:hover,
.menu-panel a.is-active {
  background: rgba(231, 94, 141, 0.15);
  color: var(--accent);
}
.menu-wrap { position: relative; }

/* Page shell */
.page-content {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 1rem auto 2rem;
  width: min(100% - 2rem, var(--max));
  max-width: 100%;
  box-shadow: var(--shadow);
  overflow-x: clip;
}
@media (min-width: 768px) {
  .page-content { padding: 1.75rem; }
}

/* Buttons */
.btn-pink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-pink:hover {
  background: #fff;
  color: var(--accent);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  border-radius: 25px;
  padding: 0.55rem 1.15rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-ghost:hover {
  background: #fff;
  color: var(--accent);
}
.btn-ghost.is-disabled,
.btn-ghost[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

.back-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--panel);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 600;
  font-size: 0.88rem;
}
.back-pill:hover { color: var(--accent); }

/* Hero */
.hero-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(15, 15, 15, 0.88) 0%, rgba(15, 15, 15, 0.45) 55%, rgba(15, 15, 15, 0.2) 100%),
    url('../assets/hero-banner.jpg') center / cover no-repeat,
    linear-gradient(135deg, #1a2a28, #2a1524 55%, #1f2122);
  padding: 2rem 1.5rem;
  margin-bottom: 1.75rem;
}
@media (min-width: 768px) {
  .hero-banner {
    min-height: 360px;
    padding: 3rem 2.5rem;
  }
}
.hero-banner__eyebrow {
  margin: 0 0 0.5rem;
  color: var(--soft);
  font-size: 0.95rem;
  font-weight: 500;
}
.hero-banner__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 14ch;
  text-wrap: balance;
}
.hero-banner__title em {
  font-style: italic;
  color: var(--accent);
}
.hero-banner__copy {
  margin: 0 0 1.25rem;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Section heads */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
  min-width: 0;
}
.section-title {
  margin: 0;
  font-size: clamp(1.1rem, 2.5vw, 1.55rem);
  font-weight: 700;
  min-width: 0;
}
.section-title em {
  font-style: italic;
  color: var(--accent);
}
.section-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
}
.section-link:hover { text-decoration: underline; }
.section-sub {
  margin: 0.35rem 0 0;
  color: var(--soft);
  font-size: 0.9rem;
}

.band { margin-bottom: 2rem; }

/* Game cards */
.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 768px) {
  .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; }
}

.game-card {
  display: block;
  background: var(--card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(231, 94, 141, 0.18);
}
.game-card__media {
  aspect-ratio: 1.25 / 1;
  overflow: hidden;
  background: #171819;
}
.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.game-card:hover .game-card__media img { transform: scale(1.05); }
.game-card__body { padding: 0.85rem 0.95rem 1rem; }
.game-card__name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-card__meta {
  margin: 0.2rem 0 0.55rem;
  color: var(--muted);
  font-size: 0.8rem;
}
.game-card__stats {
  display: flex;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
}
.game-card__stats li {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.game-card__stats .material-symbols-outlined {
  font-size: 1rem;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 20;
}

/* Featured carousel */
.featured-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.featured-arrows { display: flex; gap: 0.5rem; }
.featured-arrow {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.featured-arrow:hover { color: var(--accent); }
.featured-arrow:disabled { opacity: 0.35; cursor: default; }

.h-scroll-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
}
.h-scroll-track.no-scrollbar {
  scrollbar-width: none;
}
.h-scroll-track.no-scrollbar::-webkit-scrollbar { display: none; }
.h-scroll-item {
  flex: 0 0 min(78%, 260px);
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .h-scroll-item { flex-basis: 240px; }
}
.h-scroll-item--featured { flex-basis: min(86%, 320px); }
@media (min-width: 768px) {
  .h-scroll-item--featured { flex-basis: 300px; }
}

.featured-tile {
  position: relative;
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--card);
  min-height: 190px;
}
.featured-tile__media {
  aspect-ratio: 1.45 / 1;
}
.featured-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-tile__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.85) 100%);
}
.featured-tile__info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem;
}
.featured-tile__info h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}
.featured-tile__info p {
  margin: 0.15rem 0 0;
  color: var(--soft);
  font-size: 0.8rem;
}
.play-orb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* Categories */
.cat-chip {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  min-width: 96px;
  padding: 1rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--card);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cat-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(231, 94, 141, 0.16);
}
.cat-chip__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(231, 94, 141, 0.14);
  color: var(--accent);
}
.cat-chip__label {
  font-size: 0.82rem;
  font-weight: 600;
}

/* Split: hot + top */
.split-band {
  display: grid;
  gap: 1.75rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.split-band > * {
  min-width: 0;
  max-width: 100%;
}
@media (min-width: 960px) {
  .split-band {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
  }
}

.hot-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
  max-width: 100%;
}
.hot-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.7rem;
  border-radius: 14px;
  background: var(--card);
  transition: background 0.2s;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
@media (min-width: 480px) {
  .hot-item {
    gap: 0.85rem;
    padding: 0.7rem 0.85rem;
  }
}
.hot-item:hover { background: #232526; }
.hot-rank {
  width: 1.25rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
  font-style: italic;
  flex-shrink: 0;
  text-align: center;
}
@media (min-width: 480px) {
  .hot-rank {
    width: 1.4rem;
    font-size: 1.35rem;
  }
}
.hot-thumb {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #171819;
}
@media (min-width: 480px) {
  .hot-thumb {
    width: 54px;
    height: 54px;
  }
}
.hot-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hot-item__info {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.hot-name {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hot-meta {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hot-item__play {
  margin-left: auto;
  flex-shrink: 0;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
}
@media (min-width: 480px) {
  .hot-item__play {
    padding: 0.45rem 0.95rem;
    font-size: 0.8rem;
  }
}

.top-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  min-width: 0;
  max-width: 100%;
}
.top-tile {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1.35 / 1;
  background: var(--card);
  min-width: 0;
  max-width: 100%;
}
.top-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.top-tile:hover img { transform: scale(1.05); }
.top-tile__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.75rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
  font-size: 0.82rem;
  font-weight: 600;
}

/* More / library rows */
.library-list { display: flex; flex-direction: column; gap: 0.75rem; }
.library-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem;
  border-radius: 14px;
  background: var(--card);
}
@media (min-width: 768px) {
  .library-row {
    grid-template-columns: 64px 1.4fr 1fr 1fr auto;
  }
}
.library-row img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
}
.library-row h4 {
  margin: 0;
  font-size: 0.95rem;
}
.library-row span {
  color: var(--muted);
  font-size: 0.8rem;
}
.library-meta { display: none; }
@media (min-width: 768px) {
  .library-meta { display: block; }
}

/* Detail */
.page-shell {
  width: min(100% - 2rem, var(--max));
  margin: 1rem auto 2.5rem;
}
.detail-hero {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}
.detail-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(0.45);
  transform: scale(1.1);
}
.detail-panel {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}

.prose-play h2 {
  margin: 1.5rem 0 0.6rem;
  font-size: 1.15rem;
  color: var(--accent);
}
.prose-play p,
.prose-play li {
  color: var(--soft);
  line-height: 1.65;
  font-size: 0.95rem;
}
.prose-play a { color: var(--accent); text-decoration: underline; }
.prose-play ul { padding-left: 1.2rem; }

/* Play page */
.play-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #121314;
}
.play-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--panel);
  border-bottom: 1px solid #333;
}
.play-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border-radius: 12px;
  background: var(--bg);
  font-weight: 600;
  font-size: 0.85rem;
}
.play-bar__btn:hover { color: var(--accent); }
.play-bar__center {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.play-bar__logo { width: 28px; height: 28px; }
.play-bar__title {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.play-stage {
  flex: 1;
  position: relative;
  background: #000;
}
.play-stage__frame {
  width: 100%;
  height: calc(100vh - 64px);
  border: 0;
  opacity: 0;
  transition: opacity 0.35s;
}
.play-stage__frame.is-ready { opacity: 1; }
.play-stage__loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: 2rem;
}
.play-stage__loading.is-hidden { display: none; }
.play-stage__orb {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  background: rgba(231, 94, 141, 0.18);
  display: grid;
  place-items: center;
  color: var(--accent);
}
.play-stage__label { margin: 0; font-weight: 700; }
.play-stage__hint { margin: 0; color: var(--soft); font-size: 0.9rem; }
.play-stage__dots {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 0.75rem;
}
.play-stage__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: bounce 1s infinite ease-in-out;
}
.play-stage__dots span:nth-child(2) { animation-delay: 0.15s; }
.play-stage__dots span:nth-child(3) { animation-delay: 0.3s; }

/* Footer */
.site-footer {
  padding: 2rem 1rem 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.site-footer a:hover { color: var(--accent); }
.site-footer .brand {
  justify-content: center;
  margin-bottom: 0.75rem;
}

/* Ads */
.ad-slot {
  display: flex;
  justify-content: center;
  margin: 0 0 1.25rem;
  min-height: 0;
}
.ecomaterial-ad-banner-mount {
  max-width: 100%;
}

/* Skeletons */
.skel {
  background: linear-gradient(90deg, #2a2c2d 25%, #323536 50%, #2a2c2d 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite linear;
  border-radius: 14px;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

body.is-loading { overflow: hidden; }

.min-w-0 { min-width: 0; }
.flex-1 { flex: 1 1 auto; }
.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.text-white { color: #fff; }
