/* ==========================================================================
   VELIXVN • STORE - OFFICIAL SHOP THEME
   Inspired by PhucVN Store: Neon Emerald, Deep Obsidian, Sleek Cyber UI
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-darkest: #070a0f;
  --bg-body: #0b0f15;
  --bg-sidebar: #0e131c;
  --bg-card: #111622;
  --bg-card-hover: #151c2a;
  --bg-card-inner: #151b27;
  --bg-input: #121722;
  --bg-border: #1a2232;
  --bg-border-light: rgba(255, 255, 255, 0.08);

  /* Neon Accents */
  --neon-green: #00e676;
  --neon-green-glow: rgba(0, 230, 118, 0.35);
  --neon-green-subtle: rgba(0, 230, 118, 0.12);
  --neon-green-dark: #00b057;

  --accent-gold: #fbbf24;
  --accent-orange: #f97316;
  --accent-cyan: #06b6d4;
  --accent-purple: #a855f7;
  --accent-blue: #3b82f6;
  --accent-red: #ef4444;

  /* Typography Colors */
  --text-white: #ffffff;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* UI Tokens */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --transition-fast: 0.18s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.45);
  --shadow-green: 0 0 16px rgba(0, 230, 118, 0.3);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: var(--bg-body);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
}

.site-header-sticky {
  flex-shrink: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-body);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darkest);
}
::-webkit-scrollbar-thumb {
  background: #1f293d;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-green);
}

/* Text & Utility Helpers */
.text-green { color: var(--neon-green) !important; }
.text-gold { color: var(--accent-gold) !important; }
.text-silver { color: #cbd5e1 !important; }
.text-bronze { color: #f59e0b !important; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.font-bold { font-weight: 700; }
.hidden { display: none !important; }

/* ==========================================================================
   1. TOP MARQUEE TICKER BAR
   ========================================================================== */
.top-marquee-bar {
  width: 100%;
  height: 32px;
  background-color: var(--bg-darkest);
  border-bottom: 1px solid var(--bg-border);
  overflow: hidden;
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 36s linear infinite;
}

.top-marquee-bar:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  white-space: nowrap;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-secondary);
}

.dot-green {
  font-size: 8px;
  animation: pulseDot 1.8s infinite;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* ==========================================================================
   2. MAIN NAVBAR
   ========================================================================== */
.main-navbar {
  width: 100%;
  height: 64px;
  background-color: rgba(11, 15, 21, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bg-border);
  position: sticky;
  top: 0;
  z-index: 99;
}

.nav-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
}

/* Left Brand */
.nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-toggle-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 6px;
}

.navbar-brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text-white);
  text-transform: uppercase;
}

.brand-store-tag {
  background: linear-gradient(135deg, var(--neon-green) 0%, #00b057 100%);
  color: #000000;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.5px;
}

/* Center Search */
.nav-search-wrapper {
  flex: 1;
  max-width: 580px;
}

.search-input-box {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-pill);
  height: 40px;
  padding: 0 12px 0 38px;
  transition: var(--transition-fast);
}

.search-input-box:focus-within {
  border-color: var(--neon-green);
  box-shadow: 0 0 12px var(--neon-green-subtle);
}

.search-icon {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.search-input-box input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 13px;
  padding-right: 180px;
}

.search-input-box input::placeholder {
  color: var(--text-muted);
}

.search-badges-inside {
  position: absolute;
  right: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.inner-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  white-space: nowrap;
}

.badge-member {
  background: rgba(0, 230, 118, 0.12);
  color: #6ee7b7;
  border: 1px solid rgba(0, 230, 118, 0.25);
}

.badge-stock {
  background: rgba(6, 182, 212, 0.12);
  color: #67e8f9;
  border: 1px solid rgba(6, 182, 212, 0.25);
}

/* Right Actions */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-btn-admin {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--neon-green-subtle);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: var(--transition-fast);
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.15);
}

.nav-btn-admin:hover {
  background: var(--neon-green);
  color: #000000;
  box-shadow: 0 0 18px var(--neon-green-glow);
}

