:root {
  --primary: #4f46e5;
  --secondary: #12121f;
  --accent: #818cf8;
  --bg: color-mix(in srgb, var(--secondary) 92%, #050508);
  --surface: color-mix(in srgb, var(--secondary) 78%, #ffffff 6%);
  --surface-2: color-mix(in srgb, var(--secondary) 62%, #ffffff 11%);
  --text: #f8fafc;
  --muted: color-mix(in srgb, var(--text) 58%, var(--secondary));
  --line: color-mix(in srgb, var(--accent) 22%, transparent);
  --hero-glow: color-mix(in srgb, var(--accent) 38%, transparent);
  --cta-text: #0b0f14;
  --radius: 6px;
  --radius-pill: 999px;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.wrap {
  width: min(780px, calc(100% - 2rem));
  margin-inline: auto;
  max-width: 100%;
  min-width: 0;
}
.wrap-wide {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
  max-width: 100%;
  min-width: 0;
}

/* —— Header (Platinum Slots: logo слева, nav по центру, CTA справа) —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--secondary) 98%, #000);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 10%, transparent);
  padding-top: env(safe-area-inset-top, 0px);
}
.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  min-height: 58px;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  justify-self: start;
  min-width: 0;
}
.menu-toggle {
  display: none;
}
.brand-logo {
  max-height: 32px;
  height: 32px;
  width: auto;
  max-width: min(150px, 42vw);
  object-fit: contain;
}
.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem 1.1rem;
  justify-self: center;
  min-width: 0;
  max-width: 100%;
}
.header-nav a {
  padding: 0.35rem 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--text) 82%, var(--muted));
  transition: color 0.15s;
  white-space: nowrap;
}
.header-nav a:hover { color: var(--primary); }
.header-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  justify-self: end;
  flex-shrink: 0;
}
.header-cta .btn {
  padding: 0.52rem 1rem;
  font-size: 0.76rem;
}
.header-cta .btn-ghost {
  border-color: color-mix(in srgb, var(--text) 50%, transparent);
  border-radius: calc(var(--radius) + 1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: var(--radius);
  padding: 0.58rem 1.15rem;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}
.btn-primary {
  background: var(--primary);
  color: var(--cta-text);
  box-shadow: 0 4px 18px color-mix(in srgb, var(--primary) 42%, transparent);
}
.btn-ghost {
  background: transparent;
  border-color: color-mix(in srgb, var(--text) 55%, transparent);
  color: var(--text);
}
.btn-outline {
  background: transparent;
  border-color: color-mix(in srgb, var(--text) 45%, transparent);
  color: var(--text);
}
.btn-lg {
  padding: 0.88rem 1.85rem;
  font-size: 0.84rem;
  border-radius: calc(var(--radius) + 2px);
  min-width: 11rem;
  justify-content: center;
}
.btn-block { width: 100%; }

/* —— Hero: баннер на всю ширину, текст поверх слева (как Platinum Slots) —— */
.hero {
  position: relative;
  background: var(--bg);
}
.hero-shell {
  padding: 0.65rem 0 0;
}
.hero-banner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: clamp(280px, 42vh, 430px);
  background: color-mix(in srgb, var(--secondary) 88%, var(--accent));
  isolation: isolate;
}
.hero-banner-hit {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}
.hero-banner-hit .banner {
  width: 100%;
  height: 100%;
  min-height: clamp(280px, 42vh, 430px);
  object-fit: cover;
  object-position: center right;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--secondary) 96%, #000) 0%,
      color-mix(in srgb, var(--secondary) 82%, transparent) 42%,
      color-mix(in srgb, var(--secondary) 35%, transparent) 62%,
      transparent 78%),
    linear-gradient(0deg, color-mix(in srgb, var(--secondary) 55%, transparent) 0%, transparent 38%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: clamp(280px, 42vh, 430px);
  padding: clamp(1.35rem, 3.5vw, 2.35rem) clamp(1.25rem, 3vw, 2rem);
  max-width: min(560px, 58%);
  pointer-events: none;
}
.hero-copy .hero-actions,
.hero-copy .btn {
  pointer-events: auto;
}
.eyebrow {
  margin: 0 0 0.85rem;
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  font-weight: 500;
  color: color-mix(in srgb, var(--text) 90%, var(--muted));
  text-transform: none;
  letter-spacing: 0;
}
.hero h1 {
  margin: 0 0 1.35rem;
  max-width: 13ch;
  font-family: inherit;
  font-size: clamp(1.65rem, 4.2vw, 2.85rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--text);
  overflow-wrap: break-word;
}
.lead {
  margin: 0 0 1rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transform: translateX(-50%);
  pointer-events: none;
}
.hero-dots span {
  display: block;
  width: 1.65rem;
  height: 3px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--text) 28%, transparent);
}
.hero-dots span.is-active {
  width: 2.1rem;
  background: var(--primary);
}

