/* =========================================================
   360GamePlay — Premium Gaming Portal
   Original design system (inspired by, not copied from, Poki)
   v2 — gamepad brand, hero slider, 3-col player, polished UX
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --bg:            #0c0c16;
  --bg-soft:       #12121f;
  --surface:       #181828;
  --surface-2:     #20203360;
  --surface-hi:    #262640;
  --border:        #2a2a40;
  --text:          #f4f4fb;
  --muted:         #b3b3cc;
  --muted-2:       #7c7c98;

  --brand-1:       #7c5cff; /* electric violet */
  --brand-2:       #ff4d9d; /* hot pink        */
  --accent:        #19e3ff; /* cyan            */
  --brand-grad:    linear-gradient(135deg, #7c5cff 0%, #ff4d9d 100%);
  --brand-grad-3:  linear-gradient(120deg, #19e3ff 0%, #7c5cff 50%, #ff4d9d 100%);

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;

  --shadow:    0 8px 30px rgba(0,0,0,.35);
  --shadow-hi: 0 14px 50px rgba(124,92,255,.35);

  --maxw: 1380px;
  --maxw-play: 1480px;
  --gap:  18px;
  --nav-h: 66px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(124,92,255,.18), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(255,77,157,.12), transparent 55%);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Brand / logo (gamepad) ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; }
.brand__mark {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--brand-grad);
  color: #fff;
  box-shadow: 0 6px 18px rgba(124,92,255,.5);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.brand__mark svg { width: 24px; height: 24px; display: block; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.brand:hover .brand__mark { transform: translateY(-1px) rotate(-7deg) scale(1.06); box-shadow: 0 10px 26px rgba(255,77,157,.55); }
.brand__name { font-size: 21px; letter-spacing: -.3px; line-height: 1; }
.brand__name b { background: var(--brand-grad-3); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand__name span { color: var(--text); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(12,12,22,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; gap: 18px; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.nav__search { flex: 1; max-width: 520px; position: relative; margin: 0 auto; }
.nav__search input {
  width: 100%; height: 44px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; color: var(--text);
  padding: 0 18px 0 44px; font-size: 14.5px; transition: border-color .2s, box-shadow .2s;
}
.nav__search input::placeholder { color: var(--muted-2); }
.nav__search input:focus { border-color: var(--brand-1); box-shadow: 0 0 0 4px rgba(124,92,255,.18); outline: none; }
.nav__search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted);
  transition: color .15s, background .15s;
}
.nav__links a:hover { color: var(--text); background: var(--surface); }
.nav__cta {
  background: var(--brand-grad); color: #fff !important; font-weight: 700 !important;
  box-shadow: 0 6px 18px rgba(124,92,255,.4);
}
.nav__cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.nav__menu-btn { display: none; background: var(--surface); border: 1px solid var(--border); color: var(--text); width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }

/* ---------- Category pills (now below hero, contained sticky bar) ---------- */
.cats { position: sticky; top: calc(var(--nav-h) + 8px); z-index: 40; margin: 26px 0 6px; }
.cats__row {
  display: flex; gap: 10px; overflow-x: auto; padding: 10px;
  background: rgba(18,18,31,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: 16px; scrollbar-width: none;
}
.cats__row::-webkit-scrollbar { display: none; }
.pill {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 17px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); font-size: 13.5px; font-weight: 600; white-space: nowrap;
  transition: transform .18s var(--ease), color .18s, border-color .18s, background .18s, box-shadow .18s;
}
.pill:hover { color: var(--text); border-color: var(--brand-1); transform: translateY(-1px); }
.pill:active { transform: translateY(0) scale(.97); }
.pill.is-active { background: var(--brand-grad); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(124,92,255,.4); }
.pill .ico { font-size: 15px; }

/* ---------- Section ---------- */
.section { padding: 34px 0 8px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; gap: 12px; }
.section__head h2 { font-size: 22px; font-weight: 800; letter-spacing: -.3px; display: inline-flex; align-items: center; gap: 10px; }
.section__head h2::before { content: ""; width: 5px; height: 22px; border-radius: 3px; background: var(--brand-grad); display: inline-block; }
.section__count { color: var(--muted); font-size: 14px; font-weight: 500; }

/* ---------- HERO SLIDER ---------- */
.hero { padding-top: 26px; }
.slider {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  height: clamp(310px, 40vw, 460px);
  border: 1px solid var(--border); box-shadow: var(--shadow); isolation: isolate;
  background: var(--surface);
  touch-action: pan-y;
}
.slide {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  opacity: 0; visibility: hidden; transition: opacity .7s var(--ease);
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); transition: transform 6s ease; }
.slide.is-active img { transform: scale(1.12); }
.slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,8,16,.94) 0%, rgba(8,8,16,.66) 38%, rgba(8,8,16,.12) 100%); }
.slide__body { padding: clamp(24px, 4vw, 48px); max-width: 640px; }
.slide__tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px; color: var(--accent); margin-bottom: 12px; }
.slide__tag::before { content: "★"; }
.slide__title { font-size: clamp(28px, 4.6vw, 46px); line-height: 1.05; font-weight: 900; letter-spacing: -.6px; margin-bottom: 10px; }
.slide__desc { color: #d8d8ec; font-size: clamp(14px, 1.3vw, 16px); max-width: 480px; margin-bottom: 22px; }

.slider__dots { position: absolute; bottom: 16px; right: 22px; display: flex; gap: 8px; z-index: 4; }
.dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; background: rgba(255,255,255,.4); transition: width .25s var(--ease), background .25s; }
.dot.is-active { width: 28px; border-radius: 6px; background: var(--brand-grad); }
.slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(12,12,22,.5); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.18); color: #fff;
  display: grid; place-items: center; opacity: 0; transition: opacity .2s, background .2s, transform .2s;
}
.slider:hover .slider__arrow { opacity: 1; }
.slider__arrow:hover { background: rgba(124,92,255,.7); }
.slider__arrow.prev { left: 14px; }
.slider__arrow.next { right: 14px; }
.slider__arrow svg { width: 22px; height: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 15.5px;
  background: var(--brand-grad); color: #fff;
  box-shadow: 0 10px 26px rgba(124,92,255,.45);
  transition: transform .15s var(--ease), filter .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.07); box-shadow: 0 16px 34px rgba(255,77,157,.42); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 18px; height: 18px; }
