/* ==========================================================================
   PORTFOLIO DESIGN SYSTEM & THEME
   Primary Accents:
     Light / Neon Green:  #00F801 (RGB: 0, 248, 1)
     Dark Aesthetic Green: #0F460F (RGB: 15, 70, 15)
   ========================================================================== */

:root {
  /* Color Palette */
  --neon-green: #00F801;
  --neon-green-rgb: 0, 248, 1;
  --neon-green-glow: rgba(0, 248, 1, 0.35);
  --neon-green-subtle: rgba(0, 248, 1, 0.12);
  --neon-green-border: rgba(0, 248, 1, 0.4);

  --dark-green: #0F460F;
  --dark-green-rgb: 15, 70, 15;
  --dark-green-card: #080d08;
  --dark-green-hover: #0c140c;
  --dark-green-border: rgba(15, 70, 15, 0.4);

  --bg-deep: #050805;
  --bg-surface: #070c07;
  --bg-elevated: #0a110a;

  --text-primary: #f2fcf2;
  --text-secondary: #9cb49c;
  --text-muted: #5e7a5e;
  --text-dim: #3a4e3a;

  --border-subtle: rgba(15, 70, 15, 0.55);
  --border-card: rgba(22, 90, 22, 0.45);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Menlo, Consolas, Monaco, monospace;

  /* Layout */
  --container-max: 710px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(15, 70, 15, 0.16), transparent 75%),
    radial-gradient(circle 400px at 10% 20%, rgba(0, 248, 1, 0.02), transparent 80%),
    radial-gradient(circle 350px at 90% 60%, rgba(15, 70, 15, 0.08), transparent 70%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.68;
  overflow-x: hidden;
  padding-bottom: 80px;
}

::selection {
  background: var(--neon-green);
  color: #040804;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--dark-green);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-green-border);
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* --------------------------------------------------------------------------
   Navigation Bar
   -------------------------------------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(5, 8, 5, 0.78);
  border-bottom: 1px solid rgba(15, 70, 15, 0.35);
  margin-bottom: 40px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  height: 58px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--neon-green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
}

.cmd-k-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  background: rgba(15, 70, 15, 0.28);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cmd-k-trigger:hover {
  color: var(--neon-green);
  border-color: var(--neon-green-border);
  background: rgba(15, 70, 15, 0.5);
  box-shadow: 0 0 12px var(--neon-green-subtle);
}

.cmd-k-trigger kbd {
  font-size: 0.72rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 1px 4px;
  border-radius: 3px;
  border: 1px solid rgba(15, 70, 15, 0.6);
}

/* --------------------------------------------------------------------------
   Hero Profile Section
   -------------------------------------------------------------------------- */
.hero-section {
  margin-bottom: 42px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.avatar-wrapper {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  border: 2px solid var(--neon-green-border);
  box-shadow: 0 0 20px rgba(0, 248, 1, 0.28);
  display: block;
  transition: all var(--transition-fast);
}

.avatar-img:hover {
  border-color: var(--neon-green);
  box-shadow: 0 0 26px rgba(0, 248, 1, 0.45);
  transform: scale(1.02);
}

.avatar-online-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 15px;
  height: 15px;
  background-color: var(--neon-green);
  border: 2.5px solid var(--bg-deep);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-green);
}

.profile-meta h1 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  line-height: 1.25;
}

.crab-emoji {
  display: inline-block;
  font-size: 1.25rem;
  filter: drop-shadow(0 0 8px rgba(0, 248, 1, 0.4));
  vertical-align: middle;
  transform: translateY(-2px);
}

.profile-meta .headline {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.profile-meta .tagline-rust {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--neon-green);
  margin-top: 3px;
  letter-spacing: 0.01em;
  opacity: 0.95;
}

/* Location and Clock Pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 4px 12px;
  background: rgba(15, 70, 15, 0.32);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  margin-bottom: 22px;
  transition: border-color var(--transition-fast);
}

.status-pill:hover {
  border-color: var(--neon-green-border);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
  display: inline-block;
  animation: pulse-neon 2.4s infinite ease-in-out;
}

@keyframes pulse-neon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.pill-divider {
  color: var(--dark-green);
  font-weight: 300;
}

.live-clock {
  color: var(--neon-green);
  font-weight: 500;
}

/* Bio copy */
.bio-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
  color: #cfdecf;
  font-size: 0.96rem;
  line-height: 1.72;
}

