/* =========================================================================
   NOX CONNECTION — Dashboard shell
   Tema: teal-gold (ikut layout.css existing), struktur ala Elite Gamers Arena
   Kombinasi dengan Tailwind CDN (dipakai untuk utility class di Blade)
   ========================================================================= */

:root {
  --nox-bg-900:     #001f1f;
  --nox-bg-800:     #003332;
  --nox-bg-700:     #034c36;
  --nox-bg-600:     #0a6b52;
  --nox-panel:      rgba(8, 48, 44, 0.72);
  --nox-panel-soft: rgba(255, 255, 255, 0.04);
  --nox-border:     rgba(127, 216, 184, 0.12);
  --nox-border-hi:  rgba(127, 216, 184, 0.35);
  --nox-text:       #eafff6;
  --nox-text-muted: #9cbfb3;
  --nox-mint:       #7fd8b8;
  --nox-gold:       #d4af37;
  --nox-gold-soft:  #f7d794;
  --nox-magenta:    #e91e63;
  --nox-magenta-soft: #ff5f8f;

  --sidebar-w: 280px;
  --strip-w:   64px;
  --topbar-h:  68px;

  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 40px rgba(127, 216, 184, 0.15);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--nox-text);
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(127, 216, 184, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(212, 175, 55, 0.05), transparent 60%),
    linear-gradient(180deg, var(--nox-bg-900) 0%, var(--nox-bg-800) 40%, var(--nox-bg-700) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* ---------- Shell ---------- */

.nox-shell {
  display: flex;
  min-height: 100vh;
}

.nox-main-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.nox-main {
  padding: 28px 36px 48px;
  flex: 1;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

.nox-footer {
  margin-top: 48px;
  padding: 24px 0;
  border-top: 1px solid var(--nox-border);
  color: var(--nox-text-muted);
  font-size: 0.85rem;
}
.nox-footer a:hover { color: var(--nox-mint); }

/* ---------- Sidebar ---------- */

.nox-sidebar {
  width: calc(var(--strip-w) + var(--sidebar-w));
  display: flex;
  flex-shrink: 0;
  border-right: 1px solid var(--nox-border);
  background: linear-gradient(180deg, rgba(0, 31, 31, 0.95), rgba(3, 76, 54, 0.85));
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 50;
  transition: transform 0.25s ease;
}

.nox-sidebar__strip {
  width: var(--strip-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  gap: 14px;
  border-right: 1px solid var(--nox-border);
  background: rgba(0, 0, 0, 0.2);
}

.nox-strip-logo img {
  width: 40px; height: 40px; border-radius: 10px;
  box-shadow: 0 4px 14px rgba(127, 216, 184, 0.3);
}

.nox-strip-list {
  display: flex; flex-direction: column; gap: 10px; overflow-y: auto;
  width: 100%; align-items: center; padding-top: 10px;
  border-top: 1px solid var(--nox-border);
  flex: 1;
}
.nox-strip-list::-webkit-scrollbar { display: none; }

.nox-strip-item {
  width: 44px; height: 44px; border-radius: 12px;
  overflow: hidden; position: relative;
  border: 2px solid transparent;
  background: var(--nox-panel-soft);
  transition: all 0.2s ease;
  display: flex; align-items: center; justify-content: center;
  color: var(--nox-text-muted); font-weight: 700; font-size: 1.2rem;
}
.nox-strip-item img { width: 100%; height: 100%; object-fit: cover; }
.nox-strip-item:hover { border-color: var(--nox-gold); transform: translateY(-2px); }
.nox-strip-item--add { border-style: dashed; border-color: var(--nox-border-hi); }

.nox-sidebar__panel {
  flex: 1;
  padding: 20px 18px;
  display: flex; flex-direction: column;
  overflow-y: auto;
}

.nox-user {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  background: var(--nox-panel-soft);
  border: 1px solid var(--nox-border);
}
.nox-user__avatar {
  width: 44px; height: 44px; border-radius: 50%; position: relative;
  background: var(--nox-bg-600);
  overflow: hidden; flex-shrink: 0;
  border: 2px solid var(--nox-gold);
}
.nox-user__avatar img { width: 100%; height: 100%; object-fit: cover; }
.nox-user__badge {
  position: absolute; top: -4px; right: -4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--nox-magenta); color: #fff;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--nox-bg-800);
}
.nox-user__meta { display: flex; flex-direction: column; min-width: 0; }
.nox-user__greet { font-size: 0.72rem; color: var(--nox-text-muted); }
.nox-user__name  { font-size: 0.95rem; color: var(--nox-gold-soft); }

.nox-nav { display: flex; flex-direction: column; gap: 4px; }

.nox-nav__group {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  color: var(--nox-text-muted);
  padding: 16px 12px 6px;
  text-transform: uppercase;
}

.nox-nav__item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--nox-text-muted);
  font-size: 0.92rem; font-weight: 500;
  transition: all 0.15s ease;
  position: relative;
}
.nox-nav__item:hover {
  background: var(--nox-panel-soft);
  color: var(--nox-text);
}
.nox-nav__item.is-active {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.18), transparent);
  color: var(--nox-gold-soft);
  box-shadow: inset 3px 0 0 var(--nox-gold);
}
.nox-nav__icon { width: 22px; text-align: center; }
.nox-nav__badge {
  margin-left: auto;
  background: var(--nox-bg-600);
  color: var(--nox-mint);
  padding: 1px 8px; border-radius: 20px;
  font-size: 0.7rem; font-weight: 600;
}

