/* customer.css — customer portal, polished dark dashboard */

/* ==================== PREMIUM FONT ==================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ==================== AUTH Z-INDEX FIX ==================== */
.auth-container { position: fixed; inset: 0; z-index: 200; }

/* ==================== GLOBAL POLISH ==================== */
.pi-card { border-radius: 12px; }
.gs-card { border-radius: 10px; }
.key-card { border-radius: 12px; }
.modal { border-radius: 14px; }
.pi-icon { border-radius: 8px; object-fit: cover; }

/* Product icon images - ensure crisp rendering */
.pi-icon, .gs-icon, .guide-product-btn-icon {
  image-rendering: -webkit-optimize-contrast;
}

/* ==================== MODAL OVERRIDES ==================== */
.modal {
  max-width: 440px;
  padding: 28px;
  overflow: visible;
}

.modal .error-msg {
  background: rgba(239,68,68,.08);
  color: #ef4444;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  margin-bottom: 10px;
  display: none;
  border: 1px solid rgba(239,68,68,.15);
}

/* ==================== LIVE STATS ==================== */
.live-stats-section {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 16px;
}
.live-stats-header {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: #8b8fa3;
  letter-spacing: .5px; text-transform: uppercase; margin-bottom: 12px;
}
.live-stats-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #10b981;
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,.4); }
  50% { opacity: .7; box-shadow: 0 0 0 4px rgba(16,185,129,0); }
}
.live-stats-row {
  display: flex; align-items: center; gap: 14px; margin-bottom: 10px;
}
.live-stat-mini {
  background: #09090b;
  border: 1px solid #27272a;
  border-radius: 8px; padding: 10px 14px;
  min-width: 90px;
}
.live-stat-mini-label {
  font-size: 10px; color: #4a4d5e; font-weight: 600;
  letter-spacing: .4px; text-transform: uppercase; margin-bottom: 2px;
}
.live-stat-mini-value {
  font-size: 22px; font-weight: 700; color: #e2e4ea;
  letter-spacing: -.02em;
}
.live-stats-sparkline-wrap {
  flex: 1; min-width: 100px; height: 50px;
}
.live-stats-products {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px;
}
.live-prod-item {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px; padding: 5px 10px; font-size: 12px;
}
.live-prod-icon {
  width: 16px; height: 16px; border-radius: 4px; object-fit: cover;
}
.live-prod-name { color: #8b8fa3; font-weight: 500; }
.live-prod-count { color: #10b981; font-weight: 700; }
.live-stats-countries {
  font-size: 12px; color: #4a4d5e; margin-top: 6px;
}
.live-countries-label { font-weight: 500; }
.live-countries-flags { font-size: 16px; letter-spacing: 2px; }

/* ==================== GAME SELECTOR ==================== */
.game-selector {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.game-selector::-webkit-scrollbar { display: none; }

.gs-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 8px;
  cursor: pointer;
  transition: all .22s cubic-bezier(.22,1,.36,1);
  flex: 1;
  min-width: 160px;
  user-select: none;
  position: relative;
  overflow: hidden;
}
.gs-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--ga, #6366f1);
  opacity: 0;
  transition: opacity .22s;
}
.gs-card:hover {
  background: #27272a;
  border-color: rgba(255,255,255,.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
}
.gs-card.active {
  border-color: color-mix(in srgb, var(--ga, #6366f1) 35%, transparent);
  background: color-mix(in srgb, var(--ga, #6366f1) 6%, rgba(16,18,24,.9));
  box-shadow: 0 4px 16px color-mix(in srgb, var(--ga, #6366f1) 12%, transparent);
}
.gs-card.active::before { opacity: 1; }

.gs-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.gs-icon-placeholder {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}

.gs-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.gs-name {
  font-family: 'Inter', var(--font);
  font-size: 15px;
  font-weight: 700;
  color: #e4e4e7;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.gs-card.active .gs-name { color: var(--ga, #e0e2ea); }

.gs-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.gs-status {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.gs-status.status-working { color: #10b981; }
.gs-status.status-updating { color: #f59e0b; }
.gs-status.status-maintenance { color: #f472b6; }
.gs-online {
  font-size: 11px;
  font-weight: 600;
  color: #10b981;
}

/* ==================== PRODUCTS LIST ==================== */
.products-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.products-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: viewFade .2s var(--ease);
}

/* ==================== GAME BLOCKS (accordion — kept for compat) ==================== */
.gblock {
  border-radius: 8px;
  border: 1px solid #27272a;
  background: #18181b;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.gblock.open {
  border-color: color-mix(in srgb, var(--ga, #6366f1) 22%, transparent);
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
}

.gblock-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  transition: background .2s;
  user-select: none;
}
.gblock-head:hover {
  background: rgba(255,255,255,.025);
}

.gblock-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.gblock-name {
  font-family: 'Inter', var(--font);
  font-size: 17px;
  font-weight: 700;
  color: #e4e4e7;
  letter-spacing: -.01em;
}
.gblock.open .gblock-name {
  color: var(--ga, #e0e2ea);
}

.gblock-status {
  font-family: 'Inter', var(--font);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.gblock-status.status-working {
  color: #10b981;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.12);
}
.gblock-status.status-updating {
  color: #f59e0b;
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.12);
}
.gblock-status.status-maintenance {
  color: #f472b6;
  background: rgba(244,114,182,.1);
  border: 1px solid rgba(244,114,182,.12);
}

.gblock-online {
  font-size: 12px;
  font-weight: 600;
  color: #10b981;
  font-family: 'Inter', var(--font);
  margin-left: auto;
}

.gblock-arrow {
  color: #4a4d5e;
  flex-shrink: 0;
  transition: transform .25s ease, color .25s;
  width: 18px;
  height: 18px;
}
.gblock.open .gblock-arrow {
  transform: rotate(180deg);
  color: var(--ga, #8b8fa3);
}

.gblock-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.4,0,.2,1);
}
.gblock.open .gblock-body {
  max-height: 800px;
}

/* ==================== PRODUCT CARDS ==================== */
.pi-card {
  padding: 18px 22px;
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 8px;
  transition: all .22s cubic-bezier(.22,1,.36,1);
}
.pi-card:hover {
  background: #27272a;
  border-color: rgba(255,255,255,.1);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

.pi-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pi-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.pi-name-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pi-name {
  font-family: 'Inter', var(--font);
  font-size: 16px;
  font-weight: 700;
  color: #e4e4e7;
  letter-spacing: -.02em;
}

.pi-status {
  font-family: 'Inter', var(--font);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pi-status.status-working {
  color: #10b981;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.1);
}
.pi-status.status-updating {
  color: #f59e0b;
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.1);
}
.pi-status.status-maintenance {
  color: #f472b6;
  background: rgba(244,114,182,.1);
  border: 1px solid rgba(244,114,182,.1);
}

.pi-online {
  font-size: 11px;
  font-weight: 600;
  color: #10b981;
  font-family: 'Inter', var(--font);
}

.pi-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.pi-ver {
  font-size: 12px;
  color: #555872;
  font-weight: 500;
  font-family: var(--mono);
}

.pi-desc {
  font-size: 12px;
  color: #6b6f85;
}

.pi-plats {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pi-plat {
  width: 16px;
  height: 16px;
  opacity: .45;
  transition: opacity .2s;
}
.pi-card:hover .pi-plat { opacity: .75; }
.pi-plat-dim { opacity: .15; }

.pi-review {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #8b8fa3;
  cursor: pointer;
  transition: color .15s;
}
.pi-review:hover { color: #e2e4ea; }
.pi-stars { font-size: 11px; }
.pi-rv-count { color: #555872; }

/* Tier badges */
.tier-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 12px;
  font-family: 'Inter', var(--font);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.tier-private {
  background: rgba(139,92,246,.12);
  color: #a78bfa;
  border: 1px solid rgba(139,92,246,.15);
}
.tier-full {
  background: rgba(16,185,129,.1);
  color: #34d399;
  border: 1px solid rgba(16,185,129,.12);
}
.tier-aim {
  background: rgba(245,158,11,.1);
  color: #fbbf24;
  border: 1px solid rgba(245,158,11,.12);
}

/* ==================== ACTION BUTTONS (prominent) ==================== */
.pi-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pi-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Inter', var(--font);
  border: 1px solid #27272a;
  background: #18181b;
  color: #71717a;
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
}
.pi-btn:hover {
  background: rgba(255,255,255,.08);
  color: #d0d2da;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.pi-btn:disabled { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }

.pi-btn svg { flex-shrink: 0; }

.pi-btn-activate {
  background: rgba(99,102,241,.12);
  color: #a5b4fc;
  border-color: rgba(99,102,241,.18);
}
.pi-btn-activate:hover {
  background: rgba(99,102,241,.22);
  color: #c7d2fe;
  border-color: rgba(99,102,241,.3);
  box-shadow: 0 2px 12px rgba(99,102,241,.15);
}

.pi-btn-download {
  background: rgba(16,185,129,.1);
  color: #6ee7b7;
  border-color: rgba(16,185,129,.15);
}
.pi-btn-download:hover {
  background: rgba(16,185,129,.2);
  color: #a7f3d0;
  border-color: rgba(16,185,129,.28);
  box-shadow: 0 2px 12px rgba(16,185,129,.12);
}

.pi-btn-secondary {
  background: rgba(255,255,255,.03);
  color: #7c8094;
  border-color: rgba(255,255,255,.06);
}
.pi-btn-secondary:hover {
  background: rgba(255,255,255,.07);
  color: #b4b8c8;
}

.pi-btn-rate {
  background: rgba(245,158,11,.08);
  color: #fbbf24;
  border-color: rgba(245,158,11,.12);
}
.pi-btn-rate:hover {
  background: rgba(245,158,11,.16);
  border-color: rgba(245,158,11,.25);
}

.pi-btn-radar {
  background: rgba(6,182,212,.08);
  color: #22d3ee;
  border-color: rgba(6,182,212,.15);
}
.pi-btn-radar:hover {
  background: rgba(6,182,212,.16);
  color: #67e8f9;
  border-color: rgba(6,182,212,.28);
  box-shadow: 0 2px 12px rgba(6,182,212,.12);
}

/* ==================== KEY CARD IMPROVEMENTS ==================== */
.key-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}
.key-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==================== CHANGELOG MODAL ==================== */
.changelog-modal {
  border-radius: 10px;
}

.changelog-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}

.changelog-modal-body {
  padding: 10px 14px;
  overflow-y: auto;
  flex: 1;
}

.cl-entry {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.cl-entry:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.cl-entry.cl-latest {
  background: rgba(99,102,241,.04);
  margin: -2px -4px 10px;
  padding: 8px 8px 10px;
  border-radius: 8px;
  border-bottom: none;
}

.cl-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.cl-ver {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-light);
  background: rgba(99,102,241,.1);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: var(--mono);
}

.cl-latest-tag {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #10b981;
  background: rgba(16,185,129,.1);
  padding: 2px 5px;
  border-radius: 4px;
}

.cl-date {
  font-size: 10px;
  color: var(--text-muted);
  margin-left: auto;
}

.cl-changes {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.cl-line {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  padding: 2px 0;
}

.cl-bullet {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--text-dim);
  flex-shrink: 0;
  margin-top: 6px;
}

.card-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ==================== SUPPORTED PLATFORMS ==================== */
.plat-section {
  margin: 12px 0 4px;
  padding: 10px 12px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 8px;
}
.plat-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.3);
  margin-bottom: 8px;
}
.plat-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.plat-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  transition: all .2s;
}
.plat-item:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}
.plat-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  object-fit: contain;
}
.plat-name {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.75);
}
.plat-check {
  color: #10b981;
  display: flex;
  align-items: center;
}
/* Steam */
.plat-steam { border-color: rgba(102,153,204,.2); }
.plat-steam svg { color: #66aaff; }
.plat-steam:hover { border-color: rgba(102,153,204,.35); background: rgba(102,153,204,.06); }
/* Epic */
.plat-epic { border-color: rgba(255,255,255,.1); }
.plat-epic svg { color: #ccc; }
.plat-epic:hover { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.05); }
/* Xbox */
.plat-xbox { border-color: rgba(16,185,16,.2); }
.plat-xbox svg { color: #52b552; }
.plat-xbox:hover { border-color: rgba(16,185,16,.35); background: rgba(16,185,16,.06); }
/* Coming soon */
.plat-soon {
  opacity: .4;
  position: relative;
}
.plat-soon:hover { opacity: .55; }
.plat-coming-tag {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.06);
  padding: 1px 6px;
  border-radius: 4px;
}

.online-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  background: rgba(16,185,129,.08);
  color: #10b981;
  border: 1px solid rgba(16,185,129,.1);
  font-family: 'Inter', var(--font);
  backdrop-filter: blur(4px);
}

.online-badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16,185,129,.5);
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%,100% { opacity: 1; box-shadow: 0 0 6px rgba(16,185,129,.5); }
  50% { opacity: .4; box-shadow: 0 0 2px rgba(16,185,129,.2); }
}

.btn-features {
  background: rgba(99,102,241,.06);
  color: var(--primary-light);
  border: 1px solid rgba(99,102,241,.15);
  backdrop-filter: blur(4px);
}
.btn-features:hover {
  background: linear-gradient(135deg, var(--primary) 0%, #7c6ef6 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(99,102,241,.2);
  transform: translateY(-1px);
}

/* ==================== FEATURES WINDOW ==================== */
.features-window {
  width: 440px;
  max-width: 95vw;
  max-height: 80vh;
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  animation: modalSlideIn .25s ease;
  display: flex;
  flex-direction: column;
}

.features-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #09090b;
  border-bottom: 1px solid #27272a;
  flex-shrink: 0;
}

.features-window-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.features-product-icon {
  width: 32px; height: 32px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}

.features-window-title h2 {
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -.01em;
}

.features-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
  margin-top: 1px;
}

.features-close {
  width: 26px; height: 26px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.06);
  background: transparent;
  color: var(--text-dim);
  font-size: 15px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all .18s;
}
.features-close:hover {
  background: rgba(255,255,255,.02);
  color: var(--text-secondary);
}

.features-window-body {
  padding: 8px 0;
  overflow-y: auto;
  flex: 1;
}

/* feature sections — compact menu style */
.ft-section {
  margin-bottom: 0;
}

.ft-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 4px;
  margin-top: 2px;
  position: relative;
}

.ft-section-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 14px;
  width: 24px; height: 1px;
  background: var(--primary);
  opacity: .5;
}

.ft-section-name {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.ft-section-count {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
}

.ft-section-items {
  display: flex;
  flex-direction: column;
  padding: 2px 0 6px;
}

.ft-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.3;
  transition: background .1s, color .1s;
  cursor: default;
}

.ft-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--text-dim);
  flex-shrink: 0;
  margin-top: 1px;
}

.ft-item:hover { background: rgba(255,255,255,.02); color: var(--text); }
.ft-item:hover .ft-dot { background: var(--primary-light); }

@media (max-width: 600px) {
  .features-window { max-width: 98vw; }
}

.product-card .loader-status {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.product-card .loader-status.building {
  color: #f59e0b;
  font-weight: 500;
  animation: pulse-text 1.5s ease-in-out infinite;
}

@keyframes pulse-text { 0%,100%{opacity:1} 50%{opacity:.5} }

.product-card .card-actions {
  display: flex;
  gap: 6px;
  margin-top: 16px;
}

.product-card .card-actions .btn {
  flex: 1;
  padding: 9px 8px;
  border: none;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  font-family: 'Inter', var(--font);
  cursor: pointer;
  transition: all .22s cubic-bezier(.22,1,.36,1);
  text-align: center;
  letter-spacing: .02em;
  position: relative;
  overflow: hidden;
}

.btn-activate {
  background: linear-gradient(135deg, var(--primary) 0%, #7c6ef6 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(99,102,241,.15);
}
.btn-activate:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, #8b80ff 100%);
  box-shadow: 0 6px 20px rgba(99,102,241,.3);
  transform: translateY(-1px);
}

.btn-download {
  background: rgba(255,255,255,.03);
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,.06) !important;
  backdrop-filter: blur(4px);
}
.btn-download:hover {
  border-color: rgba(99,102,241,.25) !important;
  color: var(--primary-light);
  background: rgba(99,102,241,.06);
  transform: translateY(-1px);
}
.btn-download:disabled { opacity: .2; cursor: not-allowed; transform: none !important; }

/* ==================== PRODUCT REVIEW ROW ==================== */
.product-review-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.product-review-left { display: flex; align-items: center; gap: 6px; }
.product-review-stars .s { color: #FBBF24; font-size: 12px; }
.product-review-stars .s.dim { color: var(--text-dim); }
.product-review-score { font-size: 14px; font-weight: 800; color: #FBBF24; }
.product-review-count { font-size: 11px; color: var(--text-muted); }
.product-review-count.no-reviews { font-size: 12px; color: var(--text-muted); }
.product-review-actions { display: flex; gap: 4px; }

.product-review-btn {
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  background: transparent;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: inherit;
  transition: all .18s;
  white-space: nowrap;
}
.product-review-btn:hover {
  border-color: rgba(99,102,241,.25);
  color: var(--primary-light);
  background: rgba(99,102,241,.06);
}

.product-review-btn-rate {
  background: rgba(99,102,241,.08);
  border-color: rgba(99,102,241,.2);
  color: var(--primary-light);
}
.product-review-btn-rate:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ==================== REVIEWS MODAL ==================== */
.reviews-modal {
  max-width: 540px;
  width: 95vw;
  padding: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.reviews-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255,255,255,.02);
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.reviews-modal-header .btn-close { position: static; }

.reviews-modal-title { display: flex; align-items: center; gap: 8px; }
.reviews-modal-title svg { color: #FBBF24; flex-shrink: 0; }
.reviews-modal-title h2 { font-size: 15px; font-weight: 700; margin: 0; letter-spacing: -.01em; }

.reviews-modal-body {
  padding: 20px;
  overflow-y: auto;
  max-height: calc(80vh - 120px);
  flex: 1;
}

.reviews-modal-footer {
  padding: 14px 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  flex-shrink: 0;
}
.reviews-modal-footer .btn {
  width: 100%;
  justify-content: center;
  padding: 10px;
  font-size: 13px;
}

.reviews-loading {
  text-align: center;
  padding: 32px;
  color: var(--text-muted);
  font-size: 13px;
}

/* ==================== MY KEYS ==================== */
.keys-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.key-card {
  background: linear-gradient(165deg, rgba(22,25,33,.95) 0%, rgba(16,18,24,.98) 100%);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all .28s cubic-bezier(.22,1,.36,1);
  position: relative;
  overflow: hidden;
}
.key-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(99,102,241,.3) 50%, transparent 95%);
  opacity: .3;
  pointer-events: none;
  transition: opacity .28s;
}
.key-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99,102,241,.2);
  box-shadow: 0 8px 28px rgba(0,0,0,.3), 0 0 20px -6px rgba(99,102,241,.08);
}
.key-card:hover::before { opacity: .6; }

