/* ==============================================================================
   DZICORD iOS MOD — MONOCHROME GRADIENT THEME (TRẮNG - ĐEN - XÁM)
   Quản trị: Ng Khánh Nam
   ============================================================================== */

:root {
  --bg-primary: #09090b;
  --bg-secondary: #121215;
  --reyna-violet: #ffffff;
  --reyna-magenta: #d4d4d8;
  --reyna-dark-purple: #27272a;
  --reyna-glow: rgba(255, 255, 255, 0.4);
  --reyna-glow-soft: rgba(255, 255, 255, 0.12);
  --reyna-eye: #f4f4f5;
  --text-main: #ffffff;
  --text-muted: #d4d4d8;
  --text-dim: #a1a1aa;
  --accent-green: #22c55e;
  --glass-card: rgba(20, 20, 24, 0.82);
  --glass-border: rgba(255, 255, 255, 0.16);
  --glass-border-hover: rgba(255, 255, 255, 0.5);
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Monochrome Gradient Palette */
  --grad-white-silver: linear-gradient(135deg, #ffffff 0%, #e4e4e7 40%, #a1a1aa 100%);
  --grad-silver-carbon: linear-gradient(135deg, #e4e4e7 0%, #a1a1aa 50%, #27272a 100%);
  --grad-dark-card: linear-gradient(145deg, rgba(35, 35, 40, 0.75) 0%, rgba(14, 14, 17, 0.9) 100%);
  --grad-button-primary: linear-gradient(135deg, #ffffff 0%, #e4e4e7 45%, #a1a1aa 100%);
  --grad-button-dark: linear-gradient(135deg, #27272a 0%, #18181b 100%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Background Ambient Lighting (Tối ưu hóa GPU 0% giật lag) */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(161, 161, 170, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.03) 0%, transparent 55%),
    #09090b;
}

.orb {
  display: none;
}

#soulCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  z-index: 2;
}

/* ==============================================================================
   HEADER & NAVBAR
   ============================================================================== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  margin-bottom: 16px;
  position: relative;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(161, 161, 170, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.2);
}

.brand-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--reyna-magenta);
}

/* Đồng hồ thời gian thực (Live Clock) */
.live-clock-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e4e4e7;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.live-clock-icon {
  color: #ffffff;
  flex-shrink: 0;
}

.live-clock-pill .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* NÚT BẤM KÍNH TRONG SUỐT */
.btn-glass {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-glass:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 0 16px var(--reyna-glow);
  transform: translateY(-2px);
  color: #fff;
}

.btn-primary-purple {
  background: linear-gradient(135deg, #ffffff 0%, #e4e4e7 45%, #a1a1aa 100%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.3);
  color: #09090b !important;
  font-weight: 800;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 8px;
}

/* NÚT ĐĂNG NHẬP DISCORD TINH GỌN (THANH LỊCH, VỪA VẶN, CÓ LOGO DISCORD VECTOR SVG) */
.btn-discord-wide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-width: 260px;
  max-width: 330px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #e4e4e7 45%, #a1a1aa 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #09090b;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.25);
  margin: 10px auto 0 auto;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-discord-wide:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
  border-color: #ffffff;
  background: linear-gradient(135deg, #ffffff, #f4f4f5);
}

.user-nav-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
}

.user-nav-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--reyna-violet);
  object-fit: cover;
}

.user-nav-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
}

/* ==============================================================================
   HERO SECTION
   ============================================================================== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 25px 0;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.15);
}

.svg-lightning-bolt {
  filter: drop-shadow(0 0 5px rgba(250, 204, 21, 0.7));
  flex-shrink: 0;
}

.svg-lightning-green {
  filter: drop-shadow(0 0 4px rgba(134, 239, 172, 0.6));
  flex-shrink: 0;
}

/* ==============================================================================
   KHUNG AVATAR REYNA VALORANT APNG ĐỘNG + DZICORD LOGO PHÁT SÁNG
   ============================================================================== */
.reyna-avatar-container {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 6px auto 26px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reyna-soul-aura {
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191, 0, 255, 0.45) 0%, rgba(236, 72, 153, 0.2) 48%, transparent 70%);
  pointer-events: none;
  animation: pulseNeon 3s infinite ease-in-out;
}

/* Khung Avatar Tròn Trung Tâm - Ôm Khít Lòng Reyna */
.app-avatar-box {
  position: relative;
  width: 152px;
  height: 152px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
  background: radial-gradient(circle, #250842 0%, #0d0219 100%);
  border: 2px solid rgba(236, 72, 153, 0.7);
  box-shadow: 
    0 0 22px rgba(191, 0, 255, 0.55),
    inset 0 0 14px rgba(236, 72, 153, 0.4);
  transition: transform 0.25s ease;
}

.app-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reyna-avatar-container:hover .app-avatar-box {
  transform: scale(1.04);
}

/* LỚP KHUNG APNG REYNA'S LEER (130 FRAMES ĐỘNG - TỐI ƯU HÓA HOÀN TOÀN CHO SAFARI IOS) */
.reyna-frame-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  -webkit-transform: translate3d(-50%, -50%, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  width: 220px;
  height: 220px;
  z-index: 3;
  pointer-events: none;
}

/* Tiêu đề Hero */
.hero-title {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  max-width: 800px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #e4e4e7 35%, #a1a1aa 70%, #71717a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 24px;
  font-weight: 400;
  line-height: 1.5;
}

/* ==============================================================================
   GATEWAY / DOWNLOAD BOX (GỌN GÀNG, KHÔNG THÔ)
   ============================================================================== */
.action-box {
  width: 100%;
  max-width: 580px;
  background: var(--glass-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 22px 18px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.action-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffffff, #a1a1aa, #71717a, transparent);
}

.locked-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  border-radius: 20px;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  font-size: 0.75rem;
  font-weight: 700;
}

.locked-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}