.nox-premium-card {
  margin-top: auto;
  padding: 18px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(247, 215, 148, 0.05));
  border: 1px solid var(--nox-border-hi);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.nox-premium-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% -20%, rgba(212, 175, 55, 0.25), transparent 70%);
  pointer-events: none;
}
.nox-premium-card__icon {
  font-size: 1.8rem; margin-bottom: 8px;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.6));
}
.nox-premium-card h4 { font-size: 0.95rem; margin: 0 0 6px; color: var(--nox-gold-soft); }
.nox-premium-card p  { font-size: 0.78rem; color: var(--nox-text-muted); margin: 0 0 14px; line-height: 1.45; }
.nox-premium-card__btn {
  display: inline-block;
  padding: 8px 18px; border-radius: 20px;
  background: linear-gradient(135deg, var(--nox-gold), var(--nox-gold-soft));
  color: var(--nox-bg-900); font-weight: 700; font-size: 0.82rem;
  transition: transform 0.15s;
}
.nox-premium-card__btn:hover { transform: translateY(-2px); }

/* ---------- Top navbar ---------- */

.nox-topbar {
  height: var(--topbar-h);
  display: flex; align-items: center; gap: 18px;
  padding: 0 32px;
  border-bottom: 1px solid var(--nox-border);
  background: rgba(0, 31, 31, 0.8);
  backdrop-filter: blur(14px);
  position: sticky; top: 0; z-index: 40;
}

.nox-topbar__toggle {
  background: transparent; border: 1px solid var(--nox-border);
  width: 38px; height: 38px; border-radius: 10px;
  color: var(--nox-text); display: flex; align-items: center; justify-content: center;
}

.nox-topbar__crumbs { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nox-topbar__brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--nox-gold-soft); }
.nox-topbar__brand img { width: 28px; height: 28px; border-radius: 8px; }
.nox-topbar__sep { color: var(--nox-text-muted); }
.nox-topbar__page { color: var(--nox-text-muted); font-size: 0.9rem; }

.nox-search {
  flex: 1; max-width: 520px;
  position: relative;
  display: flex; align-items: center;
  background: var(--nox-panel-soft);
  border: 1px solid var(--nox-border);
  border-radius: 999px;
  padding: 8px 16px;
  transition: border-color 0.15s;
}
.nox-search:focus-within { border-color: var(--nox-gold); box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1); }
.nox-search__icon { color: var(--nox-text-muted); margin-right: 10px; flex-shrink: 0; }
.nox-search input {
  flex: 1; background: transparent; border: 0; outline: none;
  color: var(--nox-text); font-size: 0.9rem;
}
.nox-search input::placeholder { color: var(--nox-text-muted); }
.nox-search__kbd {
  font-size: 0.7rem; padding: 2px 7px; border-radius: 5px;
  background: var(--nox-bg-600); color: var(--nox-mint);
  border: 1px solid var(--nox-border);
}

