@font-face {
  font-family: "Hasklug Nerd Font";
  src: url("assets/fonts/Hasklig/HasklugNerdFontMono-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hasklug Nerd Font";
  src: url("assets/fonts/Hasklig/HasklugNerdFontMono-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rise Hans Zimmer";
  src: url("RiseHansZimmer-YqjBL.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-0: #080b10;
  --bg-1: #0e141c;
  --bg-2: #0b1c26;
  --terminal: rgba(9, 13, 18, 0.92);
  --line: rgba(121, 166, 210, 0.2);
  --accent: #7df9ff;
  --accent-2: #f6c453;
  --text: #e4f0ff;
  --muted: #8fa4bd;
  --danger: #ff6b6b;
}

/* 3D Background Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  pointer-events: none;
}

/* Matrix Rain Canvas */
#matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -9;
  pointer-events: none;
  opacity: 0.4;
}


/* Cursor Trail */
#cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

.trail-particle {
  position: absolute;
  background: radial-gradient(circle, var(--accent), transparent);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  filter: blur(1px);
}

/* Click Ripple Effect */
.click-ripple {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--accent);
  transform: translate(-50%, -50%);
  animation: ripple-expand 1s ease-out forwards;
  pointer-events: none;
  z-index: 9998;
}

@keyframes ripple-expand {
  0% {
    width: 10px;
    height: 10px;
    opacity: 1;
    border-width: 2px;
  }
  100% {
    width: 200px;
    height: 200px;
    opacity: 0;
    border-width: 1px;
  }
}

/* Floating Orbs */
.floating-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -6;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: none;
  opacity: 0.3;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(125, 249, 255, 0.3), transparent 70%);
  top: -100px;
  left: -100px;
  animation: float 10s ease-in-out infinite;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(246, 196, 83, 0.25), transparent 70%);
  top: 50%;
  right: -100px;
  animation: float 12s ease-in-out infinite reverse;
  animation-delay: 2s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(125, 249, 255, 0.2), transparent 70%);
  bottom: 10%;
  left: 30%;
  animation: float 8s ease-in-out infinite;
  animation-delay: 4s;
}

/* Performance optimizations */
.landing-title,
.project-card,
.timeline-node,
.contact-card {
  will-change: transform;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  #bg-canvas {
    display: none;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(circle at 15% 20%, rgba(125, 249, 255, 0.12), transparent 45%),
    radial-gradient(circle at 85% 5%, rgba(246, 196, 83, 0.12), transparent 40%),
    linear-gradient(160deg, var(--bg-0), var(--bg-2));
  font-family: "Hasklug Nerd Font", "Space Mono", monospace;
  letter-spacing: 0.2px;
}


body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg, rgba(24, 38, 59, 0.5), rgba(8, 10, 16, 0.2));
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(125, 249, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 249, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.4;
  pointer-events: none;
  z-index: -1;
}

#root {
  min-height: 100%;
}

.app {
  min-height: 100vh;
  width: 100%;
}

.terminal-shell {
  border: 1px solid rgba(125, 249, 255, 0.25);
  border-radius: 0;
  background: var(--terminal);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  position: relative;
  min-height: 100vh;
  scrollbar-color: rgba(125, 249, 255, 0.5) rgba(12, 18, 28, 0.7);
  scrollbar-width: thin;
  animation: none;
  backdrop-filter: blur(10px);
}

.terminal-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 3px);
  opacity: 0.35;
  pointer-events: none;
}

/* Moving scanline effect */
.terminal-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(180deg, transparent, rgba(125, 249, 255, 0.1), transparent);
  animation: scanline 8s linear infinite;
  pointer-events: none;
  z-index: 100;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: linear-gradient(90deg, rgba(12, 18, 28, 0.95), rgba(20, 30, 45, 0.9), rgba(12, 18, 28, 0.95));
  background-size: 200% 100%;
  animation: cyber-line 8s linear infinite;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.terminal-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: shimmer 3s linear infinite;
  background-size: 200% 100%;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.terminal-dot:hover {
  transform: scale(1.3);
}

.dot-red {
  background: #ff5f56;
}

.dot-yellow {
  background: #ffbd2e;
}

.dot-green {
  background: #27c93f;
}