.locked-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.45;
}

/* Banner Server N - House 247 Sắc Nét Với Icon 512x512 Chuẩn */
.discord-server-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  background: linear-gradient(145deg, rgba(35, 35, 40, 0.6) 0%, rgba(18, 18, 22, 0.75) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  margin: 2px 0;
  gap: 10px;
}

.server-info {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.server-icon-brand {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  background: #18181b;
}

.server-icon-brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.server-details h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
}

.server-details p {
  font-size: 0.74rem;
  color: #cbd5e1;
}

.auto-join-badge {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #86efac;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* Trạng thái đã mở khóa (UNLOCKED) */
.unlocked-state {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.user-welcome-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: linear-gradient(145deg, rgba(35, 35, 40, 0.6) 0%, rgba(18, 18, 22, 0.75) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.user-profile-left {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.user-avatar-wrap {
  position: relative;
  width: 40px;
  height: 40px;
}

.user-avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--reyna-violet);
  object-fit: cover;
}

.user-status-online {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent-green);
  border: 2px solid #18181b;
}

.user-meta h4 {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
}

.user-meta p {
  font-size: 0.72rem;
  color: #94a3b8;
}

.guild-joined-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
  font-size: 0.75rem;
  font-weight: 700;
}

.install-single-box {
  width: 100%;
  margin: 4px 0;
}

.btn-install-direct {
  width: 100%;
  padding: 15px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #e4e4e7 45%, #a1a1aa 100%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #09090b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 4px 25px rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-install-direct:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.65);
  border-color: #ffffff;
  background: linear-gradient(135deg, #ffffff, #f4f4f5);
}

.btn-install-direct .btn-main-label {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.2px;
}

.btn-install-direct .btn-sub-label {
  font-size: 0.76rem;
  opacity: 0.95;
  font-weight: 500;
  color: #27272a;
}

/* ==============================================================================
   MỤC SO SÁNH: TẠI SAO DZICORD ĐƯỢC THÍCH HƠN? (THIẾT KẾ CARD SIÊU GỌN GÀNG, TINH TẾ)
   ============================================================================== */
.comparison-section {
  padding: 30px 0 20px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 18px;
}

.section-tag {
  color: var(--reyna-magenta);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
  display: block;
}

.section-title {
  font-size: 1.65rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.3px;
}

/* KHUNG BỌC SO SÁNH SIÊU NHỎ GỌN (VỪA KHÍT MỌI MÀN HÌNH ĐIỆN THOẠI) */
.comp-compact-box {
  max-width: 580px;
  margin: 0 auto;
  background: var(--glass-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 14px 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.comp-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.comp-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 9px 12px;
  transition: all 0.2s;
}

.comp-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.35);
}

.comp-item-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}

.comp-item-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.comp-item-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
}

.comp-item-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.comp-box-dzi {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  padding: 7px 9px;
  text-align: left;
}

.comp-badge-dzi {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #86efac;
  margin-bottom: 3px;
}

.comp-box-dzi p {
  font-size: 0.75rem;
  color: #e2e8f0;
  line-height: 1.35;
}

.comp-box-orig {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 7px 9px;
  text-align: left;
}

.comp-badge-orig {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 3px;
}

.comp-box-orig p {
  font-size: 0.73rem;
  color: #94a3b8;
  line-height: 1.35;
}

/* ==============================================================================
   TÍNH NĂNG NỔI BẬT (100% VECTOR SVG ICONS)
   ============================================================================== */
.features-section {
  padding: 30px 0 20px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.feature-card {
  background: var(--glass-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 16px;
  transition: all 0.25s;
  text-align: left;
}

.feature-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.12);
}