.key-card .key-info { flex: 1; }
.key-card .key-info .product-name { font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.key-card .key-info .key-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.key-status-badge {
  font-family: 'Inter', var(--font);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  letter-spacing: .04em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.key-status-badge.status-ok { background: linear-gradient(135deg, rgba(16,185,129,.12), rgba(52,211,153,.08)); color: #10b981; border: 1px solid rgba(16,185,129,.15); }
.key-status-badge.status-fail { background: linear-gradient(135deg, rgba(239,68,68,.12), rgba(248,113,113,.08)); color: #ef4444; border: 1px solid rgba(239,68,68,.15); }
.key-status-badge.status-review { background: linear-gradient(135deg, rgba(245,158,11,.12), rgba(251,191,36,.08)); color: #f59e0b; border: 1px solid rgba(245,158,11,.15); }
.key-status-badge.status-pending { background: linear-gradient(135deg, rgba(142,142,154,.1), rgba(142,142,154,.05)); color: var(--text-muted); border: 1px solid rgba(142,142,154,.1); }

.key-card .key-info .key-value {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
  padding: 6px 10px;
  background: var(--bg-deep, #08080e);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .18s, color .18s;
  word-break: break-all;
  letter-spacing: .03em;
}
.key-card .key-info .key-value:hover {
  border-color: rgba(99,102,241,.25);
  color: var(--primary-light);
}

.key-card .key-info .key-meta {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}
.key-card .key-info .key-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.time-badge {
  background: rgba(16,185,129,.1);
  color: #10b981;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid rgba(16,185,129,.15);
}
.time-badge.expired {
  background: rgba(239,68,68,.1);
  color: #ef4444;
  border-color: rgba(239,68,68,.15);
}

.key-actions { margin-top: 6px; display: flex; gap: 6px; flex-wrap: wrap; }

/* Radar */
.radar-actions { margin-top: 8px; }
.radar-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  background: rgba(16,185,129,.06);
  border: 1px solid rgba(16,185,129,.15);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
}
.radar-bar.radar-offline {
  background: rgba(255,255,255,.02);
  border-color: rgba(255,255,255,.06);
}
.radar-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: radar-pulse 1.5s infinite;
}
@keyframes radar-pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

.radar-label { font-weight: 600; color: #10b981; text-transform: uppercase; font-size: 10px; letter-spacing: .3px; }
.radar-viewers { color: var(--text-muted); font-size: 11px; margin-left: auto; }

.btn-radar-action {
  background: rgba(99,102,241,.08);
  border: 1px solid rgba(99,102,241,.2);
  color: var(--primary-light);
  font-size: 10px;
  padding: 3px 8px;
}
.btn-radar-action:hover { background: rgba(99,102,241,.15); }

.btn-radar-reset {
  background: rgba(239,68,68,.06);
  border: 1px solid rgba(239,68,68,.15);
  color: #ef4444;
  font-size: 10px;
  padding: 3px 8px;
}
.btn-radar-reset:hover { background: rgba(239,68,68,.12); }

/* ==================== GUIDE LAYOUT (side by side) ==================== */
.guide-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.guide-col-faq { min-width: 0; }
.guide-col-steps { min-width: 0; }
@media (max-width: 900px) {
  .guide-columns { grid-template-columns: 1fr; }
}

/* ==================== HOW TO USE GUIDE ==================== */
.guide-card {
  background: linear-gradient(165deg, rgba(22,25,33,.95) 0%, rgba(16,18,24,.98) 100%);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 0;
  margin-bottom: 0;
  overflow: hidden;
  animation: fadeSlideUp .4s cubic-bezier(.22,1,.36,1) both;
}

.guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.01);
}

.guide-header-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.guide-header-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}

.guide-header h3 { font-family: 'Inter', var(--font); font-size: 15px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 2px; }
.guide-header-sub { font-size: 11px; color: var(--text-muted); margin: 0; font-weight: 500; }

.guide-version {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary-light);
  background: rgba(99,102,241,.08);
  border: 1px solid rgba(99,102,241,.2);
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 14px 18px 16px;
}

.guide-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.guide-step:last-child { border-bottom: none; }

.step-number {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 6px;
  background: rgba(99,102,241,.08);
  border: 1px solid rgba(99,102,241,.2);
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content { flex: 1; padding-top: 2px; }
.step-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.step-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

.guide-step.step-warning {
  background: rgba(245,158,11,.05);
  border: 1px solid rgba(245,158,11,.12);
  border-radius: 8px;
  padding: 12px 14px;
}
.guide-step.step-warning .step-number {
  background: rgba(245,158,11,.1);
  border-color: rgba(245,158,11,.2);
  color: #FBBF24;
  font-size: 14px;
}

.guide-step.step-info {
  background: rgba(99,102,241,.04);
  border: 1px solid rgba(99,102,241,.1);
  border-radius: 8px;
  padding: 12px 14px;
}
.guide-step.step-info .step-number {
  background: rgba(99,102,241,.1);
  border-color: rgba(99,102,241,.2);
  color: var(--primary-light);
  font-size: 14px;
}

.step-expand-toggle {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-light);
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color .18s;
}
.step-expand-toggle:hover { color: var(--accent, #8b5cf6); }

.step-expand-icon { transition: transform .18s; display: inline-block; }
.step-content.expanded .step-expand-icon { transform: rotate(90deg); }

.step-expand-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.step-content.expanded .step-expand-content { max-height: 500px; padding-top: 8px; }

.step-expand-pre {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  color: var(--text-secondary);
  background: #0c0d12;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 12px 14px;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
}

/* ==================== GUIDE PRODUCT SELECTOR ==================== */
.guide-product-selector {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.guide-product-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: linear-gradient(165deg, rgba(22,25,33,.95) 0%, rgba(16,18,24,.98) 100%);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  font-family: 'Inter', var(--font);
  cursor: pointer;
  transition: all .22s cubic-bezier(.22,1,.36,1);
  letter-spacing: .02em;
}
.guide-product-btn:hover {
  border-color: rgba(255,255,255,.10);
  color: var(--text);
  background: rgba(255,255,255,.02);
}
.guide-product-btn.active {
  background: linear-gradient(135deg, rgba(99,102,241,.12) 0%, rgba(139,92,246,.08) 100%);
  border-color: var(--primary);
  color: var(--primary-light);
  box-shadow: 0 0 12px rgba(99,102,241,.1);
}
.guide-product-btn:hover {
  border-color: rgba(99,102,241,.25);
  color: var(--primary-light);
  transform: translateY(-1px);
}
.guide-product-btn-icon {
  width: 18px; height: 18px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

/* ==================== TIPS SECTION ==================== */
.tips-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 24px;
  margin-top: 16px;
}

.tips-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.tips-header svg { color: #f59e0b; flex-shrink: 0; }
.tips-header h3 { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }

.tips-list { display: flex; flex-direction: column; gap: 10px; }

.tip-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  background: rgba(12,13,18,.5);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  transition: border-color .18s;
}
.tip-item:hover { border-color: rgba(255,255,255,.10); }

.tip-icon {
  font-size: 18px;
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99,102,241,.08);
  border-radius: 6px;
}

.tip-body { flex: 1; }
.tip-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.tip-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.tip-desc strong { color: var(--primary-light); font-weight: 600; }

/* ==================== REVIEWS / FEEDBACK ==================== */
.review-summary-card {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  margin-bottom: 16px;
}

.review-big-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 70px;
}
.review-big-number { font-size: 36px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.review-big-stars .s { color: #FBBF24; font-size: 14px; }
.review-big-stars .s.dim { color: var(--text-dim); }
.review-count { font-size: 11px; color: var(--text-muted); }

.review-category-ratings { flex: 1; display: flex; flex-direction: column; gap: 8px; }

.review-cat-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}
.review-cat-row>span:first-child { min-width: 55px; font-weight: 600; }

.review-cat-bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,.04);
  border-radius: 2px;
  overflow: hidden;
}
.review-cat-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 2px;
  transition: width .3s;
}
.review-cat-row>span:last-child { min-width: 24px; text-align: right; font-weight: 700; font-size: 13px; }