.bio-copy p strong,
.bio-copy p b {
  color: var(--text-primary);
  font-weight: 600;
}

.inline-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1.5px solid rgba(0, 248, 1, 0.4);
  padding-bottom: 1px;
  transition: all var(--transition-fast);
}

.inline-link:hover {
  color: var(--neon-green);
  border-bottom-color: var(--neon-green);
  box-shadow: 0 4px 12px -4px var(--neon-green-glow);
}

/* Action Buttons & Contact */
.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--text-primary);
  color: #050805;
}

.btn-primary:hover {
  background: var(--neon-green);
  box-shadow: 0 0 18px var(--neon-green-glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(15, 70, 15, 0.35);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--neon-green-border);
  background: rgba(15, 70, 15, 0.6);
  color: var(--neon-green);
  transform: translateY(-1px);
}

.email-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.email-copy-btn:hover {
  color: var(--neon-green);
  background: rgba(15, 70, 15, 0.25);
}

.email-copy-btn .arrow-icon {
  font-size: 0.95rem;
  transition: transform var(--transition-fast);
}

.email-copy-btn:hover .arrow-icon {
  transform: translate(2px, -2px);
}

/* Social Links & Search site helper */
.socials-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(15, 70, 15, 0.45);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.social-link:hover {
  color: var(--neon-green);
}

.sponsor-link {
  color: #ff79c6;
}
.sponsor-link:hover {
  color: #ff92d0;
  text-shadow: 0 0 10px rgba(255, 121, 198, 0.4);
}

.search-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.search-hint kbd {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  background: rgba(15, 70, 15, 0.4);
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   Section Common Styles
   -------------------------------------------------------------------------- */
.section-block {
  margin-top: 48px;
}

.section-title {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-link {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition-fast);
}

.section-link:hover {
  color: var(--neon-green);
}

/* --------------------------------------------------------------------------
   Highlights Section (Screenshot 2 style)
   -------------------------------------------------------------------------- */
.highlights-list {
  display: flex;
  flex-direction: column;
}

.highlight-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(15, 70, 15, 0.35);
  font-size: 0.92rem;
  color: var(--text-primary);
  transition: background-color var(--transition-fast), padding-left var(--transition-fast);
}

.highlight-row:hover {
  background-color: rgba(15, 70, 15, 0.15);
  padding-left: 6px;
  padding-right: 6px;
  border-radius: var(--radius-sm);
}

.highlight-text {
  flex: 1;
  color: #d8e6d8;
}

.highlight-row:hover .highlight-text {
  color: #ffffff;
}

.highlight-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.highlight-row:hover .highlight-tag {
  color: var(--neon-green);
}

/* --------------------------------------------------------------------------
   Work Experience Section (Screenshot 3 style)
   -------------------------------------------------------------------------- */