.feature-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(161, 161, 170, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 12px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.feature-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==============================================================================
   HƯỚNG DẪN CÀI ĐẶT
   ============================================================================== */
.guide-section {
  padding: 30px 0 25px 0;
}

.guide-box {
  max-width: 580px;
  margin: 0 auto;
  background: var(--glass-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 18px 16px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff 0%, #d4d4d8 50%, #71717a 100%);
  color: #09090b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.step-content h5 {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 3px;
}

.step-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 25px 0 35px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 25px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-copyright {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-copyright strong {
  color: #fff;
  font-weight: 600;
}

/* ==============================================================================
   RESPONSIVE MOBILE
   ============================================================================== */
@media (max-width: 640px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .reyna-avatar-container {
    width: 200px;
    height: 200px;
    margin: 4px auto 20px auto;
  }

  .app-avatar-box {
    width: 140px;
    height: 140px;
  }

  .reyna-frame-overlay {
    width: 200px;
    height: 200px;
  }

  .action-box {
    padding: 18px 14px;
  }

  .install-single-box {
    width: 100%;
  }

  .comp-item-cols {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .discord-server-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .auto-join-badge {
    align-self: flex-start;
  }

  .btn-discord-wide {
    width: 100%;
    max-width: 100%;
  }

  .live-clock-pill {
    order: 3;
    width: 100%;
    justify-content: center;
  }
}

/* ==============================================================================
   ADMIN SYSTEM & KEY MANAGEMENT (CYBERPUNK REYNA THEME)
   ============================================================================== */

/* Admin Header Button & Badge */
.btn-admin-header {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(161, 161, 170, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 7px 14px;
  border-radius: 20px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  position: relative;
}

.btn-admin-header:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

.admin-pulse {
  width: 8px;
  height: 8px;
  background: #f43f5e;
  border-radius: 50%;
  box-shadow: 0 0 10px #f43f5e;
  animation: pulseNeon 1.5s infinite;
}

@keyframes pulseNeon {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(244, 63, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

.user-nav-info-block {
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-admin-tag {
  background: linear-gradient(135deg, #e11d48, #be185d);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 8px rgba(225, 29, 72, 0.4);
}

/* Admin Dashboard Hero Card */
.admin-dashboard-hero-card {
  margin-top: 14px;
  background: linear-gradient(145deg, rgba(30, 30, 35, 0.85) 0%, rgba(14, 14, 16, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 16px 18px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.admin-dashboard-hero-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
  pointer-events: none;
}

.admin-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.admin-hero-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px 0;
}

.admin-hero-desc {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin: 0 0 12px 0;
}

.admin-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-open-sidebar-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #ffffff 0%, #e4e4e7 45%, #a1a1aa 100%);
  color: #09090b;
  border: none;
  padding: 9px 16px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  transition: all 0.25s;
}

.btn-open-sidebar-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, #ffffff, #f4f4f5);
}

.btn-open-create-quick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 9px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-open-create-quick:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: #ffffff;
}

/* Footer Demo Link */
.footer-demo-controls {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #64748b;
}

.btn-demo-link {
  background: none;
  border: none;
  color: #a1a1aa;
  font-family: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.btn-demo-link:hover {
  color: #fff;
}

/* ==============================================================================
   ADMIN SIDEBAR DRAWER (OFFCANVAS)
   ============================================================================== */
.admin-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.admin-sidebar-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.admin-sidebar-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 520px;
  max-width: 95vw;
  background: rgba(14, 14, 18, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.85);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-sidebar-drawer.active {
  transform: translateX(0);
}

.sidebar-header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.sidebar-brand-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-brand-icon {
  font-size: 1.6rem;
  filter: drop-shadow(0 0 10px rgba(250, 204, 21, 0.6));
}

.sidebar-brand-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
  margin: 0;
}

.sidebar-brand-sub {
  font-size: 0.75rem;
  color: #a1a1aa;
  font-weight: 600;
}

.btn-sidebar-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-sidebar-close:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #fff;
}

/* Sidebar Tab Navigation */
.sidebar-tabs {
  display: flex;
  padding: 10px 16px;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
}

.sidebar-tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  padding: 8px 10px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.sidebar-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.sidebar-tab-btn.active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(161, 161, 170, 0.08));
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
}

.sidebar-pane {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.sidebar-pane.active {
  display: flex;
}

/* Sidebar Navigation Items */
.sidebar-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.snav-group-title {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #71717a;
  letter-spacing: 0.8px;
  padding: 4px 6px;
}

.snav-item-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  color: #fff;
  cursor: pointer;
  transition: all 0.22s ease;
  font-family: inherit;
}

.snav-item-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.snav-icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.snav-item-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 2px;
}

.snav-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.snav-sub {
  font-size: 0.72rem;
  color: #a1a1aa;
}

.snav-arrow {
  color: #71717a;
  transition: transform 0.2s, color 0.2s;
  flex-shrink: 0;
}

.snav-item-btn:hover .snav-arrow {
  color: #ffffff;
  transform: translateX(3px);
}

.snav-badge-pill {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
  white-space: nowrap;
}

.snav-badge-pill.admin {
  background: rgba(234, 179, 8, 0.15);
  color: #facc15;
  border-color: rgba(234, 179, 8, 0.4);
}

.snav-admin-highlight {
  border-color: rgba(234, 179, 8, 0.3);
  background: rgba(234, 179, 8, 0.04);
}

.snav-admin-highlight:hover {
  border-color: rgba(234, 179, 8, 0.6);
  background: rgba(234, 179, 8, 0.1);
}

/* Info Box */
.info-notice-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 10px;
  padding: 10px 12px;
}

.info-notice-box p {
  font-size: 0.78rem;
  color: #bae6fd;
  line-height: 1.4;
  margin: 0;
}

/* Cyber Form */
.cyber-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #e2e8f0;
}

.required-star {
  color: #f43f5e;
}

.form-cyber-input, .form-cyber-select {
  background: rgba(24, 24, 28, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
  transition: all 0.2s;
  width: 100%;
}

.form-cyber-input:focus, .form-cyber-select:focus {
  border-color: #ffffff;
  background: rgba(30, 30, 35, 0.9);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

.form-cyber-select option {
  background: #18181b;
  color: #fff;
}

.input-action-group {
  display: flex;
  gap: 8px;
}

.btn-input-addon {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 0 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.btn-input-addon:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* Duration Grid */
.duration-select-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 8px;
}

.duration-live-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  color: #e4e4e7;
  margin-top: 4px;
}

.duration-live-badge strong {
  color: #fff;
}

.btn-cyber-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #e4e4e7 45%, #a1a1aa 100%);
  color: #09090b;
  border: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  transition: all 0.25s;
  letter-spacing: 0.3px;
  margin-top: 6px;
}

.btn-cyber-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, #ffffff, #f4f4f5);
}