.nox-search__results {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  max-height: 340px; overflow-y: auto;
  background: rgba(0, 20, 20, 0.97);
  backdrop-filter: blur(16px);
  border: 1px solid var(--nox-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 8px;
  z-index: 50;
}
.nox-search__results[hidden] { display: none; }
.nox-search__result {
  display: flex; align-items: center; gap: 10px;
  padding: 8px; border-radius: var(--radius-sm);
  transition: background 0.12s;
}
.nox-search__result:hover { background: var(--nox-panel-soft); }
.nox-search__result img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.nox-search__result-meta { display: flex; flex-direction: column; min-width: 0; }
.nox-search__result-meta strong { font-size: 0.9rem; }
.nox-search__result-meta small { color: var(--nox-text-muted); font-size: 0.75rem; }
.nox-search__empty { padding: 14px; text-align: center; color: var(--nox-text-muted); font-size: 0.85rem; }

.nox-topbar__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.nox-icon-btn {
  background: var(--nox-panel-soft); border: 1px solid var(--nox-border);
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--nox-text); font-size: 1.05rem;
  position: relative; transition: border-color 0.15s;
}
.nox-icon-btn:hover { border-color: var(--nox-gold); }
.nox-dot {
  position: absolute; top: 6px; right: 8px;
  width: 8px; height: 8px; background: var(--nox-magenta); border-radius: 50%;
  box-shadow: 0 0 8px var(--nox-magenta);
}

.nox-balance {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
  border: 1px solid var(--nox-border-hi);
}
.nox-balance__coin { font-size: 1.1rem; filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.6)); }
.nox-balance__val small  { display: block; font-size: 0.65rem; color: var(--nox-text-muted); }
.nox-balance__val strong { display: block; font-size: 0.88rem; color: var(--nox-gold-soft); }

.nox-login-btn {
  padding: 9px 22px; border-radius: 999px;
  background: linear-gradient(135deg, var(--nox-gold), var(--nox-gold-soft));
  color: var(--nox-bg-900); font-weight: 700; font-size: 0.88rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.nox-login-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35); }

/* ---------- Buttons generic ---------- */

.nox-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: 999px;
  font-weight: 600; font-size: 0.9rem;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.nox-btn--gold {
  background: linear-gradient(135deg, var(--nox-gold), var(--nox-gold-soft));
  color: var(--nox-bg-900);
}
.nox-btn--gold:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(212, 175, 55, 0.35); }
.nox-btn--ghost {
  background: transparent; color: var(--nox-text);
  border-color: var(--nox-border-hi);
}
.nox-btn--ghost:hover { background: var(--nox-panel-soft); }

/* ---------- Hero banner ---------- */

