/** UIA CYBER CORE STYLESHEET BUNDLE v2.2.0 **/

/* ── MODULE: css/01-variables.css ── */
/**
 * ═══════════════════════════════════════════════════════════════
 * UIA CYBER PROFILE — MODULE 01: VARIABLES, TYPOGRAPHY & RESET
 * ═══════════════════════════════════════════════════════════════
 */

:root {
  /* Bảng màu Neon Cyberpunk */
  --cyan: #00f0ff;
  --cyan-dim: rgba(0, 240, 255, 0.15);
  --cyan-glow: rgba(0, 240, 255, 0.35);
  --cyan-text: #00f0ff;
  --neon-glow: 0 0 16px rgba(0, 240, 255, 0.45);

  --violet: #bc13fe;
  --violet-dim: rgba(188, 19, 254, 0.15);
  --violet-glow: rgba(188, 19, 254, 0.4);

  --green: #00ff66;
  --green-dim: rgba(0, 255, 102, 0.15);
  --green-glow: rgba(0, 255, 102, 0.4);

  --red: #ff3b4e;
  --red-dim: rgba(255, 59, 78, 0.15);
  --red-glow: rgba(255, 59, 78, 0.4);

  --amber: #ffb300;
  --amber-dim: rgba(255, 179, 0, 0.15);

  /* Bảng màu Carbon Nền & Bề mặt */
  --carbon-bg: #07090e;
  --carbon-surface: #0c0f17;
  --carbon-panel: #111520;
  --carbon-card: #151a28;
  --carbon-line: #1c2336;
  --carbon-line-bright: #28334e;
  --carbon-void: #05070a;

  /* Bảng màu Chữ */
  --white: #edf2f7;
  --white-dim: #7987a1;
  --white-subtle: #414d66;

  /* Kích thước & Bố cục */
  --sidebar-w: 72px;
  --header-h: 58px;

  /* Hiệu ứng chuyển động */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-fluid: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset chuẩn Cyberpunk */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: 'Exo 2', sans-serif;
  background-color: var(--carbon-bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  background-image: 
    radial-gradient(ellipse 80% 80% at 50% -20%, rgba(0, 240, 255, 0.06), transparent),
    radial-gradient(ellipse 60% 60% at 100% 100%, rgba(188, 19, 254, 0.04), transparent),
    linear-gradient(rgba(28, 35, 54, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 35, 54, 0.18) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

/* Cho phép bôi đen & tương tác văn bản trong các trường nhập liệu */
input, textarea, [contenteditable="true"], .console-real-input, .auth-pin-input, .cyber-input {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

img {
  -webkit-user-drag: none;
  pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--carbon-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--carbon-line-bright);
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

/* Typography Classes */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}

code, pre, .mono {
  font-family: 'JetBrains Mono', monospace;
}


/* ── MODULE: css/02-layout.css ── */
/**
 * ═══════════════════════════════════════════════════════════════
 * UIA CYBER PROFILE — MODULE 02: LAYOUT, HUD HEADER & SIDEBAR
 * ═══════════════════════════════════════════════════════════════
 */

/* ── SIDEBAR DỌC ── */
.sidebar,
.cyber-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-w);
  background: var(--carbon-surface);
  border-right: 1px solid var(--carbon-line);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0 12px;
  z-index: 1000;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.45);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-bottom: 20px;
}

.monogram,
.brand-monogram {
  width: 44px;
  height: 44px;
  background: var(--carbon-void);
  border: 1px solid var(--cyan);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--cyan);
  box-shadow: 0 0 14px var(--cyan-dim);
  text-decoration: none;
  transition: all 0.3s var(--ease-expo);
}

.monogram:hover,
.brand-monogram:hover {
  background: var(--cyan);
  color: var(--carbon-bg);
  box-shadow: 0 0 22px var(--cyan-glow);
  transform: translateY(-1px);
}

.sidebar-icons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding: 0 8px;
  flex: 1;
}

.sidebar-icon {
  width: 100%;
  height: 52px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--white-dim);
  text-decoration: none;
  transition: all 0.2s var(--ease-expo);
  position: relative;
  padding: 4px 2px;
}

.sidebar-icon svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  transition: transform 0.2s ease, stroke 0.2s ease;
}

.sidebar-icon-label {
  font-size: 8.5px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  letter-spacing: 0.2px;
  white-space: nowrap;
  line-height: 1;
  opacity: 0.75;
  transition: all 0.2s ease;
}

.sidebar-icon:hover {
  color: #fff;
  background: rgba(0, 240, 255, 0.06);
  border-color: rgba(0, 240, 255, 0.25);
}

.sidebar-icon:hover svg {
  stroke: var(--cyan);
  transform: translateY(-1px);
}

.sidebar-icon:hover .sidebar-icon-label {
  color: var(--cyan);
  opacity: 1;
}

.sidebar-icon.active {
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--cyan);
  box-shadow: 0 0 14px var(--cyan-dim), inset 0 0 8px rgba(0, 240, 255, 0.05);
}

.sidebar-icon.active svg {
  stroke: var(--cyan);
  filter: drop-shadow(0 0 4px var(--cyan));
}

.sidebar-icon.active .sidebar-icon-label {
  color: #fff;
  opacity: 1;
  font-weight: 700;
  text-shadow: 0 0 6px var(--cyan);
}

.sidebar-icon.active::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 24px;
  background: var(--cyan);
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 10px var(--cyan);
}

.sidebar-status {
  padding: 10px 4px 4px;
  text-align: center;
  font-size: 8.5px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--white-dim);
  border-top: 1px solid var(--carbon-line);
  width: 100%;
}

.sidebar-status-label {
  font-size: 7.5px;
  color: var(--white-subtle);
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.sidebar-status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
  margin-right: 3px;
}

.sidebar-status-text {
  font-weight: 700;
  color: var(--green);
  font-size: 8.5px;
}

.sidebar-status-uptime {
  font-size: 7.5px;
  color: var(--white-subtle);
  margin-top: 3px;
}

/* ── HUD HEADER COCKPIT ── */
.main-stage {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  position: relative;
}

.hud-header {
  height: var(--header-h);
  background: rgba(12, 15, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--carbon-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 900;
}

.hud-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hud-title {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.neon-badge {
  font-size: 9px;
  padding: 2px 6px;
  background: var(--cyan-dim);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  border-radius: 2px;
  font-family: 'JetBrains Mono', monospace;
}

.hud-breadcrumb {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--white-dim);
}

.hud-breadcrumb span {
  color: var(--cyan);
}

.hud-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hud-stat-group {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line);
  padding: 6px 14px;
  border-radius: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}

.hud-stat {
  color: var(--white-dim);
}

.hud-stat .val {
  color: var(--cyan);
  font-weight: 600;
  margin-left: 4px;
}

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

.hud-divider {
  width: 1px;
  height: 12px;
  background: var(--carbon-line-bright);
}

.btn-vault-trigger {
  background: var(--carbon-void);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  padding: 7px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 0 10px var(--cyan-dim);
}

.btn-vault-trigger:hover {
  background: var(--cyan);
  color: var(--carbon-bg);
  box-shadow: 0 0 20px var(--cyan-glow);
}

.btn-vault-trigger.authenticated {
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 10px var(--green-dim);
}

.btn-vault-trigger.authenticated:hover {
  background: var(--green);
  color: #000;
}

.shortcut-hint {
  font-size: 9px;
  color: var(--white-dim);
  opacity: 0.7;
}

/* ── MOBILE MENU & OMNI-RESPONSIVE ADAPTATION ── */
.hamburger {
  display: none;
  position: fixed;
  top: 8px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: rgba(13, 20, 36, 0.9);
  border: 1px solid var(--cyan-dim);
  border-radius: 6px;
  z-index: 1100;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.6);
  touch-action: manipulation;
  transition: all 0.25s ease;
}

.hamburger:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--cyan);
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--cyan);
  border-radius: 1px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scale(0.2);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 9, 14, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1050;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  overflow-y: auto;
}

.mobile-nav.open {
  display: flex;
  animation: mobileNavFadeIn 0.25s ease forwards;
}

@keyframes mobileNavFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.mobile-nav a {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #e2e8f0;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  width: 100%;
  max-width: 280px;
  text-align: center;
  box-sizing: border-box;
}

.mobile-nav a:hover,
.mobile-nav a:active {
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--cyan-dim);
  box-shadow: 0 0 16px var(--cyan-dim);
}

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

/* ── TABLET & IPAD BREAKPOINT (768px - 1024px) ── */
@media (max-width: 1024px) {
  .hud-stat-group .hud-stat:nth-child(n+5) {
    display: none;
  }
}

@media (max-width: 900px) {
  .hud-stat-group {
    display: none;
  }
}

