/* ─── Developer Theme CSS ─────────────────────────────── */
/* Cyber · Programming · Terminal-IDE Aesthetic            */
/* Palette: electric cyan + matrix green + amber alert     */

.theme-developer {
  background: #050810;

  /* Persistent cyber vignette behind every dev page */
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%,   rgba(0, 212, 255, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(0, 255, 136, 0.06), transparent 70%),
    linear-gradient(180deg, #050810 0%, #07101c 50%, #050810 100%);

  /* Scoped color tokens (don't pollute global vars) */
  --dv-cyan:    #00d4ff;
  --dv-cyan-dim: rgba(0, 212, 255, 0.6);
  --dv-green:   #00ff88;
  --dv-green-dim: rgba(0, 255, 136, 0.6);
  --dv-amber:   #febc2e;
  --dv-magenta: #ff5fb1;
  --dv-red:     #ff5f57;
  --dv-text:    #e6f7ff;
  --dv-mute:    rgba(230, 247, 255, 0.55);
  --dv-bg-dark: #050810;
  --dv-surface: rgba(7, 16, 28, 0.85);
  --dv-line:    rgba(0, 212, 255, 0.14);
}

/* ── Page Container ── */
.page-developer {
  position: relative;
  min-height: 100vh;
}

/* ══════════════════════════════════════════════════════ */
/*  GLOBAL DEVELOPER BACKGROUND (mounted by theme.js as   */
/*  #identity-bg.identity-bg-developer)                   */
/*    └ dv-grid       (perspective code-grid)             */
/*    └ dv-glyphs     (faint floating ascii)              */
/*    └ dv-scanlines  (CRT lines)                         */
/* ══════════════════════════════════════════════════════ */
.identity-bg-developer .dv-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg,  rgba(0, 212, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 95%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 95%);
  opacity: 0.7;
}

.identity-bg-developer .dv-glyphs {
  position: absolute;
  inset: 0;
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  color: rgba(0, 255, 136, 0.10);
  letter-spacing: 0.1em;
  line-height: 1.6;
  white-space: pre;
  overflow: hidden;
  background-image:
    radial-gradient(rgba(0, 212, 255, 0.07) 1px, transparent 1px),
    radial-gradient(rgba(0, 255, 136, 0.05) 1px, transparent 1px);
  background-size: 24px 24px, 36px 36px;
  background-position: 0 0, 12px 12px;
  mix-blend-mode: screen;
  opacity: 0.6;
}

.identity-bg-developer .dv-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 212, 255, 0.05) 0px,
    rgba(0, 212, 255, 0.05) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: screen;
  opacity: 0.5;
}

/* The legacy <canvas class="constellation-bg"> shell — keep transparent */
.constellation-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

/* ── Hero Section ── */
.dev-hero {
  position: relative;
  z-index: 1;
  padding: 60px 0 40px;
  text-align: center;
}

.dev-hero-content {
  max-width: 640px;
  margin: 0 auto;
}

/* Terminal Prompt — looks like a real terminal title bar */
.terminal-prompt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.10), rgba(0, 212, 255, 0.04));
  border: 1px solid rgba(0, 212, 255, 0.28);
  border-radius: 4px;
  font-family: 'Fira Code', monospace;
  font-size: 0.82rem;
  margin-bottom: 22px;
  box-shadow:
    0 0 0 1px rgba(5, 8, 16, 0.6) inset,
    0 8px 24px rgba(0, 212, 255, 0.10);
}

.prompt-symbol {
  color: var(--dv-green);
  text-shadow: 0 0 6px rgba(0, 255, 136, 0.5);
}

.prompt-text {
  color: rgba(230, 247, 255, 0.85);
}

