/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #0a0a0a;
  color: #e0e0e0;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

/* =============================================
   TYPOGRAPHY UTILITIES
   ============================================= */
.section-label {
  font-family: 'Oxanium', sans-serif;
  font-size: 12px;
  color: #39ff14;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 12px;
}

.section-heading {
  font-family: 'VT323', monospace;
  font-size: 62px;
  color: #e0e0e0;
  line-height: 1;
  margin-bottom: 48px;
}

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

/* Section backgrounds are set explicitly per-section */

/* =============================================
   FADE-IN (Intersection Observer)
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   BUTTON
   ============================================= */
.btn {
  display: inline-block;
  font-family: 'Oxanium', sans-serif;
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  border: 1px solid #39ff14;
  color: #39ff14;
  padding: 10px 24px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: #39ff14;
  color: #0a0a0a;
}

.btn-ghost {
  border-color: #333;
  color: #666;
}

.btn-ghost:hover {
  background: #333;
  color: #e0e0e0;
}

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

/* =============================================
   FLOATING BOTTOM NAV
   ============================================= */
.bottom-nav {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(10, 10, 10, 0.88);
  border: 1px solid #222;
  border-radius: 50px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  height: 48px;
  padding: 0 8px;
}

.nav-links a {
  font-family: 'Oxanium', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #777;
  padding: 8px 18px;
  border-radius: 50px;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: #39ff14;
  background: rgba(57, 255, 20, 0.08);
}

/* =============================================
   HERO SECTION
   ============================================= */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0a0a0a;
}

.hero-inner {
  max-width: 1100px;
  width: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 80px;
}

.hero-content {
  flex: 1;
  text-align: left;
}

.hero-photo {
  flex-shrink: 0;
  width: 460px;
  position: relative;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border: none;
  border-radius: 0;
  display: block;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%);
  -webkit-mask-composite: destination-in;
  mask-image:
    linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%);
  mask-composite: intersect;
}

/* Name hover expand */
.hero-name {
  font-family: 'VT323', monospace;
  font-size: 96px;
  color: #39ff14;
  line-height: 1;
  margin-bottom: 16px;
  cursor: default;
  letter-spacing: 2px;
  white-space: nowrap;
}

.name-first,
.name-last {
  display: inline-block;
}

.name-expand {
  display: inline-block;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  vertical-align: bottom;
  transition: max-width 0.4s ease, opacity 0.4s ease;
  white-space: nowrap;
}

.hero-name:hover .name-expand {
  max-width: 300px;
  opacity: 1;
}

.hero-title {
  font-family: 'VT323', monospace;
  font-size: 44px;
  color: #e0e0e0;
  margin-bottom: 12px;
}

.hero-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  color: #777;
  margin-bottom: 40px;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
#about {
  background-color: #111111;
}

.about-text p {
  font-size: 15px;
  color: #aaa;
  line-height: 1.8;
  margin-bottom: 32px;
}

.about-edu {
  border-top: 1px solid #1e1e1e;
  padding-top: 24px;
}

.edu-label {
  font-family: 'Oxanium', sans-serif;
  font-size: 11px;
  color: #39ff14;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 16px;
}

.about-edu ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-edu li {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #777;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.edu-year {
  font-family: 'Oxanium', sans-serif;
  font-size: 11px;
  color: #39ff14;
  opacity: 0.7;
  flex-shrink: 0;
}

.edu-cgpa {
  font-family: 'Oxanium', sans-serif;
  font-size: 10px;
  color: #444;
  margin-left: 4px;
}

/* =============================================
   FAB ACADEMY SECTION
   ============================================= */
#fabacademy {
  background-color: #0a0a0a;
}

.fab-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  border: 1px solid #1e1e1e;
  border-radius: 6px;
  padding: 56px 64px;
  background: #111;
  position: relative;
  overflow: hidden;
}

.fab-banner-text {
  flex: 1;
}

