/* ═══════════════════════════════════════════════════════
   COMPONENTS — Dark Ops Cards and Navigation
   ═══════════════════════════════════════════════════════ */

.text-accent { color: var(--accent); }
.text-cyan { color: var(--cyan); }

.chapter-shell {
  --chapter-accent: rgba(83, 255, 110, 0.08);
  --chapter-accent-soft: rgba(162, 247, 182, 0.04);
  position: relative;
  padding: clamp(1.4rem, 2.8vw, 2.6rem);
  border-radius: 32px;
  border: 1px solid rgba(83, 255, 110, 0.08);
  background:
    linear-gradient(180deg, rgba(4, 10, 7, 0.92), rgba(2, 5, 4, 0.98)),
    radial-gradient(circle at 18% 0%, var(--chapter-accent), transparent 30%),
    radial-gradient(circle at 82% 0%, var(--chapter-accent-soft), transparent 28%);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  isolation: isolate;
}

.chapter-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 18%);
  pointer-events: none;
  opacity: 0.32;
}

.chapter-shell::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(83, 255, 110, 0.22), transparent);
  pointer-events: none;
}

#about .chapter-shell {
  --chapter-accent: rgba(83, 255, 110, 0.08);
  --chapter-accent-soft: rgba(162, 247, 182, 0.04);
}

#arsenal .chapter-shell {
  --chapter-accent: rgba(83, 255, 110, 0.07);
  --chapter-accent-soft: rgba(162, 247, 182, 0.035);
}

#projects .chapter-shell {
  --chapter-accent: rgba(162, 247, 182, 0.05);
  --chapter-accent-soft: rgba(83, 255, 110, 0.05);
}

#achievements .chapter-shell {
  --chapter-accent: rgba(83, 255, 110, 0.1);
  --chapter-accent-soft: rgba(162, 247, 182, 0.05);
}

#contact .chapter-shell {
  --chapter-accent: rgba(162, 247, 182, 0.05);
  --chapter-accent-soft: rgba(83, 255, 110, 0.05);
}

.chapter-shell .section-label {
  margin-top: 0.1rem;
}

.chapter-shell .section-title {
  max-width: 12ch;
  text-wrap: balance;
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
  line-height: 0.98;
}

.chapter-shell .section-desc {
  max-width: 62ch;
  font-size: clamp(0.96rem, 1.35vw, 1.08rem);
}

.chapter-shell .section-title + .section-desc {
  margin-top: 0.2rem;
}

.chapter-shell .section-label,
.chapter-shell .section-title,
.chapter-shell .section-desc,
.chapter-shell .about-content,
.chapter-shell .stats-row,
.chapter-shell .arsenal-grid,
.chapter-shell .projects-grid,
.chapter-shell .timeline,
.chapter-shell .contact-terminal {
  position: relative;
  z-index: 1;
}

.about-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-xl);
  align-items: center;
  margin-top: var(--space-lg);
  padding: clamp(1rem, 2vw, 1.6rem);
  border-radius: 20px;
  border: 1.5px solid rgba(83, 255, 110, 0.1);
  background: linear-gradient(180deg, rgba(4, 10, 7, 0.86), rgba(2, 5, 4, 0.94));
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-text p {
  font-family: var(--font-body);
  font-size: 0.97rem;
  line-height: 1.85;
  color: var(--text-secondary);
  padding-left: 1rem;
  border-left: 1px solid rgba(83, 255, 110, 0.1);
}

.about-avatar {
  width: 210px;
  height: 210px;
  flex-shrink: 0;
}

.avatar-frame {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(83, 255, 110, 0.1);
  background: linear-gradient(180deg, rgba(4, 10, 7, 0.95), rgba(2, 5, 4, 0.98));
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  transform-style: preserve-3d;
}

.avatar-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.06), transparent 34%, transparent 64%, rgba(83, 255, 110, 0.05));
  pointer-events: none;
}