.admin-pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--neon-green);
  border-radius: 50%;
  animation: pulseDot 1.5s infinite;
}

.nav-btn-admin:hover .admin-pulse-dot {
  background-color: #000000;
}

.nav-icon-btn, .lang-btn, .nav-cart-btn {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.nav-icon-btn {
  width: 36px;
  height: 36px;
}

.nav-icon-btn:hover, .lang-btn:hover, .nav-cart-btn:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.lang-btn {
  height: 36px;
  padding: 0 12px;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}

.nav-cart-btn {
  height: 36px;
  padding: 0 12px;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}

.cart-count {
  background: var(--neon-green);
  color: #000000;
  font-size: 10px;
  font-weight: 800;
  border-radius: var(--radius-pill);
  padding: 1px 6px;
}

/* ==========================================================================
   FLOATING LIVE PURCHASE TOAST (TOP RIGHT CORNER)
   ========================================================================== */
.live-toast-alert {
  position: fixed;
  top: 76px;
  right: 18px;
  width: 330px;
  background: rgba(17, 22, 34, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 230, 118, 0.35);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 16px rgba(0, 230, 118, 0.15);
  padding: 12px 14px;
  z-index: 999;
  animation: slideInRight 0.4s ease;
  transition: opacity 0.3s ease;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.toast-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.toast-badge-fire {
  font-size: 11px;
  font-weight: 800;
  color: #4ade80;
}

.toast-badge-stock {
  font-size: 9.5px;
  font-weight: 700;
  background: rgba(6, 182, 212, 0.2);
  color: #22d3ee;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.3px;
}

.toast-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 0 4px;
}

.toast-close-btn:hover {
  color: var(--text-white);
}

.toast-item-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.35;
  margin-bottom: 8px;
}

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

.toast-buy-btn {
  background: var(--neon-green);
  color: #000000;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.toast-buy-btn:hover {
  box-shadow: 0 0 12px var(--neon-green);
  transform: translateY(-1px);
}

.toast-time {
  font-size: 10px;
  color: var(--text-secondary);
}

/* ==========================================================================
   3. THREE-COLUMN SHOP BODY LAYOUT
   ========================================================================== */
.shop-body-layout {
  flex: 1;
  height: calc(100vh - 96px);
  max-height: calc(100vh - 96px);
  width: 100%;
  display: flex;
  gap: 16px;
  padding: 12px 18px;
  box-sizing: border-box;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   LEFT SIDEBAR (MATCHING SCREENSHOT 1 & 2)
   -------------------------------------------------------------------------- */
.left-sidebar {
  width: 240px;
  flex-shrink: 0;
  height: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #090d14;
  border: 1px solid #161f2e;
  border-radius: 14px;
  padding: 14px 10px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 230, 118, 0.35) transparent;
  box-sizing: border-box;
}

.left-sidebar::-webkit-scrollbar {
  width: 4px;
}

.left-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.left-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.left-sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--neon-green);
}

/* Sidebar Group */
.sidebar-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 8px;
}

.sidebar-group:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 6px;
}

.group-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #64748b;
  text-transform: uppercase;
  padding: 4px 10px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.group-title-green {
  color: #00e676 !important;
}

.group-gear {
  font-size: 13px;
  color: #00e676;
  filter: drop-shadow(0 0 6px rgba(0, 230, 118, 0.4));
}

.nav-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-item-wrapper {
  list-style: none;
}

/* Category & Nav Item Link (Distinct Framed Box) */
.nav-item-link {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 12px;
  border-radius: 9px;
  text-decoration: none;
  color: #94a3b8;
  font-size: 13.5px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.035);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

/* HOVER EFFECT - Nổi lên như Nạp Thẻ trong Screenshot 1 */
.nav-item-link:hover {
  background: #0d1a14 !important;
  border: 1px solid rgba(0, 230, 118, 0.35) !important;
  border-left: 3.5px solid #00e676 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  transform: translateX(5px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 230, 118, 0.22), inset 0 0 12px rgba(0, 230, 118, 0.06) !important;
  z-index: 2;
}

