/* ==========================================================================
   LOCKETGOLD.NET - STYLESHEET (END-USER STOREFRONT)
   Tone: Warm Pastel Cream & Gold (#FFF5C0 / #FDFBF0)
   100% Matching locketgold.net design & rich interactive animations
   ========================================================================== */

:root {
  /* Tông màu thương hiệu Locket Gold */
  --bg-sidebar: #FFF5C0;
  --bg-sidebar-hover: #FEEFB0;
  --bg-sidebar-active: #FDE047;
  --bg-sidebar-active-glow: rgba(245, 158, 11, 0.25);
  
  --bg-main: #FDFBF0;
  --bg-main-card: #FFFFFF;
  --bg-main-elevated: #FFFDF7;
  --border-soft: #F2E8C6;
  --border-card: #EFE6D0;
  --border-input: #E2D9C5;

  /* Màu chữ */
  --text-dark: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  /* Màu điểm nhấn Vàng Cam Locket */
  --accent-gold: #F59E0B;
  --accent-gold-dark: #D97706;
  --accent-gold-light: #FBBF24;
  --accent-gold-gradient: linear-gradient(135deg, #FBBF24 0%, #F59E0B 50%, #D97706 100%);
  --accent-gold-hover: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);

  /* Màu Trái Tim Hồng Pha Lê */
  --pink-heart: #EC4899;
  --pink-heart-light: #F472B6;

  /* Nút bấm & Thẻ */
  --btn-dark: #0F172A;
  --btn-dark-hover: #1E293B;
  --btn-gray: #F1F5F9;
  --btn-gray-hover: #E2E8F0;

  /* Radius & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-pop: 0 12px 35px rgba(245, 158, 11, 0.2);

  /* Fonts */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-cursive: 'Comfortaa', cursive, sans-serif;
}

/* Dark mode overrides (khi người dùng bấm nút Mặt trăng) */
body.dark-mode {
  --bg-sidebar: #1E1B13;
  --bg-sidebar-hover: #292416;
  --bg-sidebar-active: #F59E0B;
  --bg-main: #12110D;
  --bg-main-card: #1C1A14;
  --bg-main-elevated: #24211A;
  --border-soft: #332E22;
  --border-card: #3D3728;
  --border-input: #4A4332;
  --text-dark: #F8FAFC;
  --text-body: #E2E8F0;
  --text-muted: #94A3B8;
  --btn-gray: #24211A;
  --btn-gray-hover: #2E2A20;
}

/* Reset & Nền chung */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-body);
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
}

/* KHÔI PHỤC TOÀN BỘ SỰ KIỆN CLICK VÀ TƯƠNG TÁC CHUỘT CHO MỌI NÚT BẤM */
button, a, input, textarea, select, [contenteditable="true"], .allow-select,
.menu-link, .btn-card-action, .btn-cta-gold-shimmer, .btn-dark-pill, .btn-gold-pill,
.sim-toggle-btn, .sim-icon-option, .cat-fixed-hanger, .device-tab-btn, .modal-close-x,
.floating-gift-box-wrapper, .floating-zalo-wrapper, .sidebar-brand {
  -webkit-user-select: auto !important;
  -moz-user-select: auto !important;
  -ms-user-select: auto !important;
  user-select: auto !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

input, textarea {
  cursor: text !important;
  -webkit-user-select: text !important;
  user-select: text !important;
}

/* Đảm bảo toàn bộ canvas hạt nổ, background blob, hiệu ứng trái tim bay KHÔNG BAO GIỜ cản trở chuột */
canvas, .confetti-canvas, #emojiFlyingContainer, #catHeartsContainer, .sparkle-dot, .dots-pattern {
  pointer-events: none !important;
}

/* ==========================================================================
   SIDEBAR CỐ ĐỊNH BÊN TRÁI (W: 240px)
   ========================================================================== */
.sidebar {
  width: 240px;
  min-width: 240px;
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 14px 18px;
  height: 100vh;
  position: sticky;
  top: 0;
  z-index: 90;
  transition: all 0.3s ease;
}

/* Top Branding trong Sidebar */
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 22px;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 12px;
}

/* Trái Tim 3D Hồng Pha Lê với hiệu ứng Nhịp đập & Lấp lánh */
.crystal-heart-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.crystal-heart-icon {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 4px 8px rgba(236, 72, 153, 0.45));
  animation: heartBeat 2.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
  transform-origin: center center;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.18); }
  28% { transform: scale(1); }
  42% { transform: scale(1.14); }
  70% { transform: scale(1); }
}

.sparkle-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #FFF;
  border-radius: 50%;
  box-shadow: 0 0 8px #FFF;
  animation: sparkleFlash 1.6s infinite ease-in-out;
}

.sparkle-1 { top: 2px; right: 2px; animation-delay: 0.2s; }
.sparkle-2 { bottom: 4px; left: 2px; animation-delay: 0.9s; }

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

.brand-text-art {
  display: flex;
  flex-direction: column;
}

.brand-title-main {
  font-family: var(--font-cursive);
  font-size: 1.35rem;
  font-weight: 800;
  color: #D97706;
  line-height: 1.1;
  text-shadow: 0 1px 2px rgba(217, 119, 6, 0.2);
}

.brand-title-sub {
  font-size: 0.7rem;
  font-weight: 700;
  color: #B45309;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Danh sách Menu Sidebar (8 mục) */
.sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.menu-item {
  width: 100%;
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

.menu-link:hover {
  background-color: var(--bg-sidebar-hover);
  transform: translateX(3px);
}

.menu-link.active {
  background-color: var(--bg-sidebar-active);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 12px var(--bg-sidebar-active-glow);
}

.menu-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.menu-icon svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

/* Phần User dưới cùng Sidebar */
.sidebar-user-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.2s;
}

.sidebar-user-card:hover {
  background: rgba(255, 255, 255, 0.85);
}

.user-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
}

.user-avatar-circle svg {
  width: 20px;
  height: 20px;
  fill: #64748B;
}

.user-meta-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.user-greeting {
  font-size: 0.88rem;
  font-weight: 700;
  color: #D97706;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.user-status-text {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.user-dropdown-arrow {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.sidebar-user-dropdown {
  position: absolute;
  bottom: 60px;
  left: 10px;
  right: 10px;
  background: #FFF;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-soft);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 100;
  animation: slideUp 0.2s ease;
}