.star-rating { display: flex; gap: 2px; }
.star-rating .star {
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  color: var(--text-dim);
  transition: color .1s, transform .1s;
}
.star-rating .star.full { color: #FBBF24; text-shadow: 0 0 8px rgba(251,191,36,.25); }
.star-rating .star.half { color: #FBBF24; opacity: .5; }
.star-rating .star:hover { transform: scale(1.1); color: #FDE68A; }

.rating-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  background: rgba(12,13,18,.5);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  margin-bottom: 6px;
}

.rating-row { display: flex; align-items: center; gap: 12px; }
.rating-label { font-size: 12px; color: var(--text-secondary); min-width: 55px; font-weight: 600; }
.rating-value { font-size: 15px; font-weight: 700; color: #FBBF24; min-width: 24px; text-align: center; }

.stars-ro { display: inline-flex; gap: 1px; }
.stars-ro .s { color: #FBBF24; font-size: 13px; line-height: 1; }
.stars-ro .s.dim { color: var(--text-dim); }

.reviews-list { display: flex; flex-direction: column; gap: 10px; }

.review-card {
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  transition: border-color .18s;
}
.review-card:hover { border-color: rgba(255,255,255,.10); }

.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.review-user { display: flex; align-items: center; gap: 8px; }
.review-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(99,102,241,.08);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-light);
  border: 1px solid rgba(99,102,241,.2);
}
.review-username { font-size: 12px; font-weight: 600; }
.review-date { font-size: 10px; color: var(--text-muted); }

.review-card-rating { display: flex; align-items: center; gap: 6px; }
.review-card-score { font-size: 13px; font-weight: 700; color: #FBBF24; }

.review-message {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
  padding: 8px 12px;
  background: rgba(12,13,18,.4);
  border-radius: 8px;
  border-left: 2px solid rgba(99,102,241,.3);
}

.review-card-cats { display: flex; gap: 4px; flex-wrap: wrap; }

.review-cat-badge {
  font-size: 10px;
  padding: 2px 8px;
  background: rgba(99,102,241,.08);
  border: 1px solid rgba(99,102,241,.15);
  border-radius: 6px;
  color: var(--primary-light);
  font-weight: 600;
}

/* ==================== PRIVATE INFO ==================== */
.private-info {
  margin-top: 10px;
  border: 1px solid rgba(99,102,241,.15);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(99,102,241,.02);
}

.private-info-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background .18s;
}
.private-info-header:hover { background: rgba(99,102,241,.05); }

.private-info-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 2px 7px;
  border-radius: 4px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  text-transform: uppercase;
}

.private-info-q { font-size: 12px; color: var(--text-secondary); font-weight: 600; flex: 1; }
.private-info-arrow { font-size: 11px; color: var(--text-muted); transition: transform .2s; }
.private-info.open .private-info-arrow { transform: rotate(180deg); }

.private-info-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 12px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.private-info.open .private-info-body { max-height: 300px; padding: 0 12px 12px; }
.private-info-body p { margin: 0 0 6px; }
.private-info-body strong { color: var(--text); }

.private-info-body ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px 14px;
}
.private-info-body li {
  font-size: 11px;
  padding: 2px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}
.private-info-body li::before {
  content: '\2713';
  color: var(--primary-light);
  font-size: 9px;
  font-weight: 700;
  width: 14px; height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(99,102,241,.08);
  border-radius: 4px;
  flex-shrink: 0;
}

/* ==================== GUIDE FAQ (TROUBLESHOOTING) ==================== */
.guide-faq-card {
  background: linear-gradient(165deg, rgba(22,25,33,.95) 0%, rgba(16,18,24,.98) 100%);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: fadeSlideUp .4s cubic-bezier(.22,1,.36,1) .08s both;
}

