/* ============================================================
   PORTFOLIO — Vanilla CSS
   Converted from Next.js + Tailwind + Framer Motion
   ============================================================ */

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

:root {
  --font-sans: 'Space Grotesk', sans-serif;
  --font-mono: 'Geist Mono', monospace;
  --bg: #000000;
  --fg: #ffffff;
  --accent-green: #39ff14;
  --accent-orange: #ff8c00;
  --neutral-300: #d4d4d4;
  --neutral-400: #a3a3a3;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--accent-orange);
  color: #fff;
}


/* ======================== LENIS ======================== */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* ======================== SCROLLBAR ======================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }
@media (hover: hover) and (pointer: fine) {
  ::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ======================== UTILITIES ======================== */
.container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.container--wide { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
.container--narrow { max-width: 56rem; margin: 0 auto; padding: 0 1rem; }
.container--full { max-width: 84rem; margin: 0 auto; padding: 0 1rem; }

.glass-panel {
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.text-glow-green { text-shadow: 0 0 10px rgba(57, 255, 20, 0.5); }
.text-glow-orange { text-shadow: 0 0 10px rgba(255, 140, 0, 0.5); }

/* ======================== ANIMATIONS ======================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

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

/* Scroll-triggered animation base */
.anim-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-scale-in {
  animation: scaleIn 0.8s ease forwards;
}

.anim-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: var(--delay, 0s);
}

/* ======================== SCROLL PROGRESS ======================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent-green), var(--accent-orange));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 200;
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
  will-change: transform;
}


/* ======================== NAVBAR ======================== */
.navbar {
  position: fixed;
  top: 1.5rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 100;
  width: 95%;
  max-width: 48rem;
  animation: slideDown 0.8s ease forwards;
  transition: width 0.3s ease, max-width 0.3s ease;
}
.navbar.scrolled {
  width: 90%;
  max-width: 40rem;
}

.navbar-inner {
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 9999px;
  padding: 0.5rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
}

.navbar-links {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.navbar-links::-webkit-scrollbar { display: none; }

.nav-link {
  position: relative;
  padding: 0.5rem 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--neutral-400);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 640px) {
  .nav-link { padding: 0.5rem 1rem; font-size: 0.875rem; }
}
@media (hover: hover) and (pointer: fine) {
  .nav-link:hover { color: #fff; }
}
.nav-link.active { color: #fff; }

.nav-active-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  z-index: -1;
  transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1), width 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

/* ======================== SECTION COMMON ======================== */
.section {
  padding: 6rem 0;
  position: relative;
  z-index: 10;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  display: inline-block;
}

.section-line {
  height: 4px;
  width: 5rem;
  border-radius: 9999px;
  margin: 0 auto;
}
.line--orange-green { background: linear-gradient(to right, #ff8c00, var(--accent-green)); }
.line--green-orange { background: linear-gradient(to right, var(--accent-green), #ff8c00); }

/* ======================== HERO ======================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.hero-glow--green {
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 400px; height: 400px;
  background: rgba(57, 255, 20, 0.1);
  filter: blur(80px);
}
@media (min-width: 768px) {
  .hero-glow--green { width: 800px; height: 800px; filter: blur(120px); }
}
.hero-glow--orange {
  top: 50%; left: 25%;
  transform: translateY(-50%);
  width: 300px; height: 300px;
  background: rgba(255, 140, 0, 0.1);
  filter: blur(60px);
}
@media (min-width: 768px) {
  .hero-glow--orange { width: 600px; height: 600px; filter: blur(100px); }
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 48rem;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-card {
  padding: 1.5rem;
  border-radius: 1.5rem;
  width: 100%;
}
@media (min-width: 640px) { .hero-card { padding: 2rem; } }
@media (min-width: 768px) { .hero-card { padding: 3rem; } }

.hero-name {
  font-size: clamp(1.875rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-tagline {
  font-family: var(--font-mono);
  color: rgba(209, 213, 219, 0.8);
  letter-spacing: 0.05em;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}
@media (min-width: 768px) { .hero-tagline { font-size: 1.125rem; } }

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }

/* ======================== MAGNETIC BUTTON ======================== */
.magnetic-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
}
@media (min-width: 768px) {
  .magnetic-btn { padding: 1rem 2rem; }
}
@media (hover: hover) and (pointer: fine) {
  .magnetic-btn:hover { background: rgba(255, 255, 255, 0.1); }
}

.magnetic-btn__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(57, 255, 20, 0.2), rgba(255, 140, 0, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .magnetic-btn:hover .magnetic-btn__gradient { opacity: 1; }
}

.magnetic-btn__label {
  position: relative;
  z-index: 10;
  font-weight: 500;
  letter-spacing: 0.025em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.magnetic-btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
@media (hover: hover) and (pointer: fine) {
  .magnetic-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
}

.magnetic-btn--icon {
  padding: 1rem;
  color: var(--accent-green);
}
@media (hover: hover) and (pointer: fine) {
  .magnetic-btn--icon:hover { color: #67e8f9; }
}

/* ======================== SKILLS ======================== */
.skills-section .container { max-width: 64rem; }

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 480px) { .skills-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) { .skills-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .skills-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }

.skill-card {
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: all 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  /* Animate in */
  opacity: 0;
  transform: translateY(20px);
}
.skill-card.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (hover: hover) and (pointer: fine) {
  .skill-card:hover {
  border-color: rgba(255, 140, 0, 0.5) !important;
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.15);
  transform: translateY(-5px) scale(1.02);
}
}

/* Hover overlay */
.skill-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.05), rgba(255, 140, 0, 0.05));
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .skill-card:hover::before { opacity: 1; }
}

.skill-card span {
  position: relative;
  z-index: 10;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  color: var(--neutral-300);
}

/* ======================== PROJECTS ======================== */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (min-width: 1024px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}
.project-card.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (hover: hover) and (pointer: fine) {
  .project-card:hover {
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.15);
  transform: translateY(-5px);
  border-color: rgba(255, 140, 0, 0.3) !important;
}
}
.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.05), rgba(255, 140, 0, 0.05));
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .project-card:hover::before { opacity: 1; }
}

