@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-main: #07090e;
  --bg-sidebar: #0c101d;
  --bg-card: rgba(18, 25, 42, 0.78);
  --bg-card-hover: rgba(26, 36, 60, 0.9);
  --bg-input: #141c2e;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(139, 92, 246, 0.45);
  
  --primary: #7c3aed;
  --primary-light: #a78bfa;
  --primary-gradient: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #4f46e5 100%);
  --primary-hover: linear-gradient(135deg, #9333ea 0%, #7c3aed 50%, #6366f1 100%);
  
  --gold-gradient: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #d97706 100%);
  --gold-glow: 0 0 16px rgba(245, 158, 11, 0.4);
  --cyan-gradient: linear-gradient(135deg, #67e8f9 0%, #06b6d4 100%);
  --neon-purple: #a855f7;
  
  --accent-cyan: #06b6d4;
  --accent-gold: #f59e0b;
  --accent-green: #10b981;
  --accent-red: #ef4444;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', sans-serif;
  user-select: none;
  -webkit-user-select: none;
}

html {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 12% 15%, rgba(124, 58, 237, 0.16) 0%, transparent 40%),
    radial-gradient(circle at 88% 22%, rgba(6, 182, 212, 0.12) 0%, transparent 38%),
    radial-gradient(circle at 50% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 35%);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #252f4a;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* =======================================================
   CLOUDFLARE REAL TURNSTILE SCREEN
   ======================================================= */
#cf-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #131b2e 0%, #080b12 100%);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#cf-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cf-card {
  background: rgba(20, 27, 45, 0.95);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(124, 58, 237, 0.15);
  animation: cfPop 0.4s ease-out;
}

@keyframes cfPop {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.cf-mascot-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cf-mascot-aura {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.5) 0%, transparent 70%);
  animation: auraPulse 2s infinite alternate;
}

@keyframes auraPulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 1; }
}

.cf-mascot {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
}

.cf-mascot svg {
  width: 36px;
  height: 36px;
  fill: #ffffff;
}

.cf-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.cf-subtitle {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* =======================================================
   WELCOME NOTIFICATION POPUP (SCREENSHOT 2 STYLE)
   ======================================================= */
.welcome-bell-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  border-radius: 18px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.welcome-bell-icon svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.welcome-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.5rem 0;
}

.welcome-link-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.welcome-link-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  color: #fff;
  transform: translateX(4px);
}

.welcome-link-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.welcome-footer-btns {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}