.guide-faq-topbar {
  padding: 16px 20px 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: 0;
  background: rgba(99,102,241,.02);
}

.guide-faq-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.guide-faq-icon-wrap {
  width: 24px; height: 24px;
  background: rgba(99,102,241,.08);
  border: 1px solid rgba(99,102,241,.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  flex-shrink: 0;
}

.guide-faq-title-row h3 { font-size: 14px; font-weight: 700; color: var(--text); margin: 0; }

.guide-faq-count {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  color: var(--primary-light);
  background: rgba(99,102,241,.08);
  border: 1px solid rgba(99,102,241,.2);
  padding: 2px 6px;
  border-radius: 6px;
}

.guide-faq-sub { font-size: 11px; color: var(--text-muted); margin: 0; }

/* search + category filters */
.guide-faq-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.guide-faq-search-wrap { position: relative; }
.guide-faq-search-icon {
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

.guide-faq-search {
  width: 100%;
  padding: 8px 10px 8px 30px;
  background: #0c0d12;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  color: var(--text);
  font-size: 12px;
  font-family: inherit;
  outline: none;
  transition: border-color .18s;
}
.guide-faq-search::placeholder { color: var(--text-dim); }
.guide-faq-search:focus { border-color: rgba(99,102,241,.4); box-shadow: 0 0 0 2px rgba(99,102,241,.08); }

.faq-cat-pills { display: flex; gap: 4px; flex-wrap: wrap; }

.faq-cat-pill {
  padding: 3px 10px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.faq-cat-pill:hover { border-color: rgba(255,255,255,.10); color: var(--text-secondary); }
.faq-cat-pill.active {
  background: rgba(99,102,241,.08);
  border-color: rgba(99,102,241,.25);
  color: var(--primary-light);
}

.guide-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 6px 14px 14px;
}

.faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.04);
  border-radius: 0;
  transition: background .15s;
}
.faq-item:last-of-type { border-bottom: none; }
.faq-item:hover { background: rgba(255,255,255,.015); }
.faq-item.open { background: rgba(99,102,241,.03); border-radius: 8px; margin: 2px 0; border-bottom-color: transparent; }

.faq-q {
  padding: 10px 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  user-select: none;
  gap: 8px;
}

/* category dot */
.faq-cat-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--text-dim);
}
.faq-cat-dot-overlay { background: #5865f2; }
.faq-cat-dot-setup { background: var(--primary-light); }
.faq-cat-dot-network { background: #06b6d4; }
.faq-cat-dot-hwid { background: #ef4444; }
.faq-cat-dot-license { background: #a78bfa; }
.faq-cat-dot-in-game { background: #10b981; }
.faq-cat-dot-performance { background: #f59e0b; }
.faq-cat-dot-features { background: #10b981; }

.faq-q-text { flex: 1; min-width: 0; }
.faq-chevron { flex-shrink: 0; color: var(--text-dim); transition: transform .18s, color .18s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--primary-light); }

.faq-a {
  height: 0;
  overflow: hidden;
  transition: height .25s ease;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.faq-a-inner {
  padding: 4px 8px 14px;
}

.faq-a code {
  background: rgba(99,102,241,.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--primary-light);
  font-family: var(--mono);
  white-space: nowrap;
}
.faq-a strong { color: var(--text); font-weight: 600; }

/* faq answer inner structure */
.faq-a p { margin: 0 0 8px; }
.faq-a p:last-child { margin-bottom: 0; }

.faq-a .faq-steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 6px 0 8px;
  padding: 0;
  list-style: none;
  counter-reset: faq-step;
}
.faq-a .faq-steps li {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 3px 0;
  counter-increment: faq-step;
}
.faq-a .faq-steps li::before {
  content: counter(faq-step) ".";
  color: var(--primary-light);
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
  min-width: 16px;
}

.faq-a .faq-bullets {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 6px 0 8px;
  padding: 0;
  list-style: none;
}
.faq-a .faq-bullets li {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 2px 0;
}
.faq-a .faq-bullets li::before {
  content: "\2022";
  color: var(--text-dim);
  flex-shrink: 0;
}

.faq-a .faq-section {
  margin: 8px 0 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .02em;
}
.faq-a .faq-section:first-child { margin-top: 0; }

.faq-a .faq-note {
  margin: 6px 0 0;
  padding: 6px 10px;
  background: rgba(99,102,241,.04);
  border-left: 2px solid rgba(99,102,241,.3);
  border-radius: 0 6px 6px 0;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}
.faq-a .faq-note strong { color: var(--text-secondary); }

.faq-a .faq-cmd {
  display: block;
  margin: 4px 0;
  padding: 5px 10px;
  background: #0c0d12;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--primary-light);
  word-break: break-all;
}

/* no results */
.faq-no-results {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
}

/* faq end note */
.guide-faq-end-note {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.01);
  color: var(--text-muted);
  font-size: 11px;
}
.guide-faq-end-note svg { flex-shrink: 0; opacity: .5; }

/* guide card footer */
.guide-card-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(99,102,241,.02);
  color: var(--text-muted);
  font-size: 11px;
}
.guide-card-footer svg { flex-shrink: 0; opacity: .5; }

.guide-footer-link {
  color: var(--accent, #8b5cf6);
  text-decoration: none;
  font-weight: 500;
  transition: opacity .15s;
}
.guide-footer-link:hover { opacity: .75; }

/* ==================== WHY US BANNER ==================== */
.why-us-banner {
  background: linear-gradient(135deg, rgba(99,102,241,.05) 0%, rgba(139,92,246,.03) 100%);
  border: 1px solid rgba(99,102,241,.1);
  border-radius: 10px;
  padding: 24px 28px 20px;
  margin-bottom: 16px;
}

.why-us-header { text-align: center; margin-bottom: 16px; }
.why-us-header h2 { font-size: 17px; font-weight: 700; color: var(--text); margin: 0 0 4px; letter-spacing: -.02em; }
.why-us-header p { font-size: 12px; color: var(--text-muted); margin: 0; }

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.why-us-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  transition: border-color .18s, background .18s;
}
.why-us-card:hover {
  border-color: rgba(99,102,241,.2);
  background: rgba(99,102,241,.03);
}

.why-us-icon {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99,102,241,.08);
  border: 1px solid rgba(99,102,241,.15);
  border-radius: 6px;
  flex-shrink: 0;
  color: var(--primary-light);
}
.why-us-title { font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.why-us-desc { font-size: 11px; color: var(--text-muted); line-height: 1.45; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==================== TIER BADGES ==================== */
.tier-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: 'Inter', var(--font);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  backdrop-filter: blur(4px);
  transition: all .22s;
}

.tier-private {
  background: linear-gradient(135deg, rgba(139,92,246,.15) 0%, rgba(99,102,241,.12) 100%);
  color: #c4b5fd;
  border: 1px solid rgba(139,92,246,.2);
  box-shadow: 0 0 12px rgba(139,92,246,.08);
}
.product-card:hover .tier-private {
  box-shadow: 0 0 18px rgba(139,92,246,.15);
  border-color: rgba(139,92,246,.35);
}

.tier-full {
  background: linear-gradient(135deg, rgba(16,185,129,.12) 0%, rgba(52,211,153,.08) 100%);
  color: #6ee7b7;
  border: 1px solid rgba(16,185,129,.18);
  box-shadow: 0 0 12px rgba(16,185,129,.06);
}
.product-card:hover .tier-full {
  box-shadow: 0 0 18px rgba(16,185,129,.12);
  border-color: rgba(16,185,129,.3);
}

.tier-aim {
  background: linear-gradient(135deg, rgba(245,158,11,.12) 0%, rgba(251,191,36,.08) 100%);
  color: #fcd34d;
  border: 1px solid rgba(245,158,11,.18);
  box-shadow: 0 0 12px rgba(245,158,11,.06);
}
.product-card:hover .tier-aim {
  box-shadow: 0 0 18px rgba(245,158,11,.12);
  border-color: rgba(245,158,11,.3);
}

.tier-desc {
  font-family: 'Inter', var(--font);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
  margin-bottom: 10px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: .01em;
}

/* ==================== PRICING ROW ==================== */
.pricing-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 12px 0 6px;
}

.price-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 7px 12px;
  background: linear-gradient(160deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.015) 100%);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  min-width: 58px;
  transition: all .22s cubic-bezier(.22,1,.36,1);
  backdrop-filter: blur(4px);
}
.price-chip:hover {
  border-color: color-mix(in srgb, var(--game-accent, #6366f1) 30%, transparent);
  background: color-mix(in srgb, var(--game-accent, #6366f1) 6%, transparent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

.price-label {
  font-family: 'Inter', var(--font);
  font-size: 8px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 1px;
}

.price-value {
  font-family: 'Inter', var(--font);
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.03em;
}

/* ==================== AIM CONFIG MODAL ==================== */
/* ==================== AIMBOT CONFIG — FLAT CHEAT MENU ==================== */
.acm {
  max-width: 780px;
  width: 96vw;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(245,158,11,.08);
  box-shadow: 0 0 60px rgba(0,0,0,.6);
  background: #0c0d12;
  max-height: 92vh;
}

/* ---- Top bar ---- */
.acm-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(245,158,11,.03);
  border-bottom: 1px solid rgba(245,158,11,.08);
  flex-shrink: 0;
}
.acm-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.acm-badge {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.25);
  display: grid;
  place-items: center;
  color: #f59e0b;
  flex-shrink: 0;
}
.acm-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #f59e0b;
  text-transform: uppercase;
  font-family: var(--mono);
}

/* ---- Master enable switch ---- */
.acm-master-sw {
  position: relative;
  width: 36px;
  height: 20px;
  flex-shrink: 0;
  cursor: pointer;
}
.acm-master-sw input { opacity: 0; width: 0; height: 0; position: absolute; }
.acm-master-sw .acm-sw-track {
  position: absolute; inset: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  transition: all .2s;
}
.acm-master-sw .acm-sw-knob {
  position: absolute;
  width: 14px; height: 14px; border-radius: 50%;
  background: #555;
  left: 2px; top: 2px;
  transition: all .2s;
}
.acm-master-sw input:checked + .acm-sw-track {
  background: rgba(245,158,11,.2);
  border-color: rgba(245,158,11,.5);
}
.acm-master-sw input:checked + .acm-sw-track .acm-sw-knob {
  transform: translateX(16px);
  background: #f59e0b;
  box-shadow: 0 0 6px rgba(245,158,11,.4);
}

/* ---- Body — two-column ---- */
.acm-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  overflow-y: auto;
  max-height: calc(92vh - 100px);
}

/* ---- Sections (replace cards) ---- */
.acm-section {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.acm-section-title {
  font-size: 9px;
  font-weight: 700;
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: .1em;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0 6px 0;
  border-bottom: 1px solid rgba(245,158,11,.1);
  margin-bottom: 4px;
}
.acm-section-title svg { color: rgba(245,158,11,.5); flex-shrink: 0; }

/* ---- Flat row: label ... control ---- */
.acm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 0;
  min-height: 28px;
}
.acm-row-right {
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-shrink: 0;
}

/* Sub-group (slider under a toggle, shown/hidden by JS) */
.acm-sub-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 12px;
  border-left: 2px solid rgba(245,158,11,.1);
  margin: 0 0 2px 6px;
}
.acm-lbl-sub {
  font-size: 11px !important;
  color: var(--text-muted) !important;
}

/* ---- Labels ---- */
.acm-lbl {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ---- Toggle switch (compact) ---- */
.acm-sw {
  position: relative;
  width: 32px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}
.acm-sw input { opacity: 0; width: 0; height: 0; position: absolute; }
.acm-sw .acm-sw-track {
  position: absolute; inset: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  transition: all .2s;
}
.acm-sw .acm-sw-knob {
  position: absolute;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--text-muted);
  left: 2px; top: 2px;
  transition: all .2s;
}
.acm-sw input:checked + .acm-sw-track {
  background: rgba(245,158,11,.15);
  border-color: rgba(245,158,11,.4);
}
.acm-sw input:checked + .acm-sw-track .acm-sw-knob {
  transform: translateX(16px);
  background: #f59e0b;
}

/* ---- Select dropdown ---- */
.acm-select {
  background: rgba(255,255,255,.04);
  color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--mono);
  outline: none;
  cursor: pointer;
  transition: border-color .2s;
  width: auto;
  min-width: 80px;
  flex-shrink: 0;
}
.acm-select:hover { border-color: rgba(245,158,11,.3); }
.acm-select:focus { border-color: rgba(245,158,11,.5); }