@media (max-width: 768px) {
  .sidebar,
  .cyber-sidebar {
    display: none;
  }

  .main-stage {
    margin-left: 0;
    width: 100%;
    max-width: 100vw;
    padding-bottom: 40px;
  }

  .hamburger {
    display: flex;
  }

  .hud-header {
    padding: 0 54px 0 12px;
    height: 52px;
  }

  .hud-breadcrumb {
    display: none;
  }

  .btn-vault-trigger span:not(:first-child) {
    font-size: 11px;
  }

  .shortcut-hint {
    display: none !important;
  }
}

/* ── COMPACT MOBILE (PHONE <= 576px) ── */
@media (max-width: 576px) {
  .hud-header {
    padding: 0 50px 0 10px;
    height: 48px;
  }

  .hud-title {
    font-size: 12px;
  }

  .neon-badge {
    font-size: 8.5px;
    padding: 1px 4px;
  }

  .cyber-ai-chat-window {
    bottom: 74px;
    right: 8px;
    left: 8px;
    width: auto;
    max-width: none;
    height: calc(100vh - 84px);
    border-radius: 10px;
  }

  .cyber-ai-toggle-btn {
    bottom: 14px;
    right: 14px;
    width: 46px;
    height: 46px;
  }

  .btn-vault-trigger span:nth-child(2) {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   CYBER ENHANCEMENTS: CANVAS PARTICLES, AUDIO & AI WIDGET
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. CANVAS HẠT NỀN ── */
.cyber-particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

/* ── 2. NÚT AUDIO FX TRÊN HUD TOPBAR ── */
.hud-audio-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--cyan-dim);
  color: var(--cyan);
  padding: 4px 10px;
  border-radius: 4px;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.hud-audio-btn:hover {
  background: rgba(0, 240, 255, 0.2);
  border-color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-dim);
  transform: translateY(-1px);
}

.hud-audio-btn.is-muted {
  background: rgba(255, 0, 85, 0.08);
  border-color: rgba(255, 0, 85, 0.4);
  color: #ff5588;
}

.hud-audio-btn.is-muted:hover {
  background: rgba(255, 0, 85, 0.2);
  border-color: #ff0055;
  box-shadow: 0 0 12px rgba(255, 0, 85, 0.3);
}

/* ── 3. VIRTUAL DUY AI HOLOGRAM WIDGET ── */
.cyber-ai-widget-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1040;
}

.cyber-ai-toggle-btn {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(7, 9, 14, 0.95), rgba(13, 20, 36, 0.95));
  border: 2px solid var(--cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4), inset 0 0 12px rgba(0, 240, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cyber-ai-toggle-btn:hover {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.7), inset 0 0 16px rgba(0, 255, 102, 0.4);
  border-color: var(--green);
}

.ai-pulse-ring {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 1.5px solid var(--cyan);
  border-radius: 50%;
  opacity: 0.6;
  animation: aiRingPulse 2.5s infinite;
  pointer-events: none;
}

@keyframes aiRingPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.2);
    opacity: 0;
  }

  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

.ai-avatar-core {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-bot-icon {
  font-size: 26px;
  filter: drop-shadow(0 0 6px var(--cyan));
}

.ai-online-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: var(--green);
  border: 2px solid var(--carbon-void);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
}

.ai-btn-tooltip {
  position: absolute;
  right: 70px;
  background: rgba(13, 20, 36, 0.95);
  border: 1px solid var(--cyan-dim);
  backdrop-filter: blur(12px);
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.cyber-ai-toggle-btn:hover .ai-btn-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.tooltip-badge {
  background: var(--cyan);
  color: #000;
  font-weight: 800;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 3px;
  font-family: 'Chakra Petch', sans-serif;
}

.tooltip-text {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Chakra Petch', sans-serif;
}

/* ── KHUNG CHAT AI HOLOGRAM ── */
.cyber-ai-chat-window {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 120px);
  background: rgba(10, 14, 24, 0.96);
  border: 1px solid var(--cyan);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.25);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1045;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cyber-ai-chat-window.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.ai-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(0, 240, 255, 0.08);
  border-bottom: 1px solid var(--carbon-line);
}

.ai-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-header-avatar {
  font-size: 22px;
  background: rgba(0, 240, 255, 0.15);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cyan-dim);
}

.ai-header-title {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-status-pill {
  background: rgba(0, 255, 102, 0.15);
  color: var(--green);
  border: 1px solid rgba(0, 255, 102, 0.4);
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 3px;
}

.ai-header-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.ai-header-actions {
  display: flex;
  gap: 6px;
}

.ai-header-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.2s;
}

.ai-header-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: var(--carbon-line);
}

/* Chat Messages */
.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-msg {
  display: flex;
  flex-direction: column;
  max-width: 86%;
}

.ai-msg-bot {
  align-self: flex-start;
}

.ai-msg-user {
  align-self: flex-end;
}

.ai-msg-bubble {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.45;
  word-break: break-word;
}

.ai-msg-bot .ai-msg-bubble {
  background: rgba(18, 26, 46, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: #e2e8f0;
  border-bottom-left-radius: 2px;
}

.ai-msg-user .ai-msg-bubble {
  background: linear-gradient(135deg, rgba(0, 150, 255, 0.8), rgba(0, 240, 255, 0.8));
  color: #000;
  font-weight: 600;
  border-bottom-right-radius: 2px;
}

.ai-msg-time {
  font-size: 9.5px;
  color: var(--text-muted);
  margin-top: 3px;
  padding: 0 4px;
}

.ai-msg-user .ai-msg-time {
  text-align: right;
}

.ai-link {
  color: var(--cyan);
  text-decoration: underline;
}

/* Typing indicator */
.ai-msg-typing .ai-msg-bubble {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: typingBlink 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBlink {

  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Quick chips */
.ai-quick-chips {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  overflow-x: auto;
  border-top: 1px solid var(--carbon-line);
  background: rgba(7, 9, 14, 0.6);
}

.ai-quick-chips::-webkit-scrollbar {
  height: 3px;
}

.ai-chip-btn {
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--cyan-dim);
  color: var(--cyan);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

.ai-chip-btn:hover {
  background: rgba(0, 240, 255, 0.2);
  border-color: var(--cyan);
  color: #fff;
  transform: translateY(-1px);
}

/* Chat Input Bar */
.ai-chat-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(10, 14, 24, 0.98);
  border-top: 1px solid var(--carbon-line);
}

.ai-chat-input {
  flex: 1;
  background: rgba(18, 26, 46, 0.9);
  border: 1px solid var(--carbon-line);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  outline: none;
  transition: border-color 0.2s;
}

.ai-chat-input:focus {
  border-color: var(--cyan);
}

.ai-send-btn {
  background: var(--cyan);
  border: none;
  color: #000;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: all 0.2s;
}

.ai-send-btn:hover {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

/* ── 4. MINIGAME CIPHER BREAKER MODAL ── */
.cyber-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 7, 12, 0.85);
  backdrop-filter: blur(14px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.cyber-modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.game-modal-content {
  background: rgba(11, 16, 28, 0.98);
  border: 1.5px solid var(--cyan);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 240, 255, 0.35);
  width: 440px;
  max-width: 100%;
  overflow: hidden;
}

.game-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(0, 240, 255, 0.1);
  border-bottom: 1px solid var(--cyan-dim);
}

.game-title {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--cyan);
  letter-spacing: 0.5px;
}

.game-body {
  padding: 20px;
}

.game-hud-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.timer-countdown {
  color: var(--cyan);
  font-size: 14px;
}

.game-target-box,
.game-input-box {
  background: rgba(18, 26, 46, 0.8);
  border: 1px solid var(--carbon-line);
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 12px;
  text-align: center;
}

