@media (max-width: 768px) {
  .header-inner {
    gap: 8px;
  }

  .site-brand {
    min-width: 0;
    gap: 8px;
  }

  .brand-logo {
    height: 30px;
    flex: 0 0 auto;
  }

  .brand-text {
    min-width: 0;
    font-size: 15px;
    white-space: normal;
    line-height: 1.25;
  }

  .nav-toggle {
    flex: 0 0 auto;
  }

  .hero-inner,
  .section-head,
  .section-title,
  .hero-title,
  .hero-desc {
    max-width: 100%;
    min-width: 0;
  }

  .hero-title {
    font-size: 32px;
    overflow-wrap: anywhere;
  }

  .hero-desc {
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .section-title {
    font-size: 26px;
    overflow-wrap: anywhere;
  }
}

.news-category {
  width: fit-content;
  color: var(--cyan);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
}

.news-body {
  min-height: 190px;
  gap: 12px;
}

.site-nav .nav-menu {
  gap: 14px;
}

.brand-text {
  font-size: 16px;
}

.header-actions .btn-primary {
  padding: 10px 18px;
  font-size: 14px;
}

.sr-only,
.seo-h1 {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-actions a {
  position: relative;
  z-index: 4;
}


.pg4-topbar {
  background: rgba(8, 12, 36, 0.92);
  border-bottom: 1px solid var(--surface-line);
  font-size: 13px;
  color: var(--text-dim);
}
.pg4-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 42px;
  overflow: hidden;
}
.pg4-ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pg4-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #22e08a;
  box-shadow: 0 0 10px #22e08a;
}
.pg4-top-links {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
}
.pg4-top-links a {
  color: var(--cyan);
  font-size: 13px;
}
.pg4-top-links a:hover { color: #fff; }

.pg5-gallery-section { padding: 88px 0; }
.pg5-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.pg5-game-card {
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s;
}
.pg5-game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, .45);
}
.pg5-game-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.pg5-game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pg5-game-badge, .pg5-game-score {
  position: absolute;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(5, 8, 26, .72);
  color: var(--cyan);
}
.pg5-game-badge { left: 10px; bottom: 10px; }
.pg5-game-score { right: 10px; top: 10px; color: #fff; }
.pg5-game-body { padding: 16px 18px 18px; }
.pg5-game-body h3 { font-size: 16px; margin-bottom: 8px; }
.pg5-game-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mute);
}
.pg5-game-meta a { color: var(--cyan); }

.pg4-bento-section { padding: 40px 0 88px; }
.pg4-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.pg4-bento-card {
  position: relative;
  min-height: 240px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--surface-line);
}
.pg4-bento-card.span-7 { grid-column: span 7; min-height: 360px; }
.pg4-bento-card.span-5 { grid-column: span 5; min-height: 360px; }
.pg4-bento-card.span-4 { grid-column: span 4; }
.pg4-bento-card.span-8 { grid-column: span 8; }
.pg4-bento-card.span-6 { grid-column: span 6; }
.pg4-bento-card.span-3 { grid-column: span 3; }
.pg4-bento-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .45;
}
.pg4-bento-content {
  position: relative;
  z-index: 1;
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 20%, rgba(5,8,26,.88) 100%);
}
.pg4-pill {
  display: inline-flex;
  width: fit-content;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,212,255,.35);
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.pg4-bento-title { font-size: 22px; margin-bottom: 10px; }
.pg4-bento-desc { color: var(--text-dim); font-size: 14px; margin-bottom: 16px; }
.pg4-bento-metrics { display: flex; gap: 18px; flex-wrap: wrap; }
.pg4-metric-item strong { display: block; font-size: 20px; color: #fff; }
.pg4-metric-item span { font-size: 12px; color: var(--text-mute); }

.seo-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.seo-faq-item {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--surface-line);
}
.seo-faq-item h3 { font-size: 17px; margin-bottom: 12px; }
.q-badge {
  display: inline-block;
  margin-right: 8px;
  color: var(--cyan);
}
.seo-faq-item p { color: var(--text-dim); font-size: 14px; }
.footer-seo-hub {
  border-top: 1px solid var(--surface-line);
  padding: 18px 0;
  color: var(--text-mute);
  font-size: 13px;
}
.seo-tags-row a { color: var(--cyan); }

@media (max-width: 1100px) {
  .pg5-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg4-bento-card.span-7,
  .pg4-bento-card.span-5,
  .pg4-bento-card.span-4,
  .pg4-bento-card.span-8,
  .pg4-bento-card.span-6,
  .pg4-bento-card.span-3 { grid-column: span 12; min-height: 280px; }
  .seo-faq-grid { grid-template-columns: 1fr; }
  .pg4-top-links { display: none; }
}
@media (max-width: 640px) {
  .pg5-gallery-grid { grid-template-columns: 1fr; }
}

.product-card {
  scroll-margin-top: 96px;
}
.product-card:target {
  outline: 1px solid rgba(0, 212, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.12);
}