.cursor {
  color: var(--dv-cyan);
  text-shadow: 0 0 6px rgba(0, 212, 255, 0.6);
  animation: cursor-blink 0.8s step-end infinite;
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* Hero Title — programmer-themed */
.dev-title {
  font-family: 'Space Grotesk', 'Fira Code', monospace;
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  color: var(--dv-text);
  text-shadow: 0 0 24px rgba(0, 212, 255, 0.18);
}

.dev-title .accent {
  color: var(--dv-cyan);
  font-family: 'Fira Code', monospace;
  font-weight: 400;
  text-shadow: 0 0 18px rgba(0, 212, 255, 0.5);
}

.dev-subtitle {
  font-family: 'Fira Code', monospace;
  font-size: 0.92rem;
  color: var(--dv-mute);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.dev-subtitle::before {
  content: '// ';
  color: var(--dv-green-dim);
}

/* Stats Row — looks like resource monitors */
.dev-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-value {
  font-family: 'Fira Code', monospace;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--dv-cyan);
  text-shadow: 0 0 14px rgba(0, 212, 255, 0.45);
  letter-spacing: 0.04em;
}

.stat-label {
  font-family: 'Fira Code', monospace;
  font-size: 0.7rem;
  text-transform: lowercase;
  letter-spacing: 0.08em;
  color: var(--dv-mute);
}
.stat-label::before { content: '> '; color: var(--dv-green-dim); }

/* ── Sections ── */
.dev-section {
  position: relative;
  z-index: 1;
  margin-bottom: 48px;
}

.theme-developer .section-title .accent {
  color: var(--dv-cyan);
  font-family: 'Fira Code', monospace;
}

/* ── Tech Stack Grid ── */
.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.05), rgba(0, 212, 255, 0.02));
  border: 1px solid rgba(0, 212, 255, 0.10);
  border-left: 2px solid rgba(0, 212, 255, 0.45);
  border-radius: 4px;
  font-family: 'Fira Code', monospace;
  font-size: 0.82rem;
  color: rgba(230, 247, 255, 0.7);
  transition: all 0.25s var(--ease-out);
  position: relative;
}
.tech-item::before {
  content: '$';
  color: var(--dv-green-dim);
  font-weight: 700;
  margin-right: 4px;
}
.tech-item:hover {
  background: rgba(0, 212, 255, 0.10);
  border-color: rgba(0, 212, 255, 0.4);
  border-left-color: var(--dv-green);
  color: var(--dv-cyan);
  transform: translateX(2px);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.12);
}

.tech-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dv-cyan);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.55);
  animation: tech-dot-pulse 2.4s ease-in-out infinite;
}
@keyframes tech-dot-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(0, 212, 255, 0.55); }
  50%      { box-shadow: 0 0 14px rgba(0, 212, 255, 0.85), 0 0 24px rgba(0, 255, 136, 0.4); }
}

/* ── Project Cards (Developer Override) ── */
.theme-developer .card-project {
  border-color: rgba(0, 212, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(0, 212, 255, 0.03), transparent 60%),
    rgba(7, 16, 28, 0.85);
}
.theme-developer .card-project:hover {
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow:
    0 4px 20px rgba(0, 212, 255, 0.10),
    0 0 0 1px rgba(0, 212, 255, 0.08) inset;
  transform: translateY(-2px);
}

.theme-developer .tech-tag {
  font-family: 'Fira Code', monospace;
  background: rgba(0, 212, 255, 0.08);
  color: rgba(0, 212, 255, 0.85);
  border: 1px solid rgba(0, 212, 255, 0.14);
  border-radius: 3px;
}

/* ── Track Items (Developer Style) ── */
.theme-developer .track-item:hover {
  background: rgba(0, 212, 255, 0.04);
}
.theme-developer .track-play-btn:hover {
  background: var(--dv-cyan);
  color: var(--dv-bg-dark);
}

/* ── Mobile ── */
@media (max-width: 640px) {
  .dev-hero { padding: 40px 0 24px; }
  .dev-stats { gap: 24px; }
  .stat-value { font-size: 1.3rem; }
  .tech-stack-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}

/* ═══════════════════════════════════════════════════════ */
/*  PROJECT DETAILS PAGE                                   */
/* ═══════════════════════════════════════════════════════ */
.page-project-details {
  position: relative;
  min-height: 100vh;
}

