/* ═══════════════════════════════════════════════════════════
   pgslot2 — nx theme
   Chakra Petch + Sarabun · Cyber Blue · Top Header Layout
   ═══════════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --nx-bg:        #080c18;
  --nx-bg2:       #0d1426;
  --nx-bg3:       #111a30;
  --nx-card:      #0f1830;
  --nx-card2:     #131e36;
  --nx-border:    rgba(59,130,246,0.18);
  --nx-border2:   rgba(59,130,246,0.10);
  --nx-accent:    #3b82f6;
  --nx-accent2:   #60a5fa;
  --nx-cyan:      #06b6d4;
  --nx-gold:      #f59e0b;
  --nx-green:     #10b981;
  --nx-red:       #ef4444;
  --nx-text:      #e2e8f0;
  --nx-text2:     #94a3b8;
  --nx-text3:     #64748b;
  --nx-header-h:  62px;
  --nx-radius:    10px;
  --nx-radius-lg: 16px;
  --nx-shadow:    0 4px 24px rgba(0,0,0,0.45);
  --nx-glow:      0 0 24px rgba(59,130,246,0.20);
  --nx-font-head: 'Chakra Petch', sans-serif;
  --nx-font-body: 'Noto Sans Thai', 'Sarabun', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--nx-font-body);
  background: var(--nx-bg);
  color: var(--nx-text);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ── Loading state ── */
html.nh-loading body { opacity: 0; }
html:not(.nh-loading) body { opacity: 1; transition: opacity .3s; }

/* ══════════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════════ */
.nh-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nx-header-h);
  background: rgba(8,12,24,0.94);
  border-bottom: 1px solid var(--nx-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nh-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo */
.nh-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--nx-font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}
.nh-logo-badge {
  background: linear-gradient(135deg, var(--nx-accent), var(--nx-cyan));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 6px;
  letter-spacing: .5px;
}

/* Desktop nav */
.nh-nav { margin-left: auto; }
.nh-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nh-nav-link {
  display: block;
  padding: 6px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--nx-text2);
  border-radius: 7px;
  transition: color .15s, background .15s;
}
.nh-nav-link:hover,
.nh-nav-link.nh-nav-active {
  color: #fff;
  background: rgba(59,130,246,0.14);
}
.nh-nav-link.nh-nav-active { color: var(--nx-accent2); }

/* Header actions */
.nh-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nh-btn-login {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--nx-text2);
  border: 1px solid var(--nx-border);
  border-radius: 8px;
  transition: color .15s, border-color .15s;
}
.nh-btn-login:hover { color: #fff; border-color: var(--nx-accent); }
.nh-btn-register {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--nx-accent), var(--nx-cyan));
  border-radius: 8px;
  transition: opacity .15s;
}
.nh-btn-register:hover { opacity: .88; }

/* Hamburger (mobile) */
.nh-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--nx-card);
}
.nh-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--nx-text2);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nh-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nh-hamburger.open span:nth-child(2) { opacity: 0; }
.nh-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav drawer ── */
.nh-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 300;
}
.nh-nav-overlay.open { display: block; }

.nh-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--nx-bg2);
  border-left: 1px solid var(--nx-border);
  z-index: 400;
  padding: calc(var(--nx-header-h) + 16px) 16px 24px;
  transition: right .25s ease;
  overflow-y: auto;
}
.nh-nav-drawer.open { right: 0; }
.nh-nav-drawer ul { display: flex; flex-direction: column; gap: 4px; }
.nh-nav-drawer li a {
  display: block;
  padding: 11px 16px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 500;
  color: var(--nx-text2);
  transition: background .15s, color .15s;
}
.nh-nav-drawer li a:hover { background: rgba(59,130,246,0.12); color: #fff; }
.nh-drawer-cta {
  margin-top: 8px;
  background: linear-gradient(135deg, var(--nx-accent), var(--nx-cyan)) !important;
  color: #fff !important;
  text-align: center;
  font-weight: 700 !important;
  border-radius: 10px !important;
}

/* ── Bottom Nav (hidden on desktop) ── */
.nh-bnav { display: none; }

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.nh-hero {
  background: linear-gradient(145deg, #080c18 0%, #0d1830 50%, #091828 100%);
  border-bottom: 1px solid var(--nx-border);
  padding: 56px 20px 52px;
  position: relative;
  overflow: hidden;
}
/* ambient glows */
.nh-hero::before {
  content: '';
  position: absolute;
  top: -100px; left: -60px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.nh-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; right: 30%;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(6,182,212,0.08) 0%, transparent 65%);
  pointer-events: none;
}

/* ── Inner: left/right two columns ── */
.nh-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ── Left column ── */
.nh-hero-left { display: flex; flex-direction: column; gap: 0; }
.nh-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(59,130,246,0.14);
  border: 1px solid rgba(59,130,246,0.35);
  color: var(--nx-accent2);
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  width: fit-content;
  letter-spacing: .3px;
}
.nh-hero-title {
  font-family: var(--nx-font-head);
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
}
.nh-hero-title span {
  background: linear-gradient(135deg, var(--nx-accent2), var(--nx-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  font-size: .70em;
  font-weight: 500;
  margin-top: 4px;
}
.nh-hero-desc {
  font-size: 15px;
  color: var(--nx-text2);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 480px;
}
.nh-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.nh-hero-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 700;
  font-family: var(--nx-font-head);
  transition: transform .15s, opacity .15s, box-shadow .15s;
}
.nh-hero-btn--primary {
  background: linear-gradient(135deg, var(--nx-accent), var(--nx-cyan));
  color: #fff;
  box-shadow: 0 8px 24px rgba(59,130,246,0.35);
}
.nh-hero-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(59,130,246,0.45); }
.nh-hero-btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--nx-text2);
  border: 1px solid var(--nx-border);
}
.nh-hero-btn--ghost:hover { background: rgba(255,255,255,0.10); color: #fff; }

/* Hero stat chips row */
.nh-hero-stats {
  display: flex;
  gap: 0;
  background: var(--nx-card);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  overflow: hidden;
}
.nh-hero-stat {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  text-align: center;
  border-right: 1px solid var(--nx-border2);
}
.nh-hero-stat:last-child { border-right: none; }
.nh-hero-stat-val {
  font-family: var(--nx-font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--nx-accent2);
  line-height: 1.1;
  margin-bottom: 3px;
}
.nh-hero-stat-lbl {
  font-size: 11px;
  color: var(--nx-text3);
  font-weight: 500;
  white-space: nowrap;
}

/* ── Right column: image collage ── */
.nh-hero-right {
  position: relative;
  height: 340px;
}
.nh-hero-collage {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Four image cards with staggered positions */
.nh-hero-collage-img {
  position: absolute;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(59,130,246,0.22);
  box-shadow: 0 12px 40px rgba(0,0,0,0.55);
  transition: transform .3s ease;
}
.nh-hero-collage-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nh-hero-collage-img:hover { transform: translateY(-6px) scale(1.02); }

/* Card positions */
.nh-hci-1 {
  width: 190px; height: 148px;
  top: 0; left: 0;
  transform: rotate(-3deg);
  z-index: 3;
}
.nh-hci-2 {
  width: 200px; height: 155px;
  top: 10px; right: 0;
  transform: rotate(2.5deg);
  z-index: 4;
  border-color: rgba(6,182,212,0.30);
}
.nh-hci-3 {
  width: 185px; height: 142px;
  bottom: 10px; left: 30px;
  transform: rotate(2deg);
  z-index: 2;
}
.nh-hci-4 {
  width: 195px; height: 150px;
  bottom: 0; right: 20px;
  transform: rotate(-2deg);
  z-index: 3;
  border-color: rgba(139,92,246,0.28);
}

/* Badges on cards */
.nh-hci-badge, .nh-hci-rtp {
  position: absolute;
  bottom: 7px; left: 8px;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 5px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.nh-hci-badge {
  background: rgba(59,130,246,0.80);
  color: #fff;
}
.nh-hci-rtp {
  background: rgba(16,185,129,0.80);
  color: #fff;
}

/* Glow orbs */
.nh-hci-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.nh-hci-orb--blue {
  width: 180px; height: 180px;
  background: rgba(59,130,246,0.18);
  top: 20px; left: 50%;
  transform: translateX(-50%);
}
.nh-hci-orb--cyan {
  width: 140px; height: 140px;
  background: rgba(6,182,212,0.14);
  bottom: 10px; right: 10px;
}



/* ══════════════════════════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════════════════════════ */
.nh-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px;
}
.nh-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
}
.nh-main { min-width: 0; }

/* ── Section ── */
.nh-section { margin-bottom: 36px; }
.nh-section-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.nh-section-title {
  font-family: var(--nx-font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nh-section-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--nx-accent), var(--nx-cyan));
  border-radius: 3px;
  flex-shrink: 0;
}
.nh-section-more {
  font-size: 13px;
  color: var(--nx-accent);
  font-weight: 600;
  transition: color .15s;
}
.nh-section-more:hover { color: var(--nx-accent2); }