.fab-title {
  font-family: 'VT323', monospace;
  font-size: 72px;
  color: #39ff14;
  line-height: 1;
  margin-bottom: 16px;
}

.fab-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #888;
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 32px;
}

.fab-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 36px;
}

.fab-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fab-stat-num {
  font-family: 'VT323', monospace;
  font-size: 40px;
  color: #e0e0e0;
  line-height: 1;
}

.fab-stat-label {
  font-family: 'Oxanium', sans-serif;
  font-size: 10px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.fab-banner-tag {
  font-family: 'VT323', monospace;
  font-size: 180px;
  color: #39ff14;
  opacity: 0.04;
  line-height: 1;
  flex-shrink: 0;
  user-select: none;
  pointer-events: none;
}

/* =============================================
   SKILLS SECTION
   ============================================= */
#skills {
  background-color: #0a0a0a;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.skill-card {
  background: #161616;
  border: 1px solid #1e1e1e;
  border-radius: 6px;
  padding: 24px;
  transition: border-color 0.2s ease;
}

.skill-card:hover {
  border-color: #222222;
}

.skill-category {
  font-family: 'VT323', monospace;
  font-size: 28px;
  color: #e0e0e0;
  margin-bottom: 16px;
}

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

.pill {
  font-family: 'Oxanium', sans-serif;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 12px;
  border: 1px solid #222;
  border-radius: 2px;
  color: #888;
  background: #111;
  letter-spacing: 0.5px;
}

/* =============================================
   EXPERIENCE / TIMELINE
   ============================================= */