.target-label,
.input-label {
  font-size: 10px;
  color: var(--text-muted);
  font-family: 'Chakra Petch', sans-serif;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.target-hash-display {
  font-family: 'Courier New', monospace;
  font-size: 24px;
  font-weight: 900;
  color: var(--green);
  letter-spacing: 6px;
  text-shadow: 0 0 10px var(--green);
}

.game-input-display {
  font-family: 'Courier New', monospace;
  font-size: 24px;
  font-weight: 900;
  color: var(--cyan);
  letter-spacing: 6px;
  text-shadow: 0 0 10px var(--cyan);
}

.hex-keypad {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin: 16px 0 12px;
}

.hex-key-btn {
  background: rgba(22, 32, 54, 0.9);
  border: 1px solid var(--carbon-line);
  color: #fff;
  font-family: 'Chakra Petch', monospace;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 0;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.hex-key-btn:hover {
  background: var(--cyan);
  color: #000;
  border-color: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  transform: translateY(-1px);
}

.hex-key-wide {
  grid-column: span 3;
}

.hex-key-submit {
  background: linear-gradient(135deg, #00f0ff, #00ff66);
  color: #000;
  border-color: transparent;
}

.hex-key-submit:hover {
  background: linear-gradient(135deg, #00ff66, #00f0ff);
  box-shadow: 0 0 15px var(--green);
}

.game-msg-box {
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
  min-height: 38px;
}

.game-win-banner {
  color: #ffb300;
  font-size: 12.5px;
  text-shadow: 0 0 8px rgba(255, 179, 0, 0.5);
}

/* ═══════════════════════════════════════════════════════════════
   5. WINDOWS UPDATE TROLL OVERLAY (FULLSCREEN EASTER EGG)
   ═══════════════════════════════════════════════════════════════ */
.win-update-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #0078d7;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff;
  z-index: 999999999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: none;
  user-select: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, background 0.3s ease;
}

.win-update-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.win-update-overlay.reboot-flash {
  background: #000000 !important;
}

.win-update-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 680px;
  padding: 24px;
}

/* Windows 11 Circling Dot Ring Spinner */
.win-spinner {
  position: relative;
  width: 60px;
  height: 60px;
  margin-bottom: 30px;
}

.win-dot {
  position: absolute;
  width: 60px;
  height: 60px;
  opacity: 0;
  transform: rotate(225deg);
  animation: winOrbit 5.5s infinite;
}

.win-dot:after {
  content: '';
  position: absolute;
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #ffffff;
}

.win-dot:nth-child(2) { animation-delay: 240ms; }
.win-dot:nth-child(3) { animation-delay: 480ms; }
.win-dot:nth-child(4) { animation-delay: 720ms; }
.win-dot:nth-child(5) { animation-delay: 960ms; }
.win-dot:nth-child(6) { animation-delay: 1200ms; }

@keyframes winOrbit {
  0% { transform: rotate(180deg); opacity: 1; animation-timing-function: ease-out; }
  7% { transform: rotate(300deg); animation-timing-function: linear; }
  30% { transform: rotate(410deg); animation-timing-function: ease-in-out; }
  39% { transform: rotate(645deg); animation-timing-function: linear; }
  70% { transform: rotate(770deg); opacity: 1; animation-timing-function: ease-out; }
  75% { transform: rotate(900deg); opacity: 0; }
  100% { transform: rotate(900deg); opacity: 0; }
}

.win-update-title {
  font-size: 23px;
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.4;
}

.win-update-sub {
  font-size: 15px;
  font-weight: 300;
  opacity: 0.92;
  margin-bottom: 6px;
  line-height: 1.5;
}

.win-update-sub2 {
  font-size: 13px;
  font-weight: 300;
  opacity: 0.7;
  margin-bottom: 24px;
}

.win-secret-hint {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  opacity: 0.35;
  letter-spacing: 0.5px;
  transition: opacity 0.3s;
}

/* ── MODULE: css/03-public-pages.css ── */
/**
 * ═══════════════════════════════════════════════════════════════
 * UIA CYBER PROFILE — MODULE 03: PUBLIC PROFILE PAGES & SECTIONS
 * ═══════════════════════════════════════════════════════════════
 */

/* ── MULTI-MODE SPA ROUTER (OVERVIEW VS DEDICATED) ── */
.page-return-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 24px 36px 8px;
  margin-bottom: 8px;
}

.btn-return-overview {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--carbon-void);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  padding: 9px 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 0 12px var(--cyan-dim);
}

.btn-return-overview:hover {
  background: var(--cyan);
  color: #000;
  box-shadow: 0 0 24px var(--cyan-glow);
}

.page-status-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--white-dim);
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line);
  padding: 6px 14px;
}

/* Overview Mode: Show Hero and all sections */
#public-profile.overview-page-mode .hero-core {
  display: block;
}

#public-profile.overview-page-mode .profile-page-section {
  display: block;
}

#public-profile.overview-page-mode .page-return-bar {
  display: none !important;
}

/* Dedicated Page Mode: Hide Hero and non-active sections, show only active-page */
#public-profile.dedicated-page-mode .hero-core {
  display: none;
}

#public-profile.dedicated-page-mode .profile-page-section {
  display: none;
}

#public-profile.dedicated-page-mode .profile-page-section.active-page {
  display: block;
  min-height: calc(100vh - var(--header-h) - 40px);
  animation: pageFadeIn 0.35s var(--ease-expo) forwards;
}

#public-profile.dedicated-page-mode .profile-page-section.active-page .page-return-bar {
  display: flex;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── COMMON SECTION HEADERS ── */
.section-header-block {
  padding: 48px 36px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--carbon-line);
  margin-bottom: 28px;
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.section-title {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.section-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--white-dim);
  text-align: right;
}

/* ── SECTION 1: HERO BANNER (CĂN GIỮA HOÀN HẢO) ── */
.hero-core {
  padding: 72px 36px 64px;
  position: relative;
  border-bottom: 1px solid var(--carbon-line);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 520px;
}

.hero-grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(to right, rgba(0, 240, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hud-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--carbon-panel);
  border: 1px solid var(--carbon-line-bright);
  padding: 6px 16px;
  border-radius: 2px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--white-dim);
  margin: 0 auto 24px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
}

.hud-status-badge .sep {
  color: var(--carbon-line-bright);
}

.hero-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--cyan);
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
  text-align: center;
}

.hero-glow-title {
  font-size: 64px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2.5px;
  line-height: 1.15;
  text-shadow: 0 0 24px var(--cyan-glow), 0 0 50px rgba(0, 240, 255, 0.25);
  margin-bottom: 20px;
  text-align: center;
}

.hero-glow-title span {
  color: var(--cyan);
  text-shadow: 0 0 24px var(--cyan);
}

.hero-role-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 19px;
  color: var(--green);
  background: var(--carbon-surface);
  border: 1px solid var(--carbon-line-bright);
  border-left: 4px solid var(--green);
  padding: 10px 24px;
  margin: 0 auto 24px;
  box-shadow: 0 0 20px var(--green-dim);
  border-radius: 4px;
}

.hero-role-wrapper .prompt-symbol {
  color: var(--cyan);
}

.cursor-blink {
  display: inline-block;
  width: 8px;
  height: 20px;
  background: var(--green);
  animation: blink 1s infinite;
}

@keyframes blink {

  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.hero-sub {
  font-size: 16px;
  color: var(--white-dim);
  max-width: 760px;
  margin: 0 auto 32px;
  line-height: 1.75;
  text-align: center;
}

.hero-sub strong {
  color: #fff;
}

.hero-cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 900px;
}

.hero-btn-synced {
  height: 44px;
  padding: 0 22px;
  background: rgba(13, 20, 36, 0.82) !important;
  color: #e2e8f0 !important;
  border: 1px solid rgba(0, 240, 255, 0.28) !important;
  backdrop-filter: blur(12px);
  font-family: 'Chakra Petch', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-btn-synced:hover {
  background: rgba(0, 240, 255, 0.16) !important;
  color: var(--cyan) !important;
  border-color: var(--cyan) !important;
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.5) !important;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--cyan);
  color: var(--carbon-bg);
  border: 1px solid var(--cyan);
  padding: 11px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 0 16px var(--cyan-glow);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--carbon-surface);
  color: var(--white);
  border: 1px solid var(--carbon-line-bright);
  padding: 11px 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
  box-shadow: 0 0 16px var(--cyan-dim);
}

.btn-ghost-violet:hover {
  border-color: var(--violet);
  color: var(--violet);
  background: var(--violet-dim);
  box-shadow: 0 0 16px var(--violet-dim);
}

/* ── TECH BRACKETS ── */
.tech-bracket {
  position: relative;
  background: var(--carbon-surface);
  border: 1px solid var(--carbon-line-bright);
}

.tech-bracket::before,
.tech-bracket::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  pointer-events: none;
  z-index: 1;
}

.tech-bracket::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--cyan);
  border-left: 2px solid var(--cyan);
}

.tech-bracket::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
}

.bracket-violet::before,
.bracket-violet::after {
  border-color: var(--violet);
}

.bracket-green::before,
.bracket-green::after {
  border-color: var(--green);
}

/* ── SECTION 2: SKILLS MATRIX ── */
.skills-matrix-zone {
  padding: 0 36px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.skill-group-card {
  padding: 26px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.skill-group-card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: 0 0 24px var(--cyan-dim);
}

.accent-violet:hover {
  border-color: var(--violet);
  box-shadow: 0 0 24px var(--violet-dim);
}

.accent-green:hover {
  border-color: var(--green);
  box-shadow: 0 0 24px var(--green-dim);
}

.skill-group-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--carbon-line);
}