.btn--ghost { background: var(--surface); border: 1px solid var(--border); box-shadow: none; color: var(--text); height: 46px; }
.btn--ghost:hover { border-color: var(--brand-1); box-shadow: 0 6px 18px rgba(124,92,255,.25); }

/* ---------- Game grid + cards (with skeleton) ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: var(--gap);
}
.card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 1 / 1; background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
  will-change: transform;
}
.card:hover { transform: translateY(-6px) scale(1.018); box-shadow: var(--shadow-hi); border-color: var(--brand-1); }
.card::after { /* skeleton shimmer */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, #1b1b2c 28%, #2a2a44 48%, #1b1b2c 68%);
  background-size: 220% 100%; animation: shimmer 1.3s linear infinite;
  transition: opacity .45s ease;
}
.card.loaded::after { opacity: 0; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0; transition: opacity .45s ease; }
.card.loaded img { opacity: 1; }
.card__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(0deg, rgba(8,8,16,.96) 4%, rgba(8,8,16,.15) 55%, transparent 80%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 12px;
}
.card__title { font-size: 14.5px; font-weight: 700; line-height: 1.2; }
.card__cat { font-size: 11.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.card__badge {
  position: absolute; top: 9px; left: 9px; z-index: 4;
  font-size: 10px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
  background: var(--brand-grad); color: #fff; padding: 4px 9px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(255,77,157,.4);
}
.card__play {
  position: absolute; inset: 0; z-index: 3; display: grid; place-items: center;
  background: rgba(12,12,22,.45); opacity: 0; transition: opacity .2s;
}
.card:hover .card__play { opacity: 1; }
.card__play span {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px;
  border-radius: 999px; background: #fff; color: #12121f; font-weight: 800; font-size: 14px;
  box-shadow: 0 8px 22px rgba(0,0,0,.4); transform: translateY(8px); transition: transform .2s var(--ease);
}
.card:hover .card__play span { transform: translateY(0); }

@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* hidden by filter/search */
.card.is-hidden, .empty { display: none; }
.empty.show { display: block; text-align: center; padding: 60px 20px; color: var(--muted); }
.empty.show .empty__big { font-size: 44px; margin-bottom: 10px; }

/* ---------- Ad placeholder (generic) ---------- */
.ad-slot { margin: 30px auto; max-width: 970px; text-align: center; }
.ad-slot__inner {
  border: 1px dashed var(--border); border-radius: var(--radius);
  background: var(--surface-2); padding: 18px; min-height: 110px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.ad-slot__label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
.ad-slot__box { color: var(--muted); font-size: 13px; }

/* ---------- FOOTER (high-contrast premium) ---------- */
.footer { margin-top: 60px; position: relative; background: linear-gradient(180deg, #11111f 0%, #09090f 100%); border-top: 1px solid var(--border); }
.footer::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 3px; background: var(--brand-grad-3); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding: 50px 0 34px; }
.footer__about p { color: #c9c9e0; font-size: 14px; margin-top: 16px; max-width: 360px; line-height: 1.6; }
.footer__col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; color: #fff; margin-bottom: 15px; position: relative; padding-bottom: 9px; }
.footer__col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 3px; border-radius: 2px; background: var(--brand-grad); }
.footer__col a { display: block; color: #bdbdd8; font-size: 14px; padding: 6px 0; transition: color .15s, transform .15s; }
.footer__col a:hover { color: var(--accent); transform: translateX(3px); }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--muted); transition: all .15s; }
.footer__social a:hover { color: #fff; border-color: var(--brand-1); background: var(--surface-hi); transform: translateY(-2px); }
.footer__bottom { border-top: 1px solid var(--border); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__bottom p { color: #b0b0cc; font-size: 13px; }
.footer__bottom .made { color: var(--muted-2); }

/* ---------- PLAY PAGE — 3 column layout ---------- */
.play-wrap { max-width: var(--maxw-play); margin: 0 auto; padding: 20px 20px 0; }
.play-layout {
  display: grid;
  /* ~15% / ~70% / ~15% — main game area gets the extra width */
  grid-template-columns: 218px minmax(0, 1fr) clamp(216px, 13vw, 264px);
  grid-template-areas: "left main right";
  gap: 14px; align-items: start;
}
.play-aside--left  { grid-area: left; }
.play-main         { grid-area: main; min-width: 0; }
.play-aside--right { grid-area: right; }
.play-aside--left, .play-aside--right { position: sticky; top: calc(var(--nav-h) + 14px); }

.play-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.play-head .back { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-weight: 600; font-size: 14px; transition: all .15s; }
.play-head .back:hover { border-color: var(--brand-1); transform: translateX(-2px); }
.play-head h1 { font-size: 22px; font-weight: 800; letter-spacing: -.3px; }
.play-head .play-cat { color: var(--accent); font-size: 13px; font-weight: 600; }
.play-meta { margin-left: auto; display: flex; gap: 10px; }

/* Game stage — strict 16:9, fills exactly, no zoom/clip */
.stage {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: #000; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-hi);
}
.stage iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; display: block; }

.play-info { margin-top: 22px; }
.play-info .desc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.play-info .desc h2 { font-size: 18px; margin-bottom: 8px; }
.play-info .desc p { color: var(--muted); font-size: 14.5px; }
.play-info .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.play-info .tags span { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--surface-hi); border: 1px solid var(--border); padding: 5px 12px; border-radius: 999px; }
.more-row { margin-top: 8px; }

/* Like / Dislike reactions */
.reactions { display: flex; align-items: center; gap: 10px; margin-top: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 7px 12px; flex-wrap: wrap; }
.react-btn { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 999px; background: var(--surface-hi); border: 1px solid var(--border); color: var(--text); font-weight: 700; font-size: 13px; transition: transform .15s var(--ease), border-color .15s, background .15s; }
.react-btn:hover { transform: translateY(-1px); border-color: var(--brand-1); }
.react-btn:active { transform: translateY(0) scale(.97); }
.react-btn .emoji { font-size: 15px; line-height: 1; }
.react-btn .count { color: var(--muted); font-weight: 700; }
.react-btn.like.is-on { background: linear-gradient(135deg, #1f9d57, #34d27f); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(52,210,127,.35); }
.react-btn.like.is-on .count { color: #eafff3; }
.react-btn.dislike.is-on { background: linear-gradient(135deg, #c0344e, #ff5a78); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(255,90,120,.35); }
.react-btn.dislike.is-on .count { color: #ffeaee; }
.react-bar { flex: 1; min-width: 80px; height: 6px; border-radius: 999px; background: linear-gradient(90deg, #ff5a78, #ff8aa0); overflow: hidden; position: relative; }
.react-bar span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, #1f9d57, #34d27f); transition: width .35s var(--ease); }
.react-ratio { font-size: 12.5px; font-weight: 800; color: #34d27f; min-width: 36px; text-align: right; }

/* How to Play */
.howto { margin-top: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.howto h2 { font-size: 18px; margin-bottom: 8px; display: inline-flex; align-items: center; gap: 9px; }
.howto h2 .ico { font-size: 18px; }
.howto p { color: var(--muted); font-size: 14.5px; line-height: 1.6; max-width: 720px; }

@media (max-width: 460px) {
  .reactions { gap: 10px; }
  .react-bar { order: 3; flex-basis: 100%; }
  .react-ratio { order: 2; }
}

/* Sidebar cards (related / popular) */
.aside-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.aside-card + .aside-card { margin-top: 16px; }
.aside-card h3 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 10px; display: flex; align-items: center; gap: 7px; }
.aside-card h3 .ico { font-size: 14px; }
.mini-list { display: flex; flex-direction: column; gap: 4px; }
.mini { display: flex; gap: 11px; align-items: center; padding: 7px; border-radius: 12px; transition: background .15s, transform .15s; }
.mini:hover { background: var(--surface-hi); transform: translateX(2px); }
.mini__thumb { position: relative; width: 54px; height: 54px; border-radius: 11px; overflow: hidden; flex: 0 0 auto; background: var(--surface-hi); }
.mini__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini__meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.mini__t { display: block; max-width: 100%; font-size: 13px; font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini__c { display: block; max-width: 100%; font-size: 11px; color: var(--muted); font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Right ad rail */
.ad-rail { display: flex; flex-direction: column; gap: 16px; }
.ad-unit {
  border: 1px dashed var(--border); border-radius: var(--radius);
  background: var(--surface-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center; padding: 14px; margin: 0 auto; width: 100%;
}
.ad-unit--300x600 { max-width: 300px; min-height: 600px; }
.ad-unit--300x250 { max-width: 300px; min-height: 250px; }
.ad-unit__label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
.ad-unit__size { color: var(--muted); font-size: 13px; font-weight: 600; }

/* fade in */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp .5s var(--ease) both; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .play-layout { grid-template-columns: 200px minmax(0, 1fr); grid-template-areas: "left main" "right right"; }
  .play-aside--right { position: static; }
  .ad-rail { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .ad-unit--300x600 { min-height: 250px; max-width: 300px; }
}
@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .play-layout { grid-template-columns: 1fr; grid-template-areas: "main" "right" "left"; }
  .play-aside--left, .play-aside--right { position: static; }
  .play-aside--left .mini-list { flex-direction: row; overflow-x: auto; gap: 10px; scrollbar-width: none; padding-bottom: 4px; }
  .play-aside--left .mini-list::-webkit-scrollbar { display: none; }
  .play-aside--left .mini { flex: 0 0 200px; }
  .aside-card + .aside-card { margin-top: 0; }
  .play-aside--left { display: flex; gap: 14px; flex-wrap: wrap; }
  .play-aside--left .aside-card { flex: 1 1 280px; }
}
@media (max-width: 760px) {
  :root { --gap: 12px; }
  .nav__links { display: none; }
  .nav__menu-btn { display: inline-flex; }
  .nav__search { max-width: none; }
  .brand__name { font-size: 18px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__mark svg { width: 22px; height: 22px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .section__head h2 { font-size: 19px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__about { grid-column: 1 / -1; }
  .play-meta { margin-left: 0; width: 100%; }
  .slider__arrow { display: none; }
}
@media (max-width: 460px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; }
  .play-aside--left .mini { flex-basis: 180px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto; }
  .slide.is-active img { transform: none; }
}