/* ══════════════════════════════════════════════════════════════
   GAME GRID
══════════════════════════════════════════════════════════════ */
.nh-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.nh-game-card {
  background: var(--nx-card);
  border: 1px solid var(--nx-border2);
  border-radius: var(--nx-radius);
  overflow: hidden;
  transition: transform .18s, border-color .18s, box-shadow .18s;
  display: block;
}
.nh-game-card:hover {
  transform: translateY(-4px);
  border-color: var(--nx-border);
  box-shadow: var(--nx-glow);
}
.nh-game-card-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--nx-bg3);
}
.nh-game-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.nh-game-card:hover .nh-game-card-img-wrap img { transform: scale(1.06); }
.nh-game-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
}
.nh-game-card:hover .nh-game-card-overlay { opacity: 1; }
.nh-game-card-play {
  background: linear-gradient(135deg, var(--nx-accent), var(--nx-cyan));
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 20px;
}
.nh-game-card-rtp {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0,0,0,0.75);
  color: var(--nx-green);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  backdrop-filter: blur(4px);
}
.nh-game-card-body { padding: 10px 12px; }
.nh-game-card-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
}
.nh-game-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.nh-game-card-provider {
  font-size: 11px;
  color: var(--nx-text3);
  background: var(--nx-bg3);
  padding: 2px 7px;
  border-radius: 4px;
}
.nh-game-card-score {
  font-size: 11.5px;
  color: var(--nx-gold);
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════
   REVIEW LIST — LIST PAGE
══════════════════════════════════════════════════════════════ */
.nh-review-list { display: flex; flex-direction: column; gap: 16px; }
.nh-review-item {
  display: flex;
  gap: 0;
  background: var(--nx-card);
  border: 1px solid var(--nx-border2);
  border-radius: var(--nx-radius);
  overflow: hidden;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.nh-review-item:hover {
  border-color: var(--nx-border);
  box-shadow: var(--nx-shadow);
  transform: translateY(-2px);
}
.nh-review-item-img-wrap {
  width: 200px;
  height: 140px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.nh-review-item-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.nh-review-item:hover .nh-review-item-img-wrap img { transform: scale(1.05); }
.nh-ri-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
}
.nh-review-item:hover .nh-ri-overlay { opacity: 1; }
.nh-ri-play {
  background: linear-gradient(135deg, var(--nx-accent), var(--nx-cyan));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 20px;
}
.nh-card-badge {
  display: inline-block;
  background: var(--nx-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}
.nh-review-item-body {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
/* Top row: category + RTP + score */
.nh-review-item-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.nh-review-item-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--nx-accent2);
  background: rgba(59,130,246,0.12);
  padding: 2px 8px;
  border-radius: 4px;
}
.nh-review-item-rtp {
  font-size: 12px;
  color: var(--nx-green);
  font-weight: 700;
  background: rgba(16,185,129,0.10);
  padding: 2px 8px;
  border-radius: 4px;
}
.nh-review-item-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 8px;
  transition: color .15s;
  display: block;
}
.nh-review-item-title:hover { color: var(--nx-accent2); }
.nh-review-item-info {
  font-size: 13.5px;
  color: var(--nx-text2);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nh-review-item-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.nh-review-item-date { font-size: 12px; color: var(--nx-text3); }
.nh-review-item-cta {
  margin-left: auto;
  background: linear-gradient(135deg, var(--nx-accent), var(--nx-cyan));
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 7px;
  transition: opacity .15s, transform .15s;
  white-space: nowrap;
}
.nh-review-item-cta:hover { opacity: .88; transform: translateY(-1px); }

/* ══════════════════════════════════════════════════════════════
   LIST PAGE HEADER
══════════════════════════════════════════════════════════════ */
.nh-list-hd {
  background: linear-gradient(135deg, var(--nx-card) 0%, var(--nx-card2) 100%);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  padding: 0;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
}
.nh-list-hd::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--nx-accent), var(--nx-cyan));
}
.nh-list-hd-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
}
.nh-list-hd-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.25);
  color: var(--nx-accent2);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  width: fit-content;
}
.nh-list-hd-title {
  font-family: var(--nx-font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.25;
}
.nh-list-hd-desc { font-size: 13.5px; color: var(--nx-text2); }
.nh-list-hd-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--nx-bg3);
  border: 1px solid var(--nx-border2);
  border-radius: var(--nx-radius);
  overflow: hidden;
  flex-shrink: 0;
}
.nh-list-hd-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 22px;
  gap: 4px;
}
.nh-list-hd-stat-div {
  width: 1px;
  height: 36px;
  background: var(--nx-border2);
  flex-shrink: 0;
}
.nh-list-hd-stat-val {
  font-family: var(--nx-font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--nx-accent2);
  line-height: 1;
}
.nh-list-hd-stat-lbl { font-size: 11px; color: var(--nx-text3); white-space: nowrap; }
/* Toolbar */
.nh-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--nx-border2);
}
.nh-list-toolbar-label { font-size: 13px; color: var(--nx-text2); font-weight: 600; }
.nh-list-toolbar-right { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--nx-text3); }
.nh-list-sort-val { color: var(--nx-accent2); font-weight: 700; }
/* SEO box */
.nh-list-seo-box {
  margin-top: 28px;
  background: var(--nx-card);
  border: 1px solid var(--nx-border2);
  border-radius: var(--nx-radius);
  padding: 20px 24px;
}
.nh-list-seo-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  font-family: var(--nx-font-head);
}
.nh-list-seo-text { font-size: 13.5px; color: var(--nx-text3); line-height: 1.7; }