.skill-group-icon {
  width: 42px;
  height: 42px;
  background: var(--carbon-panel);
  border: 1px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-dim);
}

.skill-group-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.accent-violet .skill-group-icon {
  border-color: var(--violet);
  color: var(--violet);
  box-shadow: 0 0 12px var(--violet-dim);
}

.accent-green .skill-group-icon {
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 12px var(--green-dim);
}

.skill-group-title {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.skill-group-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  color: var(--white-dim);
  margin-top: 2px;
}

.skill-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skill-item-info {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  margin-bottom: 6px;
}

.skill-item-name {
  color: var(--white);
  font-weight: 500;
}

.skill-item-level {
  color: var(--cyan);
  font-weight: 700;
}

.accent-violet .skill-item-level {
  color: var(--violet);
}

.accent-green .skill-item-level {
  color: var(--green);
}

.skill-meter-bg {
  height: 5px;
  background: var(--carbon-line);
  border-radius: 2px;
  overflow: hidden;
}

.skill-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-glow), var(--cyan));
  box-shadow: 0 0 10px var(--cyan);
  border-radius: 2px;
  transition: width 1s var(--ease-expo);
}

.accent-violet .skill-meter-fill {
  background: linear-gradient(90deg, var(--violet-glow), var(--violet));
  box-shadow: 0 0 10px var(--violet);
}

.accent-green .skill-meter-fill {
  background: linear-gradient(90deg, var(--green-glow), var(--green));
  box-shadow: 0 0 10px var(--green);
}

/* ── SECTION 3: PROJECTS GRID (5x5 MATRIX VIEW) ── */
.projects-grid-zone {
  padding: 0 32px 40px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s var(--ease-expo), border-color 0.3s ease, box-shadow 0.3s ease;
  min-height: 330px;
  background: rgba(10, 13, 18, 0.85);
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: 0 8px 32px var(--cyan-dim);
}

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

.project-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  padding: 2px 7px;
  background: var(--carbon-panel);
  border: 1px solid var(--carbon-line-bright);
  color: var(--white-dim);
  letter-spacing: 0.5px;
  border-radius: 2px;
}

.project-badge.flagship {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
  box-shadow: 0 0 8px var(--cyan-dim);
}

.project-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  color: var(--white-subtle);
}

.project-title {
  font-size: 15px;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.3;
  min-height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-desc {
  font-size: 12px;
  color: var(--white-dim);
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 16px;
  max-height: 62px;
  overflow: hidden;
}

.project-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px;
  padding: 2px 6px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.22);
  color: var(--cyan);
  border-radius: 2px;
  white-space: nowrap;
}

.project-actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
}

.project-link-btn {
  flex: 1;
  text-align: center;
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line-bright);
  color: var(--white);
  padding: 7px 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}

.project-link-btn:hover {
  background: var(--cyan);
  color: #000;
  border-color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-glow);
}

@media (max-width: 1500px) {
  .projects-grid-zone {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    padding: 0 20px 36px;
  }
}

@media (max-width: 1200px) {
  .projects-grid-zone {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 0 20px 32px;
  }
}

@media (max-width: 780px) {
  .projects-grid-zone {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 16px 28px;
  }
}

@media (max-width: 520px) {
  .projects-grid-zone {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 12px 24px;
  }
}

/* ── SECTION 4: CIRCUIT TIMELINE ── */
.experience-timeline-zone {
  padding: 0 36px 40px;
}

.circuit-timeline {
  position: relative;
  padding-left: 28px;
  border-left: 2px solid var(--cyan-dim);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.timeline-item {
  padding: 22px 26px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.timeline-item:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 24px var(--cyan-dim);
}

.timeline-node-dot {
  position: absolute;
  left: -35px;
  top: 24px;
  width: 12px;
  height: 12px;
  background: var(--carbon-bg);
  border: 2px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan);
}

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

.timeline-role {
  font-size: 17px;
  color: #fff;
  font-weight: 700;
}

.timeline-period {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid var(--cyan);
  padding: 3px 8px;
  border-radius: 2px;
}

.timeline-org {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--violet);
  margin-bottom: 12px;
  font-weight: 600;
}

.timeline-desc {
  font-size: 13.5px;
  color: var(--white-dim);
  line-height: 1.6;
}

/* ── SECTION 5: VAULT GATE ── */
.vault-gate-section {
  padding: 0 36px 40px;
}

.vault-gate-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  padding: 32px;
  background: var(--carbon-surface);
  border: 1px solid var(--carbon-line-bright);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.gate-info h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 14px;
}

.gate-info p {
  font-size: 14px;
  color: var(--white-dim);
  line-height: 1.7;
  margin-bottom: 24px;
}

.gate-storage-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.gate-spec-box {
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line-bright);
  padding: 16px;
}

.gate-spec-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--white-dim);
  margin-bottom: 4px;
}

.gate-spec-val {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.gate-auth-box {
  background: var(--carbon-void);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.gate-auth-header {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.5px;
  text-align: center;
}

/* ── SECTION 6: STANDALONE TERMINAL ── */
.standalone-terminal-zone {
  padding: 0 36px 40px;
}

.console-zone {
  background: #080b11;
  border: 1px solid var(--carbon-line-bright);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.console-bar {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  background: var(--carbon-void);
  border-bottom: 1px solid var(--carbon-line);
  gap: 8px;
}

.console-bar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.console-bar-dot.r {
  background: var(--red);
  box-shadow: 0 0 6px var(--red-dim);
}

.console-bar-dot.y {
  background: var(--amber);
  box-shadow: 0 0 6px var(--amber-dim);
}

.console-bar-dot.g {
  background: var(--green);
  box-shadow: 0 0 6px var(--green-dim);
}

.console-bar-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--white-dim);
  margin-left: 8px;
}

.console-output-window {
  padding: 20px;
  min-height: 180px;
  max-height: 280px;
  overflow-y: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.console-output-window .prompt {
  color: var(--cyan);
  font-weight: 700;
}

.console-output-window .path {
  color: var(--violet);
}

.console-output-window .flag {
  color: var(--amber);
}

.console-output-window .output {
  color: var(--white-dim);
}

.console-output-window .success {
  color: var(--green);
  font-weight: 700;
}

.console-output-window .error {
  color: var(--red);
  font-weight: 700;
}

.console-output-window .info {
  color: var(--cyan);
}

.console-output-window .comment {
  color: var(--white-subtle);
}

.console-input-row {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: var(--carbon-void);
  border-top: 1px solid var(--carbon-line);
  gap: 10px;
}

.console-real-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: #fff;
}

/* ── SECTION 7: CONTACT ZONE ── */
.standalone-contact-zone {
  padding: 0 36px 60px;
}

.contact-card-zone {
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

.contact-header h3 {
  font-size: 20px;
  color: #fff;
}

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

@keyframes pulseCyan {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
  }

  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(0, 240, 255, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
  }
}

.contact-intro {
  font-size: 14px;
  color: var(--white-dim);
  margin-bottom: 24px;
  line-height: 1.6;
}

.contact-uplink-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cyber-input {
  width: 100%;
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line-bright);
  color: #fff;
  padding: 10px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  outline: none;
  transition: all 0.25s ease;
}

.cyber-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 14px var(--cyan-dim);
  background: var(--carbon-surface);
}

.social-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  border-top: 1px solid var(--carbon-line);
  padding-top: 24px;
}

.social-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line-bright);
  color: var(--white);
  padding: 10px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.social-link-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.social-link-btn:hover {
  background: var(--cyan);
  color: #000;
  border-color: var(--cyan);
  box-shadow: 0 0 16px var(--cyan-glow);
}

/* ═══════════════════════════════════════════════════════════════
   STYLE NÂNG CAO CHO CÁC TRANG CHUYÊN BIỆT & GIỚI THIỆU BẢN THÂN
   ═══════════════════════════════════════════════════════════════ */

/* ── 0. ABOUT: DOSSIER & IDENTITY ── */
.about-dossier-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  padding: 0 36px 36px;
}

.about-identity-card {
  background: var(--carbon-panel);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}

.identity-avatar-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.identity-monogram-glow {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--carbon-void);
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--cyan);
  box-shadow: 0 0 20px var(--cyan-glow);
  text-shadow: 0 0 10px var(--cyan);
}

.identity-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--green);
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line-bright);
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 700;
}

.identity-info-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.identity-name {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.identity-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--cyan);
  line-height: 1.4;
}

.identity-meta-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line);
  padding: 14px;
  border-radius: 4px;
}

.meta-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  color: var(--white-dim);
  font-weight: 700;
}

.meta-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--white);
  line-height: 1.4;
}

.about-content-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-story-card {
  background: var(--carbon-panel);
  padding: 24px;
}