.avatar-frame:hover {
  border-color: rgba(83, 255, 110, 0.22);
  box-shadow: 0 0 0 1px rgba(83, 255, 110, 0.08), 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 20px rgba(83, 255, 110, 0.06);
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
  text-align: center;
}

.stat-item {
  position: relative;
  overflow: hidden;
  padding: 1.1rem 0.9rem;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(4, 10, 7, 0.88), rgba(2, 5, 4, 0.96));
  border: 1px solid rgba(83, 255, 110, 0.08);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.stat-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(83, 255, 110, 0.1), transparent 50%);
  opacity: 0.45;
  pointer-events: none;
}

.stat-item:hover {
  border-color: rgba(83, 255, 110, 0.16);
  transform: translateY(-5px);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.42), 0 0 14px rgba(83, 255, 110, 0.05);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  text-shadow: 0 0 12px rgba(83, 255, 110, 0.14);
}

.stat-label {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-top: 0.55rem;
  text-transform: uppercase;
}

.arsenal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.arsenal-card {
  position: relative;
  padding: var(--space-lg);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(4, 10, 7, 0.9), rgba(2, 5, 4, 0.97));
  border: 1.5px solid rgba(83, 255, 110, 0.1);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  overflow: hidden;
  transition: transform 0.38s var(--ease-out), border-color 0.38s var(--ease-out), box-shadow 0.38s var(--ease-out);
  box-shadow: var(--shadow-card);
  cursor: default;
  isolation: isolate;
}

.arsenal-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(520px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(83, 255, 110, 0.08), transparent 38%);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.arsenal-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(83, 255, 110, 0.03), rgba(162, 247, 182, 0.16), rgba(83, 255, 110, 0.03));
  opacity: 0;
  z-index: -1;
  filter: blur(18px);
  transition: opacity 0.35s ease;
}

.arsenal-card:hover::before,
.arsenal-card:hover::after { opacity: 1; }

.arsenal-card:hover {
  border-color: rgba(83, 255, 110, 0.18);
  transform: translateY(-6px);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.42), 0 0 16px rgba(83, 255, 110, 0.05);
}

.arsenal-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(83, 255, 110, 0.9), rgba(162, 247, 182, 0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.25), 0 0 14px rgba(83, 255, 110, 0.08);
}

.arsenal-card-icon svg,
.arsenal-card-icon i { width: 20px; height: 20px; color: #02100a; }

.arsenal-card h3 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.arsenal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.arsenal-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(83, 255, 110, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(83, 255, 110, 0.08);
  letter-spacing: 0.03em;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.arsenal-card:hover .arsenal-tag {
  background: rgba(83, 255, 110, 0.08);
  color: var(--text-secondary);
  border-color: rgba(83, 255, 110, 0.12);
}

.project-card {
  position: relative;
  border-radius: 18px;
  padding: 1.5px;
  background: linear-gradient(180deg, rgba(83, 255, 110, 0.08), rgba(162, 247, 182, 0.04));
  overflow: hidden;
  transition: transform 0.42s var(--ease-out), box-shadow 0.42s var(--ease-out), filter 0.42s var(--ease-out);
  box-shadow: var(--shadow-card);
  isolation: isolate;
}

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(from 180deg, rgba(83, 255, 110, 0.05), rgba(162, 247, 182, 0.22), rgba(83, 255, 110, 0.05), rgba(162, 247, 182, 0.12));
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
  filter: blur(10px);
}

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

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.46), 0 0 16px rgba(83, 255, 110, 0.05);
}

.project-card-inner {
  position: relative;
  z-index: 1;
  padding: var(--space-lg);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(7, 17, 13, 0.95), rgba(4, 10, 8, 0.96)),
    radial-gradient(circle at top right, rgba(83, 255, 110, 0.05), transparent 36%);
  border: 1.5px solid rgba(83, 255, 110, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  overflow: hidden;
}

.project-card-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.04) 18%, transparent 36%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease-out);
  pointer-events: none;
}