.nox-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
  border: 1px solid var(--nox-border);
}
.nox-hero__slides { position: relative; min-height: 360px; }
.nox-hero__slide {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 30px;
  padding: 50px 60px;
  opacity: 0; transform: translateX(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 100% at 100% 50%, rgba(127, 216, 184, 0.18), transparent 70%),
    linear-gradient(120deg, #002727 0%, #034c36 55%, #0a6b52 100%);
}
.nox-hero__slide--gold {
  background:
    radial-gradient(ellipse 90% 100% at 0% 50%, rgba(212, 175, 55, 0.28), transparent 70%),
    linear-gradient(120deg, #1a1405 0%, #2d1f00 55%, #4a3305 100%);
}
.nox-hero__slide.is-active { opacity: 1; transform: translateX(0); pointer-events: auto; }

.nox-hero__eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--nox-gold-soft); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  margin-bottom: 14px;
  border: 1px solid var(--nox-border-hi);
}
.nox-hero__title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800; line-height: 1.05;
  background: linear-gradient(135deg, #fff, var(--nox-mint));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 0 0 14px;
}
.nox-hero__subtitle { color: #d6ece4; font-size: 1rem; max-width: 440px; margin: 0 0 22px; line-height: 1.55; }
.nox-hero__cta { font-size: 0.95rem; }
.nox-hero__stats {
  display: flex; gap: 28px; margin-top: 28px;
  padding-top: 18px; border-top: 1px dashed var(--nox-border-hi);
}
.nox-hero__stats div { display: flex; flex-direction: column; }
.nox-hero__stats strong { font-size: 1.4rem; color: var(--nox-gold-soft); }
.nox-hero__stats small  { font-size: 0.72rem; color: var(--nox-text-muted); }

.nox-hero__art { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; }
.nox-hero__art img {
  max-height: 300px; object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.45));
  animation: noxFloat 5s ease-in-out infinite;
}
@keyframes noxFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.nox-hero__orb {
  position: absolute; border-radius: 50%; filter: blur(40px);
  pointer-events: none;
}
.nox-hero__orb--1 { width: 200px; height: 200px; background: rgba(127, 216, 184, 0.35); top: 10%; left: 10%; animation: noxFloat 6s ease-in-out infinite; }
.nox-hero__orb--2 { width: 160px; height: 160px; background: rgba(212, 175, 55, 0.25); bottom: 10%; right: 8%; animation: noxFloat 8s ease-in-out infinite reverse; }

.nox-hero__dots {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 3;
}
.nox-hero__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.2); border: 0;
  transition: all 0.2s;
}
.nox-hero__dot.is-active { background: var(--nox-gold); width: 28px; border-radius: 6px; }

/* ---------- Category pills ---------- */

.nox-cat-pills { margin-bottom: 28px; }
.nox-cat-pills__wrap {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: var(--nox-panel);
  border: 1px solid var(--nox-border);
  backdrop-filter: blur(10px);
}
.nox-cat-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  background: transparent; border: 1px solid transparent;
  color: var(--nox-text-muted);
  border-radius: 999px;
  font-weight: 700; font-size: 0.88rem; letter-spacing: 0.08em;
  transition: all 0.15s ease;
}
.nox-cat-pill:hover {
  color: var(--nox-text);
  background: var(--nox-panel-soft);
  border-color: var(--nox-border);
}
.nox-cat-pill.is-active {
  background: linear-gradient(135deg, var(--nox-magenta), var(--nox-magenta-soft));
  color: #fff;
  box-shadow: 0 6px 18px rgba(233, 30, 99, 0.35);
  border-color: transparent;
}

/* ---------- Flash sale ---------- */

.nox-flash {
  padding: 24px 26px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 20, 20, 0.7), rgba(3, 76, 54, 0.7));
  border: 1px solid var(--nox-border);
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
}
.nox-flash__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
}
.nox-flash__title-wrap { display: flex; align-items: center; gap: 14px; }
.nox-flash__title {
  margin: 0; font-size: 1.6rem; font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--nox-gold-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: 0.04em;
}
.nox-flash__timer {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--nox-magenta), var(--nox-magenta-soft));
  color: #fff; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.08em;
  box-shadow: 0 4px 14px rgba(233, 30, 99, 0.35);
  font-variant-numeric: tabular-nums;
}
.nox-flash__link { color: var(--nox-mint); font-size: 0.88rem; font-weight: 600; }
.nox-flash__link:hover { color: var(--nox-gold-soft); }