.pd-hero {
  position: relative;
  z-index: 1;
  padding: 20px 0 32px;
  border-bottom: 1px solid rgba(0, 212, 255, 0.12);
  margin-bottom: 32px;
}

.pd-hero-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.pd-year {
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  color: var(--dv-mute);
}
.pd-year::before { content: '['; color: var(--dv-cyan-dim); }
.pd-year::after  { content: ']'; color: var(--dv-cyan-dim); }

.pd-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--theme-text);
  text-shadow: 0 0 18px rgba(0, 212, 255, 0.15);
}

.pd-description {
  font-size: 0.95rem;
  color: rgba(230, 247, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 640px;
}

.pd-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.pd-hero .btn { margin-right: 10px; }

/* Sections */
.pd-section {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

/* Screenshots */
.pd-screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.pd-screenshot {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.12);
}

.screenshot-placeholder {
  aspect-ratio: 16/10;
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 255, 136, 0.05)),
    repeating-linear-gradient(45deg,
      transparent 0,
      transparent 12px,
      rgba(0, 212, 255, 0.04) 12px,
      rgba(0, 212, 255, 0.04) 13px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-label {
  font-size: 0.78rem;
  color: rgba(0, 212, 255, 0.55);
  font-family: 'Fira Code', monospace;
}

/* README */
.pd-readme {
  background:
    linear-gradient(180deg, rgba(0, 212, 255, 0.04), transparent 30%),
    rgba(7, 16, 28, 0.7);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 6px;
  padding: 24px 24px 24px 56px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(230, 247, 255, 0.7);
  position: relative;
}
/* line-number gutter on the readme block */
.pd-readme::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 36px;
  background:
    repeating-linear-gradient(180deg,
      transparent 0px,
      transparent 1.55em,
      rgba(0, 212, 255, 0.08) 1.55em,
      rgba(0, 212, 255, 0.08) calc(1.55em + 1px));
  border-right: 1px solid rgba(0, 212, 255, 0.10);
}

.pd-readme h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  color: var(--dv-cyan);
  margin: 24px 0 10px;
  text-shadow: 0 0 12px rgba(0, 212, 255, 0.3);
}
.pd-readme h2::before { content: '## '; color: var(--dv-green-dim); font-family: 'Fira Code', monospace; }
.pd-readme h2:first-child { margin-top: 0; }

.pd-readme h3 {
  font-size: 1rem;
  color: rgba(230, 247, 255, 0.85);
  margin: 20px 0 8px;
}
.pd-readme h3::before { content: '### '; color: var(--dv-green-dim); font-family: 'Fira Code', monospace; }

.pd-readme h4 {
  font-size: 0.9rem;
  color: rgba(230, 247, 255, 0.75);
  margin: 16px 0 6px;
}

.pd-readme p { margin-bottom: 12px; }

.pd-readme code {
  font-family: 'Fira Code', monospace;
  font-size: 0.82rem;
  padding: 2px 6px;
  background: rgba(0, 212, 255, 0.10);
  border: 1px solid rgba(0, 212, 255, 0.16);
  border-radius: 3px;
  color: var(--dv-cyan);
}

.pd-readme ul {
  margin-bottom: 12px;
  padding-left: 20px;
}

.pd-readme li {
  list-style: none;
  margin-bottom: 4px;
  color: rgba(230, 247, 255, 0.65);
  position: relative;
  padding-left: 14px;
}
.pd-readme li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--dv-green-dim);
}

.pd-readme strong { color: rgba(230, 247, 255, 0.95); }

/* Store Items in Project Details */
.pd-store-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pd-store-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background:
    linear-gradient(180deg, rgba(0, 212, 255, 0.05), rgba(0, 212, 255, 0.02));
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 6px;
  transition: all 0.2s;
}
.pd-store-card:hover {
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.10);
}

.pd-store-info h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.pd-store-info .store-meta { font-size: 0.72rem; }

