:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-hover: #f1f5f9;
  --border: rgba(148, 163, 184, 0.2);
  --border-hover: rgba(148, 163, 184, 0.4);
  --text: #1e293b;
  --muted: #64748b;
  --font-sans: "Plus Jakarta Sans", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* Vibrant multi-color theme tokens (Light optimized) */
  --c-cyan: #0284c7;
  --c-purple: #7c3aed;
  --c-green: #0d9488;
  --c-orange: #ea580c;
  --c-pink: #db2777;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  nav,
  header,
  .metrics-grid,
  section {
    opacity: 1 !important;
  }
}

/* Animated Multicolor Light Mesh Background */
.mesh-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  opacity: 0.6;
  filter: blur(100px);
}
.mesh-blob {
  position: absolute;
  border-radius: 50%;
  animation: drift 18s ease-in-out infinite alternate;
}
.blob-1 {
  width: 450px;
  height: 450px;
  background: rgba(2, 132, 199, 0.12);
  top: -5%;
  left: 10%;
}
.blob-2 {
  width: 500px;
  height: 500px;
  background: rgba(124, 58, 237, 0.1);
  bottom: 5%;
  right: 10%;
  animation-delay: -6s;
}
.blob-3 {
  width: 400px;
  height: 400px;
  background: rgba(13, 148, 136, 0.1);
  top: 40%;
  left: 30%;
  animation-delay: -12s;
}

@keyframes drift {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  100% {
    transform: translate(40px, -50px) scale(1.12) rotate(15deg);
  }
}

.wrapper {
  max-width: 840px;
  margin: 0 auto;
  padding: 70px max(24px, env(safe-area-inset-right)) 120px
    max(24px, env(safe-area-inset-left));
}

/* Navigation / Top Bar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 50px;
  animation: fadeSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.nav-logo {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-logo span {
  color: var(--c-cyan);
}

.nav-links {
  display: flex;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 6px 0;
}
.nav-links a:hover {
  color: var(--c-cyan);
}

/* Hero Section */
header {
  margin-bottom: 40px;
  animation: fadeSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
  opacity: 0;
}

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

.profile-avatar-container {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--c-cyan), var(--c-purple));
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.2);
  flex-shrink: 0;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #e2e8f0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--c-green);
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.25);
  padding: 4px 12px;
  border-radius: 30px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 8px var(--c-green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

h1 {
  font-size: clamp(32px, 5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.2;
}

.subtitle {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--c-cyan);
  margin-bottom: 24px;
}

.bio {
  font-size: 16.5px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 30px;
}
.bio strong {
  color: var(--text);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  padding: 13px 20px;
  min-height: 44px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.btn-primary {
  background: var(--text);
  color: #fff;
  box-shadow: 0 4px 20px rgba(30, 41, 59, 0.15);
}
.btn-primary:hover {
  background: var(--c-cyan);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(2, 132, 199, 0.3);
}
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}
.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* Metric Blocks */
.metrics-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  animation: fadeSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  opacity: 0;
}
.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 18px 16px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
  flex: 1 1 200px;
  max-width: 280px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.metric-card.horizontal-chip {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  text-align: left;
  max-width: 100%;
  flex: 1 1 280px;
}
.metric-card.horizontal-chip::after {
  top: 0;
  bottom: auto;
  left: 0;
  width: 4px;
  height: 100%;
}
.metric-card.horizontal-chip .metric-val {
  margin-bottom: 0;
  font-size: 20px;
  flex-shrink: 0;
}
.metric-card.horizontal-chip .metric-lbl {
  font-size: 12px;
  line-height: 1.4;
}
.metric-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--m-color, var(--c-cyan));
  opacity: 0.8;
}
.metric-card:hover {
  border-color: var(--m-color, var(--c-cyan));
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}
.metric-val {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--m-color, var(--c-cyan));
  margin-bottom: 4px;
}
.metric-lbl {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

/* Section Containers */
section {
  margin-bottom: 50px;
  animation: fadeSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

h2 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-purple);
  margin-bottom: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}
h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}

/* Experience Cards */
.experience-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 16px;
  margin-bottom: 32px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.experience-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.exp-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.exp-company {
  color: var(--c-cyan);
  font-weight: 600;
}
.exp-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.story-narrative {
  font-size: 15px;
  color: #334155;
  margin-bottom: 20px;
  line-height: 1.75;
}
.story-narrative strong {
  color: var(--text);
}

/* Case Study Grid */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.case-box {
  background: #fcfdfd;
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}
.case-box.hld {
  border-top: 3px solid var(--c-cyan);
}
.case-box.tradeoff {
  border-top: 3px solid var(--c-orange);
}
.case-box.metric {
  border-top: 3px solid var(--c-green);
}

.case-box-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.case-box.hld .case-box-title {
  color: var(--c-cyan);
}
.case-box.tradeoff .case-box-title {
  color: var(--c-orange);
}
.case-box.metric .case-box-title {
  color: var(--c-green);
}