.nav-item-link:hover .item-icon {
  transform: scale(1.2);
  filter: drop-shadow(0 0 6px rgba(0, 230, 118, 0.8));
}

.nav-item-link:hover .item-text {
  color: #ffffff !important;
}

.nav-item-link:hover .badge-pill {
  transform: scale(1.08);
  box-shadow: 0 0 10px currentColor;
}

/* ACTIVE STATE - Viền xanh bo góc như Trang Chủ trong Screenshot 1 & 2 */
.nav-item-link.active {
  background: rgba(0, 230, 118, 0.08) !important;
  border: 1.5px solid #00e676 !important;
  color: #00e676 !important;
  font-weight: 700 !important;
  box-shadow: 0 0 16px rgba(0, 230, 118, 0.24), inset 0 0 10px rgba(0, 230, 118, 0.05) !important;
}

.nav-item-link.active .item-text {
  color: #00e676 !important;
}

.nav-item-link.active .item-icon {
  filter: drop-shadow(0 0 6px rgba(0, 230, 118, 0.6));
}

.nav-item-link.active:hover {
  background: rgba(0, 230, 118, 0.15) !important;
  border: 1.5px solid #00e676 !important;
  border-left: 4px solid #00e676 !important;
  transform: translateX(4px);
}

.nav-item-link .item-icon {
  font-size: 16px;
  width: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.nav-item-link .item-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

/* Icon Glow Utilities */
.icon-purple { filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.4)); }
.icon-home { color: #00e676; }
.icon-bank { filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.4)); }
.icon-card { filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.4)); }
.icon-trophy { filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.5)); }
.icon-game { filter: drop-shadow(0 0 4px rgba(0, 230, 118, 0.5)); }
.icon-apple { filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.5)); }
.icon-id { filter: drop-shadow(0 0 4px rgba(0, 230, 118, 0.5)); }
.icon-book { filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.5)); }
.icon-star { filter: drop-shadow(0 0 4px rgba(249, 115, 22, 0.5)); }
.icon-sliders { filter: drop-shadow(0 0 4px rgba(0, 230, 118, 0.5)); }
.icon-key { filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.5)); }

/* Badges for Sidebar */
.badge-pill {
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.badge-green {
  background: rgba(0, 230, 118, 0.14);
  color: #00e676;
  border: 1px solid rgba(0, 230, 118, 0.35);
}

.badge-orange {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.badge-gold {
  background: rgba(251, 191, 36, 0.14);
  color: #fde047;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.14);
  color: #38bdf8;
  border: 1px solid rgba(6, 182, 212, 0.35);
}

.badge-purple {
  background: rgba(168, 85, 247, 0.14);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.35);
}

/* --------------------------------------------------------------------------
   CENTER MAIN CONTENT
   -------------------------------------------------------------------------- */
.center-content {
  flex: 1;
  min-width: 0;
  height: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 230, 118, 0.35) transparent;
  padding-right: 6px;
  box-sizing: border-box;
}

.center-content::-webkit-scrollbar {
  width: 5px;
}

.center-content::-webkit-scrollbar-track {
  background: transparent;
}

.center-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.center-content::-webkit-scrollbar-thumb:hover {
  background: var(--neon-green);
}

/* ROW 1: STAT CARDS */
.stat-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition-fast);
}

.stat-card:hover {
  border-color: rgba(0, 230, 118, 0.3);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.stat-card-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-card-inner);
  border: 1px solid var(--bg-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-green);
  flex-shrink: 0;
}

.stat-card-details {
  display: flex;
  flex-direction: column;
}

.stat-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

.stat-val {
  font-size: 21px;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.25;
}

.stat-val.highlight-green {
  color: var(--neon-green);
}

.stat-val.stat-role {
  font-size: 15px;
  color: #38bdf8;
  font-weight: 700;
}