.sidebar-user-dropdown.show {
  display: flex;
}

.dropdown-action-btn {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  text-align: left;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: background 0.15s;
}

.dropdown-action-btn:hover {
  background: #FEF3C7;
  color: #B45309;
}

/* ==========================================================================
   MAIN CONTENT CONTAINER (BÊN PHẢI)
   ========================================================================== */
.main-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

/* Top Bar (Header chính giữa) */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 36px;
  position: sticky;
  top: 0;
  background: rgba(253, 251, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 80;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

body.dark-mode .top-bar {
  background: rgba(18, 17, 13, 0.85);
}

/* Ô tìm kiếm bo tròn màu trắng dài ở giữa */
.search-bar-wrapper {
  flex: 1;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.search-bar-input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-input);
  padding: 10px 18px 10px 42px;
  border-radius: var(--radius-full);
  font-size: 0.94rem;
  color: var(--text-dark);
  outline: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

body.dark-mode .search-bar-input {
  background: #1C1A14;
  color: #FFF;
}

.search-bar-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.15);
}

.search-bar-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 18px;
  height: 18px;
}

/* Các nút điều khiển bên phải Top Bar (Mặt trăng & Chuông) */
.top-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-btn-pill {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFF;
  border: 1px solid var(--border-input);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-dark);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  position: relative;
  transition: all 0.2s;
}

body.dark-mode .icon-btn-pill {
  background: #1C1A14;
  color: #FFF;
}

.icon-btn-pill:hover {
  transform: scale(1.08);
  border-color: var(--accent-gold);
}

/* Chuông thông báo có số 1 đỏ & Rung lắc nhẹ */
.bell-shake-anim {
  animation: bellShake 3.2s infinite ease-in-out;
  transform-origin: top center;
}

@keyframes bellShake {
  0%, 75%, 100% { transform: rotate(0); }
  80% { transform: rotate(15deg); }
  85% { transform: rotate(-15deg); }
  90% { transform: rotate(10deg); }
  95% { transform: rotate(-10deg); }
}

.bell-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #EF4444;
  color: #FFF;
  font-size: 0.68rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.5);
}

/* ==========================================================================
   CHÚ MÈO TREO DÂY ĐU ĐƯA GÓC TRÊN BÊN PHẢI (SIGNATURE ANIMATION)
   ========================================================================== */
.hanging-cat-corner {
  position: fixed;
  top: 0;
  right: 28px;
  z-index: 120;
  cursor: pointer;
  transform-origin: top center;
  animation: catPendulumSwing 3.4s ease-in-out infinite alternate;
  user-select: none;
}

@keyframes catPendulumSwing {
  0% { transform: rotate(-7deg); }
  100% { transform: rotate(7deg); }
}

.hanging-rope {
  width: 2px;
  height: 38px;
  background: #8B5A2B;
  margin: 0 auto;
  box-shadow: 1px 0 2px rgba(0, 0, 0, 0.15);
}

.cat-body-svg {
  width: 48px;
  height: 52px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
  transition: transform 0.2s;
}

.hanging-cat-corner:hover .cat-body-svg {
  transform: scale(1.1);
}

/* Bong bóng thoại "Meow!" khi click mèo */
.cat-meow-bubble {
  position: absolute;
  bottom: -28px;
  right: -10px;
  background: #000;
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: all 0.3s ease;
}

.cat-meow-bubble.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   POPUP THÔNG BÁO KHÁCH MUA HÀNG (GÓC TRÊN BÊN TRÁI)
   ========================================================================== */
.floating-purchase-toast {
  position: fixed;
  top: 80px;
  left: 260px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-soft);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 110;
  max-width: 330px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
}

body.dark-mode .floating-purchase-toast {
  background: #1E1B13;
  border-color: #3D3728;
}

.floating-purchase-toast.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-heart-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.toast-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.toast-customer-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-dark);
}

.toast-desc-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.toast-close-btn {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 1rem;
  padding: 2px;
}

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

/* ==========================================================================
   FLOATING ZALO BUTTON & RIPPLE PULSE (GÓC DƯỚI BÊN PHẢI)
   ========================================================================== */
.floating-zalo-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 110;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.zalo-bubble-tooltip {
  background: #FFFFFF;
  color: #B45309;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #FDE68A;
  white-space: nowrap;
  animation: floatBounce 2.5s infinite ease-in-out;
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.zalo-btn-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #0068FF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 104, 255, 0.45);
  text-decoration: none;
  color: #FFF;
  position: relative;
  transition: transform 0.25s ease;
}

.zalo-btn-circle:hover {
  transform: scale(1.1);
}

.zalo-btn-circle::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid rgba(0, 104, 255, 0.5);
  animation: zaloPulseRipple 2s infinite ease-out;
}

@keyframes zaloPulseRipple {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* ==========================================================================
   TAB CONTENT SYSTEM & HIỆU ỨNG CHUYỂN TAB MƯỢT MÀ
   ========================================================================== */
.content-area-wrapper {
  padding: 30px 48px 60px;
  max-width: 1050px;
  margin: 0 auto;
  width: 100%;
}

.tab-pane {
  display: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.tab-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* ==========================================================================
   TAB 1: TRANG CHỦ (HERO & COMMITMENTS & MARQUEE)
   ========================================================================== */
.home-hero-container {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: left;
}

/* Tiêu đề Chữ Lượn Sóng Bouncy Wave Animation */
.bouncy-hero-title {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
}

.bouncy-text-word {
  display: inline-block;
}

.bouncy-char {
  display: inline-block;
  color: var(--accent-gold);
  animation: bounceLetter 2.4s infinite ease-in-out;
  transform-origin: bottom center;
}

.bouncy-char:nth-child(1) { animation-delay: 0.05s; }
.bouncy-char:nth-child(2) { animation-delay: 0.1s; }
.bouncy-char:nth-child(3) { animation-delay: 0.15s; }
.bouncy-char:nth-child(4) { animation-delay: 0.2s; }
.bouncy-char:nth-child(5) { animation-delay: 0.25s; }
.bouncy-char:nth-child(6) { animation-delay: 0.3s; }
.bouncy-char:nth-child(7) { animation-delay: 0.35s; }
.bouncy-char:nth-child(8) { animation-delay: 0.4s; }
.bouncy-char:nth-child(9) { animation-delay: 0.45s; }
.bouncy-char:nth-child(10) { animation-delay: 0.5s; }

@keyframes bounceLetter {
  0%, 100% { transform: translateY(0) scaleY(1); }
  25% { transform: translateY(-7px) scaleY(1.06); }
  50% { transform: translateY(0) scaleY(0.96); }
}

.title-black-text {
  color: var(--text-dark);
}

/* Đoạn mô tả quy trình */
.hero-desc-box {
  margin-bottom: 30px;
}

.hero-lead-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.hero-body-p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.hero-body-p a {
  color: #D97706;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

/* 4 Ô Cam Kết (2x2 Grid) có hiệu ứng 3D Tilt / Lift */
.commitments-2x2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 30px;
}

.commitment-item-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  box-shadow: var(--shadow-card);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

body.dark-mode .commitment-item-card {
  background: #1C1A14;
}

.commitment-item-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--accent-gold);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.15);
}

