﻿/* ============================================
   ARYAN BURHADE PORTFOLIO - CSS
   Theme: Deep Slate / Modern Tech
   ============================================ */

:root {
  --bg: #050911;
  --bg-alt: #0b1322;
  --surface: #111a2b;
  --surface-2: #172238;
  --border: rgba(123, 154, 196, 0.24);
  --border-strong: rgba(142, 195, 255, 0.4);
  --accent: #6dd2ff;
  --accent-2: #9ab0ff;
  --accent-warm: #e2bc73;
  --accent-glow: rgba(109, 210, 255, 0.18);
  --text: #ecf3ff;
  --text-muted: #b5c3dd;
  --text-dim: #7c8da9;
  --font-display: 'Sora', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --font-body: 'Manrope', sans-serif;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 20px 45px rgba(3, 7, 15, 0.5);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: radial-gradient(circle at 20% -10%, #13233d 0%, transparent 35%),
              radial-gradient(circle at 85% 8%, #1a2340 0%, transparent 35%),
              var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background: linear-gradient(to bottom, rgba(5, 9, 17, 0.2), rgba(5, 9, 17, 0.85) 70%, rgba(5, 9, 17, 1));
  z-index: 0;
}

body::after {
  background-image: linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.35;
  z-index: 0;
}

#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

::selection {
  background: rgba(109, 210, 255, 0.3);
  color: #f7fbff;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #060b14;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--accent), #68ffd9);
  border-radius: 99px;
}

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 2.5rem;
  background: rgba(7, 11, 21, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(142, 195, 255, 0.12);
  transition: all 0.28s ease;
}

#navbar.scrolled {
  padding: 0.76rem 2.5rem;
  background: rgba(7, 11, 21, 0.94);
  border-bottom-color: rgba(142, 195, 255, 0.2);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-logo .dot {
  color: var(--accent);
}

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

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #8de6ff);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a.active:not(.nav-cta)::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav-links .nav-cta::after {
  display: none !important;
}

.nav-cta {
  background: linear-gradient(120deg, var(--accent), #95eaff) !important;
  color: #07111f !important;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(109, 210, 255, 0.28);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

#hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8rem 5vw 4.5rem;
  gap: 4rem;
}

.hero-content {
  flex: 1;
  max-width: 660px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #98e9ff;
  background: var(--accent-glow);
  border: 1px solid rgba(109, 210, 255, 0.26);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tag-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(109, 210, 255, 0.7);
  }
  50% {
    opacity: 0.75;
    box-shadow: 0 0 0 6px rgba(109, 210, 255, 0);
  }
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 0.9rem;
}

.hero-name .line {
  display: block;
}

.accent-line {
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
  text-shadow: 0 0 24px rgba(109, 210, 255, 0.18);
}

.hero-role {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hero-bio {
  font-size: 1.03rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.78rem 1.85rem;
  background: linear-gradient(130deg, var(--accent), #84ecff);
  color: #07111f;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid rgba(196, 245, 255, 0.65);
  transition: transform 0.25s, box-shadow 0.25s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(109, 210, 255, 0.3);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.78rem 1.8rem;
  border: 1px solid rgba(142, 195, 255, 0.3);
  color: var(--text);
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.93rem;
  text-decoration: none;
  background: rgba(17, 26, 43, 0.45);
  transition: all 0.25s;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.stat {
  text-align: left;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-div {
  width: 1px;
  height: 36px;
  background: rgba(123, 154, 196, 0.35);
}

.hero-visual {
  flex: 0 0 auto;
  width: min(390px, 40vw);
  aspect-ratio: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(142, 195, 255, 0.17);
  animation: spin linear infinite;
}

.ring-1 {
  width: 170px;
  height: 170px;
  animation-duration: 9s;
  border-color: rgba(109, 210, 255, 0.32);
}

.ring-2 {
  width: 265px;
  height: 265px;
  animation-duration: 16s;
  animation-direction: reverse;
}

.ring-3 {
  width: 360px;
  height: 360px;
  animation-duration: 24s;
  border-color: rgba(154, 176, 255, 0.2);
}

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

.orbit-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(109, 210, 255, 0.8);
}

.dot-1 {
  top: calc(50% - 85px);
  left: 50%;
  animation: spin 9s linear infinite;
  transform-origin: 0 85px;
}

.dot-2 {
  top: calc(50% - 132px);
  left: 50%;
  animation: spin 16s linear reverse infinite;
  transform-origin: 0 132px;
  background: var(--accent-2);
  box-shadow: 0 0 12px rgba(154, 176, 255, 0.8);
}

.dot-3 {
  top: calc(50% - 180px);
  left: 50%;
  animation: spin 24s linear infinite;
  transform-origin: 0 180px;
  width: 7px;
  height: 7px;
  background: var(--accent-warm);
  box-shadow: 0 0 10px rgba(226, 188, 115, 0.75);
}

.avatar-core {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #8aa5ff, #2a2f56 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 48px rgba(154, 176, 255, 0.42), 0 0 80px rgba(109, 210, 255, 0.2);
  border: 1px solid rgba(180, 204, 255, 0.28);
  z-index: 2;
}

.avatar-inner {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: #f5f9ff;
  letter-spacing: -0.02em;
}

.section {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}

.section-alt {
  background: rgba(11, 19, 34, 0.5);
  backdrop-filter: blur(2px);
}

.container {
  width: 90%;
  max-width: 1120px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 3rem;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--accent);
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 0.6rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.section-sub {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.92rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.6rem;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.04rem;
}

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

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

.info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(17, 26, 43, 0.88);
  border: 1px solid rgba(123, 154, 196, 0.3);
  border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.info-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.info-icon {
  min-width: 56px;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  border: 1px solid rgba(109, 210, 255, 0.36);
  background: rgba(109, 210, 255, 0.08);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-title {
  font-weight: 600;
  font-size: 0.96rem;
  color: #f4f8ff;
}

.info-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.skill-category {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.skill-cat-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  min-width: 160px;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(123, 154, 196, 0.35);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.58rem;
}

.skill-tag {
  padding: 0.38rem 0.9rem;
  background: rgba(17, 26, 43, 0.85);
  border: 1px solid rgba(123, 154, 196, 0.34);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.77rem;
  color: var(--text-muted);
  transition: all 0.2s;
}

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

.skill-tag.highlight {
  background: rgba(109, 210, 255, 0.1);
  border-color: rgba(109, 210, 255, 0.35);
  color: var(--accent);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.project-card {
  position: relative;
  padding: 1.8rem;
  background: linear-gradient(160deg, rgba(17, 26, 43, 0.92), rgba(17, 26, 43, 0.68));
  border: 1px solid rgba(123, 154, 196, 0.28);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.28s ease;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 50%), rgba(109, 210, 255, 0.075), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.project-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

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


.project-number {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  margin-bottom: 0.85rem;
}

.project-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.p-tag {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  color: #c5d2ff;
  background: rgba(154, 176, 255, 0.1);
  border: 1px solid rgba(154, 176, 255, 0.28);
  padding: 0.2rem 0.56rem;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

.project-card h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.72rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.project-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.project-tech span {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  color: #a7b6d0;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(123, 154, 196, 0.22);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.project-footer {
  padding-top: 1rem;
  border-top: 1px solid rgba(123, 154, 196, 0.28);
}

.github-link {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  transition: letter-spacing 0.2s;
}

.project-card:hover .github-link {
  letter-spacing: 0.07em;
}

.projects-more {
  position: relative;
  padding: 1.55rem 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(142, 195, 255, 0.3);
  background: linear-gradient(140deg, rgba(18, 30, 48, 0.92), rgba(26, 38, 66, 0.72));
  overflow: hidden;
}

.projects-more::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(480px circle at 88% 18%, rgba(109, 210, 255, 0.16), transparent 60%);
  pointer-events: none;
}

.projects-more-kicker {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.2rem 0.56rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #bfeeff;
  border: 1px solid rgba(109, 210, 255, 0.38);
  background: rgba(109, 210, 255, 0.1);
}

.projects-more h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.1vw, 1.4rem);
  letter-spacing: -0.02em;
}

.projects-more p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.projects-more-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.58rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(142, 195, 255, 0.44);
  background: rgba(12, 20, 33, 0.75);
  color: #dff6ff;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: border-color 0.24s ease, transform 0.24s ease, color 0.24s ease;
}

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

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
}

.achievement-card {
  padding: 1.55rem 1.35rem;
  background: rgba(17, 26, 43, 0.9);
  border: 1px solid rgba(123, 154, 196, 0.28);
  border-radius: var(--radius);
  transition: all 0.25s;
}

.achievement-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.achievement-card.gold {
  border-color: rgba(226, 188, 115, 0.32);
}

.achievement-card.gold:hover {
  border-color: rgba(226, 188, 115, 0.58);
}

.achievement-card.silver {
  border-color: rgba(180, 198, 219, 0.3);
}

.achievement-card.silver:hover {
  border-color: rgba(180, 198, 219, 0.58);
}

.ach-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  margin-bottom: 0.7rem;
  color: var(--text);
  border-radius: 999px;
  padding: 0.22rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.03);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.achievement-card.gold .ach-rank {
  color: #ffe9bf;
  border-color: rgba(226, 188, 115, 0.42);
  background: rgba(226, 188, 115, 0.1);
}

.achievement-card.silver .ach-rank {
  color: #e4edf9;
  border-color: rgba(180, 198, 219, 0.4);
  background: rgba(180, 198, 219, 0.1);
}

.ach-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}