/* Result Box */
.create-result-card {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-success-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #4ade80;
  margin-bottom: 8px;
}

.result-key-code {
  font-family: monospace;
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px dashed rgba(74, 222, 128, 0.5);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  word-break: break-all;
}

.result-meta {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 12px;
}

.result-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.btn-copy-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #22c55e;
  color: #000;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy-action:hover {
  background: #4ade80;
  transform: translateY(-1px);
}

.btn-go-list {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-go-list:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ==============================================================================
   TAB 2: STATS & KEYS LIST
   ============================================================================== */
.stats-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.stat-mini-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-label {
  font-size: 0.65rem;
  color: #94a3b8;
  text-transform: uppercase;
}

.stat-number {
  font-size: 1.05rem;
  font-weight: 900;
  color: #fff;
}

.active-card .stat-number { color: #4ade80; }
.unused-card .stat-number { color: #facc15; }
.expired-card .stat-number { color: #f87171; }

.filter-controls-row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.search-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrap svg {
  position: absolute;
  left: 10px;
  color: #64748b;
  pointer-events: none;
}

.search-input-wrap input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 7px 10px 7px 30px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.78rem;
  outline: none;
}

.search-input-wrap input:focus {
  border-color: #ffffff;
}

.form-cyber-select-sm {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  padding: 7px 8px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.78rem;
  outline: none;
}

.btn-icon-refresh {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.btn-icon-refresh:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.keys-list-stream {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.loading-state-box, .empty-state-box {
  text-align: center;
  padding: 30px 10px;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Key Card Item */
.key-item-card {
  background: linear-gradient(145deg, rgba(28, 28, 32, 0.8) 0%, rgba(14, 14, 16, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  transition: all 0.2s;
}

.key-item-card:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 255, 255, 0.08);
}

.key-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.key-title-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.key-name-text {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
}

.key-status-pill {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  text-transform: uppercase;
}

.status-active {
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.status-unused {
  background: rgba(234, 179, 8, 0.18);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.4);
}

.status-expired {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.status-banned {
  background: rgba(100, 116, 139, 0.2);
  color: #94a3b8;
  border: 1px solid rgba(100, 116, 139, 0.4);
}

.key-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.key-code-mono {
  font-family: monospace;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.8px;
}

.btn-mini-copy {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #e2e8f0;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-mini-copy:hover {
  background: #22c55e;
  color: #000;
}

.key-details-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 8px;
  font-size: 0.72rem;
  color: #94a3b8;
}

.meta-field span {
  color: #e2e8f0;
  font-weight: 600;
}

/* Device Lock Box */
.device-lock-banner {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 6px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.72rem;
}

.device-lock-text {
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-reset-device {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.btn-reset-device:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #fff;
}

/* Key Actions Toolbar */
.key-actions-toolbar {
  display: flex;
  gap: 6px;
  margin-top: 2px;
}

.btn-tool-edit, .btn-tool-extend, .btn-tool-delete {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-tool-edit {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #7dd3fc;
}

.btn-tool-edit:hover {
  background: rgba(56, 189, 248, 0.25);
  color: #fff;
}

.btn-tool-extend {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #e4e4e7;
}

.btn-tool-extend:hover {
  background: rgba(168, 85, 247, 0.3);
  color: #fff;
}

.btn-tool-delete {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  flex: 0 0 32px;
}

.btn-tool-delete:hover {
  background: #ef4444;
  color: #fff;
}

/* ==============================================================================
   TAB 3: SIMULATOR & API DOCS
   ============================================================================== */
.simulator-card, .api-docs-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px;
  text-align: left;
}

.sim-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px 0;
}

.sim-desc {
  font-size: 0.76rem;
  color: #94a3b8;
  line-height: 1.4;
  margin: 0 0 12px 0;
}

.sim-note {
  font-size: 0.7rem;
  color: #facc15;
  margin-top: 3px;
}

.sim-output-box {
  margin-top: 14px;
  background: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 10px;
}

.sim-output-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #86efac;
  margin-bottom: 6px;
}

.sim-json-pre {
  margin: 0;
  font-family: monospace;
  font-size: 0.76rem;
  color: #e2e8f0;
  white-space: pre-wrap;
  word-break: break-all;
}

.api-docs-card h4 {
  font-size: 0.88rem;
  color: #fff;
  margin: 0 0 6px 0;
}

.api-endpoint-badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

/* ==============================================================================
   CYBER MODALS (EDIT & EXTEND)
   ============================================================================== */
.cyber-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10005;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease;
}

.cyber-modal-dialog {
  background: linear-gradient(180deg, #18181c 0%, #0d0d10 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  overflow: hidden;
}

.cyber-modal-header {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
}

.cyber-modal-header h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.btn-modal-close {
  background: none;
  border: none;
  color: #cbd5e1;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.btn-modal-close:hover {
  color: #f43f5e;
}

.cyber-modal-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-footer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 6px;
}

@media (max-width: 640px) {
  .admin-sidebar-drawer {
    width: 100vw;
    max-width: 100vw;
  }
  
  .stats-mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .btn-admin-header span {
    display: none;
  }
  
  .btn-admin-header {
    padding: 7px 9px;
  }
}

/* ==============================================================================
   BẢNG GIÁ THUÊ KEY DZICORD (VECTOR TRONG SUỐT 100% - CYBERPUNK REYNA)
   ============================================================================== */

/* Navbar Pricing Link */
.nav-pricing-link {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  gap: 5px;
}

.nav-pricing-link:hover {
  border-color: #ffffff;
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.pricing-section {
  padding: 40px 0 25px 0;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 26px;
  align-items: stretch;
}

/* Pricing Card Base */
.pricing-card {
  background: linear-gradient(145deg, rgba(28, 28, 33, 0.8) 0%, rgba(13, 13, 15, 0.9) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 255, 255, 0.15);
}

/* Featured / Popular Card (1 Tháng) */
.pricing-card.card-featured {
  background: linear-gradient(180deg, rgba(38, 38, 44, 0.95) 0%, rgba(16, 16, 20, 0.98) 100%);
  border: 2px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.25), 0 15px 45px rgba(0, 0, 0, 0.8);
  transform: scale(1.02);
}

.pricing-card.card-featured:hover {
  transform: scale(1.02) translateY(-6px);
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.5), 0 20px 50px rgba(0, 0, 0, 0.8);
}

/* VIP Card (1 Năm) */
.pricing-card.card-vip {
  background: linear-gradient(180deg, rgba(32, 32, 38, 0.95) 0%, rgba(14, 14, 18, 0.98) 100%);
  border: 1.5px solid rgba(212, 212, 216, 0.5);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.15), 0 15px 45px rgba(0, 0, 0, 0.6);
}

.pricing-card.card-vip:hover {
  transform: translateY(-5px);
  border-color: #ffffff;
  box-shadow: 0 0 45px rgba(255, 255, 255, 0.25);
}

/* Top Tags / Ribbons */
.plan-tag-top {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  z-index: 5;
  box-sizing: border-box;
  max-width: 85%;
}

.tag-save {
  background: linear-gradient(135deg, #ea580c, #f97316);
  color: #fff;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.6);
}

.tag-popular {
  background: linear-gradient(135deg, #ffffff 0%, #e4e4e7 50%, #a1a1aa 100%);
  color: #09090b;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.5);
  animation: pulseNeon 2s infinite;
}

.tag-vip {
  background: linear-gradient(135deg, #ca8a04, #facc15);
  color: #000;
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.6);
}

/* Card Header */
.pricing-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

/* Plan Icon Wraps (100% Vector Trong Suốt) */
.plan-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  transition: all 0.25s;
}

.plan-icon-wrap svg {
  background: transparent;
  filter: drop-shadow(0 0 8px currentColor);
}

.icon-lightning {
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.icon-flame {
  border: 1px solid rgba(251, 146, 60, 0.4);
  box-shadow: 0 0 15px rgba(251, 146, 60, 0.2);
}

.icon-diamond {
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}

.icon-crown {
  border: 1px solid rgba(250, 204, 21, 0.55);
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.35);
}

.plan-title-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.plan-badge-type {
  font-size: 0.66rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.4px;
}

.badge-hot { color: #ffffff; }
.badge-gold { color: #fde047; }

.plan-name {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  margin: 0;
  letter-spacing: 0.3px;
}

/* Price Display Box */
.pricing-price-box {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.price-number {
  font-size: 2.1rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.5px;
}

.price-currency {
  font-size: 1.15rem;
  font-weight: 800;
  color: #d4d4d8;
}

.card-vip .price-currency {
  color: #facc15;
}

.price-period {
  font-size: 0.76rem;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 4px;
}

.plan-desc {
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin: 0 0 16px 0;
  min-height: 38px;
}

/* Features List (100% Vector Trong Suốt) */
.plan-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: #e2e8f0;
  line-height: 1.35;
}

.plan-features-list li strong {
  color: #fff;
}

.feat-check {
  flex-shrink: 0;
  margin-top: 1px;
  background: transparent;
  filter: drop-shadow(0 0 4px rgba(74, 222, 128, 0.5));
}

/* Plan Action Buttons */
.btn-choose-plan {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.2px;
}

.btn-choose-plan:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn-featured-glow {
  background: linear-gradient(135deg, #ffffff 0%, #e4e4e7 45%, #a1a1aa 100%);
  border: none;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  color: #09090b !important;
  font-weight: 800;
}

.btn-featured-glow:hover {
  background: linear-gradient(135deg, #ffffff, #f4f4f5);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.btn-vip-gold {
  background: linear-gradient(135deg, #eab308, #facc15);
  color: #000;
  border: none;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.5);
}

.btn-vip-gold:hover {
  background: linear-gradient(135deg, #ca8a04, #eab308);
  box-shadow: 0 0 30px rgba(250, 204, 21, 0.8);
  transform: translateY(-2px);
}

/* ==============================================================================
   ORDER / PAYMENT MODAL
   ============================================================================== */
.order-modal-dialog {
  max-width: 480px;
}

.order-summary-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(161, 161, 170, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-badge-title {
  font-size: 0.65rem;
  font-weight: 800;
  color: #d4d4d8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.order-plan-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  margin: 2px 0;
}

.order-plan-duration {
  font-size: 0.78rem;
  color: #cbd5e1;
}

.order-summary-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.order-price-val {
  font-size: 1.45rem;
  font-weight: 900;
  color: #4ade80;
}

.order-lock-note {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  padding: 2px 6px;
  border-radius: 6px;
}

.order-instructions-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: left;
}

.order-inst-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px 0;
}

.order-steps-ol {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.order-steps-ol code {
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  border: 1px dashed rgba(255, 255, 255, 0.3);
}

.order-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 4px;
}

.btn-copy-syntax {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy-syntax:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn-discord-join-direct {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #5865F2;
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.5);
  transition: all 0.25s;
}

.btn-discord-join-direct:hover {
  background: #4752c4;
  box-shadow: 0 0 30px rgba(88, 101, 242, 0.8);
  transform: translateY(-2px);
}

/* ==============================================================================
   RESPONSIVE CHO BẢNG GIÁ
   ============================================================================== */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .pricing-card.card-featured {
    transform: none;
  }

  .pricing-card.card-featured:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-card {
    padding: 20px 16px;
  }

  .price-number {
    font-size: 1.85rem;
  }
}

/* ==============================================================================
   NÚT 3 GẠCH (HAMBURGER), API ENDPOINT HUB & LIÊN HỆ ZALO / FB
   ============================================================================== */

/* Hamburger Button */
.btn-hamburger-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-hamburger-menu:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

.nav-api-btn {
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  gap: 5px;
}

.nav-api-btn:hover {
  border-color: #38bdf8;
  color: #fff;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

/* API Developer Hub */
.api-dev-header {
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 12px;
}

.api-dev-badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.api-dev-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px 0;
}

.api-dev-desc {
  font-size: 0.76rem;
  color: #94a3b8;
  line-height: 1.4;
  margin: 0;
}

/* Endpoint URL Bar */
.api-specs-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.endpoint-url-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 7px 10px;
}

.http-badge-post {
  background: #22c55e;
  color: #000;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 5px;
  letter-spacing: 0.5px;
}

.endpoint-url-code {
  font-family: monospace;
  font-size: 0.78rem;
  color: #86efac;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-copy-url {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy-url:hover {
  background: #22c55e;
  color: #000;
}

/* Data Schema Grid */
.data-schema-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.schema-col {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 8px;
}

.schema-col-title {
  font-size: 0.65rem;
  font-weight: 800;
  color: #d4d4d8;
  display: block;
  margin-bottom: 4px;
}

.schema-pre {
  margin: 0;
  font-family: monospace;
  font-size: 0.68rem;
  color: #e2e8f0;
  white-space: pre-wrap;
  word-break: break-all;
  line-height: 1.35;
}

/* Code Snippets Wrapper */
.code-snippets-wrapper {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.code-snippets-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.snippets-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.3px;
}

.code-lang-tabs {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.code-lang-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  padding: 6px 10px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.code-lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.code-lang-btn.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(168, 85, 247, 0.3));
  border-color: rgba(56, 189, 248, 0.6);
  color: #fff;
}

.code-pane {
  display: none;
  background: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  overflow: hidden;
}

.code-pane.active {
  display: block;
}

.code-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 6px 10px;
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 600;
}

.btn-copy-code {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy-code:hover {
  background: #38bdf8;
  color: #000;
}

.code-block-pre {
  margin: 0;
  padding: 10px 12px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.72rem;
  color: #e2e8f0;
  overflow-x: auto;
  line-height: 1.45;
  background: transparent;
}

/* Contact Admin Card (Zalo & Facebook) */
.admin-contact-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-profile-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-avatar-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(161, 161, 170, 0.08));
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

.contact-profile-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-admin-name {
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  margin: 0;
}

.contact-role-tag {
  font-size: 0.72rem;
  color: #a1a1aa;
  font-weight: 600;
}

.contact-meta-list {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: #94a3b8;
}

.contact-meta-val {
  color: #fff;
  font-weight: 800;
}

.contact-buttons-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Zalo Contact Button */
.btn-contact-zalo {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(0, 104, 255, 0.22), rgba(0, 104, 255, 0.38));
  border: 1px solid #0068FF;
  padding: 11px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 0 18px rgba(0, 104, 255, 0.35);
  transition: all 0.25s;
}

.btn-contact-zalo:hover {
  background: linear-gradient(135deg, rgba(0, 104, 255, 0.35), rgba(0, 104, 255, 0.55));
  box-shadow: 0 0 28px rgba(0, 104, 255, 0.65);
  transform: translateY(-2px);
}

/* Facebook Contact Button */
.btn-contact-facebook {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.22), rgba(24, 119, 242, 0.38));
  border: 1px solid #1877F2;
  padding: 11px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 0 18px rgba(24, 119, 242, 0.35);
  transition: all 0.25s;
}