.commit-icon {
  font-size: 1.3rem;
}

/* 2 Nút Bấm Toàn Chiều Rộng (Full-width CTA Buttons) */
.hero-cta-full-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 45px;
}

/* Nút Vàng Cam với Vệt Sáng Chạy Ngang (Shimmer Shine Effect) */
.btn-cta-gold-shimmer {
  width: 100%;
  padding: 16px;
  background: var(--accent-gold-gradient);
  border: none;
  border-radius: var(--radius-md);
  color: #000;
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-pop);
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-cta-gold-shimmer:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(245, 158, 11, 0.35);
}

.btn-cta-gold-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 50%;
  height: 200%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(30deg);
  animation: shineSweep 3.2s infinite cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes shineSweep {
  0% { left: -70%; }
  35%, 100% { left: 140%; }
}

.btn-cta-gray-zalo {
  width: 100%;
  padding: 16px;
  background: var(--btn-gray);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  color: var(--text-dark);
  font-family: var(--font-family);
  font-size: 1.02rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-cta-gray-zalo:hover {
  background: var(--btn-gray-hover);
  border-color: #CBD5E1;
}

/* Dải Băng Chuyền Chạy Chữ Vô Tận (Infinite Marquee Banner) */
.infinite-marquee-strip {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: var(--accent-gold);
  color: #FFF;
  padding: 12px 0;
  overflow: hidden;
  display: flex;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 50px;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 22s linear infinite;
  white-space: nowrap;
}

.marquee-content {
  display: flex;
  gap: 36px;
  padding-right: 36px;
}

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

/* Phần Giới Thiệu "Locket Gold Là Gì?" */
.intro-service-section {
  text-align: center;
  margin-bottom: 60px;
}

.service-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FEF3C7;
  color: #B45309;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.intro-large-heading {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 24px;
}

.intro-large-heading .gold-hl {
  color: var(--accent-gold);
}

.intro-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  text-align: left;
}

.intro-feature-card {
  background: #FFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  transition: all 0.25s;
}

body.dark-mode .intro-feature-card {
  background: #1C1A14;
}

.intro-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
}

.intro-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.intro-feature-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.intro-feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   TAB 3: BẢNG GIÁ (PRICING GRID CHUẨN LOCKETGOLD.NET)
   ========================================================================== */
.pricing-header-box {
  text-align: center;
  margin-bottom: 36px;
}

.pricing-title-main {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.pricing-title-main .gold-word {
  color: var(--accent-gold);
}

.pricing-subtitle-main {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 20px;
}

/* Bộ Lọc iOS & Android Pill */
.device-toggle-pill-wrapper {
  display: inline-flex;
  background: #F1F5F9;
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-soft);
}

body.dark-mode .device-toggle-pill-wrapper {
  background: #24211A;
}

.device-tab-btn {
  padding: 8px 24px;
  border-radius: var(--radius-full);
  border: none;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  background: none;
  color: var(--text-muted);
  transition: all 0.2s;
}

.device-tab-btn.active {
  background: #D97706;
  color: #FFF;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
}

/* Lưới 3 Thẻ Đầu + 1 Thẻ Cặp Đôi */
.pricing-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 24px;
}

.locket-price-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark-mode .locket-price-card {
  background: #1C1A14;
}

.locket-price-card:hover {
  transform: translateY(-6px);
  border-color: #D97706;
  box-shadow: var(--shadow-hover);
}

/* Huy hiệu SVIP Rainbow trên đầu thẻ */
.card-svip-badge {
  text-align: center;
  margin-bottom: 12px;
}

.svip-rainbow-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-weight: 900;
  font-size: 0.85rem;
  color: #FFF;
  background: linear-gradient(135deg, #EC4899 0%, #8B5CF6 50%, #3B82F6 100%);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35);
  letter-spacing: 0.05em;
}