.terminal-title {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

.landing {
  padding: 26px 36px 8px;
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  animation: fade-in 0.6s ease-out both;
}

.landing-title {
  --name-notch: 16px;
  font-family: "Rise Hans Zimmer", "Bebas Neue", "Space Mono", monospace;
  font-size: clamp(44px, 7vw, 76px);
  text-transform: uppercase;
  letter-spacing: 4px;
  line-height: 1.05;
  color: var(--text);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  background:
    linear-gradient(135deg, rgba(10, 15, 22, 0.95), rgba(12, 18, 28, 0.9)),
    repeating-linear-gradient(-45deg, rgba(125, 249, 255, 0.04) 0 8px, transparent 8px 16px);
  clip-path: polygon(
    0 0,
    calc(100% - var(--name-notch)) 0,
    100% var(--name-notch),
    100% 100%,
    var(--name-notch) 100%,
    0 calc(100% - var(--name-notch))
  );
  -webkit-clip-path: polygon(
    0 0,
    calc(100% - var(--name-notch)) 0,
    100% var(--name-notch),
    100% 100%,
    var(--name-notch) 100%,
    0 calc(100% - var(--name-notch))
  );
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  animation: fade-in 0.6s ease-out both;
  isolation: isolate;
  margin: 0 auto;
}

.landing-title::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 10px;
  bottom: 10px;
  width: 6px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  clip-path: polygon(100% 0, 100% 100%, 0 80%, 0 20%);
  opacity: 0.8;
}

.landing-title::after {
  content: "";
  position: absolute;
  inset: 6px;
  pointer-events: none;
  clip-path: inherit;
  -webkit-clip-path: inherit;
}

.landing-title:hover {
  animation: none;
  border-color: rgba(125, 249, 255, 0.4);
}

.landing-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 12px;
}

.landing-links a {
  color: var(--accent);
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  padding: 2px 0;
}

.landing-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.landing-links a:hover {
  color: var(--text);
}

.landing-links a:hover::after {
  width: 100%;
}

.landing-sep {
  color: var(--muted);
}

.command-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  justify-content: center;
  font-size: 12px;
}

.command-link {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--accent);
  padding: 4px 10px;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.3px;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.command-link:hover {
  color: var(--text);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.command-link:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

.help-commands {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.help-message {
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.3px;
}

.help-note {
  color: var(--muted);
  font-size: 12px;
}

.landing-divider {
  display: none;
}

.landing-intro {
  color: var(--text);
  font-size: 12px;
  animation: fade-up 0.5s ease-out 0.3s both;
}

.landing-table {
  margin: 0;
  color: var(--text);
  font-size: 12px;
  line-height: 1.5;
  white-space: pre;
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.landing-note {
  display: none;
}

.terminal-io {
  padding: 12px 36px 40px;
  display: grid;
  gap: 14px;
}

.prompt-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--text);
  font-size: 13px;
}

.prompt-sign {
  color: var(--danger);
}

.prompt-text {
  color: var(--text);
}

.prompt-input {
  background: transparent;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  flex: 1;
  outline: none;
  caret-color: var(--danger);
  letter-spacing: 0.3px;
}

.terminal-entry {
  display: grid;
  gap: 6px;
  animation: fade-up 0.35s ease-out both, text-reveal 0.6s ease-out both;
  position: relative;
}

.terminal-entry::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-2), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.terminal-entry:hover::before {
  opacity: 0.5;
}

.terminal-output-block {
  display: block;
}

.terminal-output {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
}

/* ========== BATMAN-STYLE EXPERIENCE ========== */
.experience-container {
  background: linear-gradient(135deg, rgba(5, 8, 12, 0.95), rgba(10, 15, 22, 0.9));
  border: none;
  border-radius: 0;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

/* HUD Grid Overlay */
.experience-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(125, 249, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 249, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  animation: grid-scan 10s linear infinite;
}

/* Corner Brackets */
.experience-container::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid transparent;
  border-image: linear-gradient(
    to right,
    var(--accent) 0%, var(--accent) 30px,
    transparent 30px, transparent calc(100% - 30px),
    var(--accent) calc(100% - 30px), var(--accent) 100%
  ) 1;
  pointer-events: none;
}

/* Experience Header */
.experience-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(125, 249, 255, 0.1);
  position: relative;
  z-index: 1;
}

.experience-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
}

.experience-title::before {
  content: "◈";
  font-size: 16px;
  animation: none;
}

.experience-status {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-2);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(246, 196, 83, 0.1);
  border: 1px solid rgba(246, 196, 83, 0.3);
}

.experience-status-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-2);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

/* Experience Grid Layout */
.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 1;
}

/* Timeline Section */
.experience-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(125, 249, 255, 0.05);
  border: 1px solid rgba(125, 249, 255, 0.1);
}

.timeline-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
}

.timeline-count {
  font-size: 9px;
  color: var(--muted);
  font-family: monospace;
}

/* Experience Cards Container */
.experience-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 500px;
  overflow-y: auto;
  overflow-x: visible;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(125, 249, 255, 0.3) transparent;
}