/* ══════════════════════════════════════════════════════════════
   PROVIDER CHART
══════════════════════════════════════════════════════════════ */
.nh-provider-chart {
  background: var(--nx-card);
  border: 1px solid var(--nx-border2);
  border-radius: var(--nx-radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nh-provider-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nh-provider-name {
  width: 130px;
  font-size: 13px;
  color: var(--nx-text2);
  flex-shrink: 0;
}
.nh-provider-bar-wrap {
  flex: 1;
  height: 8px;
  background: var(--nx-bg3);
  border-radius: 4px;
  overflow: hidden;
}
.nh-provider-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--nx-accent), var(--nx-cyan));
  border-radius: 4px;
  transition: width .8s ease;
}
.nh-bar-purple { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.nh-bar-gold   { background: linear-gradient(90deg, var(--nx-gold), #fbbf24); }
.nh-provider-pct {
  width: 48px;
  text-align: right;
  font-size: 13px;
  font-weight: 700;
  color: var(--nx-green);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   TAG CLOUD
══════════════════════════════════════════════════════════════ */
.nh-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nh-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--nx-card);
  border: 1px solid var(--nx-border2);
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--nx-text2);
  transition: background .15s, color .15s, border-color .15s;
}
.nh-tag:hover {
  background: rgba(59,130,246,0.14);
  border-color: var(--nx-border);
  color: var(--nx-accent2);
}

/* ══════════════════════════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════════════════════════ */
.nh-sidebar { display: flex; flex-direction: column; gap: 18px; }
.nh-sb-block {
  background: var(--nx-card);
  border: 1px solid var(--nx-border2);
  border-radius: var(--nx-radius);
  overflow: hidden;
}
.nh-sb-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  padding: 12px 16px;
  border-bottom: 1px solid var(--nx-border2);
  background: var(--nx-card2);
}
.nh-sb-body { padding: 14px 16px; }

/* CTA block */
.nh-sb-cta {
  background: linear-gradient(145deg, #0d1e3a, #091428);
  border-color: rgba(59,130,246,0.35);
  text-align: center;
  padding: 22px 18px;
}
.nh-sb-cta-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  font-family: var(--nx-font-head);
}
.nh-sb-cta-desc {
  font-size: 13px;
  color: var(--nx-text2);
  margin-bottom: 16px;
}
.nh-sb-cta-btn {
  display: block;
  background: linear-gradient(135deg, var(--nx-accent), var(--nx-cyan));
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 9px;
  text-align: center;
  transition: opacity .15s, transform .15s;
  box-shadow: 0 6px 20px rgba(59,130,246,0.30);
}
.nh-sb-cta-btn:hover { opacity: .9; transform: translateY(-1px); }