.svip-rainbow-pill.svip-orange {
  background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

/* Dải Ribbon "Khuyên Dùng" ở góc phải */
.card-corner-ribbon {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #D97706;
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
}

.price-card-title {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.price-card-sub {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.price-card-amount-box {
  text-align: center;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border-soft);
}

.card-main-price {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
}

.card-duration-tag {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: #EF4444;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Danh sách Quyền Lợi */
.card-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  margin-bottom: 24px;
}

.feature-bullet-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.feature-bullet-item.highlight-bold {
  color: #D97706;
  font-weight: 800;
}

.bullet-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.bullet-icon.blue {
  fill: #3B82F6;
}

.bullet-icon.gray {
  fill: #CBD5E1;
}

/* Các Nút Bấm "Nâng Cấp Ngay" / "Dùng Thử Ngay" */
.btn-card-action {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-card-action.btn-dark-pill {
  background: var(--btn-dark);
  color: #FFF;
}

.btn-card-action.btn-dark-pill:hover {
  background: var(--btn-dark-hover);
  transform: translateY(-2px);
}

.btn-card-action.btn-gold-pill {
  background: var(--accent-gold-gradient);
  color: #000;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-card-action.btn-gold-pill:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

/* Thẻ Gói Cặp Đôi Nằm Riêng Nổi Bật (Centered Wide Card) */
.couple-card-full-row {
  max-width: 480px;
  margin: 0 auto;
}

/* ==========================================================================
   TAB 6: TÀI KHOẢN (ACCOUNT PROFILE CHUẨN ẢNH 5)
   ========================================================================== */
.account-page-header {
  margin-bottom: 26px;
}

.account-page-title {
  font-size: 1.85rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.account-page-subtitle {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.profile-top-avatar-card {
  background: #FFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

body.dark-mode .profile-top-avatar-card {
  background: #1C1A14;
}

.large-avatar-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: #94A3B8;
}

.profile-name-main {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
}

.profile-username-tag {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.profile-activation-badge {
  display: inline-block;
  background: #FEF3C7;
  color: #B45309;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-full);
}

.account-2col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.account-form-card {
  background: #FFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

body.dark-mode .account-form-card {
  background: #1C1A14;
}

.account-form-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dark);
}

.account-form-group {
  margin-bottom: 16px;
}

.account-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.account-input-control {
  width: 100%;
  background: #F8FAFC;
  border: 1px solid var(--border-input);
  padding: 11px 14px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--text-dark);
  outline: none;
  transition: all 0.2s;
}

body.dark-mode .account-input-control {
  background: #24211A;
  color: #FFF;
}

.account-input-control:focus {
  border-color: var(--accent-gold);
  background: #FFF;
}

.account-sub-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   TAB 5: BÀI VIẾT (BLOG / NEWS ARTICLES GRID)
   ========================================================================== */
.articles-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.article-item-card {
  background: #FFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.25s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

body.dark-mode .article-item-card {
  background: #1C1A14;
}

.article-item-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-gold);
}

.article-thumb-wrapper {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
}

.article-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: #FFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.article-body-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-item-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.article-item-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.article-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-light);
  border-top: 1px solid var(--border-soft);
  padding-top: 12px;
}

/* ==========================================================================
   TAB 7 & 8: LIÊN HỆ & ĐÁNH GIÁ (CONTACT & REVIEWS)
   ========================================================================== */
.contact-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-card-box {
  background: #FFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

body.dark-mode .contact-card-box {
  background: #1C1A14;
}

.contact-card-box h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--text-dark);
}

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

.review-row-card {
  background: #FFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
}

body.dark-mode .review-row-card {
  background: #1C1A14;
}

.review-stars-gold {
  color: #F59E0B;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

/* ==========================================================================
   MODAL THANH TOÁN VIETQR (100% MATCHING ẢNH 4)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  pointer-events: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn 0.25s ease;
}

.modal-overlay[style*="display: flex"],
.modal-overlay[style*="display:flex"],
.modal-overlay.active {
  pointer-events: auto !important;
}

.modal-dialog-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: scaleUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark-mode .modal-dialog-card {
  background: #1C1A14;
  border: 1px solid #3D3728;
}

@keyframes scaleUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header-top {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-dark);
}

.modal-close-x {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F1F5F9;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.modal-body-padding {
  padding: 24px;
}

.modal-order-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.modal-order-duration {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Bảng tóm tắt thông tin thanh toán */
.order-summary-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.order-summary-table tr {
  border-bottom: 1px solid #F1F5F9;
}

body.dark-mode .order-summary-table tr {
  border-bottom-color: #2E2A20;
}

.order-summary-table td {
  padding: 11px 0;
  font-size: 0.9rem;
}

.order-summary-table td:first-child {
  color: var(--text-muted);
}

.order-summary-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--text-dark);
}

.order-total-red {
  color: #EF4444 !important;
  font-size: 1.3rem !important;
  font-weight: 900 !important;
}

/* Khối Voucher Mã Giảm Giá */
.voucher-group-box {
  margin-bottom: 20px;
}

.voucher-label-text {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.voucher-input-row {
  display: flex;
  gap: 8px;
}

.voucher-input-control {
  flex: 1;
  background: #F8FAFC;
  border: 1px solid var(--border-input);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  text-transform: uppercase;
  outline: none;
}

body.dark-mode .voucher-input-control {
  background: #24211A;
  color: #FFF;
}

.btn-voucher-apply {
  background: #0F172A;
  color: #FFF;
  border: none;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

/* Nút Tiến Hành Thanh Toán Cam Rực Rỡ */
.btn-proceed-pay {
  width: 100%;
  padding: 14px;
  background: #F59E0B;
  border: none;
  border-radius: var(--radius-md);
  color: #FFF;
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-proceed-pay:hover {
  background: #D97706;
  transform: translateY(-2px);
}

/* Màn Hình 2: Quét Mã VietQR */
.vietqr-modal-screen {
  text-align: center;
}

.vietqr-box-bordered {
  background: #FFF;
  padding: 12px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  display: inline-block;
  margin-bottom: 18px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.vietqr-image-display {
  width: 220px;
  height: auto;
  display: block;
}

.bank-detail-rows-container {
  background: #F8FAFC;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  text-align: left;
  margin-bottom: 18px;
}

body.dark-mode .bank-detail-rows-container {
  background: #24211A;
}

.bank-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.bank-row-item:last-child {
  border-bottom: none;
}

.copy-badge-btn {
  background: #E2E8F0;
  border: none;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
}

.copy-badge-btn:hover {
  background: #CBD5E1;
}

.waiting-radar-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #FEF3C7;
  color: #B45309;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
}

/* ==========================================================================
   RESPONSIVE (MOBILE & TABLET)
   ========================================================================== */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

@media (max-width: 900px) {
  body {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    min-width: 100%;
    height: auto;
    position: relative;
    padding: 14px 18px;
  }

  .sidebar-menu {
    display: none;
    margin-top: 10px;
  }

  .sidebar-menu.mobile-open {
    display: flex;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .content-area-wrapper {
    padding: 20px 18px 40px;
  }

  .bouncy-hero-title {
    font-size: 2.1rem;
  }

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

  .commitments-2x2-grid {
    grid-template-columns: 1fr;
  }

  .account-2col-grid {
    grid-template-columns: 1fr;
  }

  .floating-purchase-toast {
    left: 16px;
    right: 16px;
    max-width: calc(100% - 32px);
  }
}

/* ==========================================================================
   ARTICLE DETAIL MODAL & RICH READER
   ========================================================================== */
.article-modal-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: scaleUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark-mode .article-modal-dialog {
  background: #1C1A14;
  border: 1px solid #3D3728;
}

.article-content-rich {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--text-body);
}

.article-content-rich h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 20px 0 8px;
  color: var(--text-dark);
}

.article-content-rich p {
  margin-bottom: 14px;
}

.article-content-rich ul, .article-content-rich ol {
  margin-left: 20px;
  margin-bottom: 16px;
}

.article-content-rich li {
  margin-bottom: 6px;
}

.article-tip-box {
  background: #FEF3C7;
  border-left: 4px solid #F59E0B;
  padding: 14px 18px;
  border-radius: 4px;
  margin: 18px 0;
  color: #92400E;
  font-size: 0.92rem;
}

body.dark-mode .article-tip-box {
  background: #2D2415;
  color: #FDE68A;
}

/* ==========================================================================
   TRA CỨU DNS CARD (DNS LOOKUP BOX IN TABS)
   ========================================================================== */
.dns-search-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
}

body.dark-mode .dns-search-card {
  background: #1C1A14;
}

.dns-search-row {
  display: flex;
  gap: 10px;
}

.dns-search-input {
  flex: 1;
  background: #F8FAFC;
  border: 1px solid var(--border-input);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  outline: none;
  color: var(--text-dark);
}

body.dark-mode .dns-search-input {
  background: #24211A;
  color: #FFF;
}

.dns-search-input:focus {
  border-color: var(--accent-gold);
}

.dns-lookup-result-box {
  margin-top: 18px;
  padding: 18px;
  background: #FFFDF7;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-md);
  display: none;
  animation: fadeIn 0.3s ease;
}

body.dark-mode .dns-lookup-result-box {
  background: #24211A;
  border-color: #78350F;
}

/* ==========================================================================
   LỊCH SỬ ĐƠN HÀNG (USER ORDERS TABLE IN TAB TÀI KHOẢN)
   ========================================================================== */
.user-orders-table-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  margin-top: 24px;
}

body.dark-mode .user-orders-table-wrapper {
  background: #1C1A14;
}

.user-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.user-orders-table th {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 2px solid var(--border-soft);
  color: var(--text-dark);
  font-weight: 800;
}

.user-orders-table td {
  padding: 12px;
  border-bottom: 1px solid #F1F5F9;
  color: var(--text-body);
}

body.dark-mode .user-orders-table td {
  border-bottom-color: #2E2A20;
}

.status-tag-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
}