.nox-flash__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.nox-flash__card {
  display: flex; gap: 12px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(0, 30, 30, 0.65);
  border: 1px solid var(--nox-border);
  transition: all 0.2s ease;
  cursor: pointer;
}
.nox-flash__card:hover {
  border-color: var(--nox-gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.nox-flash__card-media {
  width: 72px; height: 72px; flex-shrink: 0;
  border-radius: var(--radius-sm); overflow: hidden;
  background: var(--nox-bg-600);
}
.nox-flash__card-media img { width: 100%; height: 100%; object-fit: cover; }

.nox-flash__card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.nox-flash__card-body h3 { margin: 0; font-size: 0.95rem; font-weight: 600; color: var(--nox-text); }

.nox-flash__price {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.nox-flash__price strong { color: var(--nox-gold-soft); font-size: 1rem; font-weight: 700; }
.nox-flash__price-strike { color: var(--nox-text-muted); font-size: 0.78rem; text-decoration: line-through; }
.nox-flash__badge {
  background: var(--nox-magenta); color: #fff;
  padding: 2px 8px; border-radius: 6px;
  font-size: 0.7rem; font-weight: 700;
  box-shadow: 0 2px 8px rgba(233, 30, 99, 0.35);
}

.nox-flash__stock {
  margin-top: 4px;
}
.nox-flash__stock-bar {
  height: 6px; border-radius: 999px;
  background: rgba(127, 216, 184, 0.1);
  position: relative; overflow: hidden;
  margin-bottom: 5px;
}
.nox-flash__stock-bar::after {
  content: ''; position: absolute; inset: 0;
  width: var(--w, 0%);
  background: linear-gradient(90deg, var(--nox-magenta), var(--nox-magenta-soft));
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(233, 30, 99, 0.5);
}
.nox-flash__stock small { color: var(--nox-text-muted); font-size: 0.72rem; }

/* ---------- Section headings ---------- */

.nox-section {
  margin-bottom: 32px;
}
.nox-section__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 18px; gap: 20px; flex-wrap: wrap;
}
.nox-section__eyebrow {
  display: block; font-size: 0.72rem; font-weight: 700;
  color: var(--nox-mint); letter-spacing: 0.18em;
  margin-bottom: 6px;
}
.nox-section__title {
  margin: 0; font-size: 1.6rem; font-weight: 800;
  color: #fff;
}
.nox-section__link { color: var(--nox-mint); font-size: 0.88rem; }
.nox-section__link:hover { color: var(--nox-gold-soft); }

/* ---------- Game grid ---------- */

.nox-game-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.nox-game-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--nox-panel);
  border: 1px solid var(--nox-border);
  transition: all 0.2s ease;
  cursor: pointer;
}
.nox-game-card:hover {
  transform: translateY(-6px);
  border-color: var(--nox-gold);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}
.nox-game-card__img {
  position: relative; aspect-ratio: 4/5;
  overflow: hidden;
}
.nox-game-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.nox-game-card:hover .nox-game-card__img img { transform: scale(1.06); }
.nox-game-card__img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.85));
}
.nox-game-card__region {
  position: absolute; top: 10px; left: 10px;
  background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(6px);
  padding: 4px 10px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 600;
  border: 1px solid var(--nox-border);
}
.nox-game-card__crown {
  position: absolute; top: 10px; right: 10px;
  font-size: 1.2rem;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.6));
}
.nox-game-card__info {
  padding: 12px 14px;
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 2;
}
.nox-game-card__title { margin: 0; font-size: 0.95rem; font-weight: 700; color: #fff; }
.nox-game-card__genre { display: block; margin-top: 3px; color: var(--nox-mint); font-size: 0.72rem; font-weight: 600; }

/* ---------- Promo popup ---------- */

.nox-promo-backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  z-index: 200; padding: 20px;
  animation: noxFadeIn 0.25s ease;
}
.nox-promo-backdrop[hidden] { display: none; }