.project-card:hover .project-card-inner::after {
  transform: translateX(120%);
}

.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.project-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(83, 255, 110, 0.92), rgba(15, 106, 53, 0.72));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26), 0 0 12px rgba(83, 255, 110, 0.08);
}

.project-icon.icon-green { background: linear-gradient(135deg, rgba(83, 255, 110, 0.96), rgba(162, 247, 182, 0.7)); }
.project-icon.icon-purple { background: linear-gradient(135deg, rgba(162, 247, 182, 0.7), rgba(15, 106, 53, 0.86)); }

.project-icon svg,
.project-icon i { width: 20px; height: 20px; color: #02110b; }

.project-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.project-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(83, 255, 110, 0.05);
  color: #c7ffd0;
  border: 1px solid rgba(83, 255, 110, 0.08);
  letter-spacing: 0.05em;
}

.project-badge.badge-winner {
  background: rgba(83, 255, 110, 0.08);
  color: var(--accent);
  border-color: rgba(83, 255, 110, 0.12);
  box-shadow: 0 0 10px rgba(83, 255, 110, 0.06);
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.project-subtitle {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #b7ffc1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-muted);
  flex: 1;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.project-tech-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(83, 255, 110, 0.05);
  color: #b7ffc1;
  border: 1px solid rgba(83, 255, 110, 0.08);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #c7ffd0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 0.15rem;
  width: fit-content;
  padding: 0.58rem 0.92rem;
  border-radius: 999px;
  border: 1px solid rgba(83, 255, 110, 0.08);
  background: rgba(83, 255, 110, 0.04);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  transition: gap 0.28s ease, color 0.28s ease, transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.project-link:hover {
  color: #8dff99;
  gap: 10px;
  transform: translateY(-1px);
  border-color: rgba(83, 255, 110, 0.16);
  background: rgba(83, 255, 110, 0.08);
  box-shadow: 0 0 14px rgba(83, 255, 110, 0.06);
}

.project-link svg { transition: transform 0.28s ease; }
.project-link:hover svg { transform: translateX(3px); }

.timeline {
  position: relative;
  margin-top: var(--space-xl);
  padding-left: 0;
  display: grid;
  gap: 1rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 0.85rem;
  bottom: 0.85rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(83, 255, 110, 0.75), rgba(162, 247, 182, 0.34), transparent);
  border-radius: 1px;
  box-shadow: 0 0 12px rgba(83, 255, 110, 0.08);
}

.timeline-item {
  position: relative;
  padding: 1.2rem 1.2rem 1.2rem 3.6rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(4, 10, 7, 0.88), rgba(2, 5, 4, 0.96));
  border: 1.5px solid rgba(83, 255, 110, 0.1);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.timeline-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(83, 255, 110, 0.05), transparent 38%);
  opacity: 0.7;
  pointer-events: none;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: 0.86rem;
  top: 1.4rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: #02110b;
  z-index: 2;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 0 6px rgba(83, 255, 110, 0.04);
}

.timeline-item:hover {
  transform: translateY(-4px);
  border-color: rgba(83, 255, 110, 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42), 0 0 14px rgba(83, 255, 110, 0.05);
}

.timeline-item:hover .timeline-dot {
  background: var(--accent);
  box-shadow: 0 0 14px rgba(83, 255, 110, 0.26), 0 0 0 6px rgba(83, 255, 110, 0.06);
  transform: scale(1.08);
}

.timeline-year {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #c7ffd0;
  letter-spacing: 0.14em;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.8vw, 1.7rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.timeline-org {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.55rem;
}

.timeline-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 780px;
}

.timeline-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  padding: 4px 12px;
  border-radius: 999px;
  margin-top: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.timeline-tag.winner {
  background: rgba(83, 255, 110, 0.08);
  color: var(--accent);
  border: 1px solid rgba(83, 255, 110, 0.12);
}