.status-tag-pill.success {
  background: #D1FAE5;
  color: #065F46;
}

.status-tag-pill.pending {
  background: #FEF3C7;
  color: #92400E;
}

/* ==========================================================================
   REVIEW & CONTACT FORM CARDS
   ========================================================================== */
.review-form-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-card);
}

body.dark-mode .review-form-card {
  background: #1C1A14;
}

.contact-form-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

body.dark-mode .contact-form-card {
  background: #1C1A14;
}

/* ==========================================================================
   CUSTOMER DELIGHT & INTERACTIVE CUTE EXPERIENCE STYLES
   ========================================================================== */

/* 1. ÂM THANH & HIỆU ỨNG MÈO ĐU DÂY */
.cat-hearts-container {
  position: absolute;
  top: 10px;
  right: 15px;
  width: 60px;
  height: 60px;
  pointer-events: none;
  z-index: 95;
}

.floating-cat-heart {
  position: absolute;
  font-size: 1.2rem;
  animation: floatCatHeartUp 1.4s ease-out forwards;
  pointer-events: none;
}

@keyframes floatCatHeartUp {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.5) rotate(0deg);
  }
  20% {
    opacity: 1;
    transform: translateY(-15px) scale(1.2) rotate(-10deg);
  }
  100% {
    opacity: 0;
    transform: translateY(-60px) scale(1.5) rotate(15deg);
  }
}

/* 2. DẢI LIVE COUNTER BẢO ĐẢM UY TÍN (TRUST BAR) */
.live-counter-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  color: #92400E;
  margin: 14px 0 20px;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.12);
  flex-wrap: wrap;
  justify-content: center;
}

body.dark-mode .live-counter-bar {
  background: #2D2311;
  border-color: #554118;
  color: #FCD34D;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.live-counter-bar strong {
  color: #78350F;
  font-weight: 800;
}

body.dark-mode .live-counter-bar strong {
  color: #FDE68A;
}

.divider-dot {
  color: #F59E0B;
  opacity: 0.6;
}

/* 3. TRÌNH MÔ PHỎNG LOCKET GOLD TƯƠNG TÁC TRỰC TIẾP (3D PHONE SIMULATOR) */
.interactive-simulator-section {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin: 32px 0 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

body.dark-mode .interactive-simulator-section {
  background: #1C1A14;
}

.simulator-badge-pill {
  display: inline-block;
  background: #FEF3C7;
  color: #B45309;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.simulator-main-heading {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.simulator-sub-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.simulator-interactive-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 900px) {
  .simulator-interactive-container {
    grid-template-columns: 1fr;
  }
}

/* Cột điều khiển bên trái */
.simulator-controls-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sim-control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sim-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.sim-text-input {
  width: 100%;
  padding: 12px 38px 12px 14px;
  border: 1.5px solid var(--border-input);
  border-radius: var(--radius-md);
  background: #FFFDF7;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  outline: none;
  transition: all 0.2s ease;
}

body.dark-mode .sim-text-input {
  background: #24211A;
}

.sim-text-input:focus {
  border-color: #F59E0B;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.sim-input-sparkle {
  position: absolute;
  right: 12px;
  font-size: 1.1rem;
  animation: pulse 2s infinite;
}

/* Nút gạt Before / After */
.sim-toggle-pill-box {
  display: flex;
  background: #F1F5F9;
  border-radius: var(--radius-full);
  padding: 4px;
  border: 1px solid var(--border-input);
}

body.dark-mode .sim-toggle-pill-box {
  background: #2E2A20;
}

.sim-toggle-btn {
  flex: 1;
  padding: 9px 14px;
  border: none;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.sim-toggle-btn.active {
  background: #FFFFFF;
  color: #0F172A;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body.dark-mode .sim-toggle-btn.active {
  background: #F59E0B;
  color: #000;
}

#btnSimToggleVip.active {
  background: linear-gradient(135deg, #FBBF24, #F59E0B);
  color: #000;
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.35);
}

/* Grid 6 App Icons Switcher */
.sim-app-icons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.sim-icon-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 6px;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: #FFFDF7;
  cursor: pointer;
  transition: all 0.2s ease;
}