.pd-store-action {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Dev Store overrides */
.theme-developer .card-store-item {
  background:
    linear-gradient(180deg, rgba(0, 212, 255, 0.04), transparent 50%),
    rgba(7, 16, 28, 0.85);
  border-color: rgba(0, 212, 255, 0.14);
}
.theme-developer .card-store-item:hover {
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 6px 22px rgba(0, 212, 255, 0.12);
}

.theme-developer .btn-add-cart {
  background: linear-gradient(180deg, #00d4ff, #00a3cc);
  color: var(--dv-bg-dark);
  font-family: 'Fira Code', monospace;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.theme-developer .btn-add-cart:hover {
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.45);
}

.card-view-link {
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  color: var(--dv-cyan);
  opacity: 0;
  transition: opacity 0.2s;
}
.card-view-link::before { content: '> '; color: var(--dv-green-dim); }

.card-project:hover .card-view-link { opacity: 1; }

.card-project .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 640px) {
  .pd-store-card { flex-direction: column; align-items: flex-start; }
  .pd-store-action { width: 100%; justify-content: space-between; }
  .pd-screenshots { grid-template-columns: 1fr; }
  .pd-readme { padding: 20px 16px 20px 44px; }
  .pd-readme::before { width: 28px; }
}

/* ── Developer Timeline Overrides ── */
.theme-developer .timeline::before {
  background: linear-gradient(180deg,
    rgba(0, 212, 255, 0.05),
    rgba(0, 212, 255, 0.25) 20%,
    rgba(0, 255, 136, 0.25) 80%,
    rgba(0, 212, 255, 0.05));
}

.theme-developer .timeline-content {
  border-color: rgba(0, 212, 255, 0.12);
  background: rgba(7, 16, 28, 0.7);
}

.theme-developer .timeline-content:hover {
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.10);
}

.theme-developer .timeline-date {
  color: var(--dv-cyan);
  font-family: 'Fira Code', monospace;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* ── Developer Blog Overrides ── */
.theme-developer .blog-card-link .card:hover {
  border-color: rgba(0, 212, 255, 0.35);
}

.theme-developer .blog-title {
  color: var(--theme-text);
}

.theme-developer .blog-body h2 {
  color: var(--dv-cyan);
  text-shadow: 0 0 12px rgba(0, 212, 255, 0.25);
}
.theme-developer .blog-body h2::before {
  content: '## ';
  color: var(--dv-green-dim);
  font-family: 'Fira Code', monospace;
}

.theme-developer .blog-body code {
  background: rgba(0, 212, 255, 0.10);
  color: var(--dv-cyan);
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 3px;
}

.page-dev-blog-detail .blog-article {
  background:
    linear-gradient(180deg, rgba(0, 212, 255, 0.03), transparent 30%),
    rgba(7, 16, 28, 0.7);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 8px;
  padding: 28px;
}

@media (max-width: 640px) {
  .page-dev-blog-detail .blog-article { padding: 20px 16px; }
}

/* ═══════════════════════════════════════════════════════ */
/*  DEV SYSTEM HUD BAR (top of dev pages)                  */
/* ═══════════════════════════════════════════════════════ */
.dev-hud {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  padding: 8px 20px;
  margin: 0 -20px 20px;
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem;
  color: rgba(0, 212, 255, 0.7);
  background:
    linear-gradient(90deg, rgba(0, 212, 255, 0.06), transparent 70%),
    rgba(5, 8, 16, 0.75);
  border-top: 1px solid rgba(0, 212, 255, 0.18);
  border-bottom: 1px solid rgba(0, 212, 255, 0.18);
  letter-spacing: 0.04em;
  text-transform: lowercase;
  backdrop-filter: blur(6px);
  box-shadow:
    0 1px 0 rgba(0, 255, 136, 0.10) inset,
    0 8px 18px rgba(0, 0, 0, 0.3);
}
.dev-hud em {
  font-style: normal;
  color: var(--dv-text);
  margin-left: 4px;
  text-shadow: 0 0 6px rgba(0, 212, 255, 0.3);
}
.hud-cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.hud-cell-right {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.5);
}
.hud-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dv-green);
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.7);
  animation: hud-pulse 2s ease-in-out infinite;
}
@keyframes hud-pulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.8); }
}
@media (max-width: 640px) {
  .dev-hud { font-size: 0.62rem; gap: 12px; padding: 8px 14px; }
  .hud-cell-right { margin-left: 0; width: 100%; }
}

