/* TOP-UP PAGES */
:root {
  --ng-max: 1328px;
  --ng-radius: 12px;
  --ng-hover: rgba(147, 180, 250, .13);
  --ng-active: rgba(147, 180, 250, .2);
  --ng-hero-shade: rgba(8, 13, 21, .92);
}
body.ng-page {
  background: var(--ui-bg);
  color: var(--ui-text);
  font: 400 15px/1.6 var(--ui-font);
  overflow-x: clip;
}
.ng-page *, .ng-page *::before, .ng-page *::after { box-sizing: border-box; }
.ng-page h1, .ng-page h2, .ng-page h3, .ng-page h4, .ng-page p, .ng-page a, .ng-page button, .ng-page input, .ng-page select { font-family: var(--ui-font); }
.ng-page a, .ng-page button, .ng-page input, .ng-page select {
  transition: background-color var(--ui-motion) var(--ui-ease), border-color var(--ui-motion) var(--ui-ease), color var(--ui-motion) var(--ui-ease), transform var(--ui-motion) var(--ui-ease), opacity var(--ui-motion) var(--ui-ease);
}
.ng-page :focus-visible { outline: 2px solid var(--ui-accent); outline-offset: 3px; }
.ng-page button:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.ng-page button[aria-busy="true"] { cursor: wait; }
.ng-page .lp-header { background: rgba(11, 16, 24, .94); border-bottom: 1px solid var(--ui-border); box-shadow: none; }
.ng-page .lp-logo, .ng-page .lp-nav a { color: var(--ui-text); font-family: var(--ui-font); }
.ng-page .lp-nav a[aria-current="page"] { color: var(--ui-accent); }
.ng-brand-logo { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.ng-page .lp-btn-primary { min-height: 44px; background: var(--ui-surface-raised); border: 1px solid var(--ui-border); color: var(--ui-text); box-shadow: none; }
.ng-page .lp-btn-primary:hover { border-color: var(--ui-accent); background: var(--ng-hover); }
.ng-page .lp-btn-primary:active { background: var(--ng-active); transform: translateY(1px); }
.ng-page .lp-footer { background: var(--ui-bg); border-top: 1px solid var(--ui-border); }
.ng-page .lp-footer-disclaimer, .ng-footer-copy { color: var(--ui-muted); }
.ng-footer-copy { margin-top: 8px; font-size: 13px; }

/* HERO */
.ng-slider-wrapper { max-width: var(--ng-max); margin: 32px auto 0; padding: 0 24px; }
.ng-slider-container { height: clamp(320px, 34vw, 420px); position: relative; overflow: hidden; background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 20px; }
.ng-slider-track { display: flex; height: 100%; transition: transform var(--ui-motion) var(--ui-ease); }
.ng-slide { position: relative; flex: 0 0 100%; min-width: 0; height: 100%; }
.ng-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ng-slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ng-hero-shade), rgba(8, 13, 21, .6) 45%, transparent); }
.ng-slide-text { position: absolute; left: 64px; bottom: 56px; z-index: 1; max-width: 480px; }
.ng-slide-text h2 { margin: 0 0 16px; color: var(--ui-text); font-size: clamp(32px, 4vw, 56px); font-weight: 700; line-height: 1.12; letter-spacing: -.04em; }
.ng-slide-text p { margin: 0 0 24px; color: var(--ui-muted); font-size: 14px; }
.ng-slide-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 24px; background: var(--ui-accent); border-radius: 9px; color: var(--ui-bg); text-decoration: none; font-weight: 700; }
.ng-slide-btn:hover { background: var(--ui-text); color: var(--ui-bg); transform: translateY(-2px); }
.ng-slide-btn:active { background: var(--ui-accent); transform: translateY(1px); }
.ng-slider-nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; transform: translateY(-50%); background: rgba(18, 25, 36, .75); border: 1px solid var(--ui-border); border-radius: 50%; color: var(--ui-text); cursor: pointer; }
.ng-slider-nav:hover { background: var(--ui-surface-raised); border-color: var(--ui-accent); }
.ng-slider-nav:active { background: var(--ng-active); }
.ng-slider-prev { left: 20px; }
.ng-slider-next { right: 20px; }
.ng-slider-dots { position: absolute; bottom: 12px; left: 50%; z-index: 2; display: flex; gap: 8px; transform: translateX(-50%); }
.ng-dot { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.ng-dot::after { content: ""; position: absolute; top: 20px; left: 0; right: 0; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .4); }
.ng-dot:hover::after { background: var(--ui-text); }
.ng-dot.active::after { background: var(--ui-accent); }
.ng-dot:active::after { background: var(--ui-accent); }