body.dark-mode .sim-icon-option {
  background: #24211A;
}

.sim-icon-option:hover {
  transform: translateY(-2px);
  border-color: #F59E0B;
}

.sim-icon-option.active {
  border-color: #F59E0B;
  background: #FEF3C7;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

body.dark-mode .sim-icon-option.active {
  background: #3B2E15;
}

.sim-icon-option span {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-dark);
}

.app-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.app-icon-badge svg {
  width: 20px;
  height: 20px;
}

.app-icon-badge.gold-classic {
  background: linear-gradient(135deg, #F59E0B, #B45309);
}

.app-icon-badge.pink-heart {
  background: linear-gradient(135deg, #F472B6, #DB2777);
}

.app-icon-badge.cyber-neon {
  background: linear-gradient(135deg, #06B6D4, #8B5CF6);
}

.app-icon-badge.cute-cat {
  background: linear-gradient(135deg, #FDE68A, #F59E0B);
  font-size: 1.2rem;
}

.app-icon-badge.retro-gold {
  background: linear-gradient(135deg, #1E293B, #0F172A);
  border: 1px solid #F59E0B;
}

.app-icon-badge.sunset-glow {
  background: linear-gradient(135deg, #FB923C, #EF4444);
}

/* Checklist tính năng */
.sim-features-check-box {
  background: #FFFDF7;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body.dark-mode .sim-features-check-box {
  background: #24211A;
}

.sim-feat-item {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sim-feat-item.inactive {
  opacity: 0.45;
  text-decoration: line-through;
}

/* KHUNG ĐIỆN THOẠI IPHONE 16 PRO 3D */
.simulator-phone-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  padding: 10px 0;
}

.phone-3d-chassis {
  width: 290px;
  height: 580px;
  background: #18181B;
  border-radius: 46px;
  padding: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28), 0 0 0 3px #3F3F46, 0 0 0 6px #27272A;
  position: relative;
  display: flex;
  flex-direction: column;
  transform: rotateY(-3deg) rotateX(2deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.phone-3d-chassis:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-4px);
  box-shadow: 0 25px 60px rgba(245, 158, 11, 0.22), 0 0 0 3px #F59E0B, 0 0 0 6px #27272A;
}

.phone-dynamic-island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #000000;
  border-radius: 18px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
}

.island-camera {
  width: 9px;
  height: 9px;
  background: #1E293B;
  border-radius: 50%;
  border: 1.5px solid #0F172A;
}

.island-sensor {
  width: 8px;
  height: 8px;
  background: #0F172A;
  border-radius: 50%;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 16px 2px;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  z-index: 40;
}

.phone-status-icons {
  display: flex;
  gap: 4px;
  font-size: 0.65rem;
}

/* Màn hình trong điện thoại */
.phone-screen-content {
  flex: 1;
  background: #09090B;
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 12px 8px;
  color: #FFFFFF;
  position: relative;
}

.phone-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 4px 10px;
  margin-top: 16px;
}

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

.phone-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EC4899, #F59E0B);
  color: #FFF;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.phone-user-names {
  display: flex;
  flex-direction: column;
}

.phone-display-name-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.phone-display-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: #FFFFFF;
  max-width: 90px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-gold-badge {
  background: linear-gradient(135deg, #FBBF24, #F59E0B);
  color: #000;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  animation: badgeGlitter 2s infinite ease-in-out;
}

.phone-gold-badge.hidden-badge {
  display: none;
}

@keyframes badgeGlitter {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.8);
  }
}

.phone-username-sub {
  font-size: 0.68rem;
  color: #A1A1AA;
}

.phone-icon-preview-mini {
  perspective: 400px;
}

.mini-app-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease;
}

/* Khung Widget trung tâm trên màn hình */
.phone-widget-card {
  background: #18181B;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #27272A;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.phone-widget-card.gold-glow {
  border-color: #F59E0B;
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.28);
}

.widget-photo-frame {
  position: relative;
  height: 240px;
  background: #27272A;
  overflow: hidden;
}

.widget-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.widget-photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 40%, rgba(0,0,0,0.7) 100%);
}

.widget-floating-heart {
  position: absolute;
  font-size: 1.1rem;
  animation: floatHeartWidget 3s infinite ease-in-out;
}

.widget-floating-heart.heart-1 {
  top: 25px;
  right: 15px;
  animation-delay: 0s;
}

.widget-floating-heart.heart-2 {
  top: 60px;
  right: 35px;
  animation-delay: 1s;
}

.widget-floating-heart.heart-3 {
  bottom: 50px;
  right: 20px;
  animation-delay: 1.8s;
}

@keyframes floatHeartWidget {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-8px) scale(1.15);
    opacity: 1;
  }
}

.widget-badge-vip-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, 0.6);
  color: #FBBF24;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.widget-caption-box {
  position: absolute;
  bottom: 8px;
  left: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.widget-caption-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.widget-caption-time {
  font-size: 0.62rem;
  color: #D4D4D8;
}

.widget-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  font-size: 0.68rem;
  background: #18181B;
  color: #A1A1AA;
}

.widget-views-badge strong {
  color: #FFFFFF;
}

.widget-library-tag {
  color: #FBBF24;
  font-weight: 700;
}

/* Thanh điều hướng dưới cùng điện thoại */
.phone-bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px 0;
  font-size: 0.95rem;
  color: #71717A;
}

.phone-nav-item.active {
  color: #FFFFFF;
}