/* ROW 2: NOTICES DUAL GRID */
.notices-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.notice-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.notice-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--bg-border);
}

.notice-icon {
  font-size: 16px;
}

.notice-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--text-white);
}

.welcome-line {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 10px;
}

.notice-links-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

.notice-link-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.link-action {
  color: var(--neon-green);
  text-decoration: none;
  font-weight: 700;
}

.link-action:hover {
  text-decoration: underline;
}

.admin-rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.admin-rules-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
}

/* ROW 3: LEADERBOARD SECTION */
.leaderboard-section {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 18px;
}

.leaderboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.lb-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trophy-icon {
  font-size: 24px;
}

.lb-heading {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: 0.3px;
}

.lb-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

.sub-link {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 600;
  margin-left: 4px;
}

.lb-action-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-lb-purple, .btn-lb-gold {
  border: none;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-lb-purple {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #d8b4fe;
}

.btn-lb-purple:hover {
  background: rgba(168, 85, 247, 0.3);
  color: #ffffff;
}

.btn-lb-gold {
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fde047;
}

.btn-lb-gold:hover {
  background: rgba(251, 191, 36, 0.3);
  color: #ffffff;
}

/* PODIUM CARDS */
.podium-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.podium-card {
  background: var(--bg-card-inner);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: var(--transition-fast);
}

.podium-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.podium-card.rank-1 {
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.12);
}

.rank-badge {
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 8px;
}

.rank-num-badge {
  background: var(--bg-card);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
}

.user-avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: var(--text-white);
  margin-bottom: 8px;
}

.rank-1-avatar {
  border: 2px solid var(--accent-gold);
  background: linear-gradient(135deg, #78350f 0%, #b45309 100%);
  color: #fef08a;
}

.rank-2-avatar {
  border: 2px solid #94a3b8;
  background: linear-gradient(135deg, #334155 0%, #475569 100%);
}

.rank-3-avatar {
  border: 2px solid #d97706;
  background: linear-gradient(135deg, #451a03 0%, #78350f 100%);
}

.podium-username {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.podium-amount {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-secondary);
}

/* ROW 4: GAME & DEVICE CATEGORIES */
.game-categories-section {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.categories-header {
  margin-bottom: 12px;
}

.cat-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cat-icon-glow {
  font-size: 22px;
}

.cat-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-white);
}

.cat-desc {
  font-size: 11.5px;
  color: var(--text-secondary);
}

.category-pills-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 8px;
}

/* Category Pill (Framed Box with Hover Elevation) */
.cat-pill {
  background: #111722;
  border: 1px solid #1e293b;
  border-radius: 9px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: #cbd5e1;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  position: relative;
}

/* Hover: Nổi lên với viền xanh neon */
.cat-pill:hover {
  background: #0e1c16 !important;
  border: 1px solid rgba(0, 230, 118, 0.4) !important;
  border-left: 3.5px solid #00e676 !important;
  color: #ffffff !important;
  font-weight: 700;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 230, 118, 0.25), inset 0 0 10px rgba(0, 230, 118, 0.06);
}

.cat-pill:hover .pill-icon {
  transform: scale(1.2);
}

/* Active State */
.cat-pill.active {
  background: var(--neon-green) !important;
  color: #000000 !important;
  border-color: var(--neon-green) !important;
  font-weight: 800;
  box-shadow: 0 0 16px var(--neon-green-glow);
  transform: translateY(-2px);
}

/* ROW 5: PRODUCTS CATALOG GRID */
.products-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.product-item-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-fast);
}

.product-item-card:hover {
  border-color: var(--neon-green);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 230, 118, 0.15);
}

.product-banner-graphic {
  height: 100px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.p-graphic-tag {
  align-self: flex-start;
  font-size: 9.5px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  color: var(--neon-green);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.5px;
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.p-game-logo {
  font-size: 26px;
  align-self: flex-end;
}

.product-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.35;
  margin-bottom: 6px;
}

.product-tags-row {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.p-mini-tag {
  font-size: 9.5px;
  background: var(--bg-card-inner);
  border: 1px solid var(--bg-border);
  color: var(--text-secondary);
  padding: 2px 6px;
  border-radius: 4px;
}

.product-pricing-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--bg-border);
}