/* CATALOG */
.ng-catalog-wrap { max-width: var(--ng-max); margin: 0 auto; padding: 56px 24px 88px; }
.ng-catalog-intro { margin-bottom: 32px; }
.ng-eyebrow { margin: 0 0 8px; color: var(--ui-accent); font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.ng-catalog-intro h1 { margin: 0 0 8px; color: var(--ui-text); font-size: clamp(28px, 4vw, 42px); line-height: 1.2; letter-spacing: -.035em; }
.ng-catalog-intro > p:last-child { margin: 0; color: var(--ui-muted); font-size: 14px; }
.ng-search-bar { display: flex; align-items: center; gap: 16px; margin-bottom: 56px; }
.ng-search-input-wrap { position: relative; flex: 1; max-width: 480px; min-width: 0; }
.ng-search-input-wrap i { position: absolute; top: 50%; left: 16px; transform: translateY(-50%); color: var(--ui-muted); }
.ng-search-input { width: 100%; min-height: 48px; padding: 10px 16px 10px 44px; background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 10px; color: var(--ui-text); }
.ng-search-input::placeholder { color: var(--ui-muted); }
.ng-search-input:hover, .ng-search-input:focus { border-color: var(--ui-accent); }
.ng-catalog-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.ng-cat-tab { min-height: 44px; padding: 8px 16px; background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 9px; color: var(--ui-muted); cursor: pointer; }
.ng-cat-tab:hover, .ng-cat-tab.active { background: var(--ng-hover); border-color: var(--ui-accent); color: var(--ui-text); }
.ng-cat-tab:active { background: var(--ng-active); transform: translateY(1px); }
.ng-section { margin-bottom: 64px; }
.ng-sec-header { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 24px; }
.ng-sec-title { color: var(--ui-text); font-size: 24px; font-weight: 700; letter-spacing: -.025em; }
.ng-sec-sub { color: var(--ui-muted); font-size: 13px; }
.ng-grid-portrait { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ng-card-portrait { position: relative; height: 360px; overflow: hidden; background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 16px; text-decoration: none; }
.ng-card-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--ui-motion) var(--ui-ease); }
.ng-card-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(8, 13, 21, .3) 50%, var(--ng-hero-shade)); }
.ng-card-portrait:hover { border-color: var(--ui-accent); transform: translateY(-3px); }
.ng-card-portrait:hover img { transform: scale(1.025); }
.ng-card-portrait:active { transform: translateY(1px); }
.ng-card-portrait-info { position: absolute; bottom: 0; left: 0; right: 0; z-index: 1; padding: 24px; }
.ng-card-portrait-title { margin-bottom: 8px; color: var(--ui-text); font-size: 18px; font-weight: 700; line-height: 1.35; }
.ng-card-portrait-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; background: var(--ui-accent); border-radius: 9px; color: var(--ui-bg); font-size: 13px; font-weight: 700; }
.ng-card-portrait:hover .ng-card-portrait-btn { background: var(--ui-text); }
.ng-grid-horizontal { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.ng-card-hz { display: flex; align-items: center; gap: 16px; min-height: 88px; min-width: 0; padding: 16px; background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: var(--ng-radius); text-decoration: none; }
.ng-card-hz:hover { background: var(--ui-surface-raised); border-color: var(--ui-accent); transform: translateY(-2px); }
.ng-card-hz:active { background: var(--ng-active); transform: translateY(1px); }
.ng-card-hz-icon { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 9px; object-fit: cover; }
.ng-card-hz-info { min-width: 0; }
.ng-card-hz-title { overflow: hidden; color: var(--ui-text); font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.ng-card-hz-sub { color: var(--ui-muted); font-size: 11px; }
.ng-card-hz-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.ng-card-hz-badge { padding: 2px 6px; background: var(--ui-surface-raised); border: 1px solid var(--ui-border); border-radius: 4px; color: var(--ui-accent); font-size: 10px; font-weight: 700; }

/* PROFILE */
.ng-profile-box { display: flex; align-items: center; flex-wrap: wrap; gap: 48px; padding: 40px; background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 20px; }
.ng-profile-img-wrap { display: grid; place-items: center; width: 280px; height: 280px; flex: 0 0 280px; overflow: hidden; background: var(--ui-surface-raised); border: 1px solid var(--ui-border); border-radius: 20px; }
.ng-profile-img { width: 100%; height: 100%; object-fit: cover; }
.ng-profile-content { flex: 1; min-width: 280px; }
.ng-profile-tag { margin-bottom: 8px; color: var(--ui-accent); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.ng-profile-content h2 { margin: 0 0 8px; color: var(--ui-text); font-size: 32px; font-weight: 700; }
.ng-profile-content h2 span { color: var(--ui-accent); }
.ng-profile-phone { margin-bottom: 16px; color: var(--ui-muted); font-size: 15px; }
.ng-profile-desc { margin-bottom: 24px; color: var(--ui-muted); font-size: 14px; }
.ng-profile-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ng-stat-card { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--ui-surface-raised); border: 1px solid var(--ui-border); border-radius: var(--ng-radius); }
.ng-stat-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; background: var(--ng-hover); border-radius: 9px; color: var(--ui-accent); }
.ng-stat-info h4 { margin: 0 0 2px; color: var(--ui-text); font-size: 15px; font-weight: 700; }
.ng-stat-info p { margin: 0; color: var(--ui-muted); font-size: 12px; }

/* DETAIL HEADER AND LAYOUT (NAP GAME TOC DO - PIXEL-PERFECT MATCH) */
body.ng-page {
  background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.16) 0%, rgba(0, 242, 254, 0.08) 35%, transparent 65%), #050711 !important;
  color: #f8fafc;
  min-height: 100vh;
}

#ngAccountLink {
  display: none !important;
}

.napgame-header-section {
  text-align: center;
  padding: 35px 20px 22px;
}

.napgame-page-title {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 auto 12px;
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.5), 0 0 35px rgba(0, 242, 254, 0.25);
}

.divider-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
  width: fit-content;
}

.divider-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff, 0 0 12px #00f2fe;
}

.divider-line {
  width: 45px;
  height: 2px;
  background: linear-gradient(90deg, #00f2fe, #38bdf8);
  box-shadow: 0 0 10px #00f2fe;
}

.ng-detail-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.ng-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 24px;
  align-items: start;
}

.ng-col-left {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

/* 1. CHON GOI NAP CONTAINER */
.ng-panel-card {
  background: rgba(11, 15, 29, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 242, 254, 0.32);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.ng-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #00f2fe;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.ng-pkg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ng-pkg-card {
  background: rgba(16, 22, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 8px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  cursor: pointer;
  transition: all 0.22s ease-in-out;
  position: relative;
  min-height: 140px;
  text-decoration: none;
  user-select: none;
}

.ng-pkg-card:hover {
  border-color: rgba(0, 242, 254, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.22);
}

.ng-pkg-card.selected {
  border: 1.5px solid #00f2fe !important;
  background: rgba(0, 242, 254, 0.08) !important;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.35) !important;
}

.ng-pkg-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
  transition: transform 0.2s;
}

.ng-pkg-card:hover .ng-pkg-img {
  transform: scale(1.08);
}

.ng-pkg-name {
  font-size: 0.74rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.ng-pkg-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: #00f2fe;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.45);
  font-family: 'Be Vietnam Pro', sans-serif;
  letter-spacing: -0.2px;
}

.ng-pkg-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 6px;
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid rgba(0, 242, 254, 0.4);
  border-radius: 4px;
  color: #00f2fe;
  font-size: 9px;
  font-weight: 800;
}