.case-box-body {
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
  flex: 1;
}
.case-box-body ul {
  list-style: none;
  padding: 0;
}
.case-box-body li {
  position: relative;
  padding-left: 12px;
  margin-bottom: 6px;
}
.case-box-body li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.tag-item {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  background: #f8fafc;
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 6px;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 22px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.project-card:hover {
  border-color: var(--c-cyan);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.08);
}
.project-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.project-desc {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.6;
}
.project-tech {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-cyan);
  font-weight: 500;
}

/* Skills Breakdown */
.skills-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.skill-group {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.skill-group:last-child {
  border-bottom: none;
}
.skill-label {
  flex: 0 0 130px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
}
.skill-items {
  flex: 1;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.ongoing-badge {
  color: var(--c-orange);
  display: inline-block;
  font-size: 12px;
}

/* Footer */
footer {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 16px;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--c-cyan);
}

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

/* Responsive Adjustments */
@media (max-width: 900px) {
  .wrapper {
    padding-top: 56px;
  }
}

@media (max-width: 768px) {
  .wrapper {
    padding: 40px 16px 80px;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .case-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .experience-card {
    padding: 22px 20px;
  }
  .hero-top {
    gap: 16px;
  }
  .profile-avatar-container {
    width: 76px;
    height: 76px;
  }
  .status-badge {
    font-size: 11.5px;
    line-height: 1.5;
    padding: 8px 12px;
    align-items: flex-start;
  }
  .status-dot {
    margin-top: 4px;
    flex-shrink: 0;
  }
  .skill-group {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
  .skill-label {
    flex: none;
    width: 100%;
    border-bottom: 1px dashed var(--border);
    padding-bottom: 4px;
  }
}

@media (max-width: 600px) {
  .wrapper {
    padding-top: 32px;
  }
  nav {
    margin-bottom: 36px;
  }
  header {
    margin-bottom: 32px;
  }
  .hero-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  h1,
  .subtitle {
    text-align: center;
  }
  .bio {
    font-size: 15.5px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  .metrics-grid {
    margin-bottom: 36px;
    gap: 8px;
  }
  .metric-card {
    flex: 1 1 150px;
    max-width: 220px;
    padding: 16px 10px;
  }
  .metric-card.horizontal-chip {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 12px 16px;
  }
  .metric-card.horizontal-chip .metric-val {
    font-size: 18px;
  }
  .metric-card.horizontal-chip .metric-lbl {
    font-size: 11.5px;
  }
  .metric-val {
    font-size: 20px;
  }
  h2 {
    justify-content: center;
    text-align: center;
  }
  h2::after {
    display: none;
  }
  section {
    margin-bottom: 40px;
  }
  .experience-card {
    padding: 18px 16px;
    border-radius: 14px;
  }
  .exp-title {
    font-size: 16.5px;
  }
  .case-box {
    padding: 14px;
  }
  .stack-tags {
    margin-top: 14px;
    padding-top: 12px;
  }
  .skills-box {
    padding: 18px;
  }
  footer {
    justify-content: center;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
  .mesh-container {
    filter: blur(60px);
    opacity: 0.45;
  }
  .mesh-blob {
    animation: none;
  }
}

/* Theme Configuration Styles */
:root {
  --bg-main: #f8fafc;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text-primary: #0f172a;
  --muted: #64748b;
  --c-cyan: #0284c7;
  --c-purple: #7c3aed;
  --c-green: #16a34a;
  --c-orange: #ea580c;
  --c-pink: #db2777;
}

[data-theme="light"] {
  --bg-main: #f8fafc;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text-primary: #0f172a;
  --muted: #64748b;
  --c-cyan: #0284c7;
  --c-purple: #7c3aed;
  --c-green: #16a34a;
  --c-orange: #ea580c;
  --c-pink: #db2777;
}

/* Ultra-Vibrant Multi-Color Dark Dragon Theme */
[data-theme="dark-dragon"] {
  --bg-main: #020617;
  --surface: rgba(15, 23, 42, 0.85);
  --border: rgba(255, 255, 255, 0.12);
  --text-primary: #f8fafc;
  --muted: #cbd5e1;
  --c-cyan: #38bdf8;
  --c-purple: #e879f9;
  --c-green: #4ade80;
  --c-orange: #fbbf24;
  --c-pink: #f43f5e;
}

body {
  background-color: var(--bg-main) !important;
  color: var(--text-primary) !important;
}

[data-theme="dark-dragon"] nav {
  background: rgba(2, 6, 23, 0.9) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

[data-theme="dark-dragon"] h1 {
  background: linear-gradient(135deg, #38bdf8 0%, #e879f9 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(232, 121, 249, 0.3);
}

[data-theme="dark-dragon"] h2 {
  background: linear-gradient(135deg, #f8fafc 0%, #38bdf8 50%, #e879f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  position: relative;
  display: inline-block;
}

[data-theme="dark-dragon"] h2::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8, #e879f9);
  border-radius: 2px;
}

[data-theme="dark-dragon"] .subtitle {
  background: linear-gradient(135deg, #38bdf8 0%, #e879f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

/* Multi-Color Keyword Highlighting inside Bio for Dark Dragon Theme */
[data-theme="dark-dragon"] .bio strong:nth-of-type(1) {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

[data-theme="dark-dragon"] .bio strong:nth-of-type(2) {
  background: linear-gradient(135deg, #e879f9 0%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

[data-theme="dark-dragon"] .bio strong:nth-of-type(3) {
  background: linear-gradient(135deg, #4ade80 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

[data-theme="dark-dragon"] .bio strong:nth-of-type(4) {
  background: linear-gradient(135deg, #ded44a 0%, #c818ce 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

[data-theme="dark-dragon"] .metric-card,
[data-theme="dark-dragon"] .experience-card,
[data-theme="dark-dragon"] .project-card,
[data-theme="dark-dragon"] .skills-box,
[data-theme="dark-dragon"] .case-box {
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(30, 41, 59, 0.85) 100%
  ) !important;
  border: 1px solid var(--border) !important;
  box-shadow:
    0 12px 40px -12px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

[data-theme="dark-dragon"] .experience-card::before,
[data-theme="dark-dragon"] .project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #e879f9, #4ade80, #fbbf24);
  opacity: 0.7;
}

[data-theme="dark-dragon"] .experience-card:hover,
[data-theme="dark-dragon"] .project-card:hover {
  border-color: rgba(232, 121, 249, 0.5) !important;
  box-shadow:
    0 25px 50px -15px rgba(232, 121, 249, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

[data-theme="dark-dragon"] .exp-title {
  color: #f8fafc;
  font-weight: 700;
  font-size: 1.25rem;
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark-dragon"] .exp-company {
  background: linear-gradient(135deg, #e879f9 0%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

[data-theme="dark-dragon"] .exp-date {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}

[data-theme="dark-dragon"] .story-narrative {
  color: #e2e8f0;
  font-size: 1.05rem;
  line-height: 1.7;
}

[data-theme="dark-dragon"] .story-narrative strong {
  background: linear-gradient(135deg, #38bdf8 0%, #e879f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

[data-theme="dark-dragon"] .case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

[data-theme="dark-dragon"] .case-box {
  background: rgba(30, 41, 59, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-left: 4px solid #38bdf8 !important;
  border-radius: 12px;
  padding: 20px;
}

[data-theme="dark-dragon"] .case-box.hld {
  border-left-color: #38bdf8 !important;
}
[data-theme="dark-dragon"] .case-box.tradeoff {
  border-left-color: #e879f9 !important;
}
[data-theme="dark-dragon"] .case-box.metric {
  border-left-color: #4ade80 !important;
}

[data-theme="dark-dragon"] .case-box-title {
  color: #f8fafc;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

[data-theme="dark-dragon"] .case-box-body li {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

[data-theme="dark-dragon"] .skills-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding: 24px !important;
}

[data-theme="dark-dragon"] .skill-group {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px;
}

[data-theme="dark-dragon"] .skill-label {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}

[data-theme="dark-dragon"] .skill-label.text-green {
  color: #4ade80;
}
[data-theme="dark-dragon"] .skill-label.text-cyan {
  color: #38bdf8;
}
[data-theme="dark-dragon"] .skill-label.text-orange {
  color: #fbbf24;
}
[data-theme="dark-dragon"] .skill-label.text-pink {
  color: #f43f5e;
}

[data-theme="dark-dragon"] .skill-items {
  color: #cbd5e1;
  font-size: 0.95rem;
}

[data-theme="dark-dragon"] .project-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f8fafc;
}

[data-theme="dark-dragon"] .project-desc {
  color: #cbd5e1;
  margin-top: 10px;
  font-size: 0.95rem;
}

[data-theme="dark-dragon"] .project-tech {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

[data-theme="dark-dragon"] .status-badge {
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.15),
    rgba(232, 121, 249, 0.15)
  );
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #f8fafc;
}

[data-theme="dark-dragon"] .tag-item,
[data-theme="dark-dragon"] .ongoing-badge {
  background: rgba(232, 121, 249, 0.15);
  color: #e879f9;
  border: 1px solid rgba(232, 121, 249, 0.35);
  font-weight: 600;
}

[data-theme="dark-dragon"] .btn-primary {
  background: linear-gradient(135deg, #38bdf8 0%, #a855f7 50%, #f43f5e 100%);
  color: #ffffff !important;
  border: none;
}

[data-theme="dark-dragon"] .btn-secondary {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8 !important;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.theme-toggle-btn:hover {
  border-color: var(--c-cyan);
  transform: translateY(-1px);
}

[data-theme="dark-dragon"] .theme-toggle-btn {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(255, 255, 255, 0.15);
  color: #38bdf8;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