.btn-remind-later {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-understand {
  flex: 1.5;
  background: var(--primary-gradient);
  border: none;
  color: #fff;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35);
}

/* =======================================================
   LOGIN & REGISTER MODAL (SCREENSHOT 1 STYLE)
   ======================================================= */
.auth-shield-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.auth-shield-logo svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-left {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  fill: var(--text-dim);
  pointer-events: none;
}

.input-icon-right {
  position: absolute;
  right: 14px;
  width: 18px;
  height: 18px;
  fill: var(--text-dim);
  cursor: pointer;
  opacity: 0.6;
  transition: var(--transition);
}

.input-icon-right:hover {
  opacity: 1;
}

.form-control.has-left-icon {
  padding-left: 2.75rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 1.25rem 0;
  color: var(--text-dim);
  font-size: 0.75rem;
  text-transform: lowercase;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.auth-divider span {
  padding: 0 0.75rem;
}

.btn-social-google {
  width: 100%;
  background: #182032;
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-social-google:hover {
  background: #202b44;
  border-color: rgba(255, 255, 255, 0.2);
}

/* =======================================================
   VIETQR REALTIME RADAR SCANNER
   ======================================================= */
.radar-box-wrapper {
  background: #101626;
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vietqr-image-container {
  position: relative;
  display: inline-block;
  background: #ffffff;
  padding: 0.85rem;
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(124, 58, 237, 0.25);
  margin-bottom: 0.75rem;
  max-width: 100%;
}

.vietqr-image-container img {
  width: 360px;
  max-width: 86vw;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 12px;
}

.radar-beam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #7c3aed, #06b6d4, transparent);
  box-shadow: 0 0 15px #06b6d4;
  animation: radarScan 2.5s ease-in-out infinite;
}

@keyframes radarScan {
  0% { top: 0; }
  50% { top: 100%; }
  100% { top: 0; }
}

.radar-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.radar-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulseDot 1.5s infinite;
}

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

/* =======================================================
   FLOATING QUICK CONTACT DOCK (VERTICAL ICONS WITH CN/GR BADGES)
   ======================================================= */
.floating-quick-dock {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.dock-circle-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #151926;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.dock-circle-btn:hover {
  transform: scale(1.15) translateX(-4px);
  border-color: #6366f1;
  background: #1e2438;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.dock-icon-letter {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.dock-icon-letter.f-icon {
  font-size: 1.45rem;
  font-family: "Lucida Sans", "Lucida Grande", sans-serif;
  transform: translateY(-1px);
}

.dock-tele-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dock-badge {
  position: absolute;
  bottom: -2px;
  right: -3px;
  background: #5c62ec;
  color: #ffffff;
  font-size: 8.5px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.dock-badge.cn {
  background: #4f46e5;
}

.dock-badge.gr {
  background: #6366f1;
}

/* Tooltip on hover */
.dock-circle-btn::before {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  background: rgba(10, 14, 26, 0.95);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.dock-circle-btn:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}

/* APP LAYOUT & CORE (REST OF STYLES PRESERVED) */
.app-container { display: flex; min-height: 100vh; }
.sidebar { width: 260px; background-color: var(--bg-sidebar); border-right: 1px solid var(--border-color); padding: 1.25rem 1rem; display: flex; flex-direction: column; position: fixed; top: 0; bottom: 0; left: 0; z-index: 100; transition: var(--transition); }
.brand-logo-wrapper { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0.75rem 1.5rem; border-bottom: 1px solid var(--border-color); margin-bottom: 1.25rem; }
.brand-logo-img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3); }
.brand-name-group { display: flex; flex-direction: column; }
.brand-title { font-family: 'Outfit', sans-serif; font-size: 1.35rem; font-weight: 800; letter-spacing: 0.5px; background: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #7c3aed 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-transform: uppercase; }
.brand-subtitle { font-size: 0.7rem; color: var(--text-dim); letter-spacing: 1px; }
.nav-section-title { font-size: 0.7rem; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1.5px; padding: 0.5rem 0.75rem; margin-top: 0.5rem; }
.nav-menu { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }
.nav-item { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 0.85rem; border-radius: var(--radius-md); color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: var(--transition); }
.nav-item-left { display: flex; align-items: center; gap: 0.75rem; }
.nav-item svg { width: 20px; height: 20px; flex-shrink: 0; display: inline-block; vertical-align: middle; transition: transform 0.2s ease, filter 0.2s ease; }
.nav-item:hover { background: rgba(255, 255, 255, 0.05); color: #fff; transform: translateX(3px); }
.nav-item:hover svg { transform: scale(1.12); }
.nav-item.active { background: var(--primary-gradient); color: #fff; font-weight: 600; box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35); }
.nav-item.active svg { filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.65)); transform: scale(1.05); }
.nav-badge { font-size: 0.7rem; padding: 0.15rem 0.5rem; border-radius: 999px; font-weight: 700; text-transform: uppercase; }
.nav-badge.auto, .nav-badge.free { background: rgba(16, 185, 129, 0.15); color: var(--accent-green); border: 1px solid rgba(16, 185, 129, 0.3); }
.nav-badge.hot { background: rgba(239, 68, 68, 0.15); color: var(--accent-red); border: 1px solid rgba(239, 68, 68, 0.3); }
.main-wrapper { margin-left: 260px; flex: 1; display: flex; flex-direction: column; min-height: 100vh; }
.top-header { height: 70px; background: rgba(15, 20, 34, 0.8); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 90; }
.header-search { display: flex; align-items: center; gap: 0.75rem; background: var(--bg-input); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 0.5rem 1rem; width: 380px; transition: var(--transition); }
.header-search:focus-within { border-color: var(--primary); box-shadow: 0 0 12px rgba(124, 58, 237, 0.25); }
.header-search svg { width: 16px; height: 16px; fill: var(--text-dim); }
.header-search input { background: transparent; border: none; color: #fff; font-size: 0.875rem; width: 100%; outline: none; }
.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.header-btn { display: flex; align-items: center; gap: 0.5rem; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-color); padding: 0.5rem 0.85rem; border-radius: var(--radius-md); color: var(--text-muted); font-size: 0.85rem; cursor: pointer; transition: var(--transition); }
.header-btn:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.auth-btn-group { display: flex; align-items: center; gap: 0.75rem; }
.btn-login { background: transparent; border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; padding: 0.55rem 1.25rem; border-radius: var(--radius-md); font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: var(--transition); }
.btn-login:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.btn-register { background: var(--primary-gradient); border: none; color: #fff; padding: 0.55rem 1.35rem; border-radius: var(--radius-md); font-size: 0.875rem; font-weight: 600; cursor: pointer; box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35); transition: var(--transition); }
.btn-register:hover { background: var(--primary-hover); box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5); transform: translateY(-1px); }
.user-profile-widget { display: none; align-items: center; gap: 0.85rem; background: rgba(255, 255, 255, 0.04); padding: 0.35rem 0.85rem 0.35rem 0.45rem; border-radius: 999px; border: 1px solid var(--border-color); }
.user-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; color: #fff; }
.user-meta { display: flex; flex-direction: column; }
.user-meta-name { font-size: 0.85rem; font-weight: 700; color: #fff; }
.user-meta-balance { font-size: 0.75rem; font-weight: 700; color: var(--accent-green); }
.content-area { padding: 1.75rem 2rem 3rem; display: flex; flex-direction: column; gap: 1.5rem; }
.announcement-bar { background: rgba(124, 58, 237, 0.1); border: 1px solid rgba(124, 58, 237, 0.25); border-radius: var(--radius-md); padding: 0.65rem 1rem; display: flex; align-items: center; gap: 0.85rem; }
.announcement-badge { background: #7c3aed; color: #fff; font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.65rem; border-radius: 6px; display: flex; align-items: center; gap: 0.35rem; white-space: nowrap; }
.announcement-text { font-size: 0.875rem; color: #f1f5f9; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fast-domain-bar { display: flex; align-items: center; gap: 1rem; font-size: 0.85rem; color: var(--text-muted); }
.domain-tag { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-color); padding: 0.25rem 0.75rem; border-radius: 999px; color: #fff; font-weight: 600; }
.domain-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-green); box-shadow: 0 0 8px var(--accent-green); }
.top-cards-row { display: grid; grid-template-columns: 1.7fr 1fr; gap: 1.5rem; }
.admin-notice-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 1.5rem; position: relative; overflow: hidden; }
.admin-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.admin-avatar { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; border: 2px solid var(--primary); }
.admin-name { font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: 0.4rem; }
.admin-check { color: #3b82f6; font-size: 0.9rem; }
.admin-date { font-size: 0.75rem; color: var(--text-dim); }
.admin-notice-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.85rem; color: #cbd5e1; line-height: 1.5; }
.admin-notice-list a { color: var(--primary-light); text-decoration: none; font-weight: 600; }
.guide-card { background: linear-gradient(135deg, #1e1b4b 0%, #172554 100%); border: 1px solid rgba(139, 92, 246, 0.3); border-radius: var(--radius-lg); padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.guide-badge { align-self: flex-start; background: rgba(139, 92, 246, 0.2); border: 1px solid rgba(139, 92, 246, 0.4); color: var(--primary-light); font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.65rem; border-radius: 999px; margin-bottom: 0.75rem; }
.guide-title { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.guide-desc { font-size: 0.825rem; color: #cbd5e1; margin-bottom: 1.25rem; line-height: 1.4; }
.guide-btn { background: var(--primary-gradient); color: #fff; border: none; padding: 0.65rem 1rem; border-radius: var(--radius-md); font-size: 0.85rem; font-weight: 600; cursor: pointer; text-align: center; text-decoration: none; transition: var(--transition); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.stat-box { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; display: flex; align-items: center; gap: 1rem; transition: var(--transition); }
.stat-icon { width: 48px; height: 48px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.05); }
.stat-icon.money { color: var(--accent-green); } .stat-icon.orders { color: var(--accent-cyan); } .stat-icon.member { color: var(--primary-light); }
.stat-icon svg { width: 24px; height: 24px; fill: currentColor; }
.stat-info { display: flex; flex-direction: column; }
.stat-label { font-size: 0.75rem; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; }
.stat-value { font-family: 'Outfit', sans-serif; font-size: 1.4rem; font-weight: 700; color: #fff; }
.dashboard-columns { display: grid; grid-template-columns: 1.8fr 1.2fr; gap: 1.5rem; }
.updates-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 1.5rem; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; flex-wrap: wrap; gap: 0.75rem; width: 100%; max-width: 100%; }
.section-title { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.section-title-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.filter-pills { display: flex; gap: 0.4rem; max-width: 100%; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.filter-pills::-webkit-scrollbar { display: none; }
.pill-btn { flex-shrink: 0; white-space: nowrap; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-color); color: var(--text-muted); font-size: 0.75rem; font-weight: 600; padding: 0.35rem 0.75rem; border-radius: 999px; cursor: pointer; transition: var(--transition); }
.pill-btn.active, .pill-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.update-items-list { display: flex; flex-direction: column; gap: 0.85rem; }
.update-item { background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; transition: var(--transition); }
.update-item-top { display: flex; align-items: center; justify-content: space-between; }
.update-badges { display: flex; gap: 0.4rem; }
.update-badge { font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 4px; }
.update-badge.pin { background: rgba(245, 158, 11, 0.2); color: var(--accent-gold); }
.update-badge.feature { background: rgba(6, 182, 212, 0.2); color: var(--accent-cyan); }
.update-date { font-size: 0.75rem; color: var(--text-dim); }
.update-title { font-size: 0.95rem; font-weight: 700; color: #fff; }
.update-desc { font-size: 0.825rem; color: var(--text-muted); line-height: 1.4; }
.recharge-banners-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.recharge-banners-group { display: flex; flex-direction: column; gap: 1.25rem; }
.banner-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); }
.banner-item.bank { border-color: rgba(239, 68, 68, 0.3); }
.banner-item.card { border-color: rgba(245, 158, 11, 0.3); }
.banner-item:hover { transform: translateY(-6px) scale(1.02); }
.banner-item.bank:hover { border-color: #ef4444; box-shadow: 0 15px 35px rgba(239, 68, 68, 0.4), 0 0 25px rgba(239, 68, 68, 0.3); }
.banner-item.card:hover { border-color: #f59e0b; box-shadow: 0 15px 35px rgba(245, 158, 11, 0.4), 0 0 25px rgba(245, 158, 11, 0.3); }
.banner-img { width: 100%; height: auto; display: block; object-fit: cover; transition: transform 0.6s ease; }
.banner-item:hover .banner-img { transform: scale(1.05); }
.banner-item::after { content: ''; position: absolute; top: -50%; left: -150%; width: 200%; height: 200%; background: linear-gradient(60deg, transparent 40%, rgba(255, 255, 255, 0.3) 50%, transparent 60%); transform: rotate(30deg); pointer-events: none; }
.banner-item:hover::after { left: 150%; transition: all 1s ease-in-out; }
.feedback-section { background: var(--bg-card); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.feedback-slider { display: flex; gap: 1.25rem; overflow-x: auto; padding-bottom: 0.75rem; scroll-behavior: smooth; }
.feedback-card { min-width: 275px; background: rgba(22, 30, 52, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-md); padding: 1.1rem; display: flex; flex-direction: column; gap: 0.75rem; transition: var(--transition); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); }
.feedback-card:hover { border-color: rgba(167, 139, 250, 0.4); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(124, 58, 237, 0.18); }
.feedback-user { display: flex; align-items: center; gap: 0.5rem; }
.feedback-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #7c3aed, #06b6d4); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.8rem; color: #fff; box-shadow: 0 2px 10px rgba(124, 58, 237, 0.4); }
.feedback-stars { color: var(--accent-gold); font-size: 0.85rem; text-shadow: 0 0 8px rgba(245, 158, 11, 0.5); }
.feedback-comment { font-size: 0.825rem; color: #cbd5e1; line-height: 1.5; }
.products-section { display: flex; flex-direction: column; gap: 1.25rem; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.product-card { background: var(--bg-card); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: var(--transition); position: relative; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.product-card:hover { border-color: rgba(167, 139, 250, 0.45); transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(124, 58, 237, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.15); }
.product-thumb-wrapper { position: relative; width: 100%; height: 190px; overflow: hidden; background: #0c101d; }
.product-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.product-card:hover .product-thumb { transform: scale(1.08); }
.product-status-tag { position: absolute; top: 12px; right: 12px; background: rgba(16, 185, 129, 0.9); backdrop-filter: blur(8px); color: #fff; font-size: 0.7rem; font-weight: 800; padding: 0.25rem 0.65rem; border-radius: 999px; box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4); letter-spacing: 0.3px; }
.product-status-tag.maintenance { background: rgba(245, 158, 11, 0.9); box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4); }
.product-status-tag.out { background: rgba(239, 68, 68, 0.9); box-shadow: 0 2px 10px rgba(239, 68, 68, 0.4); }
.product-content { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; justify-content: space-between; }
.product-category-label { font-size: 0.72rem; font-weight: 800; color: var(--accent-cyan); text-transform: uppercase; margin-bottom: 0.35rem; letter-spacing: 0.5px; }
.product-title { font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 0.75rem; }
.product-features-list { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.product-features-list li { display: flex; align-items: center; gap: 0.5rem; }
.product-features-list svg { width: 14px; height: 14px; fill: var(--accent-green); flex-shrink: 0; }
.product-meta-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; color: var(--text-dim); border-top: 1px solid var(--border-color); padding-top: 0.75rem; margin-bottom: 1rem; }
.product-price-row { display: flex; align-items: center; justify-content: space-between; }
.product-price-num { font-family: 'Outfit', sans-serif; font-size: 1.3rem; font-weight: 800; background: linear-gradient(135deg, #a78bfa 0%, #38bdf8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.btn-buy-product { background: var(--primary-gradient); border: none; color: #fff; padding: 0.6rem 1.35rem; border-radius: var(--radius-md); font-size: 0.85rem; font-weight: 800; cursor: pointer; box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2); transition: var(--transition); letter-spacing: 0.3px; }
.btn-buy-product:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(124, 58, 237, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.downloads-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.download-card { background: var(--bg-card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: var(--transition); }
.download-thumb { width: 100%; height: 160px; object-fit: cover; }
.download-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.download-name { font-size: 1.05rem; font-weight: 700; color: #fff; }
.download-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }
.download-meta { font-size: 0.75rem; color: var(--text-dim); }
.download-btn-group { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.btn-download-primary { flex: 1; background: var(--primary-gradient); color: #fff; border: none; padding: 0.6rem; border-radius: var(--radius-sm); font-size: 0.825rem; font-weight: 700; cursor: pointer; text-align: center; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 0.4rem; box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35); }
.btn-download-video { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-color); color: var(--text-muted); padding: 0.6rem; border-radius: var(--radius-sm); font-size: 0.825rem; cursor: pointer; text-decoration: none; }
.modal-backdrop { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.modal-backdrop.active { display: flex; animation: modalFade 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes modalFade { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
.modal-card { background: rgba(15, 21, 38, 0.95); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(167, 139, 250, 0.3); border-radius: var(--radius-xl); padding: 2.25rem 2rem; max-width: 480px; width: 100%; position: relative; box-shadow: 0 25px 75px rgba(0, 0, 0, 0.85), 0 0 40px rgba(124, 58, 237, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12); transition: var(--transition); }
.modal-card:hover { border-color: rgba(167, 139, 250, 0.5); }
.modal-close-btn { position: absolute; top: 1.25rem; right: 1.25rem; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border-color); width: 34px; height: 34px; border-radius: 50%; color: var(--text-muted); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.25rem; transition: var(--transition); }
.modal-close-btn:hover { background: rgba(239, 68, 68, 0.25); border-color: #ef4444; color: #fff; transform: rotate(90deg); }
.modal-header { text-align: center; margin-bottom: 1.5rem; }
.modal-title { font-family: 'Outfit', sans-serif; font-size: 1.65rem; font-weight: 800; background: linear-gradient(135deg, #ffffff 40%, #c4b5fd 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 0.4rem; letter-spacing: -0.5px; }
.modal-subtitle { font-size: 0.875rem; color: var(--text-muted); }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.25rem; }
.form-label { font-size: 0.825rem; font-weight: 700; color: #cbd5e1; letter-spacing: 0.2px; }
.form-control { background: rgba(19, 27, 47, 0.8); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-md); padding: 0.8rem 1rem; color: #fff; font-size: 0.9rem; outline: none; transition: var(--transition); width: 100%; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3); }
.form-control:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25), 0 0 18px rgba(124, 58, 237, 0.25); background: rgba(26, 36, 62, 0.95); }
.btn-submit { width: 100%; background: var(--primary-gradient); border: none; color: #fff; padding: 0.85rem; border-radius: var(--radius-md); font-size: 0.95rem; font-weight: 800; letter-spacing: 0.5px; cursor: pointer; box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2); transition: var(--transition); margin-top: 0.5rem; position: relative; overflow: hidden; }
.btn-submit:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(124, 58, 237, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-submit:active { transform: translateY(0); }
.qr-info-table { width: 100%; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 1.1rem; font-size: 0.85rem; display: flex; flex-direction: column; gap: 0.65rem; text-align: left; }
.qr-info-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px dashed rgba(255, 255, 255, 0.06); padding-bottom: 0.45rem; }
.qr-info-row:last-child { border-bottom: none; padding-bottom: 0; }
.qr-copy-btn { background: rgba(124, 58, 237, 0.2); border: 1px solid rgba(124, 58, 237, 0.4); color: var(--primary-light); padding: 0.2rem 0.6rem; border-radius: 6px; font-size: 0.75rem; font-weight: 700; cursor: pointer; transition: var(--transition); }
.qr-copy-btn:hover { background: var(--primary); color: #fff; }

/* TOGGLE SWITCH FOR ADMIN */
.switch-label-wrap { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-color); border-radius: var(--radius-md); margin-bottom: 1rem; }
.switch { position: relative; display: inline-block; width: 50px; height: 26px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #334155; transition: .3s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 3px; bottom: 3px; background-color: white; transition: .3s; border-radius: 50%; }
input:checked + .slider { background-color: #10b981; }
input:checked + .slider:before { transform: translateX(24px); }

/* DEPRECATED FLOATING PANEL (AVOID OVERFLOW) */
.floating-contact-panel {
  display: none !important;
}
@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* MARQUEE ANNOUNCEMENT TEXT */
.announcement-marquee {
  flex: 1;
  font-size: 0.875rem;
  color: #f1f5f9;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  padding: 0 0.5rem;
}

/* MOBILE RESPONSIVE ENHANCEMENTS */
.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}
.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.sidebar-close-mobile-btn {
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
}

.sidebar-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 998;
  display: none;
}
.sidebar-backdrop.active {
  display: block;
}

/* MOBILE BOTTOM NAVIGATION DOCKED BAR */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(15, 20, 34, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-color);
  z-index: 990;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.5rem;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
}
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  padding: 6px 12px;
  border-radius: 8px;
}
.mobile-nav-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: var(--transition);
}
.mobile-nav-item.active, .mobile-nav-item:hover {
  color: var(--primary-light);
}
.mobile-nav-item.active svg {
  fill: var(--primary-light);
  filter: drop-shadow(0 0 8px var(--primary));
}

@media (max-width: 1024px) {
  .top-cards-row, .dashboard-columns { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  html, body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    position: relative !important;
  }
  .app-container {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 82vw;
    background: #0b0f19;
    z-index: 1000;
    transform: translateX(-100%);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar-close-mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .mobile-bottom-nav {
    display: flex;
  }
  .main-wrapper {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  .top-header {
    padding: 0 0.75rem !important;
    height: 58px !important;
    gap: 0.4rem !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .header-search {
    width: auto !important;
    flex: 1 !important;
    min-width: 0 !important;
    padding: 0.35rem 0.6rem !important;
  }
  .header-search input {
    font-size: 0.75rem !important;
    width: 100% !important;
  }
  .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    flex-shrink: 0 !important;
  }
  .header-actions .header-btn:not(#btn-admin-portal) {
    display: none !important;
  }
  .auth-btn-group {
    gap: 0.3rem !important;
  }
  .btn-login, .btn-register {
    padding: 0.38rem 0.65rem !important;
    font-size: 0.75rem !important;
    border-radius: var(--radius-sm) !important;
  }
  .content-area {
    padding: 0.85rem 0.75rem 6rem !important;
    gap: 1.15rem !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  .tab-view {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .section-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.65rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .filter-pills {
    display: flex !important;
    gap: 0.4rem !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 4px !important;
  }
  .filter-pills::-webkit-scrollbar {
    display: none !important;
  }
  .top-cards-row,
  .dashboard-columns,
  .stats-grid,
  .products-grid,
  .downloads-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .admin-notice-card,
  .guide-card,
  .updates-card,
  .recharge-banners-card,
  .feedback-section,
  .products-section,
  .product-card,
  .download-card,
  .stat-box {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    word-break: break-word !important;
  }
  .admin-notice-list li,
  .admin-notice-list a {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  .fast-domain-bar {
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }
  .floating-quick-dock {
    right: 10px;
    bottom: 75px;
    top: auto;
    transform: none;
    gap: 8px;
    max-width: calc(100vw - 20px);
  }
  .dock-circle-btn {
    width: 36px;
    height: 36px;
  }
  .dock-icon-letter {
    font-size: 1.1rem;
  }
  .dock-badge {
    font-size: 7px;
    padding: 0px 3px;
  }
  .vietqr-image-container img {
    width: 310px;
    max-width: 82vw;
    height: auto;
  }
  .modal-card {
    max-width: 94vw !important;
    width: 94vw !important;
    padding: 1.5rem 1.15rem !important;
    box-sizing: border-box !important;
  }
}

/* =======================================================
   UNIVERSAL IMAGE LIGHTBOX (HD RESPONSIVE VIEWER CHO ĐT & PC)
   ======================================================= */
.lightbox-backdrop {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 99999999 !important;
  background: rgba(3, 5, 12, 0.96) !important;
  backdrop-filter: blur(22px) !important;
  -webkit-backdrop-filter: blur(22px) !important;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  touch-action: none;
}

.lightbox-backdrop.active {
  display: flex !important;
  animation: lightboxFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Floating Top Controls Bar: Fixed & Always Visible on all screen sizes */
.lightbox-top-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(180deg, rgba(7, 10, 20, 0.98) 0%, rgba(7, 10, 20, 0.7) 80%, transparent 100%);
  z-index: 100;
  gap: 0.75rem;
}

.lightbox-info-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  flex: 1;
}

.lightbox-badge {
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.5);
  white-space: nowrap;
  flex-shrink: 0;
}

.lightbox-caption {
  color: #f1f5f9;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 50vw;
}

.lightbox-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.lightbox-tool-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  min-height: 38px;
}

.lightbox-tool-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.lightbox-tool-btn:hover {
  background: rgba(124, 58, 237, 0.4);
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

.lightbox-tool-btn.close-btn {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  padding: 0.4rem 0.85rem;
}

.lightbox-tool-btn.close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #fff;
  transform: scale(1.05);
}

/* Image Canvas & Viewport - FILLS MOBILE SCREEN TO FIT FRAME */
.lightbox-canvas {
  flex: 1;
  width: 100vw;
  height: calc(100vh - 110px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  padding: 0;
}

#lightbox-img {
  max-width: 98vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center center;
  filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.9));
  border-radius: 8px;
  user-select: none;
  -webkit-user-drag: none;
}

/* Bottom Hint */
.lightbox-bottom-bar {
  width: 100%;
  padding: 0.6rem 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  background: linear-gradient(0deg, rgba(7, 10, 20, 0.95) 0%, transparent 100%);
  pointer-events: none;
}

/* Mobile specific Lightbox adjustments */
@media (max-width: 768px) {
  .lightbox-top-bar {
    padding: 0.6rem 0.75rem;
  }
  .lightbox-caption {
    font-size: 0.78rem;
    max-width: 32vw;
  }
  .lightbox-badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.45rem;
  }
  .lightbox-actions {
    gap: 0.3rem;
  }
  .lightbox-tool-btn {
    padding: 0.35rem 0.5rem;
    min-height: 36px;
  }
  .lightbox-tool-btn .tool-label {
    display: none;
  }
  .lightbox-canvas {
    width: 100vw;
    height: calc(100vh - 95px);
  }
  #lightbox-img {
    max-width: 100vw !important;
    width: 100% !important;
    max-height: 82vh !important;
    object-fit: contain !important;
    border-radius: 0 !important;
  }
}

/* =======================================================
   PRODUCT DETAIL MODAL (RESPONSIVE & LUXURY VIP)
   ======================================================= */
.product-detail-card {
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-color: rgba(139, 92, 246, 0.35) !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(124, 58, 237, 0.2) !important;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.product-detail-img-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.3);
  background: #0b0f19;
  cursor: zoom-in;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  aspect-ratio: 16/11;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.product-detail-img-wrap:hover img {
  transform: scale(1.06);
}

.product-detail-zoom-hint {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(7, 10, 20, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.product-detail-zoom-hint svg {
  width: 14px;
  height: 14px;
  fill: var(--accent-cyan);
}

@media (max-width: 768px) {
  .product-detail-card {
    max-width: 96vw !important;
    width: 96vw !important;
    padding: 1.25rem 1rem !important;
    border-radius: 18px !important;
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .product-detail-img-wrap {
    aspect-ratio: 16/9;
    max-height: 250px;
    width: 100%;
  }
}

.detail-feedbacks-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 4px;
}

.detail-feedback-row {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.85rem;
  transition: var(--transition);
}

.detail-feedback-row:hover {
  border-color: rgba(139, 92, 246, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

/* =======================================================
   FEEDBACK REAL PROOF THUMBNAILS & VIP BADGES
   ======================================================= */
.feedback-badge-verified {
  font-size: 0.68rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-weight: 700;
  margin-left: auto;
  white-space: nowrap;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.feedback-product-tag {
  font-size: 0.72rem;
  color: var(--accent-cyan);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.feedback-proof-thumb {
  margin-top: 0.65rem;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: #090d16;
  cursor: zoom-in;
  max-height: 120px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.feedback-proof-thumb img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.feedback-proof-thumb:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.feedback-proof-thumb:hover img {
  transform: scale(1.05);
}

.proof-zoom-label {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* =======================================================
   DOWNLOAD TOOL BUTTON IN ORDERS TAB
   ======================================================= */
.btn-order-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: #fff;
  text-decoration: none;
  font-size: 0.825rem;
  font-weight: 700;
  padding: 0.5rem 1.15rem;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.35);
  transition: all 0.25s ease;
}

.btn-order-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.55);
  color: #fff;
}

/* =======================================================
   SUPER VIP & LUXURY VISUAL UPGRADES (WEBSITE SIÊU ĐẸP)
   ======================================================= */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 12% 15%, rgba(124, 58, 237, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 88% 22%, rgba(6, 182, 212, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.product-card {
  background: linear-gradient(180deg, rgba(20, 27, 45, 0.85) 0%, rgba(12, 16, 28, 0.95) 100%) !important;
  border: 1px solid rgba(139, 92, 246, 0.22) !important;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
}

.product-card:hover {
  border-color: rgba(139, 92, 246, 0.75) !important;
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 35px rgba(124, 58, 237, 0.25) !important;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-light), var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.product-card:hover::before {
  opacity: 1;
}

.product-zoom-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.product-zoom-badge svg {
  width: 14px;
  height: 14px;
  fill: var(--accent-cyan);
}

.product-card:hover .product-zoom-badge {
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.btn-buy-product {
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 50%, #06b6d4 100%) !important;
  border: none;
  color: #fff;
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-buy-product::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -150%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
  transform: rotate(25deg);
  pointer-events: none;
  transition: none;
}

.btn-buy-product:hover::after {
  left: 150%;
  transition: all 0.75s ease-in-out;
}

.btn-buy-product:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.55), 0 0 20px rgba(6, 182, 212, 0.3);
}

/* Pulsing Status Tag on Product Cards */
.product-status-tag {
  animation: statusGlow 2.5s infinite alternate;
}

@keyframes statusGlow {
  0% { box-shadow: 0 0 5px rgba(16, 185, 129, 0.3); }
  100% { box-shadow: 0 0 15px rgba(16, 185, 129, 0.8); }
}

.product-status-tag.out {
  animation: statusGlowRed 2.5s infinite alternate;
}

@keyframes statusGlowRed {
  0% { box-shadow: 0 0 5px rgba(239, 68, 68, 0.3); }
  100% { box-shadow: 0 0 15px rgba(239, 68, 68, 0.8); }
}

/* VIP Feedback Cards */
.feedback-card {
  min-width: 280px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.015) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.feedback-card:hover {
  border-color: rgba(245, 158, 11, 0.45) !important;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.15);
}

.feedback-stars {
  color: #fbbf24 !important;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.feedback-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #06b6d4) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.4);
}

/* High-tech Marquee */
.announcement-bar {
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.12) 0%, rgba(6, 182, 212, 0.08) 50%, rgba(124, 58, 237, 0.12) 100%) !important;
  border: 1px solid rgba(124, 58, 237, 0.28) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile Bottom Navigation VIP */
@media (max-width: 768px) {
  .mobile-bottom-nav {
    background: rgba(10, 14, 26, 0.94) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-top: 1px solid rgba(124, 58, 237, 0.3) !important;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.7);
    padding-bottom: max(6px, env(safe-area-inset-bottom));
  }
  .mobile-nav-item.active {
    color: #a78bfa !important;
  }
  .mobile-nav-item.active svg {
    fill: #a78bfa !important;
    filter: drop-shadow(0 0 8px #7c3aed);
    transform: translateY(-2px);
  }
  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
}

/* =======================================================
   UP ANH LAY LINK TOOL & DROPZONE
   ======================================================= */
.upload-dropzone {
  border: 2px dashed rgba(124, 58, 237, 0.45);
  background: rgba(124, 58, 237, 0.04);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}
.upload-dropzone:hover, .upload-dropzone.dragover {
  border-color: var(--primary-light);
  background: rgba(124, 58, 237, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.25);
}
.dropzone-icon {
  font-size: 2.5rem;
  margin-bottom: 0.6rem;
  filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.5));
}
.dropzone-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}
.dropzone-hint {
  font-size: 0.78rem;
  color: var(--text-dim);
}
.upload-btn-compact {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.52rem 1rem;
  border-radius: var(--radius-md);
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: var(--transition);
}
.upload-btn-compact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(6, 182, 212, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  filter: brightness(1.12);
}