/* Top table */
.nh-top-table { width: 100%; border-collapse: collapse; }
.nh-top-table tr { border-bottom: 1px solid var(--nx-border2); }
.nh-top-table tr:last-child { border-bottom: none; }
.nh-top-table td { padding: 9px 0; vertical-align: middle; }
.nh-top-rank {
  width: 22px; height: 22px;
  background: var(--nx-bg3);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--nx-text3);
  font-family: var(--nx-font-head);
  margin-right: 8px;
}
.nh-top-rank.r1 { background: linear-gradient(135deg,#f59e0b,#d97706); color:#fff; }
.nh-top-rank.r2 { background: linear-gradient(135deg,#94a3b8,#64748b); color:#fff; }
.nh-top-rank.r3 { background: linear-gradient(135deg,#b45309,#92400e); color:#fff; }
.nh-top-title {
  font-size: 12.5px;
  color: var(--nx-text);
  font-weight: 500;
  transition: color .15s;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nh-top-title:hover { color: var(--nx-accent2); }
.nh-top-rtp {
  font-size: 12px;
  color: var(--nx-green);
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
  padding-left: 6px;
}

/* Sidebar article list */
.nh-sb-article-list { display: flex; flex-direction: column; gap: 10px; }
.nh-sb-article-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  transition: opacity .15s;
}
.nh-sb-article-item:hover { opacity: .82; }
.nh-sb-article-item img {
  width: 56px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.nh-sb-article-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nh-sb-article-title {
  font-size: 12.5px;
  color: var(--nx-text);
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
}
.nh-sb-article-date { font-size: 11px; color: var(--nx-text3); }

/* Provider badges */
.nh-provider-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.nh-provider-badge {
  background: var(--nx-bg3);
  border: 1px solid var(--nx-border2);
  color: var(--nx-text2);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  transition: background .15s, color .15s, border-color .15s;
}
.nh-provider-badge:hover {
  background: rgba(59,130,246,0.14);
  border-color: var(--nx-border);
  color: var(--nx-accent2);
}

/* ══════════════════════════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════════════════════════ */
.nh-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--nx-text3);
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.nh-breadcrumb a { color: var(--nx-text3); transition: color .15s; }
.nh-breadcrumb a:hover { color: var(--nx-accent2); }

/* ══════════════════════════════════════════════════════════════
   LIST / TAGS PAGE HEADER
══════════════════════════════════════════════════════════════ */
.nh-list-hd {
  background: var(--nx-card);
  border: 1px solid var(--nx-border2);
  border-radius: var(--nx-radius);
  padding: 22px 24px;
  margin-bottom: 24px;
}
.nh-list-hd h1 {
  font-family: var(--nx-font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.nh-list-hd p { font-size: 14px; color: var(--nx-text2); }

/* ══════════════════════════════════════════════════════════════
   SHOW PAGE
══════════════════════════════════════════════════════════════ */
.nh-show-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
}
.nh-show-main { min-width: 0; }

/* ── Game hero header (show page) ── */
.nh-game-hd {
  background: var(--nx-card);
  border: 1px solid var(--nx-border2);
  border-radius: var(--nx-radius-lg);
  margin-bottom: 22px;
  overflow: hidden;
}
.nh-game-hd-body {
  display: flex;
  gap: 24px;
  padding: 24px 24px 20px;
}
.nh-game-hd-cover {
  width: 240px;
  height: 170px;
  flex-shrink: 0;
  border-radius: var(--nx-radius);
  overflow: hidden;
  position: relative;
}
.nh-game-hd-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nh-game-hd-cover-badges {
  position: absolute;
  top: 8px; left: 8px;
  display: flex;
  gap: 5px;
}
.nh-game-hd-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}
.nh-game-hd-badge--hot { background: var(--nx-accent); color: #fff; }
.nh-game-hd-badge--free { background: var(--nx-green); color: #fff; }
.nh-game-hd-info { flex: 1; min-width: 0; }
.nh-game-hd-cat {
  font-size: 12px;
  color: var(--nx-text3);
  margin-bottom: 8px;
}
.nh-game-hd-title {
  font-family: var(--nx-font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.25;
}
.nh-game-hd-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.nh-game-hd-score-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.nh-score-big {
  font-family: var(--nx-font-head);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--nx-gold);
  line-height: 1;
}
.nh-score-label { font-size: 13px; color: var(--nx-text3); }
.nh-score-stars { font-size: 13px; color: var(--nx-gold); margin-left: 4px; }
.nh-provider-tag {
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.3);
  color: var(--nx-accent2);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 6px;
}
.nh-badge-rtp {
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--nx-green);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 6px;
}
.nh-game-hd-desc {
  font-size: 13.5px;
  color: var(--nx-text2);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nh-game-hd-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.nh-game-hd-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 700;
  transition: opacity .15s, transform .15s;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}
.nh-game-hd-btn--primary {
  background: linear-gradient(135deg, var(--nx-accent), var(--nx-cyan));
  color: #fff;
  box-shadow: 0 6px 20px rgba(59,130,246,0.30);
  border: 1px solid transparent;
}
.nh-game-hd-btn--primary:hover { opacity: .9; transform: translateY(-1px); }
.nh-game-hd-btn--ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--nx-border);
  color: var(--nx-text2);
}
.nh-game-hd-btn--ghost:hover { background: rgba(255,255,255,0.10); color: #fff; }
/* Quick stat strip */
.nh-game-hd-strip {
  display: flex;
  align-items: center;
  background: var(--nx-bg3);
  border-top: 1px solid var(--nx-border2);
}
.nh-game-hd-strip-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 8px;
  gap: 3px;
}
.nh-game-hd-strip-div { width: 1px; height: 28px; background: var(--nx-border2); flex-shrink: 0; }
.nh-ghs-lbl { font-size: 11px; color: var(--nx-text3); }
.nh-ghs-val { font-family: var(--nx-font-head); font-size: 13.5px; font-weight: 800; color: var(--nx-accent2); }
.nh-ghs-val--green { color: var(--nx-green); }
.nh-ghs-val--gold { color: var(--nx-gold); }
.nh-ghs-val--cyan { color: var(--nx-cyan); font-size: 12px; font-family: var(--nx-font-body); }

/* Dashboard */
.nh-dash {
  background: var(--nx-card);
  border: 1px solid var(--nx-border2);
  border-radius: var(--nx-radius);
  margin-bottom: 22px;
  overflow: hidden;
}
.nh-dash-title {
  background: var(--nx-card2);
  border-bottom: 1px solid var(--nx-border2);
  padding: 12px 20px;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
}
.nh-dash-body { padding: 20px; display: flex; flex-direction: column; gap: 20px; }
/* Top section: RTP ring + bars side by side */
.nh-dash-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* Mobile-only CTA (hidden on desktop) */
.nh-show-mobile-cta { display: none; }

/* Article body */
.nh-article-body {
  background: var(--nx-card);
  border: 1px solid var(--nx-border2);
  border-radius: var(--nx-radius);
  padding: 24px 26px;
  margin-bottom: 22px;
}
.nh-article-body-h {
  font-family: var(--nx-font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--nx-border2);
}
.nh-article-content p { color: var(--nx-text2); font-size: 14.5px; line-height: 1.8; margin-bottom: 12px; }
.nh-article-content h3 { font-size: 1rem; color: #fff; margin: 18px 0 8px; }
.nh-article-body h2 {
  font-family: var(--nx-font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--nx-border2);
}
.nh-article-body p { color: var(--nx-text2); font-size: 14.5px; line-height: 1.8; margin-bottom: 12px; }
.nh-article-body h3 { font-size: 1rem; color: #fff; margin: 18px 0 8px; }

/* Related list with thumbnails */
.nh-related-list { display: flex; flex-direction: column; gap: 4px; }
.nh-related-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--nx-border2);
  transition: opacity .15s;
}
.nh-related-item:last-child { border-bottom: none; }
.nh-related-item:hover { opacity: .82; }
.nh-related-item img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.nh-related-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.nh-related-title {
  font-size: 13.5px;
  color: var(--nx-text);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nh-related-date { font-size: 11.5px; color: var(--nx-text3); }
.nh-related-num {
  width: 22px; height: 22px;
  background: var(--nx-bg3);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--nx-text3);
  flex-shrink: 0;
}

/* Sidebar CTA enhanced */
.nh-sb-cta {
  background: linear-gradient(145deg, #0d1e3a, #091428) !important;
  border-color: rgba(59,130,246,0.35) !important;
  text-align: center;
  padding: 24px 18px !important;
}
.nh-sb-cta-icon { font-size: 2rem; margin-bottom: 8px; }
.nh-sb-cta-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  font-family: var(--nx-font-head);
}
.nh-sb-cta-desc {
  font-size: 13px;
  color: var(--nx-text2);
  margin-bottom: 16px;
}
.nh-sb-cta-btn {
  display: block;
  background: linear-gradient(135deg, var(--nx-accent), var(--nx-cyan));
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 9px;
  text-align: center;
  transition: opacity .15s, transform .15s;
  box-shadow: 0 6px 20px rgba(59,130,246,0.30);
  margin-bottom: 10px;
}
.nh-sb-cta-btn:hover { opacity: .9; transform: translateY(-1px); }
.nh-sb-cta-note { font-size: 11.5px; color: var(--nx-green); }

/* Sidebar game item arrow */
.nh-sb-game-item {
  display: flex;
  gap: 10px;
  align-items: center;
  transition: opacity .15s;
  padding: 4px 0;
}
.nh-sb-game-item:hover { opacity: .82; }
.nh-sb-game-item img {
  width: 56px; height: 46px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.nh-sb-game-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.nh-sb-game-title {
  font-size: 12.5px;
  color: var(--nx-text);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nh-sb-game-rtp { font-size: 11.5px; color: var(--nx-green); }
.nh-sb-game-arr { font-size: 16px; color: var(--nx-text3); flex-shrink: 0; }

/* RTP Ring */
.nh-rtp-display { display: flex; align-items: center; gap: 20px; }
.nh-rtp-ring {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: conic-gradient(var(--nx-accent) 0% 96%, var(--nx-bg3) 96%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nh-rtp-ring-inner {
  width: 70px; height: 70px;
  background: var(--nx-card);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--nx-font-head);
  font-size: 16px;
  font-weight: 800;
  color: var(--nx-accent2);
  line-height: 1.1;
}
.nh-rtp-ring-inner small { font-size: 10px; color: var(--nx-text3); font-family: var(--nx-font-body); font-weight: 400; }
.nh-rtp-desc strong { display: block; font-size: 14px; color: #fff; margin-bottom: 5px; }
.nh-rtp-desc p { font-size: 13px; color: var(--nx-text2); line-height: 1.55; }

/* Dimension bars */
.nh-dims { display: flex; flex-direction: column; gap: 10px; }
.nh-dim-row { display: flex; align-items: center; gap: 10px; }
.nh-dim-lbl { width: 90px; font-size: 13px; color: var(--nx-text2); flex-shrink: 0; }
.nh-dim-bar {
  flex: 1;
  height: 7px;
  background: var(--nx-bg3);
  border-radius: 4px;
  overflow: hidden;
}
.nh-dim-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--nx-accent), var(--nx-cyan));
  border-radius: 4px;
  transition: width .8s ease;
}
.nh-dim-val {
  width: 28px;
  text-align: right;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--nx-accent2);
  flex-shrink: 0;
}

/* Key data grid */
.nh-keydata {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.nh-keydata-item {
  background: var(--nx-bg3);
  border-radius: 8px;
  padding: 12px 14px;
}
.nh-keydata-lbl { font-size: 12px; color: var(--nx-text3); margin-bottom: 4px; }
.nh-keydata-val {
  font-family: var(--nx-font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--nx-accent2);
}
.nh-keydata-val.gold   { color: var(--nx-gold); }
.nh-keydata-val.accent { color: var(--nx-accent2); font-size: .9rem; font-family: var(--nx-font-body); font-weight: 600; }
.nh-keydata-val.green  { color: var(--nx-green); }

/* Article body */
.nh-article-body {
  background: var(--nx-card);
  border: 1px solid var(--nx-border2);
  border-radius: var(--nx-radius);
  padding: 24px 26px;
  margin-bottom: 22px;
}
.nh-article-body h2 {
  font-family: var(--nx-font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--nx-border2);
}
.nh-article-body p { color: var(--nx-text2); font-size: 14.5px; line-height: 1.8; margin-bottom: 12px; }
.nh-article-body h3 { font-size: 1rem; color: #fff; margin: 18px 0 8px; }

/* Quick table */
.nh-quick-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.nh-quick-table tr { border-bottom: 1px solid var(--nx-border2); }
.nh-quick-table tr:last-child { border-bottom: none; }
.nh-quick-table td { padding: 8px 0; color: var(--nx-text2); }
.nh-quick-table td.accent { color: var(--nx-accent2); font-weight: 600; }
.nh-quick-table td.green  { color: var(--nx-green); font-weight: 700; }
.nh-quick-table td.gold   { color: var(--nx-gold); font-weight: 700; }

/* Sidebar game list */
.nh-sb-game-list { display: flex; flex-direction: column; gap: 10px; }
.nh-sb-game-item {
  display: flex;
  gap: 10px;
  align-items: center;
  transition: opacity .15s;
}
.nh-sb-game-item:hover { opacity: .82; }
.nh-sb-game-item img {
  width: 52px; height: 44px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.nh-sb-game-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nh-sb-game-title {
  font-size: 12.5px;
  color: var(--nx-text);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nh-sb-game-rtp { font-size: 11.5px; color: var(--nx-green); }

/* Related list */
.nh-related-list { display: flex; flex-direction: column; gap: 2px; }
.nh-related-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--nx-border2);
}
.nh-related-item:last-child { border-bottom: none; }
.nh-related-num {
  width: 22px; height: 22px;
  background: var(--nx-bg3);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--nx-text3);
  flex-shrink: 0;
}
.nh-related-title {
  flex: 1;
  font-size: 13.5px;
  color: var(--nx-text);
  font-weight: 500;
  transition: color .15s;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nh-related-title:hover { color: var(--nx-accent2); }
.nh-related-date { font-size: 11.5px; color: var(--nx-text3); flex-shrink: 0; }

/* Score pill */
.nh-score-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(245,158,11,0.15);
  color: var(--nx-gold);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 5px;
}

/* ══════════════════════════════════════════════════════════════
   PAGINATION
══════════════════════════════════════════════════════════════ */
.nh-pager {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.nh-pager a, .nh-pager span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: var(--nx-card);
  border: 1px solid var(--nx-border2);
  color: var(--nx-text2);
  transition: background .15s, color .15s, border-color .15s;
}
.nh-pager a:hover { background: rgba(59,130,246,0.14); border-color: var(--nx-border); color: #fff; }
.nh-pager .current { background: var(--nx-accent); color: #fff; border-color: var(--nx-accent); }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.nh-footer {
  background: var(--nx-bg2);
  border-top: 1px solid var(--nx-border);
  margin-top: 24px;
}
.nh-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 20px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.nh-footer-col {
  min-width: 0;
}
.nh-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.nh-footer-logo-badge {
  background: linear-gradient(135deg, var(--nx-accent), var(--nx-cyan));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 6px;
}
.nh-footer-logo-text {
  font-family: var(--nx-font-head);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.nh-footer-desc {
  font-size: 13.5px;
  color: var(--nx-text3);
  line-height: 1.7;
  margin-bottom: 10px;
}
.nh-footer-meta, .nh-footer-beian {
  font-size: 12px;
  color: var(--nx-text3);
  margin-top: 4px;
}
.nh-footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.nh-footer-links { display: flex; flex-direction: column; gap: 9px; }
.nh-footer-links li a {
  font-size: 13.5px;
  color: var(--nx-text3);
  transition: color .15s;
}
.nh-footer-links li a:hover { color: var(--nx-accent2); }
.nh-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  border-top: 1px solid var(--nx-border2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--nx-text3);
  flex-wrap: wrap;
  gap: 8px;
}

/* ══════════════════════════════════════════════════════════════
   SCROLL TOP BUTTON
══════════════════════════════════════════════════════════════ */
#nx-scroll-top {
  display: none;
  position: fixed;
  bottom: 28px;
  right: 20px;
  width: 42px; height: 42px;
  background: var(--nx-accent);
  color: #fff;
  font-size: 18px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(59,130,246,0.4);
  transition: opacity .2s, transform .2s;
}
#nx-scroll-top:hover { opacity: .85; transform: translateY(-2px); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET 1024px
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nh-layout { grid-template-columns: 1fr 260px; }
  .nh-show-layout { grid-template-columns: 1fr 260px; }
  .nh-footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .nh-game-grid { grid-template-columns: repeat(3, 1fr); }
  /* Hero: shrink right side */
  .nh-hero-inner { grid-template-columns: 1fr 360px; gap: 32px; }
  .nh-hero-right { height: 280px; }
  .nh-hci-1 { width: 155px; height: 120px; }
  .nh-hci-2 { width: 165px; height: 128px; }
  .nh-hci-3 { width: 150px; height: 116px; }
  .nh-hci-4 { width: 160px; height: 124px; }
  /* List header */
  .nh-list-hd-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .nh-list-hd-stats { align-self: stretch; }
  /* Game hd */
  .nh-game-hd-cover { width: 180px; height: 130px; }
  .nh-game-hd-title { font-size: 1.35rem; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE 960px
══════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  /* Show hamburger, hide desktop nav & action buttons */
  .nh-hamburger { display: flex; }
  .nh-nav { display: none; }
  .nh-btn-login, .nh-btn-register { display: none; }

  /* Single column */
  .nh-layout { grid-template-columns: 1fr; }
  .nh-show-layout { grid-template-columns: 1fr; }
  .nh-sidebar { display: none; }

  /* Hero: single column, hide image collage, COMPACT height */
  .nh-hero { padding: 28px 16px 24px; }
  .nh-hero-inner { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .nh-hero-right { display: none; }
  .nh-hero-tag { margin: 0 auto 14px; }
  .nh-hero-title { font-size: 1.75rem; margin-bottom: 10px; }
  .nh-hero-desc { font-size: 14px; margin-bottom: 18px; margin-left: auto; margin-right: auto; }
  .nh-hero-cta { justify-content: center; margin-bottom: 18px; }
  .nh-hero-stats { max-width: 340px; margin: 0 auto; }

  /* Footer 2 cols */
  .nh-footer-inner { grid-template-columns: 1fr 1fr; }

  /* Show bottom nav */
  .nh-bnav {
    --nx-bnav-h: 56px;
    display: flex;
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    height: var(--nx-bnav-h);
    padding: 0 6px;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    background: rgba(5,8,20,0.90);
    border: 1px solid rgba(59,130,246,0.28);
    border-radius: 14px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
    z-index: 500;
  }
  .nh-bnav-link {
    flex: 1;
    min-width: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    border-radius: 10px;
    color: rgba(255,255,255,0.5);
    font-weight: 700;
    font-size: 9.5px;
    transition: background .15s, color .15s;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
    padding: 0 4px;
  }
  .nh-bnav-ico { font-size: 17px; line-height: 1; }
  .nh-bnav-txt { font-size: 9.5px; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .nh-bnav-link:hover, .nh-bnav-link.active { color: #fff; background: rgba(255,255,255,0.09); }
  .nh-bnav-link--cta {
    flex: 1.3;
    color: #fff;
    background: linear-gradient(135deg, var(--nx-accent), var(--nx-cyan));
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(59,130,246,0.35);
    font-size: 10px;
  }
  .nh-bnav-link--cta:hover { transform: translateY(-1px); }

  /* Body padding for bottom nav */
  body { padding-bottom: calc(56px + 18px + env(safe-area-inset-bottom, 0px)); }

  /* Scroll-top above bottom nav */
  #nx-scroll-top {
    bottom: calc(56px + 16px + env(safe-area-inset-bottom, 0px));
    right: 14px;
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  /* Show page: mobile sidebar CTA */
  .nh-show-mobile-cta {
    display: block;
    margin-bottom: 20px;
  }
  .nh-show-mobile-cta-btn {
    display: block;
    background: linear-gradient(135deg, var(--nx-accent), var(--nx-cyan));
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(59,130,246,0.30);
    transition: opacity .15s, transform .15s;
  }
  .nh-show-mobile-cta-btn:hover { opacity: .9; transform: translateY(-1px); }

  /* Game hero header: stack on mobile */
  .nh-game-hd-body { flex-direction: column; gap: 16px; padding: 16px 16px 14px; }
  .nh-game-hd-cover { width: 100%; height: 180px; border-radius: var(--nx-radius); }
  .nh-game-hd-title { font-size: 1.25rem; }
  .nh-game-hd-desc { -webkit-line-clamp: 3; }
  /* Strip: 3 items on mobile (hide last 2) */
  .nh-game-hd-strip { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .nh-game-hd-strip::-webkit-scrollbar { display: none; }
  .nh-game-hd-strip-item { flex-shrink: 0; min-width: 80px; }

  /* Dash top: stack */
  .nh-dash-top { grid-template-columns: 1fr; gap: 16px; }
  .nh-dash-body { padding: 16px; }

  /* List header: compact */
  .nh-list-hd-inner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 18px; }
  .nh-list-hd-stats { align-self: stretch; justify-content: center; }
  .nh-list-hd-title { font-size: 1.25rem; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE 640px
══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .nh-wrap { padding: 16px 14px; }

  /* Hero */
  .nh-hero { padding: 22px 14px 18px; }
  .nh-hero-title { font-size: 1.5rem; }
  .nh-hero-desc { font-size: 13.5px; }
  .nh-hero-cta { flex-direction: column; align-items: center; gap: 8px; }
  .nh-hero-btn { width: 100%; max-width: 280px; justify-content: center; padding: 12px 20px; }
  .nh-hero-stats { border-radius: 10px; }
  .nh-hero-stat { min-width: 80px; padding: 12px 10px; }
  .nh-hero-stat-val { font-size: 1.1rem; }

  /* Game grid: 2 cols */
  .nh-game-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* ── LIST PAGE: card style ── */
  .nh-review-list { gap: 10px; }
  .nh-review-item {
    display: grid !important;
    grid-template-columns: 100px 1fr !important;
    gap: 0 !important;
    align-items: stretch !important;
    flex-direction: unset !important;
  }
  .nh-review-item-img-wrap {
    width: 100px !important;
    height: auto !important;
    min-height: 90px;
    grid-row: 1 / 1;
    border-radius: 0;
    flex-shrink: unset;
  }
  .nh-ri-overlay { display: none; }
  .nh-review-item-body { padding: 10px 12px; }
  .nh-review-item-top { gap: 5px; margin-bottom: 5px; }
  .nh-review-item-cat { font-size: 10px; padding: 1px 6px; }
  .nh-review-item-rtp { font-size: 10px; padding: 1px 6px; }
  .nh-review-item-title { font-size: 13px; margin-bottom: 4px; }
  .nh-review-item-info {
    font-size: 11.5px;
    -webkit-line-clamp: 2;
    margin-bottom: 0;
  }
  .nh-review-item-foot { margin-top: 6px; gap: 6px; }
  .nh-review-item-date { display: none; }
  .nh-score-pill { font-size: 11px; }
  .nh-review-item-cta { font-size: 11px; padding: 4px 10px; flex: 1; text-align: center; margin-left: 0; }

  /* List header: compact */
  .nh-list-hd-inner { padding: 16px; }
  .nh-list-hd-title { font-size: 1.1rem; }
  .nh-list-hd-tag { font-size: 10px; }
  .nh-list-hd-desc { font-size: 12.5px; }
  .nh-list-hd-stats { width: 100%; }
  .nh-list-hd-stat { padding: 10px 12px; }
  .nh-list-hd-stat-val { font-size: 1rem; }

  /* ── SHOW PAGE: mobile ── */
  .nh-game-hd-body { padding: 12px 12px 10px; gap: 12px; }
  .nh-game-hd-cover { width: 100%; height: 160px; }
  .nh-game-hd-title { font-size: 1.1rem; }
  .nh-game-hd-desc { display: none; }
  .nh-game-hd-actions { gap: 8px; }
  .nh-game-hd-btn { padding: 9px 14px; font-size: 12.5px; flex: 1; justify-content: center; }
  /* Strip: horizontal scroll on mobile */
  .nh-game-hd-strip-item { padding: 10px 10px; min-width: 72px; }
  .nh-ghs-lbl { font-size: 10px; }
  .nh-ghs-val { font-size: 12.5px; }

  /* Dashboard: compact */
  .nh-dash-body { padding: 12px; gap: 14px; }
  .nh-rtp-ring { width: 72px; height: 72px; }
  .nh-rtp-ring-inner { width: 56px; height: 56px; font-size: 13px; }
  .nh-rtp-desc strong { font-size: 13px; }
  .nh-rtp-desc p { font-size: 12px; }
  .nh-keydata { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .nh-keydata-item { padding: 10px 12px; }
  .nh-keydata-val { font-size: 1rem; }

  /* Article body */
  .nh-article-body { padding: 16px; }
  .nh-article-body-h { font-size: 1rem; }

  /* Footer: compact 2-col on 640px */
  .nh-footer { margin-top: 16px; }
  .nh-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
    padding: 24px 16px 18px;
  }
  .nh-footer-col:first-child {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--nx-border2);
    padding-bottom: 16px;
  }
  .nh-footer-col:first-child .nh-footer-brand { margin-bottom: 0; flex-shrink: 0; }
  .nh-footer-col:first-child .nh-footer-desc { display: none; }
  .nh-footer-col:first-child .nh-footer-meta,
  .nh-footer-col:first-child .nh-footer-beian { font-size: 11px; margin-top: 2px; }
  .nh-footer-col:not(:first-child) .nh-footer-col-title { font-size: 11px; margin-bottom: 10px; letter-spacing: .8px; }
  .nh-footer-col:not(:first-child) .nh-footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
  .nh-footer-col:not(:first-child) .nh-footer-links li a {
    display: inline-block;
    font-size: 12px;
    background: var(--nx-card);
    border: 1px solid var(--nx-border2);
    padding: 4px 10px;
    border-radius: 5px;
    color: var(--nx-text3);
  }
  .nh-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 3px;
    padding: 12px 16px;
    font-size: 11.5px;
  }

  /* Provider chart */
  .nh-provider-name { width: 100px; font-size: 12px; }

  /* Tag cloud */
  .nh-tag { font-size: 11.5px; padding: 4px 10px; }

  /* Breadcrumb */
  .nh-breadcrumb { font-size: 11.5px; }

  /* Toolbar */
  .nh-list-toolbar { padding: 8px 0; }
  .nh-list-toolbar-label { font-size: 12px; }
}

  /* Footer: compact 2-col on 640px */
  .nh-footer { margin-top: 16px; }
  .nh-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
    padding: 24px 16px 18px;
  }
  /* About col: span full width, condensed */
  .nh-footer-col:first-child {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--nx-border2);
    padding-bottom: 16px;
  }
  .nh-footer-col:first-child .nh-footer-brand { margin-bottom: 0; flex-shrink: 0; }
  .nh-footer-col:first-child .nh-footer-desc {
    display: none;
  }
  .nh-footer-col:first-child .nh-footer-meta,
  .nh-footer-col:first-child .nh-footer-beian {
    font-size: 11px;
    margin-top: 2px;
  }
  /* Link cols: horizontal wrapping pills */
  .nh-footer-col:not(:first-child) .nh-footer-col-title {
    font-size: 11px;
    margin-bottom: 10px;
    letter-spacing: .8px;
  }
  .nh-footer-col:not(:first-child) .nh-footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
  .nh-footer-col:not(:first-child) .nh-footer-links li a {
    display: inline-block;
    font-size: 12px;
    background: var(--nx-card);
    border: 1px solid var(--nx-border2);
    padding: 4px 10px;
    border-radius: 5px;
    color: var(--nx-text3);
    transition: color .15s, border-color .15s;
  }
  .nh-footer-col:not(:first-child) .nh-footer-links li a:hover {
    color: var(--nx-accent2);
    border-color: var(--nx-border);
  }
  .nh-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 3px;
    padding: 12px 16px;
    font-size: 11.5px;
  }

  /* Provider chart */
  .nh-provider-name { width: 100px; font-size: 12px; }

  /* Tag cloud */
  .nh-tag { font-size: 11.5px; padding: 4px 10px; }

  /* Show page */
  .nh-game-hd-title { font-size: 1.2rem; }
  .nh-rtp-display { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* List header */
  .nh-list-hd { padding: 16px 18px; }
  .nh-list-hd h1 { font-size: 1.05rem; }

  /* Breadcrumb */
  .nh-breadcrumb { font-size: 11.5px; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — 390px (iPhone)
══════════════════════════════════════════════════════════════ */
@media (max-width: 390px) {
  .nh-wrap { padding: 14px 12px; }
  .nh-hero-title { font-size: 1.3rem; }
  .nh-game-grid { gap: 8px; }
  .nh-bnav { left: 8px; right: 8px; }
  .nh-bnav-ico { font-size: 16px; }
  .nh-bnav-txt { font-size: 9px; }
  .nh-hero-stat-val { font-size: 1rem; }
  /* Footer: single column at 390px */
  .nh-footer-inner { grid-template-columns: 1fr; gap: 14px; padding: 20px 14px 14px; }
  .nh-footer-col:first-child { flex-direction: column; align-items: flex-start; gap: 6px; }
  .nh-footer-col:not(:first-child) .nh-footer-links { gap: 5px; }
  .nh-footer-col:not(:first-child) .nh-footer-links li a { font-size: 11.5px; padding: 3px 9px; }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE LIST PAGE OPTIMIZATION — nx (pgslot2)
══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  /* Card style */
  .nh-review-list { display: flex; flex-direction: column; gap: 10px; }
  .nh-review-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    grid-template-rows: auto auto;
    gap: 8px 12px;
    align-items: start;
    padding: 12px;
    background: var(--nx-card);
    border: 1px solid var(--nx-border2);
    border-radius: 10px;
    flex-direction: unset;
  }
  /* Thumbnail 100×68 */
  .nh-review-item-img-wrap {
    width: 100px;
    height: 68px;
    grid-row: 1 / 3;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
  }
  .nh-review-item-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
  /* Body */
  .nh-review-item-body { padding: 0; }
  .nh-review-item-title { font-size: 13px; line-height: 1.4; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  /* Description: 2 lines */
  .nh-review-item-info {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 11px;
    color: var(--nx-text3);
    margin-top: 3px;
  }
  /* Footer row: score + read more inline */
  .nh-review-item-foot {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
  }
  .nh-review-item-date { display: none; }
  .nh-score-pill { font-size: 11px; }
  .nh-review-item-rtp { font-size: 11px; }
}

/* ====== nx- comments ====== */
.nh-comments-section { background: var(--nx-card); border: 1px solid var(--nx-border); border-radius: var(--nx-radius); padding: 16px; margin-top: 22px; }
.nh-comments-title { font-size: 15px; font-weight: 800; color: var(--nx-text); margin-bottom: 14px; }
.nh-comments-list { display: flex; flex-direction: column; gap: 12px; }

/* score summary */
.nh-score-summary { display: flex; flex-direction: column; gap: 8px; }
.nh-score-row { display: flex; align-items: center; justify-content: space-between; }
.nh-score-row span:first-child { font-size: 13px; color: #aaa; }
.nh-score-row .nh-se { background:none; color: #4ade80; font-weight: 700; }
.nh-score-row .nh-sg { background:none; color: #60a5fa; font-weight: 700; }
.nh-score-row .nh-sa { background:none; color: #fbbf24; font-weight: 700; }

.nh-cmt { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 8px; padding: 12px; }
.nh-cmm { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13px; }
.nh-cmm strong { color: var(--nx-text); font-size: 14px; }
.nh-cmm .nh-se, .nh-cmm .nh-sg { background: #27ae60; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 700; color: #fff; }
.nh-cmm .nh-sa { background: #f39c12; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 700; color: #fff; }
.nh-cmd { color: var(--nx-text3); font-size: 12px; }
.nh-cmt p { color: var(--nx-text2); font-size: 13px; line-height: 1.5; margin: 0; }