#experience {
  background-color: #111111;
}

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: #1e1e1e;
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline.draw-line::before {
  transform: scaleY(1);
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

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

.timeline-dot {
  position: absolute;
  left: -32px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.timeline-dot.green { background: #39ff14; }
.timeline-dot.amber { background: #ffaa00; }

.timeline-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.timeline-date {
  font-family: 'Oxanium', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline-date.green { color: #39ff14; }
.timeline-date.amber { color: #ffaa00; }

.timeline-role {
  font-family: 'VT323', monospace;
  font-size: 24px;
  color: #e0e0e0;
  line-height: 1.1;
}

.timeline-company {
  font-family: 'Oxanium', sans-serif;
  font-size: 11px;
  color: #555;
  letter-spacing: 0.5px;
}

.timeline-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #666;
  margin-top: 6px;
  line-height: 1.6;
}

/* =============================================
   PROJECTS SECTION
   ============================================= */
#projects {
  background-color: #0a0a0a;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.project-card {
  background: #161616;
  border: 1px solid #1e1e1e;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

a.project-card:hover {
  border-color: #39ff14;
  transform: translateY(-4px);
}

.project-card.coming-soon {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

/* Card image */
.card-img {
  height: 160px;
  background-color: #111;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  filter: grayscale(100%) brightness(0.55) contrast(1.1);
  transition: filter 0.3s ease;
}

.card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(57, 255, 20, 0.07);
  pointer-events: none;
  z-index: 1;
}

a.project-card:hover .card-img {
  filter: grayscale(0%) brightness(0.85) contrast(1.05);
}

.card-img-fallback {
  font-family: 'VT323', monospace;
  font-size: 36px;
  color: #39ff14;
  opacity: 0.2;
  position: absolute;
}

/* Hide fallback text if image loads */
.card-img[style*="url("] .card-img-fallback {
  /* JS handles this */
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.card-title {
  font-family: 'VT323', monospace;
  font-size: 22px;
  color: #e0e0e0;
  line-height: 1.1;
}

.card-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}

/* Tags */
.tag {
  font-family: 'Oxanium', sans-serif;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tag-green {
  background: rgba(57, 255, 20, 0.1);
  color: #39ff14;
  border: 1px solid rgba(57, 255, 20, 0.25);
}

.tag-amber {
  background: rgba(255, 170, 0, 0.1);
  color: #ffaa00;
  border: 1px solid rgba(255, 170, 0, 0.25);
}

.tag-blue {
  background: rgba(56, 132, 255, 0.1);
  color: #3884ff;
  border: 1px solid rgba(56, 132, 255, 0.25);
}

.tag-red {
  background: rgba(255, 75, 75, 0.1);
  color: #ff4b4b;
  border: 1px solid rgba(255, 75, 75, 0.25);
}

.tag-group {
  background: rgba(119, 119, 119, 0.1);
  color: #777;
  border: 1px solid rgba(119, 119, 119, 0.25);
}

.badge-coming-soon {
  font-family: 'Oxanium', sans-serif;
  font-size: 9px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(255, 75, 75, 0.1);
  color: #ff4b4b;
  border: 1px solid rgba(255, 75, 75, 0.25);
}

/* =============================================
   CONTACT SECTION
   ============================================= */
#contact {
  background-color: #111111;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: 'Oxanium', sans-serif;
  font-size: 11px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
  background: #161616;
  border: 1px solid #1e1e1e;
  border-radius: 4px;
  color: #e0e0e0;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s ease;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #444;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #39ff14;
}

.form-status {
  font-family: 'Oxanium', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  min-height: 20px;
}

.form-status.success { color: #39ff14; }
.form-status.error   { color: #ff4b4b; }

/* Contact links */
.contact-intro {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #777;
  margin-bottom: 28px;
  line-height: 1.7;
}

.social-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.social-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #666;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  transition: color 0.2s ease;
}

.social-list a:hover {
  color: #39ff14;
}

.social-list i {
  width: 16px;
  text-align: center;
  font-size: 14px;
  color: #444;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.social-list a:hover i {
  color: #39ff14;
}

/* =============================================
   DOC PAGE (Project Documentation)
   ============================================= */
.doc-back {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 100;
  font-family: 'Oxanium', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid #1e1e1e;
  border-radius: 50px;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: color 0.2s, border-color 0.2s;
}
.doc-back:hover { color: #39ff14; border-color: #39ff14; }

.doc-hero {
  height: 60vh;
  min-height: 380px;
  background-size: cover;
  background-position: center;
  background-color: #111;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.doc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0a0a0a 0%, rgba(10,10,10,0.55) 50%, rgba(10,10,10,0.2) 100%);
}

.doc-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px 56px;
}

.doc-hero-title {
  font-family: 'VT323', monospace;
  font-size: 80px;
  color: #e0e0e0;
  line-height: 1;
  margin-bottom: 8px;
}

.doc-hero-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #888;
  margin-bottom: 20px;
  max-width: 600px;
}

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

.doc-body { background: #0a0a0a; }

.doc-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.doc-section {
  padding: 72px 0;
  border-bottom: 1px solid #1a1a1a;
}
.doc-section:last-child { border-bottom: none; }

.doc-heading {
  font-family: 'VT323', monospace;
  font-size: 48px;
  color: #e0e0e0;
  line-height: 1;
  margin-bottom: 28px;
}

.doc-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #888;
  line-height: 1.8;
  max-width: 760px;
}

.doc-text + .doc-text { margin-top: 16px; }

.doc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
}
.doc-list li {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #777;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}
.doc-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #39ff14;
  opacity: 0.6;
}

.doc-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.doc-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1px;
  background: #1a1a1a;
  border: 1px solid #1a1a1a;
  border-radius: 6px;
  overflow: hidden;
}
.doc-spec-item {
  background: #111;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.doc-spec-key {
  font-family: 'Oxanium', sans-serif;
  font-size: 10px;
  color: #39ff14;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.doc-spec-val {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #ccc;
}

.doc-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.doc-gallery-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  filter: grayscale(20%) brightness(0.8);
  transition: filter 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  border: 1px solid #1a1a1a;
}
.doc-gallery-img:hover {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.02);
}

.doc-video {
  width: 100%;
  max-width: 820px;
  border-radius: 6px;
  margin-top: 24px;
  border: 1px solid #1e1e1e;
  display: block;
}

.doc-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.doc-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .doc-hero { height: 50vh; min-height: 300px; }
  .doc-hero-title { font-size: 48px; }
  .doc-back { top: 16px; left: 16px; font-size: 10px; padding: 8px 14px; }
  .doc-gallery { grid-template-columns: 1fr 1fr; }
  .doc-two-col { grid-template-columns: 1fr; gap: 0; }
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: #0a0a0a;
  border-top: 1px solid #1a1a1a;
  padding: 24px;
  text-align: center;
}

footer p {
  font-family: 'Oxanium', sans-serif;
  font-size: 11px;
  color: #333;
  letter-spacing: 1px;
}

/* =============================================
   RESPONSIVE — TABLET (768px – 1024px)
   ============================================= */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fab-banner {
    padding: 40px 40px;
  }
}