/* Section header layout — allow link on the right */
.theme-developer .section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

/* ── Card sharpening + corner brackets (signature dev look) ── */
.theme-developer .card { border-radius: 4px; }
.theme-developer .card-project {
  border-radius: 3px;
  position: relative;
}
.theme-developer .card-project::before,
.theme-developer .card-project::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  pointer-events: none;
  opacity: 0.85;
  transition: all 0.25s var(--ease-out);
}
.theme-developer .card-project::before {
  top: -1px; left: -1px;
  border-top: 1px solid var(--dv-cyan);
  border-left: 1px solid var(--dv-cyan);
}
.theme-developer .card-project::after {
  bottom: -1px; right: -1px;
  border-bottom: 1px solid var(--dv-cyan);
  border-right: 1px solid var(--dv-cyan);
}
.theme-developer .card-project:hover::before,
.theme-developer .card-project:hover::after {
  width: 14px;
  height: 14px;
  border-color: var(--dv-green);
  filter: drop-shadow(0 0 6px rgba(0, 255, 136, 0.6));
}

/* ═══════════════════════════════════════════════════════ */
/*  DEV REUSABLE COMPONENTS                                */
/* ═══════════════════════════════════════════════════════ */

/* Stat tile row + tile */
.dev-stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.stat-tile {
  font-family: 'Fira Code', monospace;
  background:
    linear-gradient(180deg, rgba(0, 212, 255, 0.05), transparent 60%),
    rgba(5, 8, 16, 0.75);
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-left: 3px solid var(--dv-cyan);
  border-radius: 4px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s;
}
.stat-tile:hover {
  border-left-color: var(--dv-green);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.12);
}
.stat-tile-value {
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--dv-text);
  letter-spacing: 0.02em;
  text-shadow: 0 0 12px rgba(0, 212, 255, 0.25);
}
.stat-tile-label {
  font-size: 0.7rem;
  text-transform: lowercase;
  color: var(--dv-cyan-dim);
  letter-spacing: 0.06em;
}
.stat-tile-label::before { content: '> '; color: var(--dv-green-dim); }
.stat-tile-hint {
  font-size: 0.65rem;
  color: rgba(230, 247, 255, 0.4);
  margin-top: 2px;
}

/* Terminal block — code-window aesthetic */
.term-block {
  font-family: 'Fira Code', monospace;
  background: rgba(2, 6, 12, 0.92);
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(0, 212, 255, 0.06) inset,
    0 0 30px rgba(0, 212, 255, 0.06);
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background:
    linear-gradient(180deg, rgba(0, 212, 255, 0.08), rgba(0, 212, 255, 0.02));
  border-bottom: 1px solid rgba(0, 212, 255, 0.16);
}
.term-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.term-dot:nth-child(1) { background: var(--dv-red);    box-shadow: 0 0 4px rgba(255, 95, 87, 0.6); }
.term-dot:nth-child(2) { background: var(--dv-amber);  box-shadow: 0 0 4px rgba(254, 188, 46, 0.6); }
.term-dot:nth-child(3) { background: var(--dv-green);  box-shadow: 0 0 4px rgba(0, 255, 136, 0.6); }
.term-title {
  margin-left: 8px;
  font-size: 0.7rem;
  color: rgba(230, 247, 255, 0.5);
  letter-spacing: 0.05em;
}
.term-body {
  padding: 14px 16px;
  font-size: 0.84rem;
  line-height: 1.7;
}
.term-line { display: flex; gap: 10px; }
.term-prefix {
  color: var(--dv-cyan-dim);
  flex-shrink: 0;
  width: 14px;
}
.term-text { color: rgba(230, 247, 255, 0.9); }
.term-in   .term-prefix { color: var(--dv-cyan);  text-shadow: 0 0 6px rgba(0, 212, 255, 0.5); }
.term-in   .term-text   { color: var(--dv-text); }
.term-out  .term-text   { color: rgba(230, 247, 255, 0.65); }
.term-ok   .term-prefix { color: var(--dv-green); text-shadow: 0 0 6px rgba(0, 255, 136, 0.5); }
.term-ok   .term-text   { color: var(--dv-green); }