.p-price-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--neon-green);
}

.p-stock-info {
  font-size: 11px;
  color: var(--text-muted);
}

.p-buy-btn {
  width: 100%;
  margin-top: 10px;
  background: var(--neon-green);
  color: #000000;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.p-buy-btn:hover {
  background: #00ff83;
  box-shadow: 0 0 16px var(--neon-green-glow);
}

/* Background Gradients for Cards */
.bg-grad-green {
  background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
}
.bg-grad-dark {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}
.bg-grad-purple {
  background: linear-gradient(135deg, #581c87 0%, #3b0764 100%);
}
.bg-grad-blue {
  background: linear-gradient(135deg, #1e3a8a 0%, #172554 100%);
}
.bg-grad-cyan {
  background: linear-gradient(135deg, #164e63 0%, #083344 100%);
}
.bg-grad-orange {
  background: linear-gradient(135deg, #7c2d12 0%, #431407 100%);
}

/* ROW 6: FEEDBACK CAROUSEL */
.feedback-section {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 18px;
}

.feedback-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.feedback-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.star-icon-gold {
  font-size: 18px;
  color: var(--accent-gold);
}

.feedback-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-white);
}

.badge-verified {
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid rgba(0, 230, 118, 0.4);
  color: var(--neon-green);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.feedback-nav-buttons {
  display: flex;
  gap: 6px;
}

.fb-arrow-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-card-inner);
  border: 1px solid var(--bg-border);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.fb-arrow-btn:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.feedback-carousel-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 6px;
}

.feedback-carousel-track::-webkit-scrollbar {
  height: 5px;
}

.feedback-card {
  width: 250px;
  flex-shrink: 0;
  background: var(--bg-card-inner);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition-fast);
}

.feedback-card:hover {
  border-color: rgba(0, 230, 118, 0.4);
}

.feedback-preview-graphic {
  height: 110px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.graphic-chip {
  align-self: flex-start;
  font-size: 9px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.6);
  color: var(--neon-green);
  padding: 2px 6px;
  border-radius: 3px;
  margin-bottom: 6px;
}

.graphic-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-white);
}

.graphic-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 3px;
}

.feedback-card-footer {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--bg-border);
}

.fb-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fb-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.fb-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-white);
}

.fb-stars {
  font-size: 9px;
}

.fb-tag {
  font-size: 10px;
  color: var(--neon-green);
  font-weight: 600;
}

/* ROW 7: BOTTOM 3 INFO CARDS */
.bottom-info-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.info-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--bg-border);
}

.info-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-icon {
  font-size: 16px;
}

.info-card-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-white);
}

.info-badge-step {
  font-size: 9.5px;
  font-weight: 800;
  background: var(--bg-card-inner);
  border: 1px solid var(--bg-border);
  color: var(--text-secondary);
  padding: 2px 6px;
  border-radius: 4px;
}

.info-card-body {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.info-bullets {
  list-style: none;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.btn-card-action {
  margin-top: auto;
  padding-top: 12px;
  background: var(--bg-card-inner);
  border: 1px solid var(--bg-border);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.btn-card-action:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.btn-green-glow {
  background: var(--neon-green-subtle);
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.btn-green-glow:hover {
  background: var(--neon-green);
  color: #000000;
  box-shadow: 0 0 16px var(--neon-green-glow);
}

/* FOOTER */
.shop-footer {
  margin-top: 10px;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.footer-brand-row {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.f-brand {
  letter-spacing: 0.5px;
}

.f-sep {
  color: var(--text-muted);
  margin: 0 6px;
}

.footer-sub-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.footer-sub-links a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-sub-links a:hover {
  color: var(--neon-green);
}

.footer-cr {
  font-size: 11px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   RIGHT SIDEBAR (LIVE ORDERS STREAM & RATINGS)
   -------------------------------------------------------------------------- */
.right-sidebar {
  width: 300px;
  flex-shrink: 0;
  height: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 230, 118, 0.35) transparent;
  box-sizing: border-box;
}

.right-sidebar::-webkit-scrollbar {
  width: 4px;
}

.right-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.right-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.right-sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--neon-green);
}

.right-panel {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 16px;
}

.panel-header-with-pulse {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--bg-border);
}

.panel-header-with-pulse .header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-cart-icon {
  font-size: 16px;
}

.panel-main-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: 0.3px;
}

.panel-subtitle {
  font-size: 10px;
  color: var(--text-muted);
}

.live-dot-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--neon-green);
  border-radius: 50%;
  animation: pulseDot 1.2s infinite;
}