.experience-cards::-webkit-scrollbar {
  width: 4px;
}

.experience-cards::-webkit-scrollbar-track {
  background: transparent;
}

.experience-cards::-webkit-scrollbar-thumb {
  background: rgba(125, 249, 255, 0.3);
  border-radius: 0;
}

/* Individual Experience Card */
.exp-card {
  position: relative;
  background: linear-gradient(145deg, rgba(8, 12, 18, 0.95), rgba(15, 20, 28, 0.9));
  border: none;
  padding: 0;
  margin: 0;
  display: block;
  animation: card-materialize 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: visible;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  text-align: left;
  width: 100%;
  min-height: auto;
  height: auto;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  color: inherit;
}

/* Corner accent */
.exp-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), transparent);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Scanning Line Effect */
.exp-card::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.exp-card:hover::after {
  animation: scan-line 1s ease-in-out;
}

/* Card Header */
.exp-card-header {
  background: linear-gradient(90deg, rgba(125, 249, 255, 0.1), transparent);
  padding: 10px 14px;
  border-bottom: 1px solid rgba(125, 249, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.exp-card-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.exp-index {
  font-size: 9px;
  color: var(--accent);
  font-family: monospace;
  letter-spacing: 1px;
}

.exp-status-indicator {
  width: 8px;
  height: 8px;
  background: var(--accent-2);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: rotate-slow 4s linear infinite;
}

/* Card Body */
.exp-card-body {
  padding: 14px;
  display: block;
}

.exp-period {
  font-size: 10px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(125, 249, 255, 0.08);
  border: 1px solid rgba(125, 249, 255, 0.3);
  border-radius: 0;
  line-height: 1.2;
  width: fit-content;
  flex-shrink: 0;
  white-space: nowrap;
}

.exp-period::before {
  content: "●";
  font-size: 5px;
  animation: blink 1.5s ease-in-out infinite;
}

.exp-role {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  display: block;
  margin-bottom: 6px;
}

.exp-role::before {
  content: "// ";
  color: var(--accent);
  font-weight: 400;
  opacity: 0.6;
  font-size: 11px;
}

.exp-company {
  color: var(--muted);
  font-size: 11px;
  display: block;
}

.exp-company::before {
  content: "◆ ";
  font-size: 6px;
  color: var(--accent-2);
}

/* Card Footer with Progress */
.exp-card-footer {
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(125, 249, 255, 0.05);
}

.exp-progress-bar {
  display: block;
  width: 100%;
  height: 3px;
  background: rgba(125, 249, 255, 0.1);
  border-radius: 0;
  overflow: hidden;
}

.exp-progress-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 0;
  transition: width 0.4s ease;
}

/* Card Hover States */
.exp-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.exp-card:hover .exp-role {
  color: var(--accent);
}

.exp-card:hover .exp-card-header {
  background: linear-gradient(90deg, rgba(125, 249, 255, 0.15), transparent);
}

.exp-card:hover::before {
  opacity: 1;
}

/* Active Card State */
.exp-card.is-active {
  background: linear-gradient(145deg, rgba(246, 196, 83, 0.08), rgba(15, 20, 28, 0.95));
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.exp-card.is-active::before {
  opacity: 1;
  background: linear-gradient(180deg, var(--accent-2), transparent);
}

.exp-card.is-active .exp-card-header {
  background: linear-gradient(90deg, rgba(246, 196, 83, 0.15), transparent);
}

.exp-card.is-active .exp-index {
  color: var(--accent-2);
}

.exp-card.is-active .exp-role {
  color: var(--accent-2);
}

.exp-card.is-active .exp-period {
  color: var(--text);
  background: rgba(246, 196, 83, 0.18);
  border-color: rgba(246, 196, 83, 0.5);
}

.exp-card.is-active .exp-progress-fill {
  background: var(--accent-2);
}

/* Details Panel */
.experience-details {
  position: sticky;
  top: 0;
  align-self: start;
}

.details-card {
  position: relative;
  background: linear-gradient(145deg, rgba(8, 12, 18, 0.98), rgba(15, 20, 28, 0.95));
  border: none;
  overflow: hidden;
  animation: details-materialize 0.5s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@keyframes details-materialize {
  0% {
    opacity: 0;
    transform: translateX(20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Top accent line */
.details-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent));
  z-index: 2;
}

/* Scanning Line */
.details-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-2), var(--accent), var(--accent-2));
  background-size: 100% 200%;
  animation: gradient-flow 3s ease infinite;
}

@keyframes gradient-flow {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 0% 100%; }
}