.project-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.project-card__name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}
.project-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .project-card:hover .project-card__name { color: var(--accent-green); }
}

.contrib-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.125rem 0.375rem;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.project-card__icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--neutral-400);
  flex-shrink: 0;
  margin-left: 0.5rem;
}
.project-card__icons a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .project-card__icons a:hover { color: #fff; }
}
@media (hover: hover) and (pointer: fine) {
  .project-card__icons a.live-link:hover { color: var(--accent-green); }
}

.project-card__desc {
  color: var(--neutral-300);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.project-card__footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--neutral-400);
}
.project-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.project-card__lang {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.lang-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.8);
}
.lang-dot--orange {
  background: #c084fc;
  box-shadow: 0 0 8px rgba(255, 140, 0, 0.8);
}
.project-card__stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .project-card__stars:hover { color: #fff; }
}

/* Contributions divider */
.contributions-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.divider-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(251, 191, 36, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.projects-cta {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

/* ======================== ALL PROJECTS ======================== */
.all-projects-section {
  padding-top: 8rem;
  padding-bottom: 6rem;
}
.section-header-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .section-header-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.all-projects-desc {
  color: var(--neutral-400);
  max-width: 28rem;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-green);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .back-link:hover { color: #67e8f9; }
}
@media (hover: hover) and (pointer: fine) {
  .back-link:hover svg { transform: translateX(-4px); }
}
.back-link svg { transition: transform 0.2s ease; }

.all-projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .all-projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .all-projects-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .all-projects-grid { grid-template-columns: repeat(4, 1fr); } }

.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  border-radius: 1rem;
  color: var(--neutral-400);
  font-size: 1.125rem;
}

/* ======================== ACHIEVEMENTS / TIMELINE ======================== */
.timeline {
  position: relative;
}
.timeline-line {
  position: absolute;
  left: 27px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(57, 255, 20, 0.5), rgba(255, 140, 0, 0.5), transparent);
}
@media (min-width: 768px) {
  .timeline-line { left: 50%; transform: translateX(-50%); }
}

.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .timeline-item { flex-direction: row; }
  .timeline-item.even { flex-direction: row-reverse; }
}

.timeline-node {
  position: absolute;
  left: 19px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.8);
  z-index: 10;
  outline: 4px solid #000;
  /* Animate */
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.timeline-node.visible {
  opacity: 1;
  transform: scale(1);
}
@media (min-width: 768px) {
  .timeline-node { left: 50%; transform: scale(0) translateX(-50%); }
  .timeline-node.visible { transform: scale(1) translateX(-50%); }
}

.timeline-card-wrapper {
  width: 100%;
  padding-left: 4rem;
  /* Animate */
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}
.timeline-card-wrapper.visible {
  opacity: 1;
  transform: translateX(0);
}
@media (min-width: 768px) {
  .timeline-card-wrapper {
    width: 50%;
    padding-left: 0;
    padding-right: 3rem;
    padding-left: 3rem;
  }
  .timeline-item.even .timeline-card-wrapper {
    transform: translateX(50px);
  }
  .timeline-item.even .timeline-card-wrapper.visible {
    transform: translateX(0);
  }
}

.timeline-spacer {
  display: none;
}
@media (min-width: 768px) {
  .timeline-spacer { display: block; width: 50%; }
}

.timeline-card {
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .timeline-card:hover {
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.15);
  transform: translateY(-5px) scale(1.02);
}
}
.timeline-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.05), rgba(255, 140, 0, 0.05));
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .timeline-card:hover::before { opacity: 1; }
}

.timeline-year {
  color: var(--accent-green);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}
.timeline-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}
@media (min-width: 768px) { .timeline-title { font-size: 1.5rem; } }
.timeline-org {
  color: #ff8c00;
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}
.timeline-desc {
  color: var(--neutral-300);
  line-height: 1.6;
  font-size: 0.875rem;
}
@media (min-width: 768px) { .timeline-desc { font-size: 1rem; } }

/* ======================== ABOUT ======================== */
.about-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.about-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1.5rem;
}
@media (min-width: 640px) { .about-inner { padding: 2rem; } }
@media (min-width: 768px) {
  .about-inner { flex-direction: row; padding: 3rem; align-items: flex-start; }
}

.about-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--neutral-300);
  font-size: 1.125rem;
  line-height: 1.7;
}

.about-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}
@media (min-width: 768px) { .about-actions { width: auto; } }

.about-socials {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 768px) { .about-socials { justify-content: flex-start; } }

.resume-btn {
  margin-top: 1rem;
  width: 100%;
}
@media (min-width: 768px) { .resume-btn { width: auto; } }

/* ======================== SVG ICONS INLINE ======================== */
svg { flex-shrink: 0; }

/* ======================== FLASHLIGHT BACKGROUND ======================== */
html, body { position: relative; }
#circuit-photo, #circuit-overlay {
  position: absolute;
  top: 100vh; left: 0;
  width: 100%; height: calc(100% - 100vh);
  pointer-events: none;
}
#circuit-photo {
  background-image: url('public/ckt.png');
  background-repeat: repeat;
  background-size: 100vw auto;
  filter: brightness(0.8) saturate(1.05);
  z-index: -2;
}
#circuit-overlay {
  background: #000;
  z-index: -1;
}