.story-header-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--cyan);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.about-story-text {
  font-size: 13.5px;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 18px;
}

.about-philosophy-quote {
  background: var(--carbon-void);
  border-left: 3px solid var(--violet);
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: 0 4px 4px 0;
}

.quote-icon {
  font-size: 32px;
  line-height: 1;
  color: var(--violet);
  font-family: serif;
}

.quote-text {
  font-size: 13px;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.pillar-card {
  background: var(--carbon-panel);
  padding: 20px;
  border-radius: 4px;
  transition: all 0.25s ease;
}

.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 16px var(--cyan-dim);
}

.pillar-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.pillar-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.pillar-desc {
  font-size: 11.5px;
  color: var(--white-dim);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .about-dossier-grid {
    grid-template-columns: 1fr;
    padding: 0 20px 24px;
  }
}

/* ── 0.1. ABOUT: SIGNATURE ARSENAL MATRIX ── */
.about-arsenal-section {
  padding: 0 36px 36px;
}

.arsenal-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--carbon-line);
  padding-bottom: 12px;
}

.arsenal-header-left .sub-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 1.5px;
}

.arsenal-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.arsenal-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--green);
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid var(--green-dim);
  padding: 4px 10px;
  border-radius: 2px;
}

.arsenal-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.arsenal-card {
  background: var(--carbon-panel);
  padding: 20px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.arsenal-card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: 0 0 16px var(--cyan-dim);
}

.arsenal-card.bracket-green:hover {
  border-color: var(--green);
  box-shadow: 0 0 16px var(--green-dim);
}

.arsenal-card.bracket-violet:hover {
  border-color: var(--violet);
  box-shadow: 0 0 16px var(--violet-dim);
}

.arsenal-card.bracket-amber:hover {
  border-color: var(--amber);
  box-shadow: 0 0 16px var(--amber-dim);
}

.arsenal-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.arsenal-icon {
  font-size: 20px;
}

.arsenal-group-title {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  margin: 0;
}

.arsenal-group-desc {
  font-size: 11.5px;
  color: var(--white-dim);
  margin-bottom: 14px;
  line-height: 1.45;
  flex: 1;
}

.arsenal-tags-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.arsenal-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--white-dim);
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line);
  padding: 6px 10px;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.arsenal-chip:hover {
  border-color: var(--cyan);
  color: #fff;
}

/* ── 0.2. ABOUT: WORKSTATION BLUEPRINT & COMBAT READINESS ── */
.about-workstation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 0 36px 36px;
}

.workstation-blueprint-card,
.combat-readiness-card {
  background: var(--carbon-panel);
  padding: 24px;
  border-radius: 4px;
}

.blueprint-header {
  margin-bottom: 18px;
  border-bottom: 1px solid var(--carbon-line);
  padding-bottom: 10px;
}

.blueprint-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--cyan);
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.blueprint-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  margin: 0;
}

.rig-specs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rig-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line);
  border-radius: 2px;
  transition: border-color 0.2s ease;
}

.rig-spec-item:hover {
  border-color: var(--cyan);
}

.rig-icon {
  font-size: 20px;
  line-height: 1.2;
}

.rig-info {
  flex: 1;
}

.rig-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  color: var(--cyan);
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.rig-val {
  font-size: 12px;
  color: #fff;
  line-height: 1.45;
}

/* ── COMBAT READINESS PROGRESS BARS ── */
.readiness-bars-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.readiness-bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bar-top {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
}

.bar-label {
  color: var(--white-dim);
}

.bar-val {
  font-weight: 700;
}

.bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 3px;
}

.ethos-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ethos-pill {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line);
  padding: 8px 10px;
  border-radius: 2px;
  font-size: 11px;
  color: var(--white-dim);
  line-height: 1.4;
}

.ethos-pill strong {
  color: #fff;
}

.ethos-icon {
  font-size: 14px;
  line-height: 1;
}

/* ── 0.3. ABOUT: QUICK ACTION BANNER ── */
.about-action-banner {
  margin: 0 36px 36px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.05) 0%, rgba(188, 19, 254, 0.05) 100%), var(--carbon-panel);
  padding: 22px 28px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.action-banner-text h4 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.action-banner-text p {
  font-size: 13px;
  color: var(--white-dim);
  margin: 0;
}

.action-banner-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

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

  .about-workstation-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {

  .about-arsenal-section,
  .about-workstation-grid,
  .about-action-banner {
    padding-left: 20px;
    padding-right: 20px;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .arsenal-cards-grid {
    grid-template-columns: 1fr;
  }

  .about-pillars-grid {
    grid-template-columns: 1fr;
  }

  .ethos-mini-grid {
    grid-template-columns: 1fr;
  }

  .about-action-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .action-banner-btns {
    width: 100%;
    flex-direction: column;
  }

  .action-banner-btns a {
    width: 100%;
    justify-content: center;
  }
}

/* ── 1. SKILLS: RADAR & BỘ LỌC ── */
.skills-filter-row {
  display: flex;
  gap: 10px;
  padding: 0 36px 20px;
  flex-wrap: wrap;
}

.skill-filter-btn {
  background: var(--carbon-panel);
  border: 1px solid var(--carbon-line-bright);
  color: var(--white-dim);
  padding: 8px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.skill-filter-btn:hover {
  color: #fff;
  border-color: var(--cyan);
}

.skill-filter-btn.active {
  background: var(--cyan);
  color: #000;
  border-color: var(--cyan);
  font-weight: 700;
  box-shadow: 0 0 12px var(--cyan-glow);
}

.skills-radar-panel {
  margin: 0 36px 32px;
  padding: 24px 28px;
  background: var(--carbon-panel);
}

.skills-radar-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center;
}

.radar-chart-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.radar-header-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--cyan);
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-align: center;
}

.radar-svg-chart {
  max-width: 320px;
  width: 100%;
  filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.25));
}

.skills-benchmark-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benchmark-stat-card {
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line-bright);
  border-left: 3px solid var(--cyan);
  padding: 14px 18px;
  border-radius: 0 4px 4px 0;
}

.stat-num {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
}

.stat-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.stat-desc {
  font-size: 11.5px;
  color: var(--white-dim);
  margin-top: 2px;
  line-height: 1.4;
}

.skills-cert-zone {
  margin: 32px 36px 0;
  padding: 24px 28px;
  background: var(--carbon-panel);
}

.skills-cert-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--carbon-line);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.skills-cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.cert-card {
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line-bright);
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  border-radius: 4px;
  transition: all 0.25s ease;
}

.cert-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 0 16px var(--cyan-dim);
}

.cert-icon {
  font-size: 24px;
  background: var(--carbon-surface);
  border: 1px solid var(--carbon-line-bright);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.cert-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.cert-issuer {
  font-size: 11px;
  color: var(--white-dim);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 2px;
}

.cert-badge {
  display: inline-block;
  font-size: 9px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  padding: 2px 8px;
  margin-top: 6px;
  border-radius: 2px;
  font-weight: 700;
}

/* ── 2. PROJECTS: SEARCH, TAGS & TABLE SPEC ── */
.projects-control-bar {
  margin: 0 36px 24px;
  padding: 16px 20px;
  background: var(--carbon-panel);
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.projects-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 260px;
}

.projects-filter-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.proj-tag-btn {
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line-bright);
  color: var(--white-dim);
  padding: 6px 12px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.proj-tag-btn:hover {
  color: #fff;
  border-color: var(--cyan);
}

.proj-tag-btn.active {
  background: var(--cyan);
  color: #000;
  border-color: var(--cyan);
  font-weight: 700;
  box-shadow: 0 0 10px var(--cyan-glow);
}

.projects-view-toggle {
  display: flex;
  gap: 6px;
}

.view-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line-bright);
  color: var(--white-dim);
  padding: 6px 12px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  cursor: pointer;
  border-radius: 3px;
}

.view-toggle-btn.active {
  color: var(--cyan);
  border-color: var(--cyan);
  background: var(--carbon-panel);
}

.projects-table-zone {
  margin: 0 36px 36px;
  padding: 20px;
  background: var(--carbon-panel);
}

.cyber-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'JetBrains Mono', monospace;
}

.cyber-spec-table th {
  text-align: left;
  padding: 12px 14px;
  font-size: 11px;
  color: var(--cyan);
  border-bottom: 1px solid var(--carbon-line-bright);
  background: var(--carbon-void);
}

.cyber-spec-table td {
  padding: 14px;
  font-size: 12px;
  color: var(--white);
  border-bottom: 1px solid var(--carbon-line);
}

.cyber-spec-table tr:hover td {
  background: var(--carbon-surface);
}

/* ── 3. EXPERIENCE: METRICS BAR & BỘ LỌC ── */
.career-metrics-row {
  margin: 0 36px 24px;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  background: var(--carbon-panel);
}