.hero[data-cms-hero-captions="0"] .hero-copy,
.hero.is-hero-captions-off .hero-copy { display: none; }
.hero[data-cms-hero-captions="0"] .hero-overlay,
.hero.is-hero-captions-off .hero-overlay {
  background: linear-gradient(0deg, color-mix(in srgb, var(--secondary) 40%, transparent), transparent 45%);
}

/* —— Category bar (иконки + текст, Providers справа в рамке) —— */
.category-bar {
  background: color-mix(in srgb, var(--secondary) 72%, #000);
  border-bottom: 1px solid var(--line);
}
.category-inner {
  display: flex;
  align-items: center;
  gap: 0.1rem 0.15rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.62rem 0;
  scrollbar-width: none;
  max-width: 100%;
}
.category-inner::-webkit-scrollbar { display: none; }
.category-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.48rem 0.72rem;
  border-radius: var(--radius);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text);
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}
.category-link:hover {
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
}
.category-icon {
  font-size: 0.95rem;
  line-height: 1;
  color: var(--primary);
  filter: saturate(1.15);
}
.category-providers {
  margin-left: auto;
  padding: 0.52rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--text) 18%, transparent);
  border-radius: calc(var(--radius) + 1px);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--text);
}

/* —— Intro + article canvas —— */
.intro {
  padding: 1.35rem 0 0.35rem;
  background: var(--bg);
}
.intro-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.article-canvas {
  padding: 0.25rem 0 3rem;
  background: var(--bg);
}
.canvas-inner { padding-bottom: 1rem; }

.canvas-section {
  padding: 0;
  margin: 0 0 1.85rem;
  border: 0;
  background: transparent;
}

.prose h2 {
  margin: 2rem 0 0.85rem;
  font-family: inherit;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  padding-left: 0.75rem;
  border-left: 3px solid var(--primary);
}
.prose h2:first-child { margin-top: 0.35rem; }
.prose h3 {
  margin: 1.35rem 0 0.55rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--accent) 45%, var(--text));
}
.prose p { margin: 0 0 0.95rem; color: color-mix(in srgb, var(--text) 92%, var(--muted)); }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.25rem; }
.prose li { margin: 0.35rem 0; }
.prose .bonus-line {
  display: inline-block;
  margin: 0.25rem 0 0.75rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--primary) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}

.facts-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0.75rem 0 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  max-width: 100%;
}
.facts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.facts-table th,
.facts-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.facts-table tr:last-child th,
.facts-table tr:last-child td { border-bottom: 0; }
.facts-table th {
  width: 38%;
  color: var(--muted);
  font-weight: 600;
  background: color-mix(in srgb, var(--secondary) 40%, transparent);
}

/* Games grid */
.games-section { margin: 1.5rem 0; }
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 0.6rem;
  margin: 0 0 1rem;
  min-width: 0;
  max-width: 100%;
}
.game-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.15s, transform 0.15s;
  min-width: 0;
  max-width: 100%;
}
.game-card:hover {
  border-color: color-mix(in srgb, var(--primary) 45%, transparent);
  transform: translateY(-2px);
}
.game-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.game-card-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.games-catalog-title { margin-top: 0.5rem; }