/* Commit list — git log style */
.commit-list {
  font-family: 'Fira Code', monospace;
  background: rgba(5, 8, 16, 0.65);
  border: 1px solid rgba(0, 212, 255, 0.14);
  border-radius: 6px;
  overflow: hidden;
}
.commit-item {
  display: grid;
  grid-template-columns: 80px auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px 16px;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(0, 212, 255, 0.08);
  transition: background 0.15s;
}
.commit-item:last-child { border-bottom: none; }
.commit-item:hover { background: rgba(0, 212, 255, 0.06); }
.commit-hash {
  color: var(--dv-magenta);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-shadow: 0 0 6px rgba(255, 95, 177, 0.3);
}
.commit-scope {
  color: var(--dv-cyan);
  font-size: 0.74rem;
  white-space: nowrap;
  text-shadow: 0 0 6px rgba(0, 212, 255, 0.3);
}
.commit-msg {
  color: rgba(230, 247, 255, 0.85);
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.commit-time {
  color: rgba(230, 247, 255, 0.4);
  font-size: 0.7rem;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .commit-item {
    grid-template-columns: 70px 1fr;
    grid-template-rows: auto auto;
  }
  .commit-msg { grid-column: 1 / -1; }
  .commit-time { grid-column: 2; justify-self: end; }
}

/* Activity heatmap */
.heatmap-wrap {
  font-family: 'Fira Code', monospace;
  padding: 12px;
  background: rgba(5, 8, 16, 0.65);
  border: 1px solid rgba(0, 212, 255, 0.14);
  border-radius: 6px;
  overflow-x: auto;
}
.heatmap {
  display: flex;
  gap: 3px;
  min-width: max-content;
}
.heat-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.heat-cell {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: rgba(0, 212, 255, 0.06);
  transition: transform 0.15s;
}
.heat-cell:hover { transform: scale(1.45); }
.heat-l0 { background: rgba(0, 212, 255, 0.06); }
.heat-l1 { background: rgba(0, 212, 255, 0.22); }
.heat-l2 { background: rgba(0, 255, 136, 0.40); }
.heat-l3 { background: rgba(0, 255, 136, 0.65); box-shadow: 0 0 4px rgba(0, 255, 136, 0.3); }
.heat-l4 { background: var(--dv-green);          box-shadow: 0 0 6px rgba(0, 255, 136, 0.55); }
.heatmap-legend {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  justify-content: flex-end;
  font-size: 0.65rem;
  color: rgba(230, 247, 255, 0.4);
  letter-spacing: 0.05em;
}
.heatmap-legend .heat-cell { cursor: default; }

/* Tech badge row */
.tech-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tech-badge {
  font-family: 'Fira Code', monospace;
  font-size: 0.78rem;
  padding: 6px 12px;
  border: 1px solid rgba(0, 212, 255, 0.28);
  border-radius: 3px;
  color: var(--dv-text);
  background: rgba(0, 212, 255, 0.05);
  letter-spacing: 0.04em;
  transition: all 0.2s;
}
.tech-badge:hover {
  border-color: var(--dv-cyan);
  color: var(--dv-cyan);
  background: rgba(0, 212, 255, 0.12);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.25);
}
.tb-bracket {
  color: rgba(0, 255, 136, 0.6);
  margin: 0 4px;
}
.tech-badge:hover .tb-bracket { color: var(--dv-green); text-shadow: 0 0 6px rgba(0, 255, 136, 0.5); }

/* Developer identity flash — cyber palette (overrides components.css) */
.identity-flash-developer::after {
  background: radial-gradient(circle at center,
    rgba(0, 212, 255, 0.22),
    rgba(0, 255, 136, 0.12) 50%,
    transparent 80%) !important;
}