/* Details Card Header */
.details-card-header {
  background: linear-gradient(90deg, rgba(125, 249, 255, 0.1), transparent);
  padding: 14px 20px;
  border-bottom: 1px solid rgba(125, 249, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.details-index {
  font-size: 10px;
  color: var(--accent);
  font-family: monospace;
  letter-spacing: 1px;
}

.details-status {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-2);
  display: flex;
  align-items: center;
  gap: 6px;
}

.details-status-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-2);
  border-radius: 50%;
  animation: blink 1s ease-in-out infinite;
}

/* Details Card Body */
.details-card-body {
  padding: 20px;
}

.details-meta {
  margin-bottom: 12px;
}

.details-period {
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(125, 249, 255, 0.1);
  border: 1px solid rgba(125, 249, 255, 0.2);
}

.details-period::before {
  content: "◈";
  font-size: 8px;
  color: var(--accent-2);
}

.details-title {
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.details-title::before {
  content: "//";
  color: var(--accent);
  font-weight: 400;
  opacity: 0.6;
}

.details-company {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.company-icon {
  color: var(--accent-2);
  font-size: 8px;
}

/* Details Section */
.details-section {
  margin-top: 16px;
}

.details-section-header {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-2);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(246, 196, 83, 0.2);
}

.section-icon {
  color: var(--accent);
  font-size: 12px;
}

.details-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.details-list li {
  position: relative;
  padding: 10px 0 10px 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  border-bottom: 1px solid rgba(125, 249, 255, 0.05);
  animation: list-item-slide 0.4s ease-out both;
  transition: all 0.3s ease;
}

@keyframes list-item-slide {
  from {
    opacity: 0;
    transform: translateX(-15px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.details-list li:last-child {
  border-bottom: none;
}

.bullet-marker {
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.details-list li:hover {
  color: var(--text);
  padding-left: 28px;
}

.details-list li:hover .bullet-marker {
  color: var(--accent-2);
  transform: translateX(4px);
}

/* Details Card Footer */
.details-card-footer {
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(125, 249, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-timestamp {
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-timestamp::before {
  content: "●";
  font-size: 6px;
  color: var(--accent-2);
  animation: blink 1.5s ease-in-out infinite;
}

/* ========== BATMAN-STYLE PROJECTS ========== */
.projects-container {
  background: linear-gradient(135deg, rgba(5, 8, 12, 0.95), rgba(10, 15, 22, 0.9));
  border: none;
  border-radius: 8px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

/* HUD Grid Overlay */
.projects-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(125, 249, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 249, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  animation: grid-scan 10s linear infinite;
}

@keyframes grid-scan {
  0% { background-position: 0 0; }
  100% { background-position: 20px 20px; }
}

/* Corner Brackets */
.projects-container::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid transparent;
  border-image: linear-gradient(135deg, var(--accent) 10%, transparent 10%, transparent 90%, var(--accent) 90%) 1;
  pointer-events: none;
}

.projects-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(125, 249, 255, 0.1);
}

.projects-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}

.projects-title::before {
  content: "◆";
  animation: none;
}

.projects-status {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-2);
  display: flex;
  align-items: center;
  gap: 6px;
}

.projects-status::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent-2);
  border-radius: 50%;
  animation: status-blink 1.5s ease-in-out infinite;
}

@keyframes status-blink {
  0%, 100% { opacity: 1; box-shadow: none; }
  50% { opacity: 0.4; box-shadow: none; }
}

.projects-scroll {
  padding-bottom: 8px;
  perspective: 1500px;
}

.projects-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 10px;
}

/* Batman Project Card */
.project-card {
  position: relative;
  background: linear-gradient(145deg, rgba(8, 12, 18, 0.95), rgba(15, 20, 28, 0.9));
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  animation: card-materialize 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

@keyframes card-materialize {
  0% {
    opacity: 0;
    transform: translateY(40px) rotateX(20deg) scale(0.9);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0) scale(1);
    filter: blur(0);
  }
}

/* Corner Cut Effect */
.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 15px;
  height: 15px;
  background: linear-gradient(135deg, transparent 50%, rgba(125, 249, 255, 0.3) 50%);
  z-index: 2;
}

/* Scanning Line Effect */
.project-card::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover::after {
  animation: scan-line 1s ease-in-out;
}

@keyframes scan-line {
  0% { top: -10%; opacity: 1; }
  100% { top: 110%; opacity: 0; }
}

/* Card Header */
.project-card-header {
  background: linear-gradient(90deg, rgba(125, 249, 255, 0.1), transparent);
  padding: 12px 16px;
  border-bottom: 1px solid rgba(125, 249, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-index {
  font-size: 9px;
  color: var(--accent);
  font-family: monospace;
  letter-spacing: 1px;
}

.project-status-indicator {
  width: 8px;
  height: 8px;
  background: var(--accent-2);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: rotate-slow 4s linear infinite;
}

/* Card Body */
.project-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-title {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-title::before {
  content: "//";
  color: var(--accent);
  font-weight: 400;
  opacity: 0.6;
}

.project-desc {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  flex: 1;
}

/* Tags with Batman style */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.project-tag {
  background: rgba(246, 196, 83, 0.1);
  border: 1px solid rgba(246, 196, 83, 0.3);
  color: var(--accent-2);
  padding: 3px 10px;
  font-size: 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: default;
  clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
}

.project-tag:hover {
  background: rgba(246, 196, 83, 0.25);
  box-shadow: none;
}

/* Project Link */
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 10px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 0;
  border-top: 1px solid rgba(125, 249, 255, 0.1);
  margin-top: 8px;
  transition: all 0.3s ease;
}

.project-link::before {
  content: "►";
  font-size: 8px;
  transition: transform 0.3s ease;
}

.project-link:hover {
  color: var(--accent-2);
  text-decoration: none;
}

.project-link:hover::before {
  transform: translateX(4px);
}

/* Card Hover Effects */
.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.project-card:hover .project-title {
  color: var(--accent);
  text-shadow: none;
}

.project-card:hover .project-card-header {
  background: linear-gradient(90deg, rgba(125, 249, 255, 0.2), transparent);
}

.project-card:hover .project-index {
  color: var(--accent-2);
}

/* Edge Glow on Hover */
.project-card:hover::before {
  background: linear-gradient(135deg, transparent 50%, var(--accent) 50%);
  box-shadow: none;
}

/* Note styling */
.project-note {
  font-size: 9px;
  color: var(--muted);
  font-style: italic;
  opacity: 0.7;
  padding-top: 6px;
  border-top: 1px dashed rgba(125, 249, 255, 0.1);
}

.all-output {
  display: grid;
  gap: 18px;
}

.all-section {
  border: 1px solid rgba(125, 249, 255, 0.18);
  border-radius: 12px;
  padding: 14px;
  background: rgba(9, 12, 17, 0.6);
  transition: all 0.3s ease;
}

.all-section:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 249, 255, 0.4);
}

.all-title {
  color: var(--accent);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

/* ========== BATMAN-STYLE CONTACT TERMINAL ========== */
.contact-container {
  background: linear-gradient(135deg, rgba(5, 8, 12, 0.95), rgba(10, 15, 22, 0.9));
  border: 1px solid rgba(125, 249, 255, 0.15);
  position: relative;
  overflow: hidden;
  animation: terminal-boot 0.8s ease-out both;
}

@keyframes terminal-boot {
  0% {
    opacity: 0;
    clip-path: inset(50% 50% 50% 50%);
  }
  50% {
    clip-path: inset(0 50% 0 50%);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

/* Scanning effect */
.contact-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: contact-scan 3s ease-in-out infinite;
}

@keyframes contact-scan {
  0%, 100% { top: 0; opacity: 0.5; }
  50% { top: calc(100% - 2px); opacity: 1; }
}

/* Corner decorations */
.contact-container::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  background:
    linear-gradient(135deg, var(--accent) 8px, transparent 8px) top left,
    linear-gradient(-135deg, var(--accent) 8px, transparent 8px) top right,
    linear-gradient(45deg, var(--accent) 8px, transparent 8px) bottom left,
    linear-gradient(-45deg, var(--accent) 8px, transparent 8px) bottom right;
  background-size: 20px 20px;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0.5;
}

.contact-header {
  background: linear-gradient(90deg, rgba(125, 249, 255, 0.1), transparent);
  padding: 16px 20px;
  border-bottom: 1px solid rgba(125, 249, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-title::before {
  content: "◈";
  animation: none;
}

.contact-secure {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-2);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(246, 196, 83, 0.1);
  border: 1px solid rgba(246, 196, 83, 0.3);
}

.contact-secure::before {
  content: "●";
  font-size: 6px;
  animation: status-blink 1s ease-in-out infinite;
}

.contact-body {
  padding: 24px;
}

.contact-list {
  display: grid;
  gap: 0;
}

.contact-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(125, 249, 255, 0.08);
  position: relative;
  animation: row-slide-in 0.5s ease-out both;
  transition: all 0.3s ease;
}

@keyframes row-slide-in {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.contact-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(125, 249, 255, 0.1), transparent);
  transition: width 0.3s ease;
}

.contact-row:hover::before {
  width: 100%;
}

.contact-row:hover {
  background: rgba(125, 249, 255, 0.03);
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-label {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.contact-label::before {
  content: "//";
  color: var(--accent);
  opacity: 0.5;
}

.contact-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(125, 249, 255, 0.08);
  border: 1px solid rgba(125, 249, 255, 0.2);
  font-size: 12px;
  color: var(--accent);
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
  transition: all 0.3s ease;
}

.contact-row:hover .contact-icon {
  background: rgba(125, 249, 255, 0.15);
  border-color: var(--accent);
}

.contact-value {
  color: var(--text);
  font-size: 12px;
  word-break: break-word;
  font-family: monospace;
  letter-spacing: 0.5px;
}

.contact-link {
  color: var(--accent);
  font-size: 12px;
  text-decoration: none;
  word-break: break-word;
  font-family: monospace;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-link::after {
  content: "→";
  font-size: 14px;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s ease;
  color: var(--accent-2);
}

.contact-link:hover {
  color: var(--accent-2);
}

.contact-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Contact Footer */
.contact-footer {
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(125, 249, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-timestamp {
  font-family: monospace;
  color: var(--accent);
}

/* Legacy support */
.contact-card {
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  display: block;
  gap: 0;
  animation: none;
}

.whoami-layout {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 24px;
  align-items: start;
}

.whoami-bio {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Skills Display */
.skills-display {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.skills-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skills-label {
  color: var(--accent);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

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

.skill-tag {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(9, 12, 17, 0.6);
  transition: all 0.3s ease;
  animation: skill-pop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) both;
}

@keyframes skill-pop {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.skill-tag:hover {
  border-color: var(--accent);
  color: var(--text);
}

.skill-tag.skill-key {
  background: linear-gradient(135deg, rgba(125, 249, 255, 0.15), rgba(246, 196, 83, 0.1));
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 700;
}

.skill-tag.skill-key:hover {
  background: linear-gradient(135deg, rgba(125, 249, 255, 0.25), rgba(246, 196, 83, 0.15));
  transform: translateY(-2px);
}

.whoami-chart {
  display: grid;
  gap: 10px;
  justify-items: center;
  width: 100%;
}

.chart-title {
  color: var(--accent);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.radar-chart {
  width: min(100%, 520px);
  height: auto;
  aspect-ratio: 1;
  overflow: visible;
  animation: radar-fade-in 1s ease-out both;
}

@keyframes radar-fade-in {
  from {
    opacity: 0;
    transform: scale(0.8) rotate(-10deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.radar-chart:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

.radar-chart:hover .radar-area {
  fill: rgba(125, 249, 255, 0.3);
  filter: drop-shadow(0 0 12px rgba(125, 249, 255, 0.5));
}

.radar-grid polygon {
  fill: none;
  stroke: rgba(125, 249, 255, 0.15);
  stroke-width: 1;
  animation: radar-grid-draw 1.5s ease-out both;
}

.radar-grid polygon:nth-child(1) { animation-delay: 0.1s; }
.radar-grid polygon:nth-child(2) { animation-delay: 0.2s; }
.radar-grid polygon:nth-child(3) { animation-delay: 0.3s; }
.radar-grid polygon:nth-child(4) { animation-delay: 0.4s; }

@keyframes radar-grid-draw {
  from {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    opacity: 0;
  }
  to {
    stroke-dasharray: 1000;
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

.radar-axis line {
  stroke: rgba(125, 249, 255, 0.35);
  stroke-width: 1;
  animation: radar-axis-draw 0.8s ease-out both;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}

.radar-axis line:nth-child(1) { animation-delay: 0.5s; }
.radar-axis line:nth-child(2) { animation-delay: 0.6s; }
.radar-axis line:nth-child(3) { animation-delay: 0.7s; }
.radar-axis line:nth-child(4) { animation-delay: 0.8s; }
.radar-axis line:nth-child(5) { animation-delay: 0.9s; }
.radar-axis line:nth-child(6) { animation-delay: 1s; }

@keyframes radar-axis-draw {
  to {
    stroke-dashoffset: 0;
  }
}

.radar-area {
  fill: rgba(125, 249, 255, 0.2);
  stroke: var(--accent);
  stroke-width: 1.2;
  animation: radar-area-draw 1.2s ease-out 1.2s both, radar-area-pulse 3s ease-in-out 2.5s infinite;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transform-origin: center;
}

@keyframes radar-area-draw {
  0% {
    stroke-dashoffset: 1000;
    fill: rgba(125, 249, 255, 0);
  }
  70% {
    stroke-dashoffset: 0;
    fill: rgba(125, 249, 255, 0);
  }
  100% {
    stroke-dashoffset: 0;
    fill: rgba(125, 249, 255, 0.2);
  }
}

@keyframes radar-area-pulse {
  0%, 100% {
    fill: rgba(125, 249, 255, 0.15);
    filter: drop-shadow(0 0 3px rgba(125, 249, 255, 0.3));
  }
  50% {
    fill: rgba(125, 249, 255, 0.25);
    filter: drop-shadow(0 0 8px rgba(125, 249, 255, 0.5));
  }
}

.radar-dots circle {
  fill: var(--accent-2);
  animation: radar-dot-pop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) both;
  transform-origin: center;
}

.radar-dots circle:nth-child(1) { animation-delay: 1.8s; }
.radar-dots circle:nth-child(2) { animation-delay: 1.9s; }
.radar-dots circle:nth-child(3) { animation-delay: 2s; }
.radar-dots circle:nth-child(4) { animation-delay: 2.1s; }
.radar-dots circle:nth-child(5) { animation-delay: 2.2s; }
.radar-dots circle:nth-child(6) { animation-delay: 2.3s; }

@keyframes radar-dot-pop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  70% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.radar-dots circle:hover {
  filter: drop-shadow(0 0 6px var(--accent-2));
  transform: scale(1.5);
  transition: all 0.2s ease;
}

.radar-labels text {
  fill: var(--muted);
  font-size: 9px;
  dominant-baseline: middle;
  animation: radar-label-fade 0.5s ease-out both;
  transition: fill 0.2s ease;
}

.radar-labels text:nth-child(1) { animation-delay: 2.4s; }
.radar-labels text:nth-child(2) { animation-delay: 2.5s; }
.radar-labels text:nth-child(3) { animation-delay: 2.6s; }
.radar-labels text:nth-child(4) { animation-delay: 2.7s; }
.radar-labels text:nth-child(5) { animation-delay: 2.8s; }
.radar-labels text:nth-child(6) { animation-delay: 2.9s; }

@keyframes radar-label-fade {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.radar-labels text:hover {
  fill: var(--accent);
}

.hero {
  padding: 32px 36px 20px;
  display: grid;
  gap: 20px;
}

.hero h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  margin: 0;
  letter-spacing: 1.5px;
}

.hero h1 span {
  color: var(--accent);
}

.hero .tagline {
  color: var(--muted);
  font-size: 14px;
}

.prompt {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--accent);
  font-size: 13px;
}

.prompt .cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--accent);
  animation: blink 1.1s steps(2, start) infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  61% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.grid {
  display: grid;
  gap: 16px;
  padding: 0 32px 32px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.span-2 {
  grid-column: span 2;
}

.card {
  border: 1px solid rgba(125, 249, 255, 0.2);
  background: rgba(9, 12, 17, 0.88);
  padding: 18px;
  border-radius: 14px;
  min-height: 120px;
  position: relative;
  animation: rise 0.6s ease-out both;
  animation-delay: var(--delay, 0ms);
}

.card h3 {
  margin-top: 0;
  font-size: 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card p,
.card li {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.card ul {
  padding-left: 16px;
  margin: 8px 0 0;
}

.card .chip-set {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip {
  border: 1px solid rgba(246, 196, 83, 0.4);
  color: var(--accent-2);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  padding-left: 16px;
  border-left: 2px solid rgba(125, 249, 255, 0.4);
}

.timeline-item h4 {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--text);
}

.timeline-item span {
  color: var(--muted);
  font-size: 12px;
}

.project {
  display: grid;
  gap: 8px;
}

.project h4 {
  margin: 0;
  color: var(--text);
  font-size: 13px;
}

.project a {
  color: var(--accent);
  text-decoration: none;
  font-size: 12px;
}

.project a:hover {
  text-decoration: underline;
}

.project-note {
  color: var(--muted);
  font-size: 12px;
}

.footer {
  padding: 18px 36px 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.footer strong {
  color: var(--text);
}

@keyframes rise {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes title-pop {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes title-3d-intro {
  0% {
    opacity: 0;
    transform: rotateX(90deg) translateY(-50px) scale(0.5);
    filter: blur(10px);
  }
  50% {
    opacity: 0.8;
    transform: rotateX(-10deg) translateY(10px) scale(1.05);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: rotateX(0deg) translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes title-float {
  0%, 100% {
    transform: translateY(0) rotateX(0deg) rotateY(0deg);
  }
  25% {
    transform: translateY(-5px) rotateX(2deg) rotateY(-1deg);
  }
  50% {
    transform: translateY(-8px) rotateX(0deg) rotateY(2deg);
  }
  75% {
    transform: translateY(-3px) rotateX(-2deg) rotateY(-1deg);
  }
}

@keyframes title-chromatic {
  0%, 100% {
    transform: translateZ(-20px) translateX(-2px) translateY(-2px);
  }
  33% {
    transform: translateZ(-20px) translateX(3px) translateY(-1px);
  }
  66% {
    transform: translateZ(-20px) translateX(-1px) translateY(2px);
  }
}

/* Glitch Effect */
@keyframes glitch {
  0% {
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.025em -0.05em 0 rgba(0, 255, 0, 0.75), 0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  }
  14% {
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.025em -0.05em 0 rgba(0, 255, 0, 0.75), 0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  }
  15% {
    text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  49% {
    text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  50% {
    text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  99% {
    text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  100% {
    text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.75), -0.025em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
}

@keyframes glitch-skew {
  0% { transform: skew(0deg); }
  20% { transform: skew(-0.5deg); }
  40% { transform: skew(0.5deg); }
  60% { transform: skew(0deg); }
  80% { transform: skew(0.3deg); }
  100% { transform: skew(0deg); }
}

@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Staggered fade-in for children */
@keyframes stagger-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cyber Line */
@keyframes cyber-line {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Hologram Effect */
@keyframes hologram {
  0% {
    opacity: 0.8;
    transform: translateY(0) skewX(0deg);
  }
  25% {
    opacity: 1;
    transform: translateY(-2px) skewX(0.5deg);
  }
  50% {
    opacity: 0.9;
    transform: translateY(0) skewX(-0.5deg);
  }
  75% {
    opacity: 1;
    transform: translateY(1px) skewX(0.3deg);
  }
  100% {
    opacity: 0.8;
    transform: translateY(0) skewX(0deg);
  }
}

/* Data Stream */
@keyframes data-stream {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 0% 100%;
  }
}

/* Wobble */
@keyframes wobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(1deg); }
  75% { transform: rotate(-1deg); }
}

/* Scale Bounce */
@keyframes scale-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Text Reveal */
@keyframes text-reveal {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

@media (max-width: 720px) {
  .landing {
    padding: 22px 20px 8px;
  }

  .terminal-io {
    padding: 12px 20px 32px;
  }

  .landing-table {
    font-size: 11px;
  }

  .whoami-layout {
    grid-template-columns: 1fr;
  }

  .whoami-chart {
    justify-items: center;
  }

  .skills-tags {
    gap: 6px;
  }

  .skill-tag {
    font-size: 10px;
    padding: 3px 8px;
  }

  .radar-chart {
    width: min(100%, 320px);
    height: auto;
  }

  .projects-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .projects-container {
    padding: 16px;
  }

  .project-card-body {
    padding: 12px;
  }

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

  .project-desc {
    font-size: 10px;
  }

  .contact-container {
    margin: 0;
  }

  .contact-row {
    grid-template-columns: 100px 1fr;
    gap: 12px;
    padding: 12px;
  }

  .contact-label {
    font-size: 8px;
  }

  .contact-icon {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }

  .contact-link, .contact-value {
    font-size: 11px;
  }

  .contact-footer {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }

  .experience-container {
    padding: 16px;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .experience-cards {
    max-height: none;
  }

  .experience-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .experience-shell .journey-container {
    grid-column: 1;
    grid-row: 2;
    max-height: 350px;
  }

  .experience-shell .experience-details {
    grid-column: 1;
    grid-row: 3;
  }

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

  .journey-years {
    margin-left: 0;
  }

  .journey-card {
    padding: 12px 14px;
  }

  .journey-role {
    font-size: 12px;
  }

  .journey-company {
    font-size: 11px;
  }

  .experience-details {
    position: relative;
    top: auto;
    padding: 16px;
  }

  .details-title {
    font-size: 13px;
  }
}

@media (max-width: 520px) {
  .projects-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .project-card {
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  }

  .projects-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .journey-path::before {
    left: 15px;
  }

  .journey-path::after {
    left: 12px;
  }

  .journey-marker {
    width: 32px;
    height: 32px;
  }

  .journey-marker-dot {
    width: 14px;
    height: 14px;
  }

  .journey-node {
    gap: 10px;
  }

  .journey-start-icon, .journey-end-icon {
    width: 22px;
    height: 22px;
    font-size: 10px;
    margin-left: 5px;
  }

  .details-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
  }

  .details-title {
    font-size: 15px;
  }

  .experience-details {
    min-height: auto;
  }
}