.work-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.work-item {
  background: var(--dark-green-card);
  border: 1px solid var(--dark-green-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.work-item:hover {
  border-color: rgba(0, 248, 1, 0.3);
  box-shadow: 0 4px 20px rgba(15, 70, 15, 0.35);
}

.work-header {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.work-main-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.company-logo {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #060b06;
  border: 1px solid rgba(15, 70, 15, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.work-item:hover .company-logo {
  border-color: rgba(0, 248, 1, 0.5);
  box-shadow: 0 0 10px rgba(0, 248, 1, 0.2);
}

.company-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 6px var(--neon-green);
  display: inline-block;
}

.work-title-group h3 {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.work-title-group .work-role {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.work-meta-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.work-period {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.chevron-icon {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  transition: transform var(--transition-smooth);
}

.work-item.expanded .chevron-icon {
  transform: rotate(180deg);
  color: var(--neon-green);
}

.work-body {
  padding: 0 18px 18px 62px;
  border-top: 1px dashed rgba(15, 70, 15, 0.4);
  padding-top: 14px;
  display: none;
}

.work-item.expanded .work-body {
  display: block;
  animation: fadeIn 0.2s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.work-summary {
  font-size: 0.88rem;
  color: #cfdecb;
  margin-bottom: 12px;
  line-height: 1.6;
}

.work-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}

.work-bullets li {
  position: relative;
  padding-left: 14px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.work-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--neon-green);
}

.work-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.tag-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 3px 8px;
  background: rgba(15, 70, 15, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: #a4cca4;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.tag-badge:hover {
  color: var(--neon-green);
  border-color: var(--neon-green-border);
  background: rgba(15, 70, 15, 0.8);
}

/* --------------------------------------------------------------------------
   Skills Section (Requested right after Work)
   -------------------------------------------------------------------------- */
.skills-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--dark-green-card);
  border: 1px solid var(--dark-green-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.skill-category h4 {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--neon-green);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.skill-category h4::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--neon-green);
}

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

.skill-chip {
  font-size: 0.82rem;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(5, 12, 5, 0.7);
  border: 1px solid rgba(15, 70, 15, 0.7);
  color: #d1e2d1;
  transition: all var(--transition-fast);
  cursor: default;
}

.skill-chip:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
  background: rgba(15, 70, 15, 0.45);
  box-shadow: 0 0 10px rgba(0, 248, 1, 0.2);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Projects Section (Screenshot 4 style)
   -------------------------------------------------------------------------- */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-card {
  padding: 16px;
  background: var(--dark-green-card);
  border: 1px solid var(--dark-green-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  display: block;
  transition: all var(--transition-fast);
}

.project-card:hover {
  border-color: rgba(0, 248, 1, 0.4);
  background: var(--dark-green-hover);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 24px rgba(0, 248, 1, 0.08);
}

.project-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
}

.project-title {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-card:hover .project-title {
  color: var(--neon-green);
}

.project-meta-right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.star-count {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #ffdd57;
}

.project-card:hover .star-count {
  color: var(--neon-green);
  text-shadow: 0 0 8px var(--neon-green-glow);
}

.project-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Open Source Section (Screenshot 4 bottom & 5 top)
   -------------------------------------------------------------------------- */
.oss-summary {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.oss-summary strong {
  color: var(--neon-green);
  font-weight: 600;
}

.pr-list {
  display: flex;
  flex-direction: column;
}

.pr-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(15, 70, 15, 0.35);
  text-decoration: none;
  gap: 16px;
  transition: all var(--transition-fast);
}

.pr-row:hover {
  background-color: rgba(15, 70, 15, 0.18);
  padding-left: 8px;
  padding-right: 8px;
  border-radius: var(--radius-sm);
}

.pr-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pr-title {
  font-size: 0.88rem;
  color: #e0ece0;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.pr-row:hover .pr-title {
  color: var(--neon-green);
}

.pr-repo {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
}

.pr-github-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7d967d;
  flex-shrink: 0;
  padding: 4px;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.pr-github-svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: all var(--transition-fast);
}

.pr-row:hover .pr-github-badge {
  color: var(--neon-green);
  transform: scale(1.18);
  filter: drop-shadow(0 0 8px rgba(0, 248, 1, 0.5));
}

.show-more-btn {
  margin-top: 14px;
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon-green);
  cursor: pointer;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity var(--transition-fast);
}

.show-more-btn:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Hackathons Section (Requested after OSS)
   -------------------------------------------------------------------------- */
.hackathon-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hackathon-card {
  padding: 16px 18px;
  background: var(--dark-green-card);
  border: 1px solid var(--dark-green-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.hackathon-card:hover {
  border-color: rgba(0, 248, 1, 0.35);
  box-shadow: 0 4px 20px rgba(0, 248, 1, 0.06);
}

.hackathon-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 6px;
}

.hackathon-title {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-primary);
}

.hackathon-award {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--neon-green);
  background: rgba(0, 248, 1, 0.08);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--neon-green-border);
}

.hackathon-project {
  font-size: 0.84rem;
  color: #bcd4bc;
  margin-bottom: 6px;
}

.hackathon-project span {
  color: var(--neon-green);
  font-family: var(--font-mono);
  font-weight: 500;
}

.hackathon-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 10px;
}

.hackathon-links {
  display: flex;
  gap: 12px;
}