.panel-link-all {
  font-size: 11px;
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 700;
}

.panel-link-all:hover {
  text-decoration: underline;
}

/* Orders Stream List */
.live-orders-stream {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-stream-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: var(--bg-card-inner);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.order-stream-item:hover {
  border-color: rgba(0, 230, 118, 0.3);
}

.stream-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #000000;
  flex-shrink: 0;
}

.avatar-v { background: #00e676; }
.avatar-t { background: #22d3ee; }
.avatar-n { background: #a855f7; }
.avatar-p { background: #fbbf24; }

.stream-info {
  flex: 1;
  min-width: 0;
}

.stream-user {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-white);
}

.stream-product {
  font-size: 11px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stream-time {
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Ratings Panel Details */
.ratings-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  text-align: center;
  padding: 10px 0 16px;
  border-bottom: 1px solid var(--bg-border);
}

.rating-score-num {
  font-size: 26px;
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.1;
}

.rating-stars-gold {
  font-size: 10px;
  margin-top: 2px;
}

.rating-stat-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-white);
}

.rating-stat-label {
  font-size: 10.5px;
  color: var(--text-muted);
}

.rating-bars-box {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 14px;
}

.rating-bar-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-secondary);
}

.prog-track {
  flex: 1;
  height: 6px;
  background: var(--bg-card-inner);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.prog-fill {
  height: 100%;
  background: var(--neon-green);
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   4. MODALS & POPUPS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 230, 118, 0.15);
  width: 100%;
  overflow: hidden;
  animation: popScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popScale {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-medium {
  max-width: 520px;
}

.modal-header {
  padding: 16px 20px;
  background: var(--bg-darkest);
  border-bottom: 1px solid var(--bg-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.m-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.m-icon {
  font-size: 18px;
}

.m-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-white);
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.modal-close-btn:hover {
  color: var(--text-white);
}

.modal-body {
  padding: 20px;
}

/* Bank VietQR Styling */
.bank-qr-wrapper {
  display: flex;
  gap: 18px;
  align-items: center;
}

.qr-code-frame {
  background: #ffffff;
  padding: 8px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.qr-scan-tag {
  color: #000000;
  font-size: 10px;
  font-weight: 800;
  margin-top: 4px;
}

.bank-details-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bank-info-row {
  display: flex;
  flex-direction: column;
  font-size: 12px;
}

.b-label {
  color: var(--text-muted);
  font-size: 11px;
}

.b-val {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 6px;
}

.copyable {
  cursor: pointer;
  background: var(--bg-card-inner);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px dashed var(--bg-border);
}

.copyable:hover {
  border-color: var(--neon-green);
}

.copy-badge {
  font-size: 9px;
  background: var(--neon-green);
  color: #000000;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 800;
}

.bank-alert-box {
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: #fb923c;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  line-height: 1.4;
  margin-top: 4px;
}

/* Modal Form Styles */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.f-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}

.f-input, .f-select {
  background: var(--bg-input);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 13px;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition-fast);
}

.f-input:focus, .f-select:focus {
  border-color: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green-subtle);
}

.btn-submit-action {
  background: var(--neon-green);
  color: #000000;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 6px;
  transition: var(--transition-fast);
}

.btn-submit-action:hover {
  background: #00ff83;
  box-shadow: 0 0 16px var(--neon-green-glow);
}

/* Package Selection Grid */
.buy-product-meta {
  margin-bottom: 14px;
}

.buy-badge-cat {
  display: inline-block;
  background: var(--neon-green-subtle);
  color: var(--neon-green);
  border: 1px solid rgba(0, 230, 118, 0.3);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-bottom: 6px;
}

.buy-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
}