.career-metric-card {
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line-bright);
  padding: 16px;
  text-align: center;
  border-radius: 4px;
}

.metric-val {
  font-size: 32px;
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1.1;
}

.metric-title {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: #fff;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.metric-sub {
  font-size: 11px;
  color: var(--white-dim);
  margin-top: 4px;
}

.timeline-filter-row {
  display: flex;
  gap: 10px;
  padding: 0 36px 20px;
  flex-wrap: wrap;
}

.timeline-filter-btn {
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line-bright);
  color: var(--white-dim);
  padding: 7px 14px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.timeline-filter-btn:hover {
  color: #fff;
  border-color: var(--cyan);
}

.timeline-filter-btn.active {
  background: var(--cyan);
  color: #000;
  border-color: var(--cyan);
  font-weight: 700;
  box-shadow: 0 0 10px var(--cyan-glow);
}

/* ── 4. VAULT: DONUT STORAGE & DOWNLOADS ── */
.vault-analytics-panel {
  margin: 24px 36px 0;
  padding: 24px;
  background: var(--carbon-panel);
}

.storage-bar-track {
  height: 18px;
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line-bright);
  display: flex;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 14px;
}

.storage-bar-seg {
  height: 100%;
  transition: width 0.4s ease;
}

.storage-legend-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--white-dim);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.public-downloads-panel {
  margin: 24px 36px 0;
  padding: 24px;
  background: var(--carbon-panel);
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.download-item-card {
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line-bright);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: 4px;
  transition: all 0.25s ease;
}

.download-item-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.download-item-icon {
  font-size: 24px;
}

.download-item-info {
  flex: 1;
}

.download-item-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.download-item-meta {
  font-size: 11px;
  color: var(--white-dim);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 2px;
}

/* ── 5. TERMINAL: QUICK CMDS & MATRIX CANVAS ── */
.terminal-quick-cmds-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 36px 14px;
  flex-wrap: wrap;
}

.quick-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--cyan);
  font-weight: 700;
}

.quick-cmd-btn {
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line-bright);
  color: var(--white-dim);
  padding: 5px 12px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.quick-cmd-btn:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: var(--carbon-panel);
}

.matrix-canvas-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.matrix-canvas-layer.active {
  opacity: 0.4;
}

.terminal-right-hint {
  font-size: 10px;
  color: var(--white-dim);
  font-family: 'JetBrains Mono', monospace;
  margin-left: auto;
}

/* ── 6. CONTACT: STATUS BANNER & CLOCK ── */
.contact-status-banner {
  margin: 0 36px 0;
  padding: 14px 20px;
  background: var(--carbon-panel);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.availability-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--green);
  font-weight: 700;
}

.live-beacon {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: blink 1s infinite;
}

.timezone-clock-box {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--white-dim);
}

.sla-badge {
  background: var(--carbon-void);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  padding: 2px 8px;
  font-size: 9.5px;
  border-radius: 2px;
}

.security-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--cyan);
  border: 1px solid var(--cyan-dim);
  padding: 3px 8px;
  border-radius: 2px;
}

.dispatch-secure-hint {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--white-dim);
}

/* ═══════════════════════════════════════════════════════════════
   CYBERPUNK ABOUT ME & DOSSIER SYSTEM STYLES
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. DOSSIER 2-COLUMN GRID ── */
.about-dossier-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

.about-identity-card {
  background: var(--carbon-surface);
  border: 1px solid var(--carbon-line);
  padding: 24px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.identity-avatar-box {
  position: relative;
  margin-bottom: 18px;
}

.identity-monogram-glow {
  width: 90px;
  height: 90px;
  background: rgba(0, 240, 255, 0.06);
  border: 2px solid var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--cyan);
  box-shadow: 0 0 24px var(--cyan-dim), inset 0 0 16px rgba(0, 240, 255, 0.15);
  letter-spacing: 2px;
}

.identity-status-pill {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: #020b12;
  border: 1px solid var(--green);
  color: var(--green);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 0 10px var(--green-dim);
}

.live-beacon {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
  animation: pulse-beacon 1.5s infinite;
}

@keyframes pulse-beacon {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
  }

  100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
}

.identity-info-block {
  width: 100%;
}

.identity-name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.identity-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--cyan);
  margin-bottom: 18px;
  line-height: 1.4;
}

.identity-meta-list {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--carbon-line);
  padding: 12px 14px;
  border-radius: 4px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.meta-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--white-dim);
  letter-spacing: 0.5px;
}

.meta-val {
  font-size: 12px;
  color: #fff;
  font-weight: 500;
  word-break: break-word;
}

.identity-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

/* ── STORY CARD & QUOTE ── */
.about-story-card {
  background: var(--carbon-surface);
  border: 1px solid var(--carbon-line);
  padding: 24px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.story-header-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.about-story-text {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--white-dim);
  margin-bottom: 18px;
}

.about-philosophy-quote {
  background: rgba(0, 240, 255, 0.03);
  border-left: 3px solid var(--cyan);
  border-top: 1px solid rgba(0, 240, 255, 0.12);
  border-right: 1px solid rgba(0, 240, 255, 0.08);
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
  padding: 14px 18px;
  border-radius: 0 4px 4px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.quote-icon {
  font-size: 28px;
  color: var(--cyan);
  line-height: 1;
  font-family: Georgia, serif;
}

.quote-text {
  font-size: 13.5px;
  font-style: italic;
  color: #fff;
  line-height: 1.6;
}

/* ── 4 PILLARS GRID ── */
.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.pillar-card {
  background: var(--carbon-surface);
  border: 1px solid var(--carbon-line);
  padding: 16px 18px;
  border-radius: 4px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pillar-card:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow: 0 0 16px var(--cyan-dim);
}

.pillar-card.bracket-green:hover {
  border-color: var(--green);
  box-shadow: 0 0 16px var(--green-dim);
}

.pillar-card.bracket-violet:hover {
  border-color: var(--violet);
  box-shadow: 0 0 16px var(--violet-dim);
}

.pillar-card.bracket-amber:hover {
  border-color: var(--amber);
  box-shadow: 0 0 16px var(--amber-dim);
}

.pillar-icon {
  font-size: 20px;
  margin-bottom: 8px;
}

.pillar-title {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.pillar-desc {
  font-size: 12px;
  color: var(--white-dim);
  line-height: 1.55;
}

/* ── 2. SIGNATURE ARSENAL MATRIX ── */
.about-arsenal-section {
  margin-bottom: 36px;
}

.arsenal-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--carbon-line);
  padding-bottom: 12px;
}

.arsenal-header-left .sub-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 1.5px;
}

.arsenal-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-top: 4px;
}

.arsenal-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--green);
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid var(--green-dim);
  padding: 4px 10px;
  border-radius: 2px;
}

.arsenal-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.arsenal-card {
  background: var(--carbon-surface);
  border: 1px solid var(--carbon-line);
  padding: 18px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.arsenal-card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
}

.arsenal-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

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

.arsenal-group-title {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  margin: 0;
}

.arsenal-group-desc {
  font-size: 11.5px;
  color: var(--white-dim);
  margin-bottom: 14px;
  line-height: 1.4;
  flex: 1;
}

.arsenal-tags-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.arsenal-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--white-dim);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--carbon-line);
  padding: 5px 8px;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.arsenal-chip:hover {
  border-color: var(--cyan);
  color: #fff;
}

/* ── 3. WORKSTATION BLUEPRINT & COMBAT READINESS ── */
.about-workstation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

.workstation-blueprint-card,
.combat-readiness-card {
  background: var(--carbon-surface);
  border: 1px solid var(--carbon-line);
  padding: 24px;
  border-radius: 4px;
}

.blueprint-header {
  margin-bottom: 18px;
  border-bottom: 1px solid var(--carbon-line);
  padding-bottom: 10px;
}

.blueprint-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--cyan);
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.blueprint-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  margin: 0;
}

.rig-specs-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rig-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--carbon-line);
  border-radius: 2px;
}

.rig-icon {
  font-size: 20px;
  line-height: 1.2;
}

.rig-info {
  flex: 1;
}

.rig-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  color: var(--cyan);
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.rig-val {
  font-size: 12px;
  color: #fff;
  line-height: 1.45;
}

/* ── COMBAT READINESS BARS & ETHOS ── */
.readiness-bars-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.readiness-bar-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bar-top {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
}

.bar-label {
  color: var(--white-dim);
}

.bar-val {
  font-weight: 700;
}

.bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 3px;
  box-shadow: 0 0 8px currentColor;
}

.ethos-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ethos-pill {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--carbon-line);
  padding: 8px 10px;
  border-radius: 2px;
  font-size: 11px;
  color: var(--white-dim);
  line-height: 1.35;
}