/* ---- Values ---- */
.acm-val {
  font-size: 13px;
  font-weight: 700;
  color: #f59e0b;
  font-family: var(--mono);
}
.acm-unit {
  font-size: 9px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---- Range slider ---- */
.acm-range-wrap {
  position: relative;
  height: 16px;
  display: flex;
  align-items: center;
  margin: 0 0 4px;
}
.acm-range {
  width: 100%;
  height: 3px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255,255,255,.06);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.acm-range-fill {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(245,158,11,.7), rgba(245,158,11,.3));
  pointer-events: none;
  z-index: 1;
}
.acm-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #f59e0b;
  cursor: pointer;
  border: 2px solid #fbbf24;
  box-shadow: 0 0 6px rgba(245,158,11,.3);
  transition: box-shadow .15s;
  position: relative;
  z-index: 3;
}
.acm-range::-webkit-slider-thumb:hover {
  box-shadow: 0 0 12px rgba(245,158,11,.5);
}
.acm-range::-moz-range-thumb {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #f59e0b;
  cursor: pointer;
  border: 2px solid #fbbf24;
  box-shadow: 0 0 6px rgba(245,158,11,.3);
}

/* ---- Keybind ---- */
.acm-keybind-value {
  font-size: 13px;
  font-weight: 700;
  color: #f59e0b;
  font-family: var(--mono);
  letter-spacing: -.01em;
}
.acm-keybind-listen-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border: 1px solid rgba(245,158,11,.2);
  border-radius: 4px;
  background: rgba(245,158,11,.06);
  color: #f59e0b;
  font-size: 10px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.acm-keybind-listen-btn:hover {
  background: rgba(245,158,11,.12);
  border-color: rgba(245,158,11,.35);
}
.acm-keybind-listen-btn.listening {
  animation: acm-pulse 1.2s ease-in-out infinite;
  background: rgba(245,158,11,.15);
  border-color: rgba(245,158,11,.5);
  color: #fbbf24;
}
@keyframes acm-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,.2); }
  50% { box-shadow: 0 0 0 6px rgba(245,158,11,0); }
}

/* ---- Hardware picker ---- */
.acm-hw-picker {
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin-top: 4px;
}
.acm-hw-tabs {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 4px;
  padding: 2px;
  margin-bottom: 6px;
}
.acm-hw-tab {
  flex: 1;
  padding: 4px 0;
  border: none;
  border-radius: 3px;
  background: transparent;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all .2s;
}
.acm-hw-tab:hover { color: var(--text-secondary); }
.acm-hw-tab.active {
  background: rgba(245,158,11,.1);
  color: #f59e0b;
}
.acm-hw-panel { display: none; flex: 1; min-height: 0; }
.acm-hw-panel.active { display: flex; flex-direction: column; }
.acm-hw-hint {
  display: block;
  font-size: 8px;
  color: var(--text-dim);
  text-align: center;
  padding: 3px 0 0;
  font-weight: 400;
}

/* ---- Keyboard layout ---- */
.acm-kb {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.acm-kb-row {
  display: flex;
  gap: 2px;
}
.acm-kb-key {
  height: 26px;
  min-width: 20px;
  padding: 0 3px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 3px;
  background: rgba(255,255,255,.025);
  color: var(--text-muted);
  font-size: 7px;
  font-weight: 600;
  font-family: var(--mono);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .12s;
  flex-shrink: 0;
  user-select: none;
  position: relative;
  text-transform: uppercase;
}
.acm-kb-key:hover {
  background: rgba(245,158,11,.06);
  border-color: rgba(245,158,11,.2);
  color: var(--text-secondary);
}
.acm-kb-key.active {
  background: rgba(245,158,11,.15);
  border-color: rgba(245,158,11,.5);
  color: #f59e0b;
  box-shadow: 0 0 8px rgba(245,158,11,.12);
}
.acm-kb-key.w15 { min-width: 34px; }
.acm-kb-key.w175 { min-width: 40px; }
.acm-kb-key.w2 { min-width: 44px; }
.acm-kb-key.w225 { min-width: 50px; }
.acm-kb-key.w275 { min-width: 60px; }
.acm-kb-key.space { flex: 1; min-width: 90px; }
.acm-kb-key.wflex { flex: 1; }

/* ---- Mouse SVG ---- */
.acm-mouse-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 8px 0;
}
.acm-mouse-svg {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.4));
}
.acm-mouse-body {
  fill: rgba(255,255,255,.03);
  stroke: rgba(255,255,255,.08);
  stroke-width: 1.5;
}
.acm-mouse-btn {
  fill: rgba(255,255,255,.03);
  stroke: rgba(255,255,255,.06);
  stroke-width: 1;
  cursor: pointer;
  transition: fill .2s, stroke .2s;
}
.acm-mouse-btn:hover {
  fill: rgba(245,158,11,.08);
  stroke: rgba(245,158,11,.25);
}
.acm-mouse-btn.active {
  fill: rgba(245,158,11,.15);
  stroke: rgba(245,158,11,.5);
  filter: drop-shadow(0 0 6px rgba(245,158,11,.2));
}
.acm-mouse-side {
  fill: rgba(255,255,255,.04);
  stroke: rgba(255,255,255,.08);
}
.acm-mouse-label {
  fill: rgba(255,255,255,.2);
  font-size: 11px;
  font-family: var(--mono);
  font-weight: 600;
  text-anchor: middle;
  pointer-events: none;
}
.acm-mouse-label-side {
  font-size: 9px;
  fill: rgba(255,255,255,.15);
}