.ach-sub {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.contact-wrapper {
  max-width: 690px;
}

.contact-intro {
  font-size: 1.06rem;
  color: var(--text-muted);
  margin-bottom: 2.3rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.35rem;
  background: rgba(17, 26, 43, 0.86);
  border: 1px solid rgba(123, 154, 196, 0.3);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: all 0.24s;
}

.contact-item:hover {
  border-color: var(--border-strong);
  transform: translateX(6px);
  background: rgba(23, 34, 56, 0.9);
}

.contact-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(23, 34, 56, 0.85);
  border-radius: 11px;
  color: var(--accent);
  border: 1px solid rgba(109, 210, 255, 0.28);
  flex-shrink: 0;
}

.contact-icon svg {
  display: block;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}

.contact-val {
  font-size: 0.95rem;
  font-weight: 500;
}

footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(123, 154, 196, 0.3);
  padding: 1.4rem 5vw;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.reveal,
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible,
.reveal-up.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  #hero {
    flex-direction: column;
    padding: 7rem 6vw 3.2rem;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

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

  .hero-visual {
    width: 265px;
  }

  .ring-3 {
    width: 240px;
    height: 240px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .skill-category {
    flex-direction: column;
    gap: 0.85rem;
  }

  .skill-cat-label {
    min-width: unset;
    border-top: none;
    border-left: 2px solid var(--accent);
    padding: 0 0 0 0.8rem;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 11, 21, 0.98);
    padding: 1.8rem;
    border-top: 1px solid rgba(142, 195, 255, 0.2);
    gap: 1.1rem;
    z-index: 99;
  }

  .nav-links.open a.active::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-name {
    font-size: 3rem;
  }

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

  .footer-inner {
    flex-direction: column;
    gap: 0.45rem;
    text-align: center;
  }

  .hero-stats {
    gap: 1.2rem;
  }

  .stat-div {
    display: none;
  }

  .projects-more {
    padding: 1.3rem 1.1rem;
  }

  .projects-more-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-up {
    opacity: 1;
    transform: none;
  }
}

/* --- NEW INTERACTIVE STYLES --- */

/* Custom Cursor Elements */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background-color: var(--accent);
  box-shadow: 0 0 6px rgba(109, 210, 255, 0.75);
  opacity: 0.85;
}

.cursor-outline {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(109, 210, 255, 0.28);
  opacity: 0.6;
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Cursor hover states */
.cursor-outline.hovering {
  width: 36px;
  height: 36px;
  background-color: rgba(109, 210, 255, 0.05);
  border-color: rgba(109, 210, 255, 0.4);
}

/* Typewriter Effect */
.typewriter {
  color: var(--accent-2);
}
.cursor {
  display: inline-block;
  width: 2px;
  background-color: var(--accent);
  animation: blink 1s infinite;
  margin-left: 2px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* 3D Project Cards Base */
.project-card {
  transform-style: preserve-3d;
  will-change: transform;
}
.project-card > * {
  transform: translateZ(30px); /* Pops content off the card background */
}
.project-card::before {
  transform: translateZ(0); /* Keeps the glow on the base layer */
}