@keyframes noxFadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes noxPopIn   { from { opacity: 0; transform: scale(0.92) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.nox-promo-popup {
  position: relative;
  width: 100%; max-width: 820px;
  display: grid; grid-template-columns: 1fr 1.1fr;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #002727, #034c36);
  border: 1px solid var(--nox-border-hi);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(127, 216, 184, 0.1);
  animation: noxPopIn 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.nox-promo-popup__close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.55); color: #fff;
  border: 1px solid var(--nox-border);
  font-size: 1.3rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  transition: background 0.15s;
}
.nox-promo-popup__close:hover { background: var(--nox-magenta); }

.nox-promo-popup__image {
  position: relative;
  background: #01151C;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; min-height: 320px;
}
.nox-promo-popup__image img,
.nox-promo-popup__image video {
  max-width: 80%; max-height: 75%;
  object-fit: contain;
}
.nox-promo-popup__image img    { animation: noxFloat 4s ease-in-out infinite; }
.nox-promo-popup__image video  { width: 100%; max-width: 100%; max-height: 100%; background: #021a22; }
.nox-promo-popup__shine {
  display: none;
}

.nox-promo-popup__body {
  padding: 40px 36px;
  display: flex; flex-direction: column; justify-content: center;
}
.nox-promo-popup__eyebrow {
  display: inline-block; margin-bottom: 12px;
  padding: 5px 14px; border-radius: 999px;
  background: rgba(127, 216, 184, 0.08);
  color: var(--nox-gold-soft);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em;
  border: 1px solid var(--nox-border-hi);
  align-self: flex-start;
}
.nox-promo-popup__title {
  margin: 0 0 10px; font-size: 1.7rem; font-weight: 800; line-height: 1.15;
  background: linear-gradient(135deg, #fff, var(--nox-gold-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nox-promo-popup__subtitle { margin: 0 0 14px; font-size: 1rem; color: var(--nox-mint); font-weight: 600; }
.nox-promo-popup__desc  { margin: 0 0 22px; color: var(--nox-text-muted); font-size: 0.9rem; line-height: 1.55; }
.nox-promo-popup__desc strong { color: var(--nox-gold-soft); }

.nox-promo-popup__code {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 10px 10px 18px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed var(--nox-border-hi);
  border-radius: var(--radius-md);
  margin-bottom: 22px;
}
.nox-promo-popup__code span {
  flex: 1;
  color: var(--nox-gold-soft); font-weight: 800; letter-spacing: 0.18em; font-size: 1.05rem;
}
.nox-promo-popup__code button {
  background: var(--nox-gold); color: var(--nox-bg-900);
  border: 0; padding: 8px 18px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.82rem;
  transition: background 0.15s;
}
.nox-promo-popup__code button:hover { background: var(--nox-gold-soft); }
.nox-promo-popup__code button.is-copied { background: var(--nox-mint); }

.nox-promo-popup__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nox-hero__slide { grid-template-columns: 1fr; padding: 40px 28px; text-align: left; }
  .nox-hero__art   { display: none; }
}

@media (max-width: 900px) {
  .nox-sidebar {
    position: fixed; top: 0; left: 0;
    transform: translateX(-100%);
  }
  .nox-sidebar.is-open { transform: translateX(0); box-shadow: 20px 0 60px rgba(0,0,0,0.5); }
  .nox-main { padding: 18px 18px 40px; }
  .nox-topbar { padding: 0 18px; }
  .nox-balance, .nox-search__kbd { display: none; }
  .nox-promo-popup { grid-template-columns: 1fr; max-width: 440px; }
  .nox-promo-popup__image { min-height: 200px; }
  .nox-promo-popup__body { padding: 24px; }
}

@media (max-width: 560px) {
  .nox-topbar { gap: 10px; }
  .nox-topbar__crumbs .nox-topbar__sep, .nox-topbar__page { display: none; }
  .nox-icon-btn { width: 34px; height: 34px; }
  .nox-login-btn { padding: 8px 16px; font-size: 0.8rem; }
  .nox-hero__slides { min-height: 300px; }
  .nox-hero__title { font-size: 1.8rem; }
  .nox-flash__title { font-size: 1.2rem; }
  .nox-flash__timer { font-size: 0.78rem; padding: 6px 12px; }
}

/* Overlay untuk sidebar mobile */
.nox-sidebar-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 49;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.nox-sidebar-overlay.is-active { opacity: 1; pointer-events: auto; }