/* ==================== AGENT PREVIEW + BONE SELECTION ==================== */
.acm-agent-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-right: 1px solid rgba(255,255,255,.04);
  background: linear-gradient(180deg, rgba(245,158,11,.02) 0%, transparent 60%);
}
.acm-agent-preview {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.acm-agent-glow {
  position: absolute;
  width: 200px; height: 260px;
  top: 40%; left: 40%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(245,158,11,.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.acm-scan-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(255,255,255,.006) 3px, rgba(255,255,255,.006) 4px);
  pointer-events: none;
  z-index: 5;
}
.acm-agent-img {
  position: absolute;
  top: -2%;
  left: 50%;
  transform: translateX(-50%);
  height: 104%;
  width: auto;
  opacity: .8;
  filter: brightness(.85) contrast(1.1) saturate(.85);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* ---- Hitbox zones ---- */
.acm-hitbox {
  position: absolute;
  cursor: pointer;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.acm-hitbox-ring {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  transition: all .2s;
}
.acm-hitbox-pip {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  z-index: 1;
  transition: all .2s;
}
.acm-hitbox-head   { width: 36px; height: 36px; left: 53%; top: 9%; }
.acm-hitbox-neck   { width: 28px; height: 16px; left: 49%; top: 22%; }
.acm-hitbox-neck .acm-hitbox-ring { border-radius: 40%; }
.acm-hitbox-chest  { width: 50px; height: 44px; left: 38%; top: 35%; }
.acm-hitbox-chest .acm-hitbox-ring { border-radius: 28%; }
.acm-hitbox-pelvis { width: 40px; height: 24px; left: 41%; top: 61%; }
.acm-hitbox-pelvis .acm-hitbox-ring { border-radius: 35%; }
.acm-hitbox:hover .acm-hitbox-ring {
  border-color: rgba(245,158,11,.35);
  background: rgba(245,158,11,.08);
  box-shadow: 0 0 10px rgba(245,158,11,.1);
}
.acm-hitbox:hover .acm-hitbox-pip { background: rgba(245,158,11,.6); }
.acm-hitbox.active .acm-hitbox-ring {
  border-color: rgba(245,158,11,.6);
  background: rgba(245,158,11,.12);
  box-shadow: 0 0 16px rgba(245,158,11,.15);
}
.acm-hitbox.active .acm-hitbox-pip {
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245,158,11,.6);
  animation: acm-pip-pulse 2s ease-in-out infinite;
}
@keyframes acm-pip-pulse {
  0%, 100% { transform: scale(1); opacity: .9; }
  50% { transform: scale(1.3); opacity: 1; }
}
.acm-hitbox.active .acm-hitbox-ring::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px dashed rgba(245,158,11,.2);
  border-radius: inherit;
  animation: acm-orbit 12s linear infinite;
}
@keyframes acm-orbit { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes acm-hitbox-flash {
  0% { border-color: #f59e0b; background: rgba(245,158,11,.3); box-shadow: 0 0 20px rgba(245,158,11,.4); }
  100% { border-color: rgba(245,158,11,.6); background: rgba(245,158,11,.12); box-shadow: 0 0 16px rgba(245,158,11,.15); }
}
.acm-hitbox.acm-bone-flash .acm-hitbox-ring {
  animation: acm-hitbox-flash .35s cubic-bezier(.2,0,.2,1);
}

/* Target overlay */
.acm-target-overlay {
  position: absolute;
  bottom: 8px;
  left: 0; right: 0;
  text-align: center;
  z-index: 6;
  pointer-events: none;
}
.acm-target-label {
  font-size: 8px;
  color: rgba(255,255,255,.2);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(0,0,0,.5);
  padding: 2px 8px;
  border-radius: 3px;
}

/* ---- Bone bar ---- */
.acm-bone-bar {
  display: flex;
  gap: 3px;
  padding: 8px 10px 10px;
  border-top: 1px solid rgba(255,255,255,.04);
}
.acm-bone-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 2px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 4px;
  background: rgba(255,255,255,.02);
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 600;
  font-family: var(--mono);
  cursor: pointer;
  transition: all .15s;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.acm-bone-btn:hover {
  background: rgba(245,158,11,.06);
  border-color: rgba(245,158,11,.18);
  color: var(--text-secondary);
}
.acm-bone-btn.active {
  background: rgba(245,158,11,.12);
  border-color: rgba(245,158,11,.4);
  color: #f59e0b;
}
.acm-bone-active-label { display: none; }

/* ---- Settings column ---- */
.acm-settings-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 12px 14px;
  overflow-y: auto;
}

/* ---- Footer ---- */
.acm-foot {
  padding: 8px 16px;
  border-top: 1px solid rgba(255,255,255,.04);
  background: rgba(255,255,255,.01);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.acm-foot-hint {
  font-size: 9px;
  color: var(--text-dim);
  flex: 1;
  font-weight: 400;
  font-family: var(--mono);
}
.acm-status {
  font-size: 11px;
  font-weight: 500;
}
.acm-save {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 18px;
  border: none;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--mono);
  cursor: pointer;
  transition: all .2s;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.acm-save:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 2px 16px rgba(245,158,11,.25);
}
.acm-save:active { transform: translateY(0); }
.acm-save:disabled {
  opacity: .4;
  cursor: not-allowed;
  transform: none;
}
.acm-save svg { flex-shrink: 0; }

/* ---- Aim config button on key card ---- */
.btn-aim-config {
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.2);
  color: #f59e0b;
}
.btn-aim-config:hover {
  background: rgba(245,158,11,.15);
  border-color: rgba(245,158,11,.3);
  color: #fbbf24;
}

/* ---- Animations ---- */
@keyframes acm-key-press {
  0% { background: rgba(245,158,11,.45); box-shadow: 0 0 14px rgba(245,158,11,.4); transform: scale(.93); }
  100% { background: rgba(245,158,11,.15); box-shadow: 0 0 8px rgba(245,158,11,.1); transform: scale(1); }
}
.acm-kb-key.acm-pressed {
  animation: acm-key-press .35s cubic-bezier(.2,0,.2,1);
}
@keyframes acm-mouse-press {
  0% { fill: rgba(245,158,11,.45); filter: drop-shadow(0 0 10px rgba(245,158,11,.5)); }
  100% { fill: rgba(245,158,11,.15); filter: drop-shadow(0 0 6px rgba(245,158,11,.2)); }
}
.acm-mouse-btn.acm-pressed {
  animation: acm-mouse-press .35s cubic-bezier(.2,0,.2,1);
}
@keyframes acm-val-flash {
  0% { color: #fff; text-shadow: 0 0 10px rgba(245,158,11,.6); transform: scale(1.1); }
  100% { color: #f59e0b; text-shadow: none; transform: scale(1); }
}
.acm-keybind-value.acm-flash {
  animation: acm-val-flash .4s cubic-bezier(.2,0,.2,1);
}

/* ---- Mobile ---- */
@media (max-width: 680px) {
  .acm { max-width: 100vw; max-height: 96vh; }
  .acm-body { grid-template-columns: 1fr; }
  .acm-agent-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,.04); }
  .acm-agent-preview { height: 240px; }
  .acm-mouse-svg { width: 100px; }
}

/* ==================== TOPBAR & NAV POLISH ==================== */
.topbar .brand {
  font-family: 'Inter', var(--font);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -.03em;
}

.topbar .user-info .username {
  font-family: 'Inter', var(--font);
  font-weight: 600;
  font-size: 13px;
}

.topbar .btn-logout {
  font-family: 'Inter', var(--font);
  border-radius: 6px;
  letter-spacing: normal;
  font-size: 12px;
  font-weight: 500;
}

.nav-tabs {
  gap: 3px;
  padding: 8px 16px;
}
.nav-tab {
  font-family: 'Inter', var(--font);
  font-size: 12px;
  font-weight: 500;
  border-radius: 6px;
  padding: 6px 14px;
  border: 1px solid transparent;
  transition: all .15s;
}
.nav-tab:hover {
  color: var(--text-secondary, #a1a1aa);
  background: rgba(255,255,255,.03);
}
.nav-tab.active {
  color: #fff !important;
  background: var(--primary, #6366f1) !important;
  border-color: transparent !important;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(99,102,241,.25);
}

/* ==================== REVIEW ROW POLISH ==================== */
.product-review-row {
  border-top: 1px solid rgba(255,255,255,.04);
}

.product-review-btn {
  font-family: 'Inter', var(--font);
  border-radius: 20px;
  letter-spacing: .02em;
}

.product-review-score {
  font-family: 'Inter', var(--font);
}

/* ==================== LOADER STATUS POLISH ==================== */
.product-card .loader-status {
  font-family: 'Inter', var(--font);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: .01em;
}

/* ==================== PLATFORM SECTION POLISH ==================== */
.plat-section {
  border-radius: 10px;
}
.plat-label {
  font-family: 'Inter', var(--font);
  letter-spacing: .08em;
}
.plat-name {
  font-family: 'Inter', var(--font);
}

/* ==================== KEY CARDS POLISH ==================== */
.key-card .key-info .product-name {
  font-family: 'Inter', var(--font);
  letter-spacing: -.02em;
}

.time-badge {
  font-family: 'Inter', var(--font);
  border-radius: 10px;
}

/* ==================== STAGGERED CARD ANIMATION ==================== */
@keyframes cardSlideIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==================== VOUCHES PAGE ==================== */
.vouches-layout { display: flex; gap: 16px; min-height: 400px; }
.vouches-sidebar { width: 200px; flex-shrink: 0; display: flex; flex-direction: column; gap: 3px; }
.vouches-content { flex: 1; min-width: 0; }
.vouch-prod-item {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  border-radius: 8px; cursor: pointer; font-size: 12px; font-weight: 500;
  color: var(--text-muted, #71717a); transition: all .15s;
}
.vouch-prod-item:hover { background: rgba(255,255,255,.03); color: var(--text-secondary, #a1a1aa); }
.vouch-prod-item.vouch-prod-active { background: rgba(99,102,241,.08); color: #818cf8; font-weight: 600; }
.vouch-prod-count { margin-left: auto; font-size: 10px; font-weight: 700; color: var(--text-dim, #3f3f46); background: rgba(255,255,255,.03); padding: 1px 6px; border-radius: 4px; }
.vouch-prod-active .vouch-prod-count { color: #818cf8; background: rgba(99,102,241,.1); }
.vouch-card {
  background: #111318; border: 1px solid rgba(255,255,255,.06); border-radius: 10px;
  padding: 14px 16px; margin-bottom: 8px; transition: border-color .15s;
}
.vouch-card:hover { border-color: rgba(255,255,255,.1); }
.vouch-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.vouch-avatar {
  width: 28px; height: 28px; border-radius: 7px;
  background: rgba(99,102,241,.1); border: 1px solid rgba(99,102,241,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #818cf8; flex-shrink: 0;
}
.vouch-username { font-size: 13px; font-weight: 600; color: #e4e4e7; }
.vouch-date { font-size: 10px; color: #52525b; }
.vouch-text { font-size: 13px; color: #a1a1aa; line-height: 1.6; }
.vouch-images { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.vouch-img { max-width: 100%; max-height: 200px; border-radius: 8px; border: 1px solid rgba(255,255,255,.06); cursor: pointer; transition: opacity .15s; }
.vouch-img:hover { opacity: .85; }
@media (max-width: 640px) {
  .vouches-layout { flex-direction: column; }
  .vouches-sidebar { width: 100%; flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 4px; }
  .vouches-sidebar::-webkit-scrollbar { display: none; }
  .vouch-prod-item { white-space: nowrap; flex-shrink: 0; padding: 6px 10px; }
}

/* ==================== AI SUPPORT CHAT ==================== */
.ai-chat-btn {
  position: fixed; bottom: 20px; right: 20px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: none; align-items: center; justify-content: center;
  cursor: pointer; color: #fff; border: none;
  box-shadow: 0 4px 20px rgba(99,102,241,.35);
  transition: all .2s cubic-bezier(.22,1,.36,1);
}
.app.visible ~ .ai-chat-btn { display: flex; }
.app.visible ~ .ai-chat-window { /* allow display when app visible */ }
.ai-chat-btn:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(99,102,241,.45); }
.ai-chat-window {
  position: fixed; bottom: 80px; right: 20px; z-index: 901;
  width: 400px; height: 540px; max-height: 75vh;
  background: #0c0d10; border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  animation: aiChatOpen .25s cubic-bezier(.22,1,.36,1);
}
@keyframes aiChatOpen { from { opacity: 0; transform: translateY(10px) scale(.95); } to { opacity: 1; transform: none; } }
.ai-chat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.06); background: rgba(0,0,0,.2);
}
.ai-chat-header-left { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #e4e4e7; }
.ai-chat-dot { width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 6px rgba(16,185,129,.4); animation: chatDotPulse 2s infinite; }
@keyframes chatDotPulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }
.ai-chat-close { background: none; border: none; color: #52525b; font-size: 18px; cursor: pointer; padding: 2px 4px; border-radius: 4px; line-height: 1; transition: color .15s; }
.ai-chat-close:hover { color: #a1a1aa; }
.ai-chat-body {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.06) transparent;
}
.ai-chat-body::-webkit-scrollbar { width: 4px; }
.ai-chat-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.06); border-radius: 4px; }
.ai-msg { max-width: 88%; padding: 10px 14px; border-radius: 10px; font-size: 12.5px; line-height: 1.6; animation: aiMsgIn .2s ease; }
@keyframes aiMsgIn { from { opacity: 0; transform: translateY(4px); } }
.ai-msg-bot { align-self: flex-start; background: #18181b; border: 1px solid rgba(255,255,255,.04); color: #d4d4d8; }
.ai-msg-user { align-self: flex-end; background: #6366f1; color: #fff; }
.ai-msg-bot strong { color: #e4e4e7; }
.ai-msg-success { border-left: 3px solid #10b981; }
.ai-msg-error { border-left: 3px solid #ef4444; }
.ai-cat-btns { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.ai-cat-btn {
  padding: 10px 14px; border-radius: 8px;
  background: rgba(99,102,241,.06); border: 1px solid rgba(99,102,241,.15);
  color: #818cf8; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all .15s; text-align: left;
  display: flex; align-items: center; gap: 8px;
}
.ai-cat-btn:hover { background: rgba(99,102,241,.12); border-color: rgba(99,102,241,.25); }
.ai-product-btn {
  padding: 12px 14px; border-radius: 10px;
  background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06);
  cursor: pointer; transition: all .15s;
  display: flex; align-items: center; justify-content: space-between;
}
.ai-product-btn:hover { background: rgba(99,102,241,.06); border-color: rgba(99,102,241,.18); }
.ai-product-btn:hover svg { stroke: #818cf8; }
.ai-key-btn {
  padding: 10px 12px; border-radius: 6px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  color: #a1a1aa; font-size: 11px; font-weight: 500;
  cursor: pointer; transition: all .15s; text-align: left;
  font-family: var(--mono, 'JetBrains Mono', monospace);
  overflow: hidden;
}
.ai-key-btn:hover { background: rgba(99,102,241,.08); border-color: rgba(99,102,241,.15); color: #818cf8; }
.ai-key-btn .ai-key-product { font-family: 'Inter',sans-serif; font-size: 12px; font-weight: 600; color: #e4e4e7; margin-bottom: 2px; display: block; }
.ai-typing { display: flex; gap: 4px; align-items: center; padding: 10px 14px; align-self: flex-start; background: #18181b; border: 1px solid rgba(255,255,255,.04); border-radius: 10px; }
.ai-typing span { width: 6px; height: 6px; border-radius: 50%; background: #52525b; animation: typingBounce .8s infinite; }
.ai-typing span:nth-child(2) { animation-delay: .15s; }
.ai-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typingBounce { 0%,80%,100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-4px); opacity: 1; } }
/* Language picker */
.ai-lang-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ai-lang-btn {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 10px 8px; border-radius: 8px; cursor: pointer;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  transition: all .15s; min-width: 0;
}
.ai-lang-btn:hover { background: rgba(99,102,241,.08); border-color: rgba(99,102,241,.18); }
.ai-lang-btn span { font-size: 10px; font-weight: 600; color: #a1a1aa; text-align: center; }
.ai-lang-btn:hover span { color: #e4e4e7; }
.ai-lang-flag { width: 28px; height: 20px; border-radius: 3px; border: 1px solid rgba(255,255,255,.08); }
.ai-lang-current {
  cursor: pointer; margin-left: 6px; display: inline-flex; vertical-align: middle;
  opacity: .7; transition: opacity .15s;
}
.ai-lang-current:hover { opacity: 1; }
.ai-lang-current .ai-lang-flag { width: 18px; height: 13px; }
/* Wizard card (ESP troubleshoot) */
.ai-wizard-card { padding: 2px 0; }
.ai-wizard-q { font-size: 13px; color: #e4e4e7; line-height: 1.5; margin-bottom: 10px; }
.ai-wizard-btns { display: flex; gap: 8px; }
.ai-wizard-btn { flex: 1; padding: 8px 0; border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; transition: all .15s; border: none; text-align: center; }
.ai-wizard-yes { background: rgba(16,185,129,.1); color: #34d399; border: 1px solid rgba(16,185,129,.18); }
.ai-wizard-yes:hover { background: rgba(16,185,129,.18); }
.ai-wizard-no { background: rgba(239,68,68,.08); color: #f87171; border: 1px solid rgba(239,68,68,.15); }
.ai-wizard-no:hover { background: rgba(239,68,68,.15); }
@media (max-width: 480px) {
  .ai-chat-window { width: calc(100vw - 16px); right: 8px; bottom: 72px; height: 60vh; }
  .ai-chat-btn { bottom: 14px; right: 14px; width: 44px; height: 44px; }
  .ai-lang-picker { flex-direction: column; align-items: stretch; }
  .ai-lang-btn { flex-direction: row; min-width: 0; padding: 10px 14px; }
}

/* ==================== RESPONSIVE — TABLET (768px) ==================== */
@media (max-width: 768px) {
  /* --- Game selector --- */
  .game-selector { gap: 6px; }
  .gs-card { padding: 10px 14px; min-width: 130px; gap: 10px; }
  .gs-icon { width: 30px; height: 30px; border-radius: 8px; }
  .gs-name { font-size: 13px; }

  /* --- Product cards --- */
  .pi-card { padding: 14px 16px; }
  .pi-top { flex-direction: column; gap: 10px; }
  .pi-name { font-size: 15px; }
  .pi-actions { flex-wrap: wrap; gap: 6px; }
  .pi-btn { flex: 1 1 calc(50% - 6px); min-width: 0; justify-content: center; padding: 8px 12px; font-size: 12px; }

  /* --- Key cards --- */
  .key-card { flex-direction: column; align-items: flex-start; padding: 14px 16px; gap: 12px; }
  .key-card .key-info .key-meta { flex-wrap: wrap; gap: 8px; }
  .time-badge { font-size: 12px; padding: 5px 12px; }
  .key-actions { flex-wrap: wrap; }

  /* --- Reviews --- */
  .review-summary-card { flex-direction: column; text-align: center; padding: 16px; gap: 16px; }
  .review-big-number { font-size: 30px; }
  .reviews-modal { max-width: 95vw; width: 95vw; }
  .reviews-modal-body { padding: 14px; max-height: calc(85vh - 120px); }

  /* --- Features modal --- */
  .features-window { width: 95vw; max-width: 95vw; max-height: 85vh; }
  .features-grid { grid-template-columns: 1fr; }

  /* --- Changelog modal --- */
  .changelog-modal { max-width: 95vw !important; }

  /* --- Feedback modal --- */
  .feedback-form .rating-row { flex-wrap: wrap; gap: 8px; }

  /* --- Why-us --- */
  .why-us-grid { grid-template-columns: 1fr 1fr; }
  .why-us-banner { padding: 16px 14px 14px; }

  /* --- Guide --- */
  .guide-header { flex-wrap: wrap; gap: 8px; }
  .guide-steps { padding: 12px 14px 14px; }
  .guide-step { gap: 10px; padding: 10px 2px; }

  /* --- Private info --- */
  .private-info-body ul { grid-template-columns: 1fr; }

  /* --- Pricing row --- */
  .pricing-row { gap: 5px; }
  .price-chip { min-width: 50px; padding: 6px 10px; }
  .price-value { font-size: 14px; }

  /* --- Live stats --- */
  .live-stats-section { padding: 12px 14px; }
  .live-stats-row { flex-wrap: wrap; }

  /* --- Modals general --- */
  .modal-overlay { padding: 10px; }
  .modal { max-width: 95vw; padding: 20px; }

  /* --- Aim config modal --- */
  .acm-body { grid-template-columns: 1fr; }
  .acm-agent-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,.04); }

  /* --- Radar bar --- */
  .radar-bar { flex-wrap: wrap; }

}

/* ==================== RESPONSIVE — PHONE (480px) ==================== */
@media (max-width: 480px) {
  /* --- Game selector: stack vertically --- */
  .game-selector { flex-direction: column; gap: 6px; }
  .gs-card { min-width: 0; flex: none; padding: 10px 12px; gap: 8px; }
  .gs-icon { width: 28px; height: 28px; }
  .gs-name { font-size: 12px; }
  .gs-status { font-size: 9px; }
  .gs-online { font-size: 10px; }

  /* --- Product cards: full width, stack everything --- */
  .pi-card { padding: 12px; }
  .pi-top { flex-direction: column; gap: 8px; }
  .pi-name { font-size: 14px; }
  .pi-name-line { flex-wrap: wrap; gap: 6px; }
  .pi-status { font-size: 9px; padding: 2px 6px; }
  .pi-meta { gap: 6px; }
  .pi-ver { font-size: 11px; }
  .pi-desc { font-size: 11px; }
  .pi-actions { gap: 5px; }
  .pi-btn { flex: 1 1 100%; padding: 9px 10px; font-size: 12px; }

  /* --- Tier badges --- */
  .tier-badge { font-size: 8px; padding: 2px 8px; }
  .tier-desc { font-size: 10px; }

  /* --- Card badges --- */
  .card-badges { gap: 4px; }

  /* --- Key cards --- */
  .key-card { padding: 12px; gap: 10px; }
  .key-card .key-info .product-name { font-size: 14px; }
  .key-card .key-info .key-header { flex-direction: column; align-items: flex-start; gap: 6px; }
  .key-card .key-info .key-value { font-size: 10px; padding: 5px 8px; }
  .key-card .key-info .key-meta { flex-direction: column; gap: 4px; font-size: 11px; }
  .key-status-badge { font-size: 9px; padding: 2px 8px; }
  .time-badge { font-size: 11px; padding: 4px 10px; align-self: flex-start; }
  .key-actions { gap: 4px; }
  .key-actions .btn { font-size: 11px; padding: 5px 10px; }

  /* --- Product review row --- */
  .product-review-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .product-review-actions { width: 100%; }
  .product-review-btn { flex: 1; text-align: center; font-size: 10px; padding: 5px 8px; }

  /* --- Reviews modal: near full-screen --- */
  .reviews-modal { max-width: 100vw; width: 100vw; max-height: 100vh; border-radius: 0; }
  .reviews-modal-header { padding: 12px 14px; }
  .reviews-modal-title h2 { font-size: 14px; }
  .reviews-modal-body { padding: 12px; max-height: calc(100vh - 110px); }
  .reviews-modal-footer { padding: 10px 14px; }
  .review-summary-card { padding: 14px 12px; gap: 12px; }
  .review-big-number { font-size: 28px; }
  .review-cat-row>span:first-child { min-width: 45px; font-size: 11px; }
  .review-card { padding: 12px; }
  .review-card-header { flex-direction: column; align-items: flex-start; gap: 6px; }
  .review-message { padding: 6px 10px; font-size: 11px; }

  /* --- Features modal: near full-screen --- */
  .features-window { width: 100vw; max-width: 100vw; max-height: 100vh; border-radius: 0; }
  .features-window-header { padding: 8px 12px; }
  .features-window-title h2 { font-size: 12px; }
  .features-product-icon { width: 26px; height: 26px; }
  .ft-section-header { padding: 5px 12px 3px; }
  .ft-section-name { font-size: 9px; }
  .ft-item { padding: 3px 12px; font-size: 11px; }

  /* --- Changelog modal: near full-screen --- */
  .changelog-modal { max-width: 100vw !important; max-height: 100vh !important; border-radius: 0 !important; }
  .changelog-modal-header { padding: 8px 12px; }
  .changelog-modal-body { padding: 8px 12px; }
  .cl-ver { font-size: 10px; }
  .cl-line { font-size: 11px; gap: 5px; }

  /* --- Feedback modal: near full-screen --- */
  #feedbackModal .modal { max-width: 100vw; border-radius: 0; }
  .rating-section { padding: 10px; gap: 10px; }
  .rating-row { flex-wrap: wrap; gap: 6px; }
  .rating-label { min-width: 50px; font-size: 11px; }
  .star-rating .star { font-size: 20px; }
  .rating-value { font-size: 14px; }

  /* --- Activate / HWID modals: near full-screen --- */
  #activateModal .modal { max-width: 100vw; border-radius: 0; }
  .modal-overlay { padding: 0; }

  /* --- General modal body --- */
  .modal { max-width: 100vw; padding: 16px; }
  .modal .modal-body { padding: 14px; }
  .modal .modal-header { padding: 10px 14px; }

  /* --- Why-us: single column on phone --- */
  .why-us-grid { grid-template-columns: 1fr; gap: 8px; }
  .why-us-banner { padding: 14px 12px; }
  .why-us-header h2 { font-size: 15px; }
  .why-us-header p { font-size: 11px; }
  .why-us-card { padding: 10px 12px; gap: 8px; }
  .why-us-icon { width: 28px; height: 28px; }
  .why-us-title { font-size: 11px; }
  .why-us-desc { font-size: 10px; }

  /* --- Guide --- */
  .guide-header { padding: 14px 14px 10px; }
  .guide-header h3 { font-size: 14px; }
  .guide-header-sub { font-size: 10px; }
  .guide-header-icon { width: 28px; height: 28px; }
  .guide-steps { padding: 10px 12px 12px; }
  .guide-step { gap: 8px; padding: 8px 2px; }
  .step-number { width: 24px; height: 24px; font-size: 11px; }
  .step-title { font-size: 12px; }
  .step-desc { font-size: 11px; }
  .step-expand-pre { font-size: 10px; padding: 10px 12px; }

  /* --- Guide product selector --- */
  .guide-product-selector { gap: 4px; }
  .guide-product-btn { padding: 5px 10px; font-size: 11px; }
  .guide-product-btn-icon { width: 16px; height: 16px; }

  /* --- FAQ --- */
  .guide-faq-topbar { padding: 12px 14px 10px; }
  .guide-faq-title-row h3 { font-size: 13px; }
  .guide-faq-controls { padding: 10px 14px; }
  .guide-faq-search { font-size: 11px; padding: 7px 8px 7px 28px; }
  .faq-cat-pill { font-size: 10px; padding: 2px 8px; }
  .guide-faq-list { padding: 4px 10px 10px; }
  .faq-q { padding: 8px 4px; font-size: 11px; }
  .faq-a { font-size: 11px; }
  .faq-a-inner { padding: 3px 6px 12px; }
  .guide-faq-end-note { padding: 8px 14px; font-size: 10px; }

  /* --- Tips --- */
  .tips-card { padding: 16px 14px; }
  .tips-header h3 { font-size: 14px; }
  .tip-item { padding: 10px 12px; gap: 10px; }
  .tip-icon { width: 28px; height: 28px; font-size: 16px; }
  .tip-title { font-size: 12px; }
  .tip-desc { font-size: 11px; }

  /* --- Pricing row --- */
  .pricing-row { gap: 4px; }
  .price-chip { min-width: 48px; padding: 5px 8px; }
  .price-label { font-size: 7px; }
  .price-value { font-size: 13px; }

  /* --- Platform section --- */
  .plat-section { padding: 8px 10px; }
  .plat-label { font-size: 8px; }
  .plat-item { padding: 5px 10px; gap: 5px; }
  .plat-name { font-size: 10px; }

  /* --- Live stats --- */
  .live-stats-section { padding: 10px 12px; }
  .live-stat-mini { padding: 8px 10px; min-width: 70px; }
  .live-stat-mini-value { font-size: 18px; }
  .live-stat-mini-label { font-size: 9px; }
  .live-stats-row { flex-direction: column; gap: 8px; }

  /* --- Private info --- */
  .private-info-header { padding: 6px 10px; }
  .private-info-q { font-size: 11px; }
  .private-info-body ul { grid-template-columns: 1fr; gap: 2px; }
  .private-info-body li { font-size: 10px; }

  /* --- Radar --- */
  .radar-bar { padding: 5px 8px; font-size: 11px; gap: 4px; }

  /* --- Online badge --- */
  .online-badge { font-size: 9px; padding: 2px 7px; }

  /* --- Gblock (accordion compat) --- */
  .gblock-head { padding: 12px 14px; gap: 10px; }
  .gblock-icon { width: 30px; height: 30px; }
  .gblock-name { font-size: 15px; }
  .gblock-status { font-size: 10px; padding: 2px 8px; }
  .gblock-online { font-size: 11px; }

  /* --- Aim config modal --- */
  .acm { max-width: 100vw; max-height: 100vh; border-radius: 0; }
  .acm-body { grid-template-columns: 1fr; }
  .acm-agent-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,.04); }
  .acm-agent-preview { height: 200px; }
  .acm-settings-col { padding: 10px 12px; gap: 10px; }
  .acm-top { padding: 8px 12px; }
  .acm-title { font-size: 11px; }
  .acm-lbl { font-size: 11px; }
  .acm-val { font-size: 12px; }
  .acm-foot { padding: 6px 12px; }
  .acm-save { padding: 5px 14px; font-size: 10px; }
  .acm-mouse-svg { width: 90px; }
  .acm-bone-btn { font-size: 8px; padding: 4px 2px; }
  .acm-kb-key { height: 22px; min-width: 16px; font-size: 6px; }

  /* --- Font size reductions for very small screens --- */
  .auth-logo { font-size: 18px; }
  .auth-sub { font-size: 11px; }
}

/* ==================== RANK STATS ==================== */
/* Layout: products left, rank panel right */
.products-layout { display: flex; gap: 16px; }
.products-layout .products-list { flex: 1; min-width: 0; }
.rank-side-panel { width: 200px; flex-shrink: 0; position: sticky; top: 20px; align-self: flex-start; }

@media (max-width: 960px) { .rank-side-panel { width: 180px; } }
@media (max-width: 800px) {
  .products-layout { flex-direction: column; }
  .rank-side-panel { width: 100%; position: static; }
  .rk-grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 500px) {
  .rk-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

.rk {
  background: rgba(18,18,24,0.8);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px;
}
.rk-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.rk-head-icon { width: 24px; height: 24px; object-fit: contain; filter: drop-shadow(0 0 6px rgba(255,234,0,.25)); }
.rk-head-text { flex: 1; }
.rk-head-title { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.9); }
.rk-head-sub { font-size: 10px; color: rgba(255,255,255,0.4); margin-top: 1px; }
.rk-dot-live {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: #00e676; margin-right: 4px; vertical-align: middle;
  animation: rk-pulse 2s infinite;
}
@keyframes rk-pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

/* Group grid */
.rk-grid { display: flex; flex-direction: column; gap: 2px; }
.rk-group { border-radius: 6px; overflow: hidden; }
.rk-g-row {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 6px; cursor: pointer; border-radius: 6px;
  transition: background 0.15s;
}
.rk-g-row:hover { background: rgba(255,255,255,0.04); }
.rk-g-live .rk-g-row { background: rgba(255,255,255,0.02); }
.rk-g-icon { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); }
.rk-g-name { flex: 1; font-size: 11px; font-weight: 700; color: var(--gc); }
.rk-g-count { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.85); font-variant-numeric: tabular-nums; min-width: 16px; text-align: right; }
.rk-g-live .rk-g-count { color: #fff; }

/* Sub-ranks (accordion) */
.rk-g-sub { padding: 2px 0 4px 26px; }
.rk-sub-row {
  display: flex; align-items: center; gap: 5px;
  padding: 2px 4px; border-radius: 4px; font-size: 10px;
  color: rgba(255,255,255,0.4); transition: background 0.1s;
}
.rk-sub-row:hover { background: rgba(255,255,255,0.03); }
.rk-sub-live { color: rgba(255,255,255,0.7); }
.rk-sub-icon { width: 14px; height: 14px; object-fit: contain; flex-shrink: 0; }
.rk-sub-n { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 600; color: rgba(255,255,255,0.25); }
.rk-sub-on { color: rgba(255,255,255,0.9); }
.rk-g-peak { font-size: 9px; font-weight: 500; color: rgba(255,255,255,0.2); margin-left: 1px; }
