/* ==========================================================================
   CYBERPUNK HUD THEME - AI Mastery Myanmar
   Futuristic Cyber AI Aesthetic with Neon Cyan, Magenta, Deep Obsidian
   ========================================================================== */

:root {
  --cp-bg:          #030712;
  --cp-bg2:         #070d1e;
  --cp-bg3:         #0c162e;
  --cp-card:        #081024;
  --cp-border:      #162a52;
  --cp-border-glow: rgba(0, 245, 255, 0.35);
  --cp-cyan:        #00f5ff;
  --cp-magenta:     #ff007f;
  --cp-purple:      #8b5cf6;
  --cp-yellow:      #fbbf24;
  --cp-green:       #10b981;
  --cp-text:        #e2e8f0;
  --cp-muted:       #64748b;
  --cp-glow-c:      0 0 25px rgba(0, 245, 255, 0.45);
  --cp-glow-m:      0 0 25px rgba(255, 0, 127, 0.45);
  --cp-glow-g:      0 0 25px rgba(16, 185, 129, 0.45);
}

/* ── Cyberpunk Animated Background Grid ────────────────────────────────── */
body.theme-cyberpunk {
  background-color: var(--cp-bg) !important;
  color: var(--cp-text) !important;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 245, 255, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(255, 0, 127, 0.08) 0%, transparent 45%),
    linear-gradient(rgba(22, 42, 82, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 42, 82, 0.2) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  background-attachment: fixed;
}

/* ── Navigation ─────────────────────────────────────────────────────────── */
body.theme-cyberpunk nav {
  background-color: rgba(7, 13, 30, 0.9) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--cp-border) !important;
  box-shadow: 0 4px 30px rgba(0, 245, 255, 0.08) !important;
}

body.theme-cyberpunk .nav-btn {
  color: #94a3b8 !important;
  font-family: 'Inter', 'Padauk', sans-serif;
  transition: all 0.2s ease;
}

body.theme-cyberpunk .nav-btn:hover,
body.theme-cyberpunk .nav-btn.text-primary {
  color: var(--cp-cyan) !important;
  border-color: var(--cp-cyan) !important;
  text-shadow: 0 0 12px rgba(0, 245, 255, 0.6);
}

/* ── Cyberpunk HUD Cards & Panels ───────────────────────────────────────── */
body.theme-cyberpunk .bg-white {
  background-color: var(--cp-card) !important;
  border-color: var(--cp-border) !important;
  color: var(--cp-text) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 1px 1px rgba(0, 245, 255, 0.05);
}

body.theme-cyberpunk .bg-slate-50 {
  background-color: var(--cp-bg2) !important;
  border-color: var(--cp-border) !important;
}

body.theme-cyberpunk .bg-slate-100 {
  background-color: var(--cp-bg3) !important;
  color: var(--cp-text) !important;
}

body.theme-cyberpunk .text-slate-900,
body.theme-cyberpunk .text-slate-800,
body.theme-cyberpunk .text-slate-700,
body.theme-cyberpunk .text-gray-900,
body.theme-cyberpunk .text-gray-800 {
  color: #f1f5f9 !important;
}

body.theme-cyberpunk .text-slate-600,
body.theme-cyberpunk .text-slate-500,
body.theme-cyberpunk .text-slate-400 {
  color: var(--cp-muted) !important;
}

body.theme-cyberpunk .border-slate-200,
body.theme-cyberpunk .border-slate-300,
body.theme-cyberpunk .border-slate-100 {
  border-color: var(--cp-border) !important;
}

/* ── Cyber Inputs & Form Controls ───────────────────────────────────────── */
body.theme-cyberpunk input,
body.theme-cyberpunk textarea,
body.theme-cyberpunk select {
  background-color: var(--cp-bg3) !important;
  border: 1px solid var(--cp-border) !important;
  color: var(--cp-cyan) !important;
  transition: all 0.2s ease;
}

body.theme-cyberpunk input:focus,
body.theme-cyberpunk textarea:focus,
body.theme-cyberpunk select:focus {
  border-color: var(--cp-cyan) !important;
  box-shadow: var(--cp-glow-c) !important;
  outline: none !important;
}

body.theme-cyberpunk input::placeholder,
body.theme-cyberpunk textarea::placeholder {
  color: #475569 !important;
}

/* ── Futuristic Cyber Buttons ───────────────────────────────────────────── */
body.theme-cyberpunk .bg-primary {
  background: linear-gradient(135deg, #00d2ff 0%, #0066ff 100%) !important;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.45) !important;
  border: 1px solid var(--cp-cyan) !important;
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

body.theme-cyberpunk .bg-primary:hover {
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.8) !important;
  transform: translateY(-1px);
}

body.theme-cyberpunk .bg-secondary {
  background: linear-gradient(135deg, #ff007f 0%, #cc0066 100%) !important;
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.45) !important;
  border: 1px solid var(--cp-magenta) !important;
  color: #ffffff !important;
}

body.theme-cyberpunk .bg-secondary:hover {
  box-shadow: 0 0 30px rgba(255, 0, 127, 0.8) !important;
  transform: translateY(-1px);
}

/* Cyber Chamfered Corner Utility */
.cyber-chamfer {
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.gradient-cyber-text {
  background: linear-gradient(135deg, var(--cp-cyan), var(--cp-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── HUD Stats Box ──────────────────────────────────────────────────────── */
.hud-stat-card {
  position: relative;
  overflow: hidden;
}
.hud-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--cp-cyan);
  box-shadow: var(--cp-glow-c);
}

/* ── Cyber Scrollbar ────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--cp-bg); }
::-webkit-scrollbar-thumb { background: var(--cp-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cp-cyan); box-shadow: var(--cp-glow-c); }