/* =============================================
   RESPONSIVE — MOBILE (< 768px)
   ============================================= */
@media (max-width: 768px) {
  section {
    padding: 72px 0;
  }

  .section-heading {
    font-size: 40px;
    margin-bottom: 32px;
  }

  /* Bottom nav — shrink on mobile */
  .bottom-nav {
    bottom: 16px;
  }

  .bottom-nav {
    max-width: calc(100vw - 32px);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .bottom-nav::-webkit-scrollbar { display: none; }

  .nav-links {
    height: 44px;
    padding: 0 4px;
  }

  .nav-links a {
    font-size: 9px;
    padding: 6px 10px;
    letter-spacing: 1px;
  }

  /* Hero */
  .hero-inner {
    flex-direction: column-reverse;
    gap: 40px;
    padding-top: 60px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-photo {
    width: 280px;
  }

  .hero-name {
    font-size: 64px;
  }

  .hero-title {
    font-size: 28px;
  }

  /* Fab Academy */
  .fab-banner {
    flex-direction: column;
    padding: 32px 24px;
    gap: 0;
  }

  .fab-banner-tag {
    display: none;
  }

  .fab-stats {
    gap: 24px;
  }

  /* Skills */
  .skills-grid {
    grid-template-columns: 1fr;
  }

  /* Projects */
  .projects-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* =============================================
   SCROLL PROGRESS BAR
   ============================================= */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: #39ff14;
  z-index: 2000;
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.6), 0 0 2px rgba(57, 255, 20, 0.8);
  pointer-events: none;
  transition: width 0.08s linear;
}

/* =============================================
   TYPEWRITER CURSOR
   ============================================= */
.type-cursor {
  display: inline-block;
  width: 3px;
  height: 0.8em;
  background: #e0e0e0;
  margin-left: 6px;
  vertical-align: middle;
  border-radius: 1px;
  animation: blink 0.85s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* =============================================
   SECTION BACKGROUND NUMBERS
   ============================================= */
.section-heading {
  position: relative;
  overflow: visible;
}

.section-heading[data-num]::before {
  content: attr(data-num);
  position: absolute;
  font-family: 'VT323', monospace;
  font-size: 220px;
  color: #39ff14;
  opacity: 0.04;
  line-height: 1;
  right: -8px;
  top: -70px;
  pointer-events: none;
  user-select: none;
}

/* =============================================
   STAGGERED CHILDREN
   ============================================= */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

[data-stagger] > *.stagger-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   SKILL PILL — hover glow
   ============================================= */
.pill {
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.pill:hover {
  border-color: rgba(57, 255, 20, 0.4);
  color: #c0e8a0;
  background: rgba(57, 255, 20, 0.06);
}

/* =============================================
   BTN — magnetic hover glow
   ============================================= */
.btn:hover {
  box-shadow: 0 8px 28px rgba(57, 255, 20, 0.18);
}

.btn-ghost:hover {
  box-shadow: 0 8px 28px rgba(120, 120, 120, 0.1);
}