.package-selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.package-card {
  background: var(--bg-card-inner);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  cursor: pointer;
  text-align: center;
  position: relative;
  transition: var(--transition-fast);
}

.package-card:hover {
  border-color: rgba(0, 230, 118, 0.4);
}

.package-card.active {
  border-color: var(--neon-green);
  background: var(--neon-green-subtle);
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.2);
}

.pkg-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.pkg-price {
  font-size: 14px;
  font-weight: 800;
}

.pkg-hot-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent-orange);
  color: #ffffff;
  font-size: 8.5px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: var(--radius-pill);
}

.checkout-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--bg-border);
}

.checkout-total {
  font-size: 12.5px;
  display: flex;
  flex-direction: column;
}

.total-amount-val {
  font-size: 20px;
  font-weight: 900;
}

.btn-checkout-confirm {
  background: var(--neon-green);
  color: #000000;
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-checkout-confirm:hover {
  background: #00ff83;
  box-shadow: 0 0 16px var(--neon-green-glow);
}

/* User Profile Mini Modal */
.current-user-badge-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card-inner);
  padding: 14px;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  border: 1px solid var(--bg-border);
}

.user-large-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-green) 0%, #00b057 100%);
  color: #000000;
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-info-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-white);
}

.badge-role-tag {
  font-size: 11px;
  color: #38bdf8;
  font-weight: 700;
}

.user-info-email {
  font-size: 11.5px;
  color: var(--text-muted);
}

.user-stats-mini-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-card-inner);
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 12.5px;
}

.mini-stat {
  display: flex;
  justify-content: space-between;
}

.auth-modal-actions {
  display: flex;
  gap: 10px;
}

.btn-auth-action {
  flex: 1;
  padding: 9px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--bg-border);
  background: var(--bg-card-inner);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-auth-action:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
}

/* Search Key Result Container */
.search-key-box {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.key-result-container {
  background: var(--bg-card-inner);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  padding: 14px;
}

/* ==========================================================================
   5. TOAST NOTIFICATIONS STACK
   ========================================================================== */
.toast-stack {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 99999;
}

.toast {
  background: rgba(17, 22, 34, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  animation: toastSlideUp 0.3s ease;
  min-width: 280px;
}

.toast-success { border-left: 4px solid var(--neon-green); }
.toast-info { border-left: 4px solid #38bdf8; }
.toast-error { border-left: 4px solid var(--accent-red); }

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

/* ==========================================================================
   6. RESPONSIVENESS (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 1280px) {
  .right-sidebar {
    display: none;
  }
  .center-content {
    margin-right: 0;
  }
}

@media (max-width: 992px) {
  .mobile-toggle-btn {
    display: block;
  }

  .center-content {
    margin-left: 0;
    margin-right: 0;
  }

  .left-sidebar {
    position: fixed;
    top: 64px;
    left: -260px;
    width: 250px;
    height: calc(100vh - 64px);
    background: var(--bg-card);
    border-right: 1px solid var(--bg-border);
    padding: 18px;
    z-index: 1000;
    overflow-y: auto;
    transition: left 0.3s ease;
  }

  .left-sidebar.show-mobile {
    left: 0;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.7);
  }

  .nav-search-wrapper {
    display: none;
  }

  .stat-cards-grid {
    grid-template-columns: 1fr;
  }

  .notices-dual-grid {
    grid-template-columns: 1fr;
  }

  .podium-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bottom-info-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .podium-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .live-toast-alert {
    width: calc(100vw - 36px);
    right: 18px;
    top: auto;
    bottom: 18px;
  }
}