.ethos-pill strong {
  color: #fff;
}

.ethos-icon {
  font-size: 14px;
  line-height: 1;
}

/* ── 4. QUICK ACTION BANNER FOOTER ── */
.about-action-banner {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.05) 0%, rgba(188, 19, 254, 0.05) 100%), var(--carbon-surface);
  border: 1px solid var(--carbon-line);
  padding: 22px 28px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.action-banner-text h4 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.action-banner-text p {
  font-size: 13px;
  color: var(--white-dim);
  margin: 0;
}

.action-banner-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ── RESPONSIVE TWEAKS CHO ABOUT ── */
@media (max-width: 1080px) {
  .about-dossier-grid {
    grid-template-columns: 1fr;
  }

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

  .about-workstation-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .arsenal-cards-grid {
    grid-template-columns: 1fr;
  }

  .about-pillars-grid {
    grid-template-columns: 1fr;
  }

  .ethos-mini-grid {
    grid-template-columns: 1fr;
  }

  .about-action-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .action-banner-btns {
    width: 100%;
    flex-direction: column;
  }

  .action-banner-btns a {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════════
   OMNI-RESPONSIVE ADAPTIVE ENGINE (PC, LAPTOP, IPAD, MOBILE)
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. LAPTOP & SMALL DESKTOP (1024px - 1366px) ── */
@media (max-width: 1366px) {
  .projects-grid-zone {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .skills-matrix-zone {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── 2. TABLET & IPAD (768px - 1023px) ── */
@media (max-width: 1023px) {
  .about-dossier-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-workstation-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .projects-grid-zone {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 0 20px 32px;
  }

  .skills-matrix-zone {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 0 20px 32px;
  }

  .skills-radar-grid {
    grid-template-columns: 1fr;
  }

  .vault-gate-card {
    grid-template-columns: 1fr;
  }

  .section-header-block {
    padding: 0 20px 20px;
  }
}

/* ── 3. LARGE MOBILE & PHABLET (481px - 767px) ── */
@media (max-width: 767px) {
  .hero-core {
    padding: 40px 16px 36px;
    min-height: auto;
  }

  .hero-glow-title {
    font-size: clamp(32px, 8vw, 44px);
    letter-spacing: 1px;
    margin-bottom: 14px;
  }

  .hero-role-wrapper {
    font-size: 14px;
    padding: 8px 16px;
    margin-bottom: 18px;
    width: 100%;
    max-width: 360px;
  }

  .hero-sub {
    font-size: 13.5px;
    padding: 0 8px;
    margin-bottom: 24px;
  }

  .hero-cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 6px;
    width: 100%;
  }

  .hero-btn-synced {
    height: 42px;
    padding: 0 10px;
    font-size: 11.5px;
    width: 100%;
  }

  .projects-grid-zone {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 14px 28px;
  }

  .skills-matrix-zone {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 14px 28px;
  }

  .experience-timeline-zone,
  .vault-gate-section,
  .standalone-terminal-zone,
  .standalone-contact-zone {
    padding: 0 14px 28px;
  }

  .circuit-timeline {
    padding-left: 18px;
  }

  .timeline-item {
    padding: 16px 18px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-info-panel,
  .contact-form-panel {
    padding: 18px;
  }

  .form-group-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-header-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 0 14px 16px;
  }
}

/* ── 4. COMPACT MOBILE (PHONE <= 480px) ── */
@media (max-width: 480px) {
  .hero-glow-title {
    font-size: clamp(28px, 9vw, 36px);
  }

  .hero-tag {
    font-size: 10.5px;
    letter-spacing: 1px;
  }

  .hero-cta-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-btn-synced {
    height: 44px;
    font-size: 12.5px;
    width: 100%;
  }

  .project-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .project-card-actions {
    flex-direction: column;
  }

  .project-card-actions a,
  .project-card-actions button {
    width: 100%;
    justify-content: center;
  }

  .about-identity-header {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* ── MODULE: css/04-vault.css ── */
/**
 * ═══════════════════════════════════════════════════════════════
 * UIA CYBER PROFILE — MODULE 04: CLOUD VAULT & FILE EXPLORER
 * ═══════════════════════════════════════════════════════════════
 */

/* ── VAULT TELEMETRY SECTION ── */
.vault-telemetry-zone {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
  margin-bottom: 24px;
}

.vault-stats-card {
  background: var(--carbon-panel);
  border: 1px solid var(--carbon-line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vault-provider-tabs {
  display: flex;
  gap: 10px;
}

.vault-tab-btn {
  flex: 1;
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line-bright);
  color: var(--white-dim);
  padding: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.vault-tab-btn.active {
  background: var(--carbon-panel);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-dim);
}

.vault-tab-btn[data-vault="onedrive"].active {
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 12px var(--green-dim);
}

.vault-meter-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vault-meter-label {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--white-dim);
}

.vault-meter-bg {
  height: 8px;
  background: var(--carbon-void);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--carbon-line);
}

.vault-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-glow), var(--cyan));
  box-shadow: 0 0 10px var(--cyan);
  transition: width 0.6s var(--ease-expo);
}

.vault-breakdown-bar {
  display: flex;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 4px;
  background: var(--carbon-void);
}

.breakdown-seg {
  height: 100%;
  transition: width 0.5s ease;
}

.breakdown-seg.code { background: var(--cyan); }
.breakdown-seg.docs { background: var(--violet); }
.breakdown-seg.media { background: var(--green); }
.breakdown-seg.archives { background: var(--amber); }
.breakdown-seg.db { background: var(--red); }

/* ── DROPZONE UPLOAD BOX ── */
.dropzone-box {
  background: var(--carbon-void);
  border: 2px dashed var(--carbon-line-bright);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.dropzone-box:hover, .dropzone-box.drag-over {
  border-color: var(--cyan);
  background: var(--cyan-dim);
  box-shadow: 0 0 20px var(--cyan-dim);
}

.dropzone-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.dropzone-text {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 14px;
  color: #fff;
  margin-bottom: 4px;
}

.dropzone-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--white-dim);
}

.upload-progress-overlay {
  display: none;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(7, 9, 14, 0.95);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  z-index: 10;
}

.upload-progress-overlay.active {
  display: flex;
}

.upload-progress-bar {
  width: 80%;
  height: 6px;
  background: var(--carbon-line);
  border-radius: 3px;
  overflow: hidden;
  margin: 10px 0;
}

.upload-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  transition: width 0.1s linear;
}

/* ── FILE EXPLORER CONTROLS & TABLE ── */
.explorer-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.explorer-category-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cat-chip {
  background: var(--carbon-panel);
  border: 1px solid var(--carbon-line);
  color: var(--white-dim);
  padding: 6px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cat-chip:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.cat-chip.active {
  background: var(--cyan-dim);
  border-color: var(--cyan);
  color: var(--cyan);
}

.explorer-search-box {
  display: flex;
  align-items: center;
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line-bright);
  padding: 6px 12px;
  gap: 8px;
  flex: 1;
  max-width: 320px;
}

.explorer-search-input {
  background: transparent;
  border: none;
  outline: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #fff;
  width: 100%;
}

.vault-file-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}

.vault-file-table th {
  background: var(--carbon-panel);
  color: var(--white-dim);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid var(--carbon-line);
}

.vault-file-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--carbon-line);
  color: var(--white);
}

.vault-file-table tr:hover td {
  background: var(--carbon-panel);
}

.file-name-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.file-type-icon {
  width: 30px;
  height: 30px;
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
}

.file-type-icon.pdf { border-color: var(--red); color: var(--red); }
.file-type-icon.zip, .file-type-icon.rar { border-color: var(--amber); color: var(--amber); }
.file-type-icon.sql, .file-type-icon.db { border-color: var(--green); color: var(--green); }
.file-type-icon.psd, .file-type-icon.fig, .file-type-icon.png { border-color: var(--violet); color: var(--violet); }
.file-type-icon.docx { border-color: var(--cyan); color: var(--cyan); }

.file-action-group {
  display: flex;
  gap: 6px;
}

.btn-file-action {
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line-bright);
  color: var(--white-dim);
  padding: 4px 8px;
  font-size: 10px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-file-action:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-file-action.delete-file:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-ghost-violet {
  border-color: var(--violet) !important;
  color: var(--violet) !important;
}

.btn-ghost-violet:hover {
  background: var(--violet) !important;
  color: #000 !important;
  box-shadow: 0 0 12px var(--violet-dim) !important;
}

.cloud-hub-bar {
  transition: border-color 0.3s ease;
}

.cloud-hub-bar:hover {
  border-color: var(--cyan);
}

@media (max-width: 900px) {
  .vault-telemetry-zone {
    grid-template-columns: 1fr;
  }
  .cloud-hub-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}



