/* ── January UI — Main Styles ── */
/* Void theme: deep space, cyan/violet accents, frost glow */

:root {
  --bg-deep: #050510;
  --bg-primary: #080818;
  --bg-card: #0c0c20;
  --bg-card-hover: #10102a;
  --bg-input: #0a0a1a;
  --border: #1a1a40;
  --border-accent: #2a2a5a;
  --text-primary: #e0e0f0;
  --text-secondary: #8888cc;
  --text-muted: #555588;
  --accent: #4a00e0;
  --accent-glow: rgba(74, 0, 224, 0.3);
  --accent-light: #7c3aed;
  --accent-cyan: #00d4ff;
  --accent-secondary: #00d4ff;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Consolas', monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 2px 8px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.7);
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 14px; }

body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

/* ── Ambient Background ── */
.ambient-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.ambient-orb {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.08;
}
.orb-1 {
  width: 700px; height: 700px; background: var(--accent);
  top: -250px; right: -150px; animation: orbFloat1 25s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px; background: var(--accent-cyan);
  bottom: -200px; left: -100px; animation: orbFloat2 30s ease-in-out infinite;
}
.orb-3 {
  width: 400px; height: 400px; background: #1a1a5c;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  animation: orbFloat3 35s ease-in-out infinite;
}
@keyframes orbFloat1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-100px, 80px); } }
@keyframes orbFloat2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(80px, -100px); } }
@keyframes orbFloat3 { 0%,100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-40%,-60%) scale(1.2); } }

/* ── Header ── */
.header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
  background: rgba(5,5,16,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-left { display: flex; align-items: center; gap: 12px; }
.logo-marker {
  font-size: 1.8rem; color: var(--accent-cyan);
  text-shadow: 0 0 20px rgba(0,212,255,0.4);
}
.logo-text {
  font-family: var(--font-mono); font-size: 1.4rem; font-weight: 700;
  letter-spacing: 0.15em; color: var(--text-primary);
}
.logo-sub {
  font-size: 0.75rem; color: var(--text-muted);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.header-right { display: flex; align-items: center; gap: 20px; }
.header-status { display: flex; align-items: center; gap: 6px; }
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--text-muted);
}
.status-dot.live {
  background: var(--accent-cyan);
  box-shadow: 0 0 8px rgba(0,212,255,0.5);
  animation: pulse 2s ease-in-out infinite;
}
.status-dot.offline { background: var(--danger); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.status-text {
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--text-secondary); letter-spacing: 0.1em;
}
.header-clock {
  font-family: var(--font-mono); font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Navigation ── */
.nav {
  display: flex; gap: 2px; padding: 8px 24px;
  background: rgba(5,5,16,0.6);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 57px; z-index: 99;
}
.nav-btn {
  background: transparent; border: none; color: var(--text-muted);
  padding: 8px 16px; font-family: var(--font-mono); font-size: 0.8rem;
  letter-spacing: 0.08em; cursor: pointer; border-radius: var(--radius);
  transition: var(--transition); text-transform: uppercase;
}
.nav-btn:hover { color: var(--text-secondary); background: rgba(255,255,255,0.03); }
.nav-btn.active {
  color: var(--accent-cyan); background: rgba(0,212,255,0.08);
  box-shadow: inset 0 -2px 0 var(--accent-cyan);
}

/* ── Main ── */
.main {
  position: relative; z-index: 1;
  max-width: 1400px; margin: 0 auto;
  padding: 24px;
  min-height: calc(100vh - 130px);
}

/* ── Panels ── */
.panel { display: none; animation: fadeIn 0.3s ease; }
.panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.panel-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.panel-header h2 {
  font-family: var(--font-mono); font-size: 1.1rem;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.panel-badge {
  font-family: var(--font-mono); font-size: 0.75rem;
  background: rgba(0,212,255,0.1); color: var(--accent-cyan);
  padding: 2px 10px; border-radius: 20px;
  border: 1px solid rgba(0,212,255,0.2);
}

/* ── Footer ── */
.footer {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--text-muted); border-top: 1px solid var(--border);
}
.footer-sep { opacity: 0.3; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-accent); }

/* ── Selection ── */
::selection { background: rgba(0,212,255,0.2); color: var(--text-primary); }

/* ── Skills Grid ── */
.skills-search {
  margin-bottom: 20px;
}
.skills-search input {
  width: 100%; padding: 12px 16px;
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text-primary);
  font-family: var(--font-mono); font-size: 0.85rem;
  outline: none; transition: var(--transition);
}
.skills-search input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.15);
}
.skills-search input::placeholder { color: var(--text-muted); }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}
.skill-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.skill-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), transparent);
  opacity: 0; transition: var(--transition);
}
.skill-card:hover { border-color: var(--border-accent); background: var(--bg-card-hover); transform: translateY(-2px); }
.skill-card:hover::before { opacity: 1; }
.skill-category {
  font-family: var(--font-mono); font-size: 0.6rem; text-transform: uppercase;
  color: var(--accent-cyan); letter-spacing: 0.1em; margin-bottom: 6px;
}
.skill-name {
  font-family: var(--font-mono); font-size: 0.85rem; font-weight: 600;
  color: var(--text-primary); margin-bottom: 4px;
}
.skill-desc {
  font-size: 0.75rem; color: var(--text-muted); line-height: 1.4;
}