.timeline-tag.finalist {
  background: rgba(162, 247, 182, 0.05);
  color: #b7ffc1;
  border: 1px solid rgba(162, 247, 182, 0.1);
}

.timeline-tag.volunteer {
  background: rgba(83, 255, 110, 0.05);
  color: #9fb5a5;
  border: 1px solid rgba(83, 255, 110, 0.1);
}

.contact-terminal {
  max-width: 620px;
  margin: var(--space-xl) auto 0;
  border-radius: 18px;
  border: 1.5px solid rgba(83, 255, 110, 0.1);
  background: linear-gradient(180deg, rgba(4, 10, 7, 0.96), rgba(2, 5, 4, 0.98));
  overflow: hidden;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--shadow-elevated);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(83, 255, 110, 0.06);
}

.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: auto;
  letter-spacing: 0.05em;
}

.terminal-body {
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 2;
}

.terminal-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.terminal-prompt { color: var(--accent); font-weight: 700; }
.terminal-cmd { color: var(--text-secondary); }
.terminal-output { color: var(--text-muted); }
.terminal-comment { color: var(--text-dim); font-style: italic; }

.terminal-link {
  color: #95ffab;
  text-decoration: none;
  transition: color 0.25s ease;
  position: relative;
}

.terminal-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: #95ffab;
  transition: width 0.25s ease;
}

.terminal-link:hover { color: var(--accent-light); }
.terminal-link:hover::after { width: 100%; }

.site-footer {
  position: relative;
  padding: 3.2rem 0 7rem;
  text-align: center;
  border-top: 1px solid rgba(83, 255, 110, 0.08);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 108, 108, 0.07), transparent 22%),
    radial-gradient(circle at 50% 0%, rgba(83, 255, 110, 0.06), transparent 30%),
    linear-gradient(180deg, transparent, rgba(4, 10, 8, 0.78));
  overflow: hidden;
  isolation: isolate;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.02) 18%, transparent 36%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 120px);
  opacity: 0.5;
  pointer-events: none;
}

.site-footer::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 108, 108, 0.16), rgba(83, 255, 110, 0.2), transparent);
  pointer-events: none;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  position: relative;
  z-index: 1;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.2em;
  text-shadow: 0 0 12px rgba(83, 255, 110, 0.08);
  animation: footerBrandPulse 7s ease-in-out infinite;
}



.footer-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.footer-links a {
  position: relative;
  overflow: hidden;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(83, 255, 110, 0.06);
  background: rgba(83, 255, 110, 0.03);
  transition: color 0.25s ease, transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.footer-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.08) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.45s ease;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateY(-1px);
  border-color: rgba(83, 255, 110, 0.12);
  background: rgba(83, 255, 110, 0.06);
  box-shadow: 0 0 12px rgba(83, 255, 110, 0.05);
}

.footer-links a:hover::before {
  transform: translateX(120%);
}

.footer-sep { color: var(--text-dim); opacity: 0.5; }

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.floating-dock {
  position: fixed;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%) translateY(18px) scale(0.98);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  border-radius: 18px;
  background: rgba(3, 8, 5, 0.9);
  border: 1px solid rgba(83, 255, 110, 0.08);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.46);
  transition: transform 0.38s var(--ease-out), opacity 0.38s var(--ease-out), box-shadow 0.38s var(--ease-out);
  opacity: 0;
}

.floating-dock.visible {
  transform: translateX(-50%) translateY(0) scale(1);
  opacity: 1;
}

.floating-dock.hidden {
  transform: translateX(-50%) translateY(130%) scale(0.96);
  opacity: 0;
}

.dock-item {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  color: var(--text-muted);
}

.dock-item:hover,
.dock-item.active {
  color: var(--accent);
  background: rgba(83, 255, 110, 0.06);
  box-shadow: 0 0 12px rgba(83, 255, 110, 0.08);
}

.dock-item svg,
.dock-item i { width: 18px; height: 18px; }