/* FAQ */
.faq-list { margin-top: 0.5rem; }
.faq-item {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 max(2rem, calc(1.5rem + env(safe-area-inset-bottom, 0px)));
  color: var(--muted);
  font-size: 0.88rem;
  background: color-mix(in srgb, var(--secondary) 95%, #000);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.65rem 1rem; }
.footer-nav a:hover { color: var(--primary); }

/* Bonus popup */
.bonus-popup[hidden] { display: none !important; }
.bonus-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(0.75rem, env(safe-area-inset-top, 0px))
    max(0.75rem, env(safe-area-inset-right, 0px))
    max(0.75rem, env(safe-area-inset-bottom, 0px))
    max(0.75rem, env(safe-area-inset-left, 0px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.bonus-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 2, 12, 0.82);
}
.bonus-popup-card {
  position: relative;
  width: min(400px, 100%);
  max-height: min(90dvh, calc(100svh - 2rem));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2.75rem 1.25rem 1.25rem;
  border-radius: calc(var(--radius) + 4px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.bonus-popup-close {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  z-index: 10;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.bonus-popup-image {
  width: 100%;
  max-height: min(200px, 28vh);
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}
.bonus-popup-title {
  display: block;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  overflow-wrap: break-word;
}
.bonus-popup-text { margin: 0 0 1rem; color: var(--muted); font-size: 0.92rem; }
.bonus-popup-dismiss {
  display: block;
  width: 100%;
  margin-top: 0.65rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.88rem;
}
body.bonus-popup-open { overflow: hidden; }

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand cta"
      "nav nav";
    row-gap: 0.35rem;
    padding-bottom: 0.35rem;
  }
  .header-brand { grid-area: brand; min-width: 0; }
  .header-nav {
    grid-area: nav;
    justify-self: stretch;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.15rem;
    max-width: 100%;
    min-width: 0;
  }
  .header-nav::-webkit-scrollbar { display: none; }
  .header-nav::after {
    content: "";
    flex: 0 0 1rem;
  }
  .header-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .header-cta { grid-area: cta; }
  .hero-banner {
    overflow: visible;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .hero-banner-hit {
    position: relative;
    inset: auto;
  }
  .hero-banner-hit .banner {
    min-height: 0;
    height: clamp(200px, 36vw, 300px);
    object-position: center;
  }
  .hero-overlay { display: none; }
  .hero-copy {
    max-width: none;
    min-height: 0;
    padding: 1.1rem 0.25rem 0.75rem;
  }
  .hero h1 { max-width: none; }
  .hero-dots { display: none; }
}

@media (max-width: 640px) {
  .wrap,
  .wrap-wide { width: min(1200px, calc(100% - 1.25rem)); }
  .hero-banner-hit .banner {
    height: clamp(160px, 42vw, 230px);
  }
  .hero-copy { padding: 1rem 0.2rem 0.65rem; }
  .hero h1 { font-size: clamp(1.4rem, 7vw, 1.85rem); }
  .hero-actions .btn-lg { min-width: 0; width: 100%; }
  .btn { white-space: normal; text-align: center; }
}

@media (max-width: 520px) {
  .header-cta .btn-ghost { display: none; }
  .header-cta .btn {
    padding: 0.5rem 0.85rem;
    min-height: 44px;
  }
  .category-link {
    min-height: 44px;
    padding-inline: 0.55rem;
  }
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .facts-table th { width: auto; }
}

@media (max-width: 360px) {
  .games-grid { gap: 0.45rem; }
  .header-cta .btn { font-size: 0.72rem; }
}

@media (max-height: 430px) and (orientation: landscape) {
  .hero-banner,
  .hero-banner-hit .banner { min-height: 0; height: 140px; }
  .hero-copy { min-height: 0; padding: 0.75rem 0.2rem 0.5rem; }
}

@media (hover: none) {
  .btn:hover { transform: none; }
  .game-card:hover { transform: none; }
}

@media (pointer: coarse) {
  .btn { min-height: 44px; }
  .bonus-popup-close { width: 44px; height: 44px; }
}

/* TraffBoard: chrome popup+footer */
.bonus-popup[hidden] { display: none !important; }
.bonus-popup {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000 !important;
  display: grid !important;
  place-items: center !important;
  padding: 1rem !important;
}
.bonus-popup-backdrop {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  background: rgba(4, 6, 10, 0.78) !important;
  cursor: pointer !important;
}
.bonus-popup-card {
  position: relative !important;
  z-index: 1 !important;
  pointer-events: auto !important;
  width: min(400px, 100%) !important;
  padding: 1.2rem !important;
  text-align: center !important;
}
.bonus-popup-close {
  position: absolute !important;
  top: 0.45rem !important;
  right: 0.45rem !important;
  z-index: 10 !important;
  width: 2.25rem !important;
  height: 2.25rem !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(0, 0, 0, 0.55) !important;
  color: #fff !important;
  font-size: 1.35rem !important;
  line-height: 1 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}
.bonus-popup-image {
  position: relative !important;
  z-index: 0 !important;
  pointer-events: none !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 0.5rem !important;
  margin-bottom: 0.75rem !important;
}
.split-card .media-go {
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}
.split-card .section-media,
#bonus .section-media,
#login .section-media {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
}
.bonus-popup-dismiss {
  margin-top: 0.55rem !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font: inherit !important;
  cursor: pointer !important;
  text-decoration: underline !important;
  pointer-events: auto !important;
}
.site-footer {
  margin-top: 1rem !important;
  padding: 1.75rem 0 2.25rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  font-size: 0.88rem !important;
}
.site-footer .footer-inner {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}
.site-footer .footer-nav {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem 1rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.site-footer .footer-nav a {
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}
.site-footer img,
.site-footer ul,
.site-footer .footer-brand,
.site-footer .footer-payments,
.site-footer .payment-list {
  display: none !important;
}
body.bonus-popup-open { overflow: hidden !important; }

/* TraffBoard: header nav — все пункты видны (перенос, без обрезки) */
.header-inner {
  flex-wrap: wrap !important;
  align-items: center !important;
  row-gap: 0.45rem !important;
}
.header-nav {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 0.35rem 0.75rem !important;
  max-width: none !important;
  overflow: visible !important;
  min-width: 0 !important;
}
.header-nav a {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.header-cta {
  display: flex !important;
  flex-shrink: 0 !important;
  gap: 0.5rem !important;
}

/* TraffBoard: сетка слотов (защита от поломки ИИ) */
#games {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}
#games > .wrap,
#games .games-section,
#games .content-card {
  box-sizing: border-box !important;
  width: min(1140px, calc(100% - 2rem)) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-inline: auto !important;
  overflow-x: hidden !important;
}
.games-section {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  width: 100% !important;
  min-width: 0 !important;
}
.games-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0.75rem !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  inset: auto !important;
  transform: none !important;
  overflow: hidden !important;
  order: -1 !important; /* над заголовком/описанием при flex */
}
.games-grid:empty { display: none !important; }
.games-grid > *,
.game-card,
.game-card * {
  box-sizing: border-box !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
.game-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  min-height: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  text-decoration: none !important;
  color: #fff;
  background: #121a2b;
}
.game-card-thumb {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #121a2b;
}
.game-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0.75rem 0.8rem;
  border-top: 2px solid var(--accent, #38bdf8);
  background: color-mix(in srgb, var(--surface, #1a2a44) 92%, #000);
}
.game-card-name {
  position: static !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 0 !important;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  background: none !important;
  overflow-wrap: anywhere;
}
.game-card-provider {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
}
@media (max-width: 960px) {
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 360px) {
  .games-grid { gap: 0.5rem !important; }
}