/* 2. MO TA CONTAINER */
.ng-desc-card {
  background: rgba(11, 15, 29, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px 24px;
  margin-top: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.ng-desc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.ng-desc-cyan-bar {
  width: 3px;
  height: 16px;
  background: #00f2fe;
  border-radius: 2px;
  box-shadow: 0 0 8px #00f2fe;
}

.ng-desc-heading {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.ng-desc-warn {
  color: #ff4d4f;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 14px;
}

.ng-desc-contact {
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.5;
  margin-bottom: 12px;
}

.ng-desc-zalo-link {
  color: #00f2fe;
  font-weight: 800;
  text-decoration: underline;
}

.ng-desc-zalo-link:hover {
  color: #38bdf8;
}

.ng-desc-p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  line-height: 1.55;
  margin-bottom: 10px;
}

.ng-desc-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 16px auto 0;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s;
}

.ng-desc-toggle-btn:hover {
  color: #00f2fe;
}

/* 3. RIGHT COLUMN: THONG TIN NAP LOGIN */
.ng-checkout-panel {
  background: rgba(11, 15, 29, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(247, 37, 133, 0.4);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 0 30px rgba(247, 37, 133, 0.12), 0 10px 30px rgba(0,0,0,0.6);
  position: sticky;
  top: 90px;
}

.ng-form-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 20px;
}

.ng-form-title i {
  color: #f72585;
  text-shadow: 0 0 12px rgba(247, 37, 133, 0.6);
}

.ng-saved-acc-box {
  border: 1px dashed rgba(245, 158, 11, 0.4);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 14px;
  background: rgba(245, 158, 11, 0.03);
}

.ng-gold-label {
  color: #f59e0b;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ng-saved-select {
  width: 100%;
  background: #080a14;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 0.82rem;
  padding: 8px 12px;
  outline: none;
  cursor: pointer;
}

.ng-field-wrap {
  margin-bottom: 12px;
}

.ng-input-pill {
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  height: 44px;
  transition: border-color 0.2s;
}

.ng-pill-light {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
}

.ng-pill-light .ng-pill-input {
  color: #0f172a;
  font-weight: 600;
  font-size: 0.88rem;
}

.ng-pill-light .ng-pill-input::placeholder {
  color: #64748b;
}

.ng-pill-dark {
  background: rgba(16, 22, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ng-pill-dark .ng-pill-input {
  color: #ffffff;
  font-size: 0.85rem;
}

.ng-pill-dark .ng-pill-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.ng-pill-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
  font-family: 'Be Vietnam Pro', sans-serif;
}

.ng-pill-icon {
  font-size: 1rem;
  margin-right: 12px;
  flex-shrink: 0;
}

.ng-eye-toggle {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  font-size: 0.95rem;
}

.ng-sec-badge {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 10px;
}

.ng-sec-badge i {
  color: #10b981;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ng-sec-badge-text {
  color: #10b981;
  font-size: 0.72rem;
  line-height: 1.35;
  font-weight: 600;
}

.ng-qty-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.ng-qty-lbl {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.ng-qty-stepper {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(16, 22, 42, 0.85);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 4px 8px;
}

.ng-qty-num {
  color: #f72585;
  font-size: 1.05rem;
  font-weight: 800;
  min-width: 20px;
  text-align: center;
}

.ng-qty-step-btn {
  background: rgba(255,255,255,0.06);
  border: none;
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.ng-qty-step-btn:hover {
  background: rgba(255,255,255,0.15);
}

.ng-promo-box {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.ng-promo-inp {
  flex: 1;
  background: rgba(16, 22, 42, 0.85);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 0.8rem;
  padding: 8px 12px;
  outline: none;
  font-family: 'Be Vietnam Pro', sans-serif;
}

.ng-promo-inp::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.ng-promo-submit {
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid #00f2fe;
  border-radius: 8px;
  color: #00f2fe;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0 16px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.ng-promo-submit:hover {
  background: #00f2fe;
  color: #0b0f1d;
}

.ng-sum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ng-sum-lbl {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 600;
}

.ng-sum-val {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: right;
}

.ng-sum-total {
  color: #ff2a6d;
  font-size: 1.45rem;
  font-weight: 800;
  font-family: 'Be Vietnam Pro', sans-serif;
  text-shadow: 0 0 14px rgba(255, 42, 109, 0.5);
}

.ng-save-box {
  border: 1px dashed rgba(245, 158, 11, 0.4);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 16px;
  background: rgba(245, 158, 11, 0.03);
}

.ng-save-chk-lbl {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f59e0b;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
}

.ng-cta-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.ng-btn-cart {
  background: #141829;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  flex: 0 0 42%;
  text-transform: uppercase;
  transition: all 0.2s;
}

.ng-btn-cart:hover {
  background: #1e243d;
  border-color: rgba(255,255,255,0.3);
}

.ng-btn-confirm {
  background: linear-gradient(135deg, #d946ef 0%, #a855f7 50%, #8b5cf6 100%);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  flex: 1;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.45);
  transition: all 0.25s;
}

.ng-btn-confirm:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(168, 85, 247, 0.65);
}

.ng-btn-confirm:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ng-trust-note {
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.ng-field-error {
  margin: 6px 0 0;
  color: #ff4d4f;
  font-size: 12px;
}

.ng-field-error[hidden], .ng-checkout-message[hidden] {
  display: none;
}

.ng-checkout-message {
  margin: 0 0 14px;
  padding: 12px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 8px;
  color: #f87171;
  font-size: 13px;
}

.ng-checkout-message[data-state="success"] {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
  color: #34d399;
}

.ng-loading-state {
  grid-column: 1 / -1;
  padding: 32px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}


/* RESPONSIVE */
@media (max-width: 992px) {
  .ng-detail-layout { grid-template-columns: minmax(0, 1fr); }
  .ng-col-right { position: static; }
  .ng-grid-portrait { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ng-mobile-bar { display: flex; }
  body.ng-page:has(.ng-mobile-bar) { padding-bottom: 72px; }
}
@media (max-width: 768px) {
  .ng-slider-wrapper { margin-top: 24px; padding: 0 16px; }
  .ng-slider-container { height: 360px; }
  .ng-slide-overlay { background: linear-gradient(0deg, var(--ng-hero-shade), rgba(8, 13, 21, .12)); }
  .ng-slide-text { left: 24px; right: 24px; bottom: 64px; }
  .ng-slide-text h2 { font-size: 34px; }
  .ng-catalog-wrap, .ng-detail-container { padding-left: 16px; padding-right: 16px; }
  .ng-search-bar { flex-direction: column; align-items: stretch; }
  .ng-search-input-wrap { max-width: none; }
  .ng-grid-horizontal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ng-profile-box { gap: 24px; padding: 24px; }
  .ng-profile-img-wrap { width: 100%; height: 200px; flex-basis: 100%; }
  .ng-profile-content { min-width: 0; }
  .ng-detail-header { padding: 24px; }
  .ng-detail-cover { width: 65%; opacity: .25; }
  .ng-detail-block { padding: 24px; }
}
@media (max-width: 480px) {
  .ng-slider-container { height: 320px; }
  .ng-slider-nav { display: none; }
  .ng-slide-text { bottom: 56px; }
  .ng-slide-text h2 { font-size: 30px; }
  .ng-slide-text p { font-size: 12px; }
  .ng-grid-portrait { gap: 8px; }
  .ng-card-portrait { height: 270px; }
  .ng-card-portrait-info { padding: 16px; }
  .ng-card-portrait-title { font-size: 13px; }
  .ng-card-portrait-btn { padding: 8px 10px; font-size: 11px; }
  .ng-grid-horizontal { grid-template-columns: minmax(0, 1fr); }
  .ng-profile-stats { grid-template-columns: minmax(0, 1fr); }
  .ng-detail-header { gap: 16px; min-height: 128px; padding: 16px; }
  .ng-detail-icon { width: 64px; height: 64px; flex-basis: 64px; }
  .ng-detail-title h1 { font-size: 20px; }
  .ng-detail-subtitle { font-size: 12px; }
  .ng-form-grid { grid-template-columns: minmax(0, 1fr); }
  .ng-form-group { grid-column: 1 / -1; }
  .ng-pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ng-pkg-card { padding: 16px 8px; }
  .ng-pkg-name { font-size: 12px; }
  .ng-col-right { padding-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .ng-page *, .ng-page *::before, .ng-page *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Header shared by the two top-up pages. */
.ng-page .lp-header { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 16px max(24px,calc((100vw - 1280px)/2)); min-height: 80px; z-index: 100; }
.ng-page .lp-logo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; font-weight: 700; }
.ng-page .lp-nav { display: flex; gap: 8px; }
.ng-page .lp-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; color: var(--ui-muted); font-size: 13px; border-radius: 8px; }
.ng-page .lp-nav a:hover { background: var(--ui-surface-raised); color: var(--ui-text); }
.ng-page .lp-actions { display: flex; gap: 8px; }
.ng-page .lp-btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; font-size: 13px; border-radius: 8px; }
.ng-page .lp-footer { padding: 32px 24px; text-align: left; max-width: var(--ng-max); margin: 0 auto; font-size: 12px; }
.ng-catalog-status { grid-column: 1/-1; padding: 24px; color: var(--ui-muted); background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 8px; font-size: 13px; }
.ng-pkg-symbol { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 16px; font-size: 28px; color: var(--ui-accent); background: var(--ui-bg); border: 1px solid var(--ui-border); border-radius: 8px; }
.ng-zalo-float { position: fixed; right: 24px; bottom: 24px; z-index: 100; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 16px; color: var(--ui-text); font-size: 13px; font-weight: 500; background: var(--ui-surface-raised); border: 1px solid var(--ui-border); border-radius: 8px; box-shadow: var(--ui-shadow); }
.ng-zalo-float:hover { border-color: var(--ui-accent); background: var(--ui-surface); }
.ng-zalo-float:active { transform: translateY(1px); }
.ng-support-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ui-accent); }
@media(max-width:768px) {
 .ng-page .lp-header { min-height: 64px; padding: 8px 16px; gap: 8px; }
 .ng-page .lp-nav { order: 3; width: 100%; border-top: 1px solid var(--ui-border); }
 .ng-page .lp-nav a { padding: 8px; font-size: 12px; }
 .ng-page .lp-actions { margin-left: auto; }
 .ng-page .lp-footer { padding: 24px 16px 96px; }
 .ng-zalo-float { right: 16px; bottom: 80px; min-width: 44px; min-height: 44px; padding: 8px; }
 .ng-zalo-float span { display: none; }
}

.ng-pm-badge span,.ng-pm-badge i { color: var(--ui-muted) !important; }

/* Product artwork and restrained header motion. */
.ng-pkg-img { width: 64px; height: 64px; margin-bottom: 12px; border: 1px solid var(--ui-border); border-radius: 12px; }
.ng-detail-cover { animation: ng-cover-drift 18s ease-in-out infinite alternate; }
@keyframes ng-cover-drift { from { transform: scale(1); } to { transform: scale(1.045); } }
@media (prefers-reduced-motion: reduce) { .ng-detail-cover { animation: none; } }

/* GAME DETAIL EXPERIENCE */
.ng-detail-header{min-height:clamp(300px,34vw,420px);margin-bottom:24px;padding:40px;isolation:isolate;background:linear-gradient(110deg,var(--ui-surface),var(--ui-bg));border-radius:18px}
.ng-detail-cover{inset:0 0 0 auto;width:82%;opacity:.88;mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.42) 24%,#000 68%);animation:ng-cover-drift 24s ease-in-out infinite alternate}
.ng-detail-header::after{position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,var(--ui-bg) 0%,rgba(11,16,24,.82) 42%,rgba(11,16,24,.18)),linear-gradient(0deg,rgba(11,16,24,.44),transparent 50%);content:"";pointer-events:none}
.ng-detail-icon{width:88px;height:88px;flex-basis:88px;box-shadow:0 12px 32px rgba(0,0,0,.35)}
.ng-detail-title h1{font-size:clamp(32px,4.6vw,56px);text-shadow:0 3px 20px rgba(0,0,0,.35)}
.ng-detail-title,.ng-detail-icon{z-index:1}
.ng-order-steps{display:flex;align-items:center;gap:12px;margin:0 0 24px;padding:14px 20px;border:1px solid var(--ui-border);border-radius:12px;background:linear-gradient(120deg,var(--ui-surface),var(--ui-surface-raised))}
.ng-order-step{display:flex;align-items:center;gap:10px;min-height:36px;color:var(--ui-muted);text-decoration:none;font-size:12px;transition:color var(--ui-motion),transform var(--ui-motion)}
.ng-order-step:hover{color:var(--ui-text);transform:translateY(-1px)}
.ng-order-step span{display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--ui-border);border-radius:50%;font-size:10px}
.ng-order-step.is-current{color:var(--ui-text)}
.ng-order-step.is-current span{border-color:var(--ui-accent);background:var(--ng-hover);color:var(--ui-accent)}
.ng-order-step strong{font-size:12px;font-weight:600}.ng-order-steps>i{height:1px;flex:1;background:var(--ui-border)}
.ng-detail-block{scroll-margin-top:100px;background:linear-gradient(145deg,var(--ui-surface),color-mix(in srgb,var(--ui-surface) 80%,var(--ui-bg)));border-radius:16px}
.ng-block-title{font-size:17px}
.ng-pkg-tabs{flex-wrap:nowrap;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:thin}
.ng-tab-btn{flex:0 0 auto;border-radius:999px;transition:color var(--ui-motion),background var(--ui-motion),border-color var(--ui-motion),transform var(--ui-motion)}
.ng-pkg-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px}
.ng-pkg-card{min-height:198px;padding:18px 14px;background:linear-gradient(155deg,var(--ui-surface-raised),var(--ui-surface));border-radius:14px;overflow:hidden}
.ng-pkg-card::before{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 28%,color-mix(in srgb,var(--ui-accent) 13%,transparent),transparent 68%);content:"";pointer-events:none}
.ng-pkg-card.selected{background:linear-gradient(155deg,color-mix(in srgb,var(--ui-accent) 13%,var(--ui-surface-raised)),var(--ui-surface));box-shadow:0 0 0 1px color-mix(in srgb,var(--ui-accent) 40%,transparent),0 12px 36px color-mix(in srgb,var(--ui-accent) 14%,transparent)}
.ng-pkg-card.selected::after{position:absolute;top:10px;left:10px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--ui-accent);color:var(--ui-bg);content:"✓";font-size:12px;font-weight:800}
.ng-pkg-img{position:relative;width:88px;height:88px;margin-bottom:12px;object-fit:contain;border:0;border-radius:0;filter:drop-shadow(0 10px 18px color-mix(in srgb,var(--ui-accent) 20%,transparent))}
.ng-pkg-card:hover .ng-pkg-img{transform:translateY(-3px) scale(1.04)}
.ng-pkg-name{position:relative;min-height:38px;font-size:12px}
.ng-pkg-price{position:relative;font-size:16px}
.ng-pkg-badge{z-index:2;top:10px;right:10px;padding:4px 8px;border-radius:999px}
.ng-summary-card{background:linear-gradient(150deg,var(--ui-surface-raised),var(--ui-surface));box-shadow:0 18px 44px rgba(0,0,0,.2)}
.ng-summary-empty i{color:var(--ui-accent);filter:drop-shadow(0 6px 14px color-mix(in srgb,var(--ui-accent) 30%,transparent))}
.ng-total-price{font-size:24px}
body[data-game="genshin"]{--ng-world-accent:#a8dbe2}body[data-game="hsr"]{--ng-world-accent:#c3b7ff}body[data-game="zzz"]{--ng-world-accent:#e7ac7d}body[data-game="wuwa"]{--ng-world-accent:#9bd8d3}
body[data-game]{--ui-accent:var(--ng-world-accent,var(--ui-accent))}
.ng-credential-note{display:flex;align-items:flex-start;gap:10px;margin:0 0 18px;padding:13px 15px;border:1px solid var(--ui-border);border-radius:10px;background:color-mix(in srgb,var(--ui-accent) 7%,var(--ui-surface));color:var(--ui-muted);font-size:12px;line-height:1.55}
.ng-credential-note i{flex:0 0 auto;margin-top:2px;color:var(--ui-accent)}
.ng-page .lp-menu-toggle{display:none}
@media(max-width:992px){
.ng-detail-header{min-height:340px}
.ng-col-right{position:static}
.ng-summary-card{margin-bottom:8px}
.ng-mobile-bar{display:none}
.ng-mobile-bar.has-selection{display:flex}
body.ng-page:has(.ng-mobile-bar.has-selection){padding-bottom:72px}
}
@media(max-width:768px){
.ng-detail-container{padding-top:22px}
.ng-detail-header{min-height:310px;padding:24px}
.ng-detail-cover{width:100%;opacity:.72;mask-image:linear-gradient(90deg,rgba(0,0,0,.32),#000)}
.ng-detail-header::after{background:linear-gradient(90deg,rgba(11,16,24,.84),rgba(11,16,24,.18)),linear-gradient(0deg,rgba(11,16,24,.56),transparent 56%)}
.ng-order-steps{gap:7px;padding:12px}
.ng-order-step{gap:6px}
.ng-order-step strong{font-size:10px}
.ng-order-step span{width:25px;height:25px;font-size:9px}
.ng-pkg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ng-pkg-card{min-height:186px;padding:16px 9px}
.ng-pkg-img{width:76px;height:76px}
.ng-detail-block{padding:20px}
.ng-mobile-bar{padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:color-mix(in srgb,var(--ui-surface) 92%,transparent);backdrop-filter:blur(18px)}
.ng-page .lp-header{min-height:64px;flex-wrap:nowrap;gap:8px;padding:8px 16px}
.ng-page .lp-nav{display:none;order:initial;width:auto;border:0}
.ng-page .lp-actions{margin-left:auto;align-items:center}
.ng-page .lp-menu-toggle{display:flex;flex:0 0 44px;width:44px;height:44px;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:0;border:1px solid var(--ui-border);border-radius:8px;background:var(--ui-surface-raised);cursor:pointer}.ng-page .lp-menu-toggle:hover{border-color:var(--ui-accent)}
.ng-page .lp-menu-toggle span{display:block;width:18px;height:2px;background:var(--ui-text)}
.ng-page .lp-mobile-nav{display:grid;position:sticky;top:64px;z-index:99;gap:0;padding:8px 16px 16px;border-bottom:1px solid var(--ui-border);background:color-mix(in srgb,var(--ui-bg) 94%,transparent);backdrop-filter:blur(18px)}
.ng-page .lp-mobile-nav[hidden]{display:none!important}
.ng-page .lp-mobile-nav a{display:flex;align-items:center;min-height:48px;padding:8px 12px;border-bottom:1px solid var(--ui-border);color:var(--ui-muted);font-size:13px}
.ng-page .lp-mobile-nav a:hover,.ng-page .lp-mobile-nav a[aria-current=page]{color:var(--ui-accent)}
}
@media(max-width:480px){
.ng-detail-header{min-height:270px;padding:20px}
.ng-detail-icon{width:64px;height:64px;flex-basis:64px}
.ng-detail-title h1{font-size:28px}
.ng-detail-subtitle{max-width:280px}
.ng-order-steps{gap:5px;padding:10px 8px}
.ng-order-step{flex:1;justify-content:center;flex-direction:column;gap:3px;text-align:center}
.ng-order-step strong{font-size:9px}
.ng-order-steps>i{flex:0 0 12px}
.ng-pkg-name{min-height:42px}
.ng-col-right{padding-bottom:80px}
}
@media(prefers-reduced-motion:reduce){.ng-detail-cover{animation:none}}
/* NAMCUMZ CATALOG COMPOSITION */
.ng-page { --ng-max: 1200px; --ng-cyan: #70dce5; --ng-navy: #070912; }
.ng-page .lp-header { background: rgba(7,9,18,.92); backdrop-filter: blur(18px); border-bottom-color: rgba(112,220,229,.16); }
.ng-page .lp-logo { color: #f5f7ff; }
.ng-page .lp-nav { margin-inline: auto; }
.ng-page .lp-nav a[aria-current="page"] { color: var(--ng-cyan); background: rgba(112,220,229,.08); }
.ng-page .lp-btn-primary { border-color: rgba(112,220,229,.28); background: linear-gradient(110deg,rgba(112,220,229,.12),rgba(112,220,229,.04)); }
.ng-slider-wrapper { display: grid; grid-template-columns: minmax(0,2.05fr) minmax(260px,.95fr); align-items: stretch; gap: 16px; margin-top: 28px; }
.ng-slider-container { height: clamp(360px,34vw,430px); border-color: rgba(112,220,229,.18); border-radius: 16px; box-shadow: 0 20px 64px rgba(0,0,0,.28); }
.ng-slide img { object-position: center; }
.ng-slide-overlay { background: linear-gradient(90deg,rgba(7,9,18,.9),rgba(7,9,18,.42) 48%,rgba(7,9,18,.06)),linear-gradient(0deg,rgba(7,9,18,.48),transparent 46%); }
.ng-slide-text { left: clamp(28px,5vw,64px); bottom: 58px; }
.ng-slide-text h2 { max-width: 500px; font-size: clamp(38px,4.2vw,60px); text-shadow: 0 4px 24px rgba(0,0,0,.44); }
.ng-slide-text p { color: rgba(245,247,255,.76); }
.ng-slide-btn { min-height: 48px; padding-inline: 20px; border-radius: 8px; background: #f5f7ff; color: #070912; }
.ng-slide-btn:hover { background: var(--ng-cyan); }
.ng-slider-nav { border-color: rgba(112,220,229,.2); background: rgba(7,9,18,.66); backdrop-filter: blur(8px); }
.ng-slider-prev { top: 16px; right: 72px; bottom: auto; left: auto; transform: none; }
.ng-slider-next { top: 16px; right: 16px; bottom: auto; transform: none; }
.ng-slider-nav:active { transform: translateY(1px); }
.ng-dot::after { background: rgba(255,255,255,.28); }
.ng-dot.active::after { background: var(--ng-cyan); }
.ng-quick-panel { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-width: 0; padding: 20px; border: 1px solid rgba(112,220,229,.2); border-radius: 16px; background: linear-gradient(155deg,rgba(20,22,39,.96),rgba(9,12,24,.98)); box-shadow: 0 20px 64px rgba(0,0,0,.25); }
.ng-quick-heading { margin-bottom: 4px; }
.ng-quick-heading .ng-eyebrow { margin-bottom: 2px; font-size: 10px; }
.ng-quick-heading h2 { margin: 0; color: var(--ui-text); font-size: 20px; line-height: 1.3; }
.ng-quick-panel>a:not(.ng-quick-all) { display: grid; grid-template-columns: 40px minmax(0,1fr) 20px; align-items: center; gap: 10px; min-height: 64px; padding: 8px; border: 1px solid transparent; border-radius: 9px; background: rgba(255,255,255,.035); text-decoration: none; }
.ng-quick-panel>a:not(.ng-quick-all):hover { transform: translateX(2px); border-color: rgba(112,220,229,.34); background: rgba(112,220,229,.08); }
.ng-quick-panel>a img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.ng-quick-panel>a>span { display: grid; gap: 2px; min-width: 0; }
.ng-quick-panel strong { overflow: hidden; color: var(--ui-text); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.ng-quick-panel small { color: var(--ui-muted); font-size: 10px; }
.ng-quick-panel>a>b { color: var(--ng-cyan); font-size: 17px; font-weight: 400; text-align: center; }
.ng-quick-all { display: flex; align-items: center; justify-content: space-between; min-height: 42px; margin-top: 2px; padding: 8px 4px; border-top: 1px solid rgba(112,220,229,.16); color: var(--ng-cyan); font-size: 12px; font-weight: 700; text-decoration: none; }
.ng-catalog-wrap { padding-top: 52px; }
.ng-catalog-intro { max-width: 760px; margin: 0 auto 26px; text-align: center; }
.ng-catalog-intro h1 { font-size: clamp(32px,4vw,46px); letter-spacing: -.045em; }
.ng-search-bar { max-width: 820px; margin: 0 auto 42px; }
.ng-search-input-wrap { max-width: none; }
.ng-search-input { border-radius: 8px; background: var(--ui-surface-raised); }
.ng-section { margin-bottom: 54px; }
.ng-sec-header { align-items: end; justify-content: space-between; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(112,220,229,.14); }
.ng-sec-title { font-size: 24px; }
.ng-grid-portrait { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.ng-card-portrait { height: auto; aspect-ratio: 3/4; border-color: rgba(112,220,229,.18); border-radius: 14px; background: #0b0e19; box-shadow: 0 12px 32px rgba(0,0,0,.22); }
.ng-card-portrait img { transition: transform 260ms var(--ui-ease),filter 260ms var(--ui-ease); }
.ng-card-portrait::after { background: linear-gradient(180deg,rgba(5,7,15,.02) 32%,rgba(5,7,15,.48) 62%,rgba(5,7,15,.96)); }
.ng-card-portrait:hover img { transform: scale(1.045); filter: saturate(1.1); }
.ng-card-portrait-info { padding: 18px; }
.ng-card-portrait-title { font-size: 16px; text-shadow: 0 2px 12px #000; }
.ng-card-portrait-btn { display: flex; justify-content: space-between; align-items: center; min-height: 40px; border: 1px solid rgba(112,220,229,.28); background: rgba(10,14,27,.78); color: var(--ui-text); backdrop-filter: blur(8px); }
.ng-card-portrait-btn::after { content: "↗"; color: var(--ng-cyan); font-size: 17px; font-weight: 400; }
.ng-profile-box { max-width: 880px; margin-inline: auto; border-color: rgba(112,220,229,.2); border-radius: 14px; background: linear-gradient(145deg,rgba(18,23,39,.96),rgba(10,13,25,.96)); }
.ng-zalo-float { border-color: rgba(112,220,229,.28); background: linear-gradient(120deg,#243146,#15192a); border-radius: 999px; }
@media(max-width:1020px) {
  .ng-slider-wrapper { grid-template-columns: minmax(0,1.7fr) minmax(240px,1fr); gap: 12px; }
  .ng-quick-panel { padding: 16px; }
  .ng-slider-container { height: 390px; }
  .ng-grid-portrait { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:768px) {
  .ng-slider-wrapper { grid-template-columns: minmax(0,1fr); gap: 12px; margin-top: 20px; }
  .ng-slider-container { height: 380px; }
  .ng-quick-panel { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ng-quick-heading,.ng-quick-all { grid-column: 1/-1; }
  .ng-quick-panel>a:not(.ng-quick-all) { grid-template-columns: 36px minmax(0,1fr) 16px; min-height: 58px; gap: 8px; }
  .ng-quick-panel>a img { width: 36px; height: 36px; }
  .ng-catalog-wrap { padding-top: 40px; }
  .ng-search-bar { margin-bottom: 34px; }
}
@media(max-width:520px) {
  .ng-slider-container { height: 330px; }
  .ng-slide-text { left: 20px; right: 20px; bottom: 52px; }
  .ng-slide-text h2 { font-size: 34px; }
  .ng-slide-text p { max-width: 260px; font-size: 12px; }
  .ng-slider-nav { display: grid; width: 40px; height: 40px; }
  .ng-quick-panel { padding: 14px; gap: 6px; }
  .ng-quick-panel>a:not(.ng-quick-all) { grid-template-columns: 32px minmax(0,1fr); }
  .ng-quick-panel>a img { width: 32px; height: 32px; }
  .ng-quick-panel>a>b { display: none; }
  .ng-grid-portrait { gap: 10px; }
  .ng-card-portrait-info { padding: 12px; }
  .ng-card-portrait-title { font-size: 13px; }
  .ng-card-portrait-btn { min-height: 36px; padding: 6px 9px; font-size: 11px; }
  .ng-sec-title { font-size: 20px; }
}
body.ng-page:has(.ng-detail-layout) .ng-zalo-float{display:none}
/* Detail view: refine package density and keep the mobile header operable. */
.ng-detail-header{min-height:clamp(250px,25vw,330px)}
.ng-detail-layout{grid-template-columns:minmax(0,1fr) 320px;gap:20px}
.ng-col-left{gap:12px}
.ng-pkg-grid{grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:12px}
.ng-pkg-card{min-height:174px;padding:14px 12px}
.ng-pkg-img{width:76px;height:76px}
.ng-detail-block#orderInfoBlock,.ng-detail-block:has(#gameDescription),.ng-detail-block:has(.ng-faq-list),.ng-detail-block:has(#reviewList){padding:18px 20px}
.ng-detail-block#orderInfoBlock .ng-credential-note{margin-bottom:14px}
.ng-detail-block:has(.ng-faq-list) .ng-block-title,.ng-detail-block:has(#reviewList) .ng-block-title{margin-bottom:8px;padding-bottom:10px}
@media(max-width:992px){.ng-detail-layout{grid-template-columns:minmax(0,1fr)}.ng-col-right{position:static}}
@media(max-width:768px){
 .ng-page .lp-header{min-height:64px;flex-wrap:nowrap;gap:8px;padding:8px 16px}
 .ng-page .lp-nav{display:none;order:initial;width:auto;border:0}
 .ng-page .lp-actions{margin-left:auto;align-items:center}
 .ng-page .lp-menu-toggle{display:flex;flex:0 0 44px;width:44px;height:44px;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:0;border:1px solid var(--ui-border);border-radius:8px;background:var(--ui-surface-raised);cursor:pointer}.ng-page .lp-menu-toggle:hover{border-color:var(--ui-accent)}
 .ng-page .lp-menu-toggle span{display:block;width:18px;height:2px;background:var(--ui-text)}
 .ng-page .lp-mobile-nav{display:grid;position:sticky;top:64px;z-index:99;gap:0;padding:8px 16px 16px;border-bottom:1px solid var(--ui-border);background:rgba(7,9,18,.96);backdrop-filter:blur(18px)}
 .ng-page .lp-mobile-nav[hidden]{display:none!important}
 .ng-page .lp-mobile-nav a{display:flex;align-items:center;min-height:48px;padding:8px 12px;border-bottom:1px solid var(--ui-border);color:var(--ui-muted);font-size:13px}
 .ng-detail-header{min-height:290px}
 .ng-detail-block{padding:18px}
 .ng-pkg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .ng-pkg-card{min-height:170px}
}
@media(max-width:480px){.ng-detail-header{min-height:250px}.ng-detail-block#orderInfoBlock,.ng-detail-block:has(#gameDescription),.ng-detail-block:has(.ng-faq-list),.ng-detail-block:has(#reviewList){padding:16px}}
/* ACTIVE COLOR, PAGE CANVAS AND STATUS BAND */
.ng-page { --ui-accent:#70dce5; --ng-hover:rgba(112,220,229,.11); --ng-active:rgba(112,220,229,.18); background-image:linear-gradient(180deg,rgba(7,9,18,.94),rgba(7,9,18,.86)),url('/assets/images/games/genshin_banner.jpg'); background-position:center top; background-size:cover; background-attachment:fixed; }
.ng-detail-type-badge { border-color:rgba(112,220,229,.28); }
.ng-pkg-card.selected { background:rgba(112,220,229,.08); border-color:var(--ui-accent); box-shadow:0 0 16px rgba(112,220,229,.22); }
.ng-pkg-card:hover .ng-pkg-img { filter:drop-shadow(0 6px 14px rgba(112,220,229,.3)); }
.ng-pkg-card.selected .ng-pkg-img { filter:drop-shadow(0 6px 16px rgba(112,220,229,.42)); }
.ng-status-strip { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:10px 22px; width:min(calc(100% - 48px),var(--ng-max)); min-height:58px; margin:16px auto 0; padding:8px 18px; border:1px solid rgba(112,220,229,.16); border-radius:10px; background:linear-gradient(100deg,rgba(15,19,33,.96),rgba(18,21,36,.96)); color:var(--ui-muted); font-size:11px; }
.ng-status-strip span { display:inline-flex; align-items:center; gap:8px; }
.ng-status-strip i { color:var(--ui-accent); font-style:normal; }
.ng-status-strip>b { color:var(--ui-accent); font-size:16px; font-weight:400; }
@media(max-width:768px) { .ng-page { background-attachment:scroll; } .ng-status-strip { justify-content:flex-start; width:calc(100% - 32px); gap:6px 12px; } }
@media(max-width:520px) { .ng-status-strip { font-size:10px; } .ng-status-strip>b { display:none; } }@media(max-width:768px){
  .ng-page #ngAccountLink{width:44px;height:44px;min-height:44px;padding:0;gap:0;font-size:0}
  .ng-page #ngAccountLink i{font-size:14px}
  .ng-pkg-tabs{scrollbar-width:none;overscroll-behavior-x:contain}
  .ng-pkg-tabs::-webkit-scrollbar{display:none}
}
/* Use the same account dialog on catalog and checkout routes. */
.ng-page .lp-auth-overlay{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:24px;background:color-mix(in srgb,var(--ui-bg) 85%,transparent);backdrop-filter:blur(12px)}
.ng-page .lp-auth-dialog{position:relative;display:flex;width:min(600px,calc(100vw - 32px));height:min(640px,calc(100dvh - 48px));flex-direction:column;overflow:hidden;border:1px solid var(--ui-border);border-radius:18px;background:var(--ui-bg);box-shadow:var(--ui-shadow)}
.ng-page .lp-auth-dialog-header{position:absolute;top:10px;right:10px;z-index:3}
.ng-page .lp-auth-dialog-header h2{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}
.ng-page .lp-auth-close{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--ui-border);border-radius:50%;background:var(--ui-surface);color:var(--ui-text);font-size:22px;cursor:pointer}
.ng-page .lp-auth-close:hover{border-color:var(--ui-accent)}
.ng-page .lp-auth-frame{display:block;width:100%;min-height:0;flex:1;border:0}
.ng-page.lp-auth-modal-open{overflow:hidden}
@media(max-width:768px){.ng-page #ngAccountLink{width:auto;max-width:150px;padding:8px 10px;font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ng-page .lp-logo{font-size:15px;gap:6px}.ng-page .ng-brand-logo{width:28px;height:28px}}
@media(max-width:520px){.ng-page .lp-auth-overlay{padding:16px}.ng-page .lp-auth-dialog{width:min(600px,calc(100vw - 32px));height:min(640px,calc(100dvh - 48px))}}

/* Account controls share dashboard IDs, session state and event handlers. */
.ng-page #navUserProfile{gap:8px!important;margin-left:0!important}
.ng-page #navUserProfile .nav-avatar{flex-shrink:0}
.ng-page #navUsername{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ng-page #navUserProfile button:hover{border-color:var(--ui-accent)!important;color:var(--ui-text)!important}
@media(max-width:1100px){.ng-page .lp-nav{gap:8px}.ng-page .lp-nav a{font-size:11px}.ng-page #navRole{display:none}}
@media(max-width:768px){.ng-page #navUserProfile .notification-wrapper{display:none}.ng-page #navUserProfile>div:first-child{gap:5px!important;padding:4px!important}.ng-page #navUsername{max-width:64px;font-size:11px!important}.ng-page #navUserProfile{gap:5px!important}.ng-page #navUserProfile .nav-avatar{width:26px!important;height:26px!important}.ng-page #navLogoutBtn{width:30px!important;height:36px!important}}

/* ===================================================
   NAMCUMZ HUD CYBER STYLES - HIGHEST SPECIFICITY
   =================================================== */
body.ng-hud-theme {
  background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.16) 0%, rgba(0, 242, 254, 0.08) 35%, transparent 65%), #050711 !important;
  color: #f8fafc;
}

body.ng-hud-theme .ng-detail-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px !important;
  gap: 22px !important;
  align-items: start !important;
}

body.ng-hud-theme .ng-panel-card {
  background: rgba(11, 15, 29, 0.85) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(0, 242, 254, 0.35) !important;
  border-radius: 16px !important;
  padding: 22px 24px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}

body.ng-hud-theme .ng-pkg-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
}

body.ng-hud-theme .ng-pkg-card {
  background: rgba(16, 22, 42, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 14px 10px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: all 0.22s ease-in-out !important;
  position: relative !important;
  min-height: 220px !important;
  user-select: none !important;
  box-sizing: border-box !important;
  gap: 8px !important;
}

body.ng-hud-theme .ng-pkg-card::before,
body.ng-hud-theme .ng-pkg-card::after {
  display: none !important;
  content: none !important;
}

body.ng-hud-theme .ng-pkg-card:hover {
  border-color: rgba(0, 242, 254, 0.45) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 24px rgba(0, 242, 254, 0.25) !important;
}

body.ng-hud-theme .ng-pkg-card.selected {
  border: 1.5px solid #00f2fe !important;
  background: rgba(0, 242, 254, 0.1) !important;
  box-shadow: 0 0 24px rgba(0, 242, 254, 0.4) !important;
  transform: none !important;
}

body.ng-hud-theme .ng-pkg-img {
  width: 100% !important;
  max-width: 140px !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  margin-bottom: 4px !important;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.6)) !important;
  border: none !important;
  border-radius: 8px !important;
  display: block !important;
  transition: transform 0.22s ease-in-out !important;
}

body.ng-hud-theme .ng-pkg-card:hover .ng-pkg-img {
  transform: scale(1.05) !important;
}

body.ng-hud-theme .ng-pkg-name {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.35 !important;
  min-height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 2px !important;
}

body.ng-hud-theme .ng-pkg-price {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #00f2fe !important;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.45) !important;
  font-family: 'Be Vietnam Pro', sans-serif !important;
  letter-spacing: -0.2px !important;
  margin-top: auto !important;
}

body.ng-hud-theme .ng-checkout-panel {
  background: rgba(11, 15, 29, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1.5px solid rgba(247, 37, 133, 0.45) !important;
  border-radius: 16px !important;
  padding: 22px 20px !important;
  box-shadow: 0 0 30px rgba(247, 37, 133, 0.12), 0 10px 30px rgba(0,0,0,0.6) !important;
}

@media (max-width: 992px) {
  body.ng-hud-theme .ng-detail-layout {
    grid-template-columns: 1fr !important;
  }
  body.ng-hud-theme .ng-pkg-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  body.ng-hud-theme .ng-pkg-img {
    max-width: 140px !important;
  }
}

@media (max-width: 580px) {
  body.ng-hud-theme .ng-pkg-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  body.ng-hud-theme .ng-pkg-card {
    min-height: 195px !important;
    padding: 10px 8px 12px !important;
    gap: 6px !important;
  }
  body.ng-hud-theme .ng-pkg-img {
    max-width: 120px !important;
  }
  body.ng-hud-theme .ng-pkg-name {
    font-size: 0.76rem !important;
    min-height: 28px !important;
  }
  body.ng-hud-theme .ng-pkg-price {
    font-size: 1.05rem !important;
  }
}

@media (max-width: 768px) {
  body.ng-hud-theme .ng-detail-container,
  body.ng-hud-theme .ng-detail-layout,
  body.ng-hud-theme .ng-col-left,
  body.ng-hud-theme .ng-col-right {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
  }
  body.ng-hud-theme .ng-detail-container { width: 100%; }
}
@media (max-width: 480px) {
  body.ng-hud-theme .ng-promo-box { width: 100%; min-width: 0; box-sizing: border-box; }
  body.ng-hud-theme .ng-promo-inp { min-width: 0; width: 0; }
  body.ng-hud-theme .ng-promo-submit { flex: 0 0 auto; padding-inline: 10px; }
}