.phone-nav-center-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F59E0B;
  color: #000;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.phone-home-indicator {
  width: 90px;
  height: 4px;
  background: #FFFFFF;
  border-radius: 4px;
  margin: 4px auto 0;
  opacity: 0.7;
}

/* Banner trong tab-features */
.sim-promo-banner-card {
  background: linear-gradient(135deg, #FFFDF7 0%, #FEF3C7 100%);
  border: 1px solid #FDE68A;
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.1);
}

body.dark-mode .sim-promo-banner-card {
  background: linear-gradient(135deg, #1C1A14 0%, #2E2412 100%);
  border-color: #554118;
}

/* 4. HÀNG EMOJI CẢM XÚC TRONG TAB ĐÁNH GIÁ */
.emoji-reactions-bar {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
}

body.dark-mode .emoji-reactions-bar {
  background: #1C1A14;
}

.reactions-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.reactions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

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

.reaction-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: #FFFDF7;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .reaction-btn {
  background: #24211A;
}

.reaction-btn:hover {
  transform: translateY(-2px);
  border-color: #F59E0B;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.18);
}

.reaction-btn:active {
  transform: scale(0.95);
}

.rx-emoji {
  font-size: 1.25rem;
}

.rx-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
}

.rx-count {
  font-size: 0.78rem;
  font-weight: 800;
  color: #B45309;
  background: #FEF3C7;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

body.dark-mode .rx-count {
  background: #3B2E15;
  color: #FCD34D;
}

.emoji-flying-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.flying-emoji-particle {
  position: absolute;
  font-size: 1.4rem;
  animation: floatEmojiUp 1.2s ease-out forwards;
}

@keyframes floatEmojiUp {
  0% {
    opacity: 1;
    transform: translateY(0) scale(0.8);
  }
  100% {
    opacity: 0;
    transform: translateY(-80px) scale(1.4);
  }
}

/* 5. CHECKOUT STEPPER 3 BƯỚC */
.checkout-stepper-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #FFFDF7;
  border-bottom: 1px solid var(--border-soft);
}

body.dark-mode .checkout-stepper-container {
  background: #1C1A14;
}

.stepper-step {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.stepper-step.active {
  opacity: 1;
}

.stepper-step.completed {
  opacity: 0.9;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  transition: all 0.3s ease;
}

.stepper-step.active .step-circle {
  background: linear-gradient(135deg, #FBBF24, #F59E0B);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.stepper-step.completed .step-circle {
  background: #10B981;
  color: #FFFFFF;
}

.step-text {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-dark);
}

.step-valid-badge {
  background: #10B981;
  color: #FFF;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 0.6s ease;
}

.stepper-line {
  flex: 1;
  height: 2px;
  background: #E2E8F0;
  margin: 0 8px;
  transition: background 0.3s ease;
}

.stepper-line.active {
  background: #F59E0B;
}

/* Live validation username */
.user-valid-tag {
  font-size: 0.76rem;
  font-weight: 800;
  color: #065F46;
  background: #D1FAE5;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  animation: fadeIn 0.3s ease;
}

.input-valid-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
}

/* Tia laser quét VietQR */
.vietqr-box-bordered {
  position: relative;
  overflow: hidden;
}

.qr-laser-scanner-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #F59E0B, #FBBF24, transparent);
  box-shadow: 0 0 12px #F59E0B, 0 0 20px #FBBF24;
  animation: laserSweep 2.2s infinite ease-in-out;
  z-index: 10;
}

@keyframes laserSweep {
  0% {
    top: 5%;
    opacity: 0.8;
  }
  50% {
    top: 92%;
    opacity: 1;
  }
  100% {
    top: 5%;
    opacity: 0.8;
  }
}

.vietqr-commitment-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  margin-bottom: 14px;
}

body.dark-mode .vietqr-commitment-pill {
  background: #064E3B;
  border-color: #047857;
  color: #A7F3D0;
}

.commit-bolt {
  font-size: 1rem;
  animation: pulse 1s infinite;
}

/* THẺ CHỨNG NHẬN LOCKET GOLD VIP TRÊN MÀN HÌNH THÀNH CÔNG */
.gold-vip-certificate-card {
  background: linear-gradient(135deg, #FFFDF7 0%, #FEF3C7 50%, #FDE68A 100%);
  border: 2px solid #F59E0B;
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  margin-bottom: 18px;
  position: relative;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.25);
  overflow: hidden;
}