.dock-github-svg { width: 18px; height: 18px; fill: currentColor; }

.dock-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(4, 11, 8, 0.95);
  border: 1px solid rgba(83, 255, 110, 0.08);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-secondary);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dock-item:hover .dock-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-8px);
}

.dock-divider {
  width: 1px;
  height: 22px;
  background: rgba(83, 255, 110, 0.08);
  margin: 0 3px;
}

@keyframes footerBrandPulse {
  0%, 100% { transform: translateY(0); text-shadow: 0 0 12px rgba(83, 255, 110, 0.08); }
  50% { transform: translateY(-1px); text-shadow: 0 0 16px rgba(83, 255, 110, 0.14); }
}

@property --line-height {
  syntax: '<percentage>';
  initial-value: 0%;
  inherits: false;
}

@media (max-width: 768px) {
  .about-content { grid-template-columns: 1fr; text-align: center; }
  .about-avatar { width: 156px; height: 156px; margin: 0 auto; order: -1; }
  .stats-row { grid-template-columns: 1fr; gap: var(--space-sm); }
  .arsenal-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .floating-dock { padding: 8px 12px; gap: 2px; }
  .dock-item { width: 34px; height: 34px; }
  .timeline { padding-left: 30px; }
  .timeline-dot { left: -30px; }
  .contact-terminal { border-radius: 18px; }
}

/* ═══════════════════════════════════════════════
   CYBER METALLIC LIQUID BUTTON
   ═══════════════════════════════════════════════ */
.cyber-metallic-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--neon-green);
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  outline: none;
  border: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 
    0 0 6px rgba(0, 0, 0, 0.1),
    0 2px 6px rgba(0, 0, 0, 0.15),
    inset 3px 3px 1px -2px rgba(82, 242, 177, 0.2),
    inset -3px -3px 1px -2px rgba(82, 242, 177, 0.15),
    inset 1px 1px 1px -0.5px rgba(82, 242, 177, 0.6),
    inset -1px -1px 1px -0.5px rgba(82, 242, 177, 0.6),
    inset 0 0 6px 6px rgba(82, 242, 177, 0.05),
    inset 0 0 2px 2px rgba(82, 242, 177, 0.05),
    0 0 12px rgba(82, 242, 177, 0.15);
}

.cyber-metallic-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(82, 242, 177, 0.05) 0%, rgba(5, 5, 5, 0.8) 50%, rgba(82, 242, 177, 0.02) 100%);
  transition: opacity 0.3s;
}

.cyber-metallic-btn:hover {
  transform: scale(1.04);
  color: #fff;
  box-shadow: 
    0 0 8px rgba(0, 0, 0, 0.1),
    0 4px 8px rgba(82, 242, 177, 0.2),
    inset 3px 3px 1px -2px rgba(82, 242, 177, 0.3),
    inset -3px -3px 1px -2px rgba(82, 242, 177, 0.25),
    inset 1px 1px 1px -0.5px rgba(82, 242, 177, 0.8),
    inset -1px -1px 1px -0.5px rgba(82, 242, 177, 0.8),
    inset 0 0 10px 4px rgba(82, 242, 177, 0.1),
    inset 0 0 4px 2px rgba(82, 242, 177, 0.1),
    0 0 20px rgba(82, 242, 177, 0.3);
}

.cyber-metallic-btn:active {
  transform: scale(0.97);
  box-shadow: 
    0 0 2px rgba(0,0,0,0.2),
    inset 4px 4px 2px -1px rgba(82, 242, 177, 0.1),
    inset -4px -4px 2px -1px rgba(82, 242, 177, 0.1);
}

/* Optimize Mobile Backdrop Filters */
@media (max-width: 768px) {
  nav.navbar, 
  .project-card-inner, 
  .arsenal-card, 
  .floating-dock, 
  .contact-terminal {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(10, 10, 10, 0.98) !important;
    border-color: rgba(82, 242, 177, 0.15) !important;
  }
}