.hackathon-links a {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.hackathon-links a:hover {
  color: var(--neon-green);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Achievements & Certifications Section (Requested after Hackathons)
   -------------------------------------------------------------------------- */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 12px;
}

.achievement-card {
  padding: 14px 16px;
  background: var(--dark-green-card);
  border: 1px solid var(--dark-green-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.achievement-card:hover {
  border-color: rgba(0, 248, 1, 0.35);
  background: var(--dark-green-hover);
  transform: translateY(-1px);
}

.achievement-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.achievement-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}

.achievement-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(15, 70, 15, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--neon-green);
  white-space: nowrap;
}

.achievement-org {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.achievement-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Contributions / GitHub Activity Section (Screenshot 5 style)
   -------------------------------------------------------------------------- */
.contributions-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
}

.contributions-count {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.contributions-count strong {
  color: var(--text-primary);
}

.contributions-wrapper {
  background: var(--dark-green-card);
  border: 1px solid var(--dark-green-border);
  border-radius: var(--radius-md);
  padding: 16px;
  overflow-x: auto;
}

.calendar-grid {
  display: flex;
  gap: 3.5px;
  align-items: flex-start;
  min-width: 620px;
}

.calendar-week {
  display: flex;
  flex-direction: column;
  gap: 3.5px;
}

.calendar-day {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #091209;
  border: 1px solid rgba(15, 70, 15, 0.4);
  transition: transform 0.1s ease;
  position: relative;
}

.calendar-day:hover {
  transform: scale(1.35);
  z-index: 10;
  border-color: #ffffff;
}

/* Contribution heat levels using requested colors */
.calendar-day.lvl-0 { background: #081008; }
.calendar-day.lvl-1 { background: #0d280d; border-color: #0f460f; }
.calendar-day.lvl-2 { background: #145e14; border-color: #1a781a; }
.calendar-day.lvl-3 { background: #00aa01; box-shadow: 0 0 4px rgba(0, 248, 1, 0.4); }
.calendar-day.lvl-4 { background: #00F801; box-shadow: 0 0 7px rgba(0, 248, 1, 0.8); }

.calendar-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.calendar-legend-box {
  width: 9px;
  height: 9px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: 80px;
  padding-top: 36px;
  border-top: 1px solid rgba(15, 70, 15, 0.45);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
}

.footer-brand .footer-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-brand .footer-bio {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 12px;
}

.footer-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.footer-theme-tag {
  color: var(--neon-green);
}

.footer-col h4 {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  font-size: 0.84rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--neon-green);
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

/* --------------------------------------------------------------------------
   Command Palette (Ctrl+K / ⌘K) Modal
   -------------------------------------------------------------------------- */
.cmd-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 14vh;
}

.cmd-modal-backdrop.open {
  display: flex;
  animation: modalFadeIn 0.15s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.cmd-palette {
  width: 92%;
  max-width: 580px;
  background: #080d08;
  border: 1px solid rgba(0, 248, 1, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 24px rgba(0, 248, 1, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cmd-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(15, 70, 15, 0.6);
}

.cmd-search-icon {
  width: 18px;
  height: 18px;
  color: var(--neon-green);
  flex-shrink: 0;
}

.cmd-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.98rem;
  font-family: inherit;
}

.cmd-input::placeholder {
  color: var(--text-muted);
}

.cmd-results {
  max-height: 380px;
  overflow-y: auto;
  padding: 10px;
  list-style: none;
}

.cmd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 0.88rem;
  transition: background var(--transition-fast);
}

.cmd-item:hover,
.cmd-item.selected {
  background: rgba(15, 70, 15, 0.5);
  color: var(--neon-green);
}

.cmd-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cmd-item-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.cmd-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: rgba(5, 8, 5, 0.9);
  border-top: 1px solid rgba(15, 70, 15, 0.4);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* --------------------------------------------------------------------------
   Toast Notification (for copying email or alerts)
   -------------------------------------------------------------------------- */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #081208;
  border: 1px solid var(--neon-green);
  color: var(--text-primary);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-family: var(--font-mono);
  box-shadow: 0 8px 30px rgba(0, 248, 1, 0.25);
  display: none;
  align-items: center;
  gap: 8px;
  z-index: 1000;
}

.toast-notice.show {
  display: flex;
  animation: toastPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 16px;
  }

  .nav-links {
    display: none; /* Keep clean on small screens; accessible via Cmd+K button */
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-pill,
  .email-copy-btn {
    justify-content: center;
    width: 100%;
  }

  .socials-row {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .work-meta-right {
    width: 100%;
    justify-content: space-between;
  }

  .work-body {
    padding-left: 18px;
  }

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