/* ── MODULE: css/05-admin-cms.css ── */
/**
 * ═══════════════════════════════════════════════════════════════
 * UIA CYBER PROFILE — MODULE 05: ADMIN DASHBOARD & FULL-SITE CMS
 * ═══════════════════════════════════════════════════════════════
 */

/* ── ADMIN DASHBOARD CONTAINER ── */
.app-zone {
  display: none;
}

.app-zone.active-zone {
  display: block;
}

#admin-dashboard,
.admin-dashboard-zone {
  padding: 28px 36px 60px;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: var(--carbon-panel);
  border: 1px solid var(--carbon-line);
  margin-bottom: 24px;
}

.admin-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 15px;
  color: #fff;
}

.admin-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── ADMIN MAIN NAV TABS (TAB 1 CMS vs TAB 2 VAULT) ── */
.admin-main-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--carbon-line);
  padding-bottom: 12px;
}

.admin-nav-tab-btn {
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line-bright);
  color: var(--white-dim);
  padding: 10px 20px;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.admin-nav-tab-btn.active {
  background: var(--carbon-panel);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 14px var(--cyan-dim);
}

.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
  animation: adminTabFade 0.3s ease;
}

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

/* ── CMS 7 SUB-NAVIGATION ── */
.cms-sub-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.cms-sub-tab-btn {
  background: var(--carbon-panel);
  border: 1px solid var(--carbon-line);
  color: var(--white-dim);
  padding: 8px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.cms-sub-tab-btn:hover {
  color: #fff;
  border-color: var(--carbon-line-bright);
}

.cms-sub-tab-btn.active {
  background: var(--cyan-dim);
  border-color: var(--cyan);
  color: var(--cyan);
  font-weight: 600;
}

.cms-sub-panel {
  display: none;
}

.cms-sub-panel.active {
  display: block;
  animation: cmsSubFade 0.25s ease;
}

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

.cms-section-card {
  background: var(--carbon-panel);
  border: 1px solid var(--carbon-line);
  padding: 24px;
  margin-bottom: 24px;
}

.cms-section-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--carbon-line);
}

.cms-section-card-header h3 {
  font-size: 16px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cms-section-card-header p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--white-dim);
}

/* ── THEME PRESETS & COLOR INPUTS ── */
.color-presets-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.color-preset-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line-bright);
  padding: 8px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--white-dim);
  cursor: pointer;
  transition: all 0.25s ease;
}

.color-preset-pill .color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.color-preset-pill:hover {
  border-color: var(--cyan);
  color: #fff;
}

.color-preset-pill.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
  box-shadow: 0 0 10px var(--cyan-dim);
}

.color-inputs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.color-input-card {
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line);
  padding: 14px;
}

.color-input-card label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  color: var(--white-dim);
  margin-bottom: 8px;
}

.color-picker-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-picker-input {
  width: 36px;
  height: 36px;
  border: 1px solid var(--carbon-line-bright);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

/* ── CMS FORMS & INPUTS ── */
.cms-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.cms-form-group label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--white-dim);
  letter-spacing: 0.5px;
}

/* ── TYPEWRITER ROLES CMS LIST ── */
.typewriter-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.typewriter-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line);
  padding: 10px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #fff;
}

.typewriter-item-actions {
  display: flex;
  gap: 6px;
}

/* ── BADGES & CMS ITEMS ── */
.cms-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.cms-badge-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line-bright);
  padding: 8px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #fff;
}

.btn-action-move {
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid var(--carbon-line-bright);
  color: var(--cyan);
  padding: 3px 7px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
  border-radius: 2px;
}

.btn-action-move:hover:not(:disabled) {
  background: var(--cyan);
  color: #000;
  border-color: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
}

.btn-action-move:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  border-color: var(--carbon-line);
  color: var(--white-subtle);
}

.btn-action-edit {
  background: transparent;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  padding: 3px 8px;
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-action-edit:hover {
  background: var(--cyan);
  color: #000;
}

.btn-action-delete {
  background: transparent;
  border: 1px solid var(--red);
  color: var(--red);
  padding: 3px 8px;
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-action-delete:hover {
  background: var(--red);
  color: #fff;
}

.btn-remove-badge {
  background: transparent;
  border: none;
  color: var(--red);
  cursor: pointer;
  font-size: 14px;
  padding: 2px 6px;
}

.btn-remove-badge:hover {
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   MODAL 1: AUTH MODAL (CỬA SỔ ĐĂNG NHẬP XÁC THỰC PIN)
   ═══════════════════════════════════════════════════════════════ */
.auth-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 6, 10, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2500;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-modal-overlay.open {
  display: flex;
  animation: modalOverlayFade 0.25s ease forwards;
}

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

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--carbon-surface);
  border: 1px solid var(--cyan);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.25), inset 0 0 20px rgba(0, 240, 255, 0.05);
  padding: 36px 32px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: authCardPop 0.3s var(--ease-expo) forwards;
}

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

.auth-card.shake {
  animation: authCardShake 0.5s ease-in-out;
}

@keyframes authCardShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.auth-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--white-dim);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-close-btn:hover {
  color: var(--red);
  transform: rotate(90deg);
}

.auth-header {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auth-lock-icon {
  font-size: 34px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 12px rgba(255, 179, 0, 0.6));
}

.auth-title {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.auth-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.8px;
}

.auth-input-wrapper {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.auth-pin-input {
  width: 100%;
  height: 48px;
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line-bright);
  color: #fff;
  padding: 0 46px 0 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  letter-spacing: 2px;
  text-align: center;
  outline: none;
  transition: all 0.25s ease;
}

.auth-pin-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 18px var(--cyan-dim);
  background: var(--carbon-surface);
}

.toggle-pwd-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--white-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  transition: color 0.2s;
}

.toggle-pwd-btn:hover {
  color: var(--cyan);
}

.auth-status-msg {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--white-dim);
  text-align: center;
  margin-bottom: 18px;
  min-height: 16px;
}

.auth-status-msg.success { color: var(--green); text-shadow: 0 0 8px var(--green); }
.auth-status-msg.error { color: var(--red); text-shadow: 0 0 8px var(--red); }

.auth-hint {
  margin-top: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--white-dim);
}

.auth-hint code {
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line-bright);
  padding: 3px 8px;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   MODAL 2: CMS EDIT MODAL (CHỈNH SỬA DỮ LIỆU ĐA NĂNG)
   ═══════════════════════════════════════════════════════════════ */
.cms-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(4, 6, 10, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2500;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cms-modal-overlay.open,
.cms-modal-overlay.active {
  display: flex !important;
  animation: modalOverlayFade 0.25s ease forwards;
}

.cms-modal-card {
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--carbon-surface);
  border: 1px solid var(--cyan);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.25);
  padding: 30px;
  position: relative;
  animation: authCardPop 0.3s var(--ease-expo) forwards;
}

.cms-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--carbon-line);
}

.cms-modal-title {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.cms-modal-subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--cyan);
}

.btn-modal-close {
  background: transparent;
  border: none;
  color: var(--white-dim);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  transition: all 0.2s;
  line-height: 1;
}

.btn-modal-close:hover {
  color: var(--red);
  transform: rotate(90deg);
}

.cms-actions-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--carbon-line);
}

/* ── BACKUP & RESTORE CARDS ── */
.backup-grid-zone {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.backup-card {
  background: var(--carbon-void);
  border: 1px solid var(--carbon-line);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.backup-card h4 {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 15px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.backup-card p {
  font-size: 12.5px;
  color: var(--white-dim);
  line-height: 1.6;
}

/* ── CYBER TOAST NOTIFICATIONS ── */
.cyber-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 3000;
  pointer-events: none;
}

.cyber-toast {
  background: var(--carbon-surface);
  border: 1px solid var(--cyan);
  box-shadow: 0 0 20px var(--cyan-dim);
  color: #fff;
  padding: 12px 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.35s var(--ease-expo);
  pointer-events: auto;
  max-width: 380px;
}

.cyber-toast.show {
  transform: translateX(0);
  opacity: 1;
}

.cyber-toast.toast-success {
  border-color: var(--green);
  box-shadow: 0 0 20px var(--green-dim);
}

.cyber-toast.toast-error {
  border-color: var(--red);
  box-shadow: 0 0 20px var(--red-dim);
}

@media (max-width: 900px) {
  .backup-grid-zone {
    grid-template-columns: 1fr;
  }

  .cms-sub-tabs-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }

  .cms-sub-tab-btn {
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 11.5px;
  }

  .cms-section-card {
    padding: 16px;
  }
}

@media (max-width: 576px) {
  .cms-section-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cms-section-card-header button {
    width: 100%;
    justify-content: center;
  }
}