body.dark-mode .gold-vip-certificate-card {
  background: linear-gradient(135deg, #1C1A14 0%, #3B2E15 100%);
  border-color: #F59E0B;
}

.cert-crown-icon {
  font-size: 2.2rem;
  margin-bottom: 4px;
  animation: bounce 2s infinite ease-in-out;
}

.cert-title-gold {
  font-size: 1.15rem;
  font-weight: 900;
  color: #92400E;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

body.dark-mode .cert-title-gold {
  color: #FBBF24;
}

.cert-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.cert-holder-name {
  font-size: 1.3rem;
  font-weight: 900;
  color: #0F172A;
  background: #FFFFFF;
  border: 1px dashed #F59E0B;
  display: inline-block;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

body.dark-mode .cert-holder-name {
  background: #24211A;
  color: #FBBF24;
}

.cert-gold-seal {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px dashed #B45309;
  background: #FEF3C7;
  color: #92400E;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1.1;
  transform: rotate(-12deg);
}

.bouncing-install-pointer {
  font-size: 0.85rem;
  font-weight: 800;
  color: #B45309;
  margin-bottom: 8px;
  animation: bouncePointer 1.2s infinite ease-in-out;
}

@keyframes bouncePointer {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

/* 6. HỘP QUÀ BÍ ẨN MAY MẮN (FLOATING MYSTERY GIFT BOX) */
.floating-gift-box-wrapper {
  position: fixed;
  bottom: 28px;
  left: 260px;
  z-index: 85;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (max-width: 768px) {
  .floating-gift-box-wrapper {
    left: 16px;
    bottom: 20px;
  }
}

.floating-gift-box-wrapper:hover {
  transform: scale(1.1) translateY(-4px);
}

.gift-speech-tag {
  background: #EF4444;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
  white-space: nowrap;
  animation: pulse 1.6s infinite;
}

.gift-box-3d-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #EC4899, #F59E0B);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4), 0 0 0 3px #FFFFFF;
  animation: giftBob 2.5s infinite ease-in-out;
}

@keyframes giftBob {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-6px) rotate(-6deg);
  }
  75% {
    transform: translateY(-3px) rotate(6deg);
  }
}

.gift-sparkle {
  position: absolute;
  font-size: 0.85rem;
  pointer-events: none;
}

.gift-sparkle-1 {
  top: -8px;
  right: -6px;
  animation: pulse 1.5s infinite;
}

.gift-sparkle-2 {
  bottom: -6px;
  left: -4px;
  animation: pulse 1.8s infinite 0.5s;
}

.gift-box-lid {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 12px;
  background: #FBBF24;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.gift-box-ribbon {
  position: absolute;
  width: 10px;
  top: -2px;
  bottom: 0;
  background: #FFFFFF;
  opacity: 0.9;
}

/* MODAL HỘP QUÀ */
.mystery-gift-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 90%;
  padding: 28px 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.dark-mode .mystery-gift-dialog {
  background: #1C1A14;
}

.mystery-gift-anim-container {
  font-size: 3.5rem;
  margin-bottom: 8px;
  animation: bounce 1.5s infinite ease-in-out;
}

.gift-award-badge {
  background: #FEF3C7;
  color: #B45309;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 8px;
}

.gift-award-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.gift-award-sub {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.gift-voucher-display-box {
  background: #FFFDF7;
  border: 2px dashed #F59E0B;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

body.dark-mode .gift-voucher-display-box {
  background: #24211A;
}

.gift-code-text {
  font-size: 1.25rem;
  font-weight: 900;
  color: #D97706;
  letter-spacing: 1.5px;
}

.gift-countdown-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #EF4444;
  background: #FEF2F2;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

body.dark-mode .gift-countdown-pill {
  background: #450A0A;
  color: #FCA5A5;
}

/* ==========================================================================
   AUTH TABS & LOGIN/REGISTER CARD CHO TAB TÀI KHOẢN
   ========================================================================== */
.account-auth-card {
  max-width: 480px;
  margin: 0 auto 30px;
  background: var(--bg-main-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

body.dark-mode .account-auth-card {
  background: #1C1A14;
}

.auth-tabs-header {
  display: flex;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(0, 0, 0, 0.02);
}

.auth-tab-btn {
  flex: 1;
  padding: 14px 16px;
  font-family: var(--font-family);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
}

.auth-tab-btn.active {
  color: var(--text-dark);
  border-bottom-color: var(--accent-gold);
  background: var(--bg-main-card);
}

body.dark-mode .auth-tab-btn.active {
  background: #1C1A14;
  color: #FFF;
}

/* ==========================================================================
   MOBILE RESPONSIVE TỐI ƯU TOÀN DIỆN (< 768px)
   Chống tràn màn hình, chống mất chữ bên trái, Sidebar trượt mượt mà
   ========================================================================== */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
}

.mobile-menu-hamburger {
  display: none;
}

.sidebar-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  display: none;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.sidebar-backdrop.active {
  display: block !important;
  pointer-events: auto !important;
  opacity: 1 !important;
}

@media (max-width: 768px) {
  /* 1. Nút Hamburger 3 gạch */
  .mobile-menu-hamburger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: #FFFFFF;
    border: 1px solid var(--border-soft);
    font-size: 1.25rem;
    color: var(--text-dark);
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  }

  body.dark-mode .mobile-menu-hamburger {
    background: #1E1B13;
    border-color: #3D3728;
    color: #FFF;
  }

  /* 2. Sidebar trượt ra từ bên trái */
  .sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    width: 270px !important;
    max-width: 82vw !important;
    z-index: 9999 !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: none !important;
    overflow-y: auto !important;
  }

  .sidebar.mobile-open {
    transform: translateX(0) !important;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.35) !important;
  }

  /* 3. Main Content chiếm 100% màn hình, không tràn chữ */
  .main-content {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
  }

  /* 4. Top Header thanh gọn gàng trong 1 hàng */
  .top-bar {
    padding: 8px 12px !important;
    gap: 8px !important;
  }

  .search-bar-wrapper {
    max-width: none !important;
    flex: 1 !important;
  }

  .search-bar-input {
    font-size: 0.8rem !important;
    padding: 7px 10px 7px 32px !important;
  }

  .top-controls {
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  .icon-btn-pill {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.85rem !important;
  }

  /* 5. Vùng nội dung các Tab */
  .content-area-wrapper {
    padding: 16px 12px 70px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .bouncy-hero-title {
    font-size: 1.85rem !important;
    line-height: 1.2 !important;
  }

  .hero-desc-box {
    font-size: 0.85rem !important;
  }

  .pricing-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .account-2col-grid {
    grid-template-columns: 1fr !important;
  }

  /* 6. Thu nhỏ các icon và nút nổi trên Mobile */
  .hanging-cat-corner {
    transform: scale(0.72) !important;
    transform-origin: top right !important;
    right: 6px !important;
    top: 0 !important;
  }

  .floating-gift-box-wrapper {
    left: 12px !important;
    bottom: 14px !important;
    transform: scale(0.8) !important;
    transform-origin: bottom left !important;
  }

  .floating-zalo-wrapper {
    right: 12px !important;
    bottom: 14px !important;
    transform: scale(0.8) !important;
    transform-origin: bottom right !important;
  }

  .floating-purchase-toast {
    left: 8px !important;
    right: 8px !important;
    top: 55px !important;
    max-width: none !important;
    font-size: 0.76rem !important;
    padding: 8px 10px !important;
  }

  /* 7. Bảng lịch sử đơn hàng cuộn ngang mượt mà */
  .user-orders-table-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    margin-top: 18px !important;
  }

  .user-orders-table {
    min-width: 540px !important;
    font-size: 0.82rem !important;
  }

  .user-orders-table th,
  .user-orders-table td {
    padding: 9px 8px !important;
  }

  /* 8. Modal trên mobile */
  .modal-dialog-card {
    max-height: 92vh !important;
    margin: 10px !important;
  }

  .modal-body-padding {
    padding: 16px 14px !important;
  }
}