.btn-contact-facebook:hover {
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.35), rgba(24, 119, 242, 0.55));
  box-shadow: 0 0 28px rgba(24, 119, 242, 0.65);
  transform: translateY(-2px);
}

.svg-zalo-logo, .svg-fb-logo {
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px currentColor);
}

.btn-contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.btn-contact-label {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
}

.btn-contact-sub {
  font-size: 0.72rem;
  color: #cbd5e1;
}

.order-syntax-pill {
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  padding: 6px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 6px;
}

.order-syntax-pill code {
  color: #ffffff;
  font-weight: 800;
}

/* Footer Contact Banner */
.footer-contact-banner {
  background: linear-gradient(135deg, rgba(39, 39, 42, 0.6) 0%, rgba(18, 18, 22, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 18px 22px;
  margin-top: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.banner-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: #d4d4d8;
  letter-spacing: 0.6px;
  display: block;
  margin-bottom: 3px;
}

.banner-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 4px 0;
}

.banner-desc {
  font-size: 0.8rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.4;
}

.contact-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-contact-zalo-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0068FF;
  color: #fff;
  padding: 9px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(0, 104, 255, 0.4);
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-contact-zalo-mini:hover {
  background: #0056d6;
  box-shadow: 0 0 25px rgba(0, 104, 255, 0.7);
  transform: translateY(-2px);
}

.btn-contact-fb-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1877F2;
  color: #fff;
  padding: 9px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(24, 119, 242, 0.4);
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-contact-fb-mini:hover {
  background: #1464c8;
  box-shadow: 0 0 25px rgba(24, 119, 242, 0.7);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .footer-contact-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .contact-banner-actions {
    width: 100%;
    flex-direction: column;
  }
  
  .btn-contact-zalo-mini, .btn-contact-fb-mini {
    width: 100%;
    justify-content: center;
  }
}


/* ========================================================================= */
/* SIDEBAR DRAWER - GIAO DIỆN CHUẨN MẪU SHOPNHOUSE.SITE */
/* ========================================================================= */
.admin-sidebar-drawer {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  width: 310px !important;
  max-width: 84vw !important;
  background: #0c101d !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-left: none !important;
  box-shadow: 15px 0 50px rgba(0, 0, 0, 0.85) !important;
  transform: translateX(-100%) !important;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 10001 !important;
  display: flex !important;
  flex-direction: column !important;
}

.admin-sidebar-drawer.active {
  transform: translateX(0) !important;
}

.admin-sidebar-drawer .sidebar-header {
  padding: 16px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  background: rgba(255, 255, 255, 0.01) !important;
}

.sidebar-brand-box {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.sidebar-brand-logo img {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  object-fit: cover !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4) !important;
}

.sidebar-brand-title {
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  color: #fff !important;
  letter-spacing: 0.5px !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.sidebar-brand-sub {
  font-size: 0.65rem !important;
  color: #64748b !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
}

.btn-sidebar-close {
  background: transparent !important;
  border: none !important;
  color: #94a3b8 !important;
  font-size: 1.5rem !important;
  cursor: pointer !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px !important;
  transition: all 0.2s !important;
}

.btn-sidebar-close:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

.admin-sidebar-drawer .sidebar-body {
  flex: 1 !important;
  overflow-y: auto !important;
  padding: 12px 14px !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Ẩn hoàn toàn tab bar ngang cũ */
.admin-sidebar-drawer .sidebar-tabs {
  display: none !important;
}

/* Danh sách menu chính */
.sidebar-nav-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.snav-item-btn {
  width: 100% !important;
  border: none !important;
  background: transparent !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
  font-family: inherit !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  transform: none !important;
  box-shadow: none !important;
}

.snav-item-btn:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: transparent !important;
  transform: none !important;
}

/* Thẻ active (Trang chủ) xanh dương rực rỡ như mẫu shopnhouse.site */
.snav-item-btn.snav-active {
  background: #1d4ed8 !important;
  box-shadow: 0 4px 18px rgba(29, 78, 216, 0.45) !important;
  color: #ffffff !important;
}

.snav-item-btn.snav-active .snav-icon-box {
  color: #ffffff !important;
}

.snav-item-btn.snav-active .snav-label {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.snav-item-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.snav-icon-box {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  flex-shrink: 0 !important;
}

/* Màu sắc từng icon */
.snav-icon-box.home { color: #60a5fa; }
.snav-icon-box.emerald { color: #34d399; }
.snav-icon-box.indigo { color: #818cf8; }
.snav-icon-box.amber { color: #fbbf24; }
.snav-icon-box.rose { color: #f472b6; }
.snav-icon-box.sky { color: #38bdf8; }
.snav-icon-box.cyan { color: #06b6d4; }
.snav-icon-box.yellow { color: #eab308; }
.snav-icon-box.purple { color: #a855f7; }
.snav-icon-box.teal { color: #2dd4bf; }

.snav-label {
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: #cbd5e1 !important;
  transition: color 0.18s !important;
}

.snav-item-btn:hover .snav-label {
  color: #ffffff !important;
}

.snav-chevron {
  color: #475569 !important;
  flex-shrink: 0 !important;
}

/* Badges */
.snav-badge-pill {
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
}

.snav-badge-pill.hot {
  background: rgba(16, 185, 129, 0.2) !important;
  color: #34d399 !important;
}

.snav-badge-pill.ios {
  background: rgba(129, 140, 248, 0.2) !important;
  color: #a5b4fc !important;
}

.snav-badge-pill.vip {
  background: rgba(244, 114, 182, 0.2) !important;
  color: #f472b6 !important;
}

.snav-badge-pill.dev {
  background: rgba(6, 182, 212, 0.2) !important;
  color: #22d3ee !important;
}

.snav-badge-pill.admin {
  background: rgba(234, 179, 8, 0.2) !important;
  color: #facc15 !important;
}

.snav-badge-pill.users {
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38bdf8 !important;
}

.snav-badge-pill.purple-pill {
  background: rgba(168, 85, 247, 0.2) !important;
  color: #c084fc !important;
}

.snav-badge-pill.sky-pill {
  background: rgba(56, 189, 248, 0.2) !important;
  color: #7dd3fc !important;
}

/* Footer người dùng dưới đáy menu */
.sidebar-user-footer {
  padding: 12px 16px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  background: #090d18 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

.drawer-user-info {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
}

.drawer-avatar-wrap {
  position: relative !important;
  width: 36px !important;
  height: 36px !important;
  flex-shrink: 0 !important;
}

.drawer-user-img {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.drawer-user-initial {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #1d4ed8 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.drawer-online-dot {
  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important;
  width: 9px !important;
  height: 9px !important;
  background: #22c55e !important;
  border-radius: 50% !important;
  border: 2px solid #0c101d !important;
}

.drawer-user-meta {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}

.drawer-user-name {
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 155px !important;
}

.drawer-user-rank {
  font-size: 0.68rem !important;
  color: #64748b !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 155px !important;
}

.drawer-btn-auth {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  width: 30px !important;
  height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #94a3b8 !important;
  transition: all 0.2s !important;
  text-decoration: none !important;
}

.drawer-btn-auth:hover {
  background: rgba(239, 68, 68, 0.25) !important;
  color: #ef4444 !important;
  border-color: #ef4444 !important;
}

.drawer-btn-login {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: #5865F2 !important;
  color: #fff !important;
  border: none !important;
  padding: 5px 10px !important;
  border-radius: 6px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.drawer-btn-login:hover {
  background: #4752c4 !important;
}

/* Nút quay lại menu trong các subview */
.btn-subview-back {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #94a3b8 !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  margin-bottom: 12px !important;
  width: fit-content !important;
}

.btn-subview-back:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}


/* ========================================================================= */
/* THEME TRẮNG ĐEN GRADIENT ĐỒNG BỘ 100% VỚI WEB */
/* ========================================================================= */
.admin-sidebar-drawer {
  background: rgba(10, 10, 14, 0.98) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 15px 0 50px rgba(0, 0, 0, 0.9) !important;
}

.admin-sidebar-drawer .sidebar-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.02) !important;
}

.sidebar-brand-title {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 60%, #94a3b8 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 900 !important;
}

.sidebar-brand-sub {
  color: #71717a !important;
}

/* Thẻ Active Trang Chủ: TRẮNG ĐEN GRADIENT CYBER BẠC */
.snav-item-btn.snav-active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
}

.snav-item-btn.snav-active .snav-icon-box {
  color: #ffffff !important;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6)) !important;
}

.snav-item-btn.snav-active .snav-label {
  color: #ffffff !important;
  font-weight: 800 !important;
}

/* Hover mờ kính cho các item */
.snav-item-btn:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.snav-icon-box.silver {
  color: #cbd5e1 !important;
}

.snav-badge-pill.dev {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05)) !important;
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

/* Footer người dùng trắng đen */
.sidebar-user-footer {
  background: #08080b !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.drawer-user-initial {
  background: linear-gradient(135deg, #27272a, #18181b) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

.drawer-btn-login {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%) !important;
  color: #000 !important;
  font-weight: 800 !important;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2) !important;
}


/* ===== NÚT HAMBURGER CỐ ĐỊNH GÓC TRÁI TRÊN CÙNG (TRANG CON) ===== */
.btn-fixed-sidebar-toggle {
  position: fixed !important;
  top: 14px !important;
  left: 14px !important;
  z-index: 10002 !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  background: rgba(14, 14, 20, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.05) !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}
.btn-fixed-sidebar-toggle:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  transform: scale(1.07) !important;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255,255,255,0.08) !important;
}
.btn-fixed-sidebar-toggle:active {
  transform: scale(0.95) !important;
}

/* PADDING CHO HEADER ĐỂ CHỪA CHỖ CHO NÚT HAMBURGER CỐ ĐỊNH GÓC TRÁI */
.navbar, .page-header-nav {
  padding-left: 56px !important;
}

/* Sidebar Category Section Titles */
.sidebar-section-title {
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  color: #64748b !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  margin: 14px 10px 6px !important;
}
