/* ========================================
   FUTURISTIC PORTFOLIO — Tudor Baranai
   Color Palette: Deep navy, cyan neon, electric blue
   ======================================== */

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

:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #0f1629;
  --bg-card: rgba(15, 22, 41, 0.6);
  --neon-cyan: #00f0ff;
  --neon-blue: #4d7cff;
  --neon-purple: #a855f7;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-dim: #475569;
  --glass-border: rgba(0, 240, 255, 0.12);
  --glass-bg: rgba(15, 22, 41, 0.65);
  --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.3);
  --glow-strong: 0 0 40px rgba(0, 240, 255, 0.2), 0 0 80px rgba(0, 240, 255, 0.1);
  --font-heading: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
  font-weight: 400;
}

::selection {
  background: rgba(0, 240, 255, 0.25);
  color: #fff;
}

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

/* --- Custom Cursor Glow --- */
#cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  will-change: left, top;
}

/* --- Particle Canvas --- */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* --- Navigation --- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 14, 26, 0.8);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

#navbar.scrolled {
  padding: 0.7rem 3rem;
  background: rgba(10, 14, 26, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
  position: relative;
  cursor: default;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--neon-cyan);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

#nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

#nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: 0.3s;
}

#nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
#nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
#nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Sections (shared) --- */
section {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 3rem;
}

.section-container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  text-align: center;
  margin-bottom: 3.5rem;
  color: var(--text-primary);
}

.title-decorator {
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

/* --- Hero Section --- */
#hero {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 240, 255, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(77, 124, 255, 0.04) 0%, transparent 60%);
}

.hero-content {
  z-index: 2;
}

.hero-greeting {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--neon-cyan);
  margin-bottom: 1rem;
  letter-spacing: 1px;
  font-weight: 500;
}

.typing-prefix {
  color: var(--neon-cyan);
}

.cursor-blink {
  animation: blink 1s step-end infinite;
  color: var(--neon-cyan);
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-name {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, var(--neon-cyan) 50%, var(--neon-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glitch effect on hover */
.glitch {
  position: relative;
  cursor: default;
}

.glitch:hover::before,
.glitch:hover::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background: var(--bg-primary);
  -webkit-background-clip: text;
  background-clip: text;
}

.glitch:hover::before {
  animation: glitch-1 0.3s linear infinite;
  color: var(--neon-cyan);
  -webkit-text-fill-color: var(--neon-cyan);
  clip-path: inset(20% 0 40% 0);
}

.glitch:hover::after {
  animation: glitch-2 0.3s linear infinite;
  color: var(--neon-purple);
  -webkit-text-fill-color: var(--neon-purple);
  clip-path: inset(60% 0 10% 0);
}

@keyframes glitch-1 {
  0%   { transform: translate(0); }
  20%  { transform: translate(-3px, 3px); }
  40%  { transform: translate(3px, -3px); }
  60%  { transform: translate(-2px, 1px); }
  80%  { transform: translate(2px, -1px); }
  100% { transform: translate(0); }
}

@keyframes glitch-2 {
  0%   { transform: translate(0); }
  20%  { transform: translate(3px, -2px); }
  40%  { transform: translate(-3px, 2px); }
  60%  { transform: translate(1px, -3px); }
  80%  { transform: translate(-1px, 3px); }
  100% { transform: translate(0); }
}

.hero-tagline {
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  letter-spacing: 1px;
  font-weight: 400;
}

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

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
  color: var(--bg-primary);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.4), 0 0 60px rgba(0, 240, 255, 0.15);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
  box-shadow: inset 0 0 10px rgba(0, 240, 255, 0.05);
}

.btn-outline:hover {
  background: rgba(0, 240, 255, 0.08);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
  transform: translateY(-2px);
}

/* --- Scroll Indicator --- */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: float 3s ease-in-out infinite;
}

.scroll-indicator span {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-dim);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.wheel {
  width: 3px;
  height: 8px;
  background: var(--neon-cyan);
  border-radius: 2px;
  animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.2; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* --- About Section --- */
#about {
  background:
    radial-gradient(ellipse 50% 40% at 20% 50%, rgba(77, 124, 255, 0.04) 0%, transparent 60%);
}

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

.hex-portrait {
  position: relative;
  width: 180px;
  height: 200px;
  margin: 0 auto 2rem;
}

.hex-border {
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
  animation: hex-rotate 8s linear infinite;
}

.hex-inner {
  position: absolute;
  inset: 3px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-placeholder {
  width: 80px;
  height: 80px;
  color: var(--text-dim);
}

@keyframes hex-rotate {
  0%, 100% {
    filter: hue-rotate(0deg);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  }
  50% {
    filter: hue-rotate(30deg);
    box-shadow: 0 0 30px rgba(77, 124, 255, 0.3);
  }
}

.about-stats {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.stat-symbol {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--neon-blue);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.2rem;
}

/* --- Terminal Window --- */
.terminal-window {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--glass-border);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }

.terminal-title {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: monospace;
}

.terminal-body {
  padding: 1.2rem 1.5rem;
  font-size: 0.9rem;
  line-height: 1.8;
}

.terminal-body p {
  margin-bottom: 0.8rem;
}

.cmd-prompt {
  color: var(--neon-cyan);
  font-weight: 700;
  margin-right: 0.5rem;
}

.terminal-output {
  color: var(--text-secondary);
  padding-left: 1.2rem;
  border-left: 2px solid rgba(0, 240, 255, 0.1);
  margin-left: 0.5rem;
}

.terminal-output strong {
  color: var(--neon-cyan);
  font-weight: 600;
}

/* --- Passions Section --- */
#passions {
  background:
    radial-gradient(ellipse 50% 50% at 80% 30%, rgba(168, 85, 247, 0.04) 0%, transparent 60%);
}

.passions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.passion-card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  overflow: hidden;
}

.passion-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: var(--glow-strong);
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0, 240, 255, 0.06) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.passion-card:hover .card-glow {
  opacity: 1;
}

.card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.2rem;
  color: var(--neon-cyan);
  filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.3));
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 240, 255, 0.2);
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.05);
  letter-spacing: 0.5px;
}

/* --- Skills Section --- */
#skills {
  background:
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0, 240, 255, 0.03) 0%, transparent 60%);
}

/* Orbit visual */
.skills-orbit {
  position: relative;
  width: 450px;
  height: 450px;
  margin: 0 auto;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bg-primary);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
  z-index: 2;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(0, 240, 255, 0.1);
}

.orbit-ring.ring-1 {
  width: 260px;
  height: 260px;
  transform: translate(-50%, -50%);
  animation: orbit-spin 30s linear infinite;
}

.orbit-ring.ring-2 {
  width: 400px;
  height: 400px;
  transform: translate(-50%, -50%);
  animation: orbit-spin 45s linear infinite reverse;
}

@keyframes orbit-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.skill-node {
  position: absolute;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid rgba(0, 240, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(var(--angle)) translate(130px) rotate(calc(-1 * var(--angle)));
  cursor: default;
  transition: all 0.3s;
}

.ring-2 .skill-node {
  transform: translate(-50%, -50%) rotate(var(--angle)) translate(200px) rotate(calc(-1 * var(--angle)));
}

/* Counter-rotate text so it stays readable */
.orbit-ring.ring-1 .skill-node {
  animation: counter-spin 30s linear infinite;
}

.orbit-ring.ring-2 .skill-node {
  animation: counter-spin 45s linear infinite reverse;
}

@keyframes counter-spin {
  from { /* handled by parent */ }
  to { /* handled by parent */ }
}

.skill-node span {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--neon-cyan);
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.3px;
}

.skill-node.small {
  width: 46px;
  height: 46px;
}

.skill-node.small span {
  font-size: 0.58rem;
}

.skill-node:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
  transform: translate(-50%, -50%) rotate(var(--angle)) translate(130px) rotate(calc(-1 * var(--angle))) scale(1.2);
}

.ring-2 .skill-node:hover {
  transform: translate(-50%, -50%) rotate(var(--angle)) translate(200px) rotate(calc(-1 * var(--angle))) scale(1.2);
}

/* Skill bars (mobile fallback) */
.skills-bars {
  display: none;
  max-width: 500px;
  margin: 0 auto;
  flex-direction: column;
  gap: 1.5rem;
}

.skill-bar-item {
  width: 100%;
}

.skill-bar-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.skill-pct {
  color: var(--neon-cyan);
  font-family: var(--font-heading);
  font-size: 0.8rem;
}

.skill-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(0, 240, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-blue));
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.skill-bar-fill.animated {
  width: var(--target-width);
}

/* --- Projects Section --- */
#projects {
  background:
    radial-gradient(ellipse 40% 40% at 30% 70%, rgba(77, 124, 255, 0.04) 0%, transparent 60%);
}

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

.project-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.project-card:hover {
  border-color: rgba(0, 240, 255, 0.25);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.08);
  transform: translateX(8px);
}

.project-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(0, 240, 255, 0.12);
  line-height: 1;
  min-width: 60px;
}

.project-card:hover .project-number {
  color: rgba(0, 240, 255, 0.3);
}

.project-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.project-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

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

.project-tech span {
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  border-radius: 3px;
  background: rgba(77, 124, 255, 0.1);
  color: var(--neon-blue);
  border: 1px solid rgba(77, 124, 255, 0.15);
}

.project-visual {
  width: 100px;
  height: 100px;
  color: var(--text-dim);
  opacity: 0.4;
  transition: opacity 0.4s, color 0.4s;
}

.project-card:hover .project-visual {
  opacity: 0.8;
  color: var(--neon-cyan);
}

.circuit-lines svg {
  width: 100%;
  height: 100%;
}

/* --- Contact Section --- */
#contact {
  background:
    radial-gradient(ellipse 50% 50% at 50% 80%, rgba(168, 85, 247, 0.04) 0%, transparent 60%);
}

.contact-wrapper {
  max-width: 550px;
  margin: 0 auto;
  text-align: center;
}

.contact-text {
  margin-bottom: 2rem;
}

.contact-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--text-dim);
  padding: 1rem 0 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  transition: border-color 0.3s;
  outline: none;
  resize: vertical;
}

.form-group label {
  position: absolute;
  left: 0;
  top: 1rem;
  font-size: 0.95rem;
  color: var(--text-dim);
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -0.3rem;
  font-size: 0.75rem;
  color: var(--neon-cyan);
}

.input-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
  transition: width 0.3s ease;
}

.form-group input:focus ~ .input-line,
.form-group textarea:focus ~ .input-line {
  width: 100%;
}

.btn-submit {
  align-self: center;
  margin-top: 0.5rem;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.social-link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  transition: all 0.3s;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.social-link:hover {
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
  transform: translateY(-3px);
}

/* --- Footer --- */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 3rem;
}

.footer-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  margin: 0 auto 1.5rem;
}

footer p {
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

/* --- Reveal animations --- */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  section {
    padding: 80px 1.5rem;
  }

  #navbar {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: rgba(10, 14, 26, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.4s ease;
    z-index: 999;
    border-left: 1px solid var(--glass-border);
  }

  .nav-links.open {
    right: 0;
  }

  #nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .passions-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .project-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .project-number {
    font-size: 1.8rem;
  }

  .project-visual {
    display: none;
  }

  .skills-orbit {
    display: none;
  }

  .skills-bars {
    display: flex;
  }
}

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

  .hero-tagline {
    font-size: 0.85rem;
  }

  .about-stats {
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.4rem;
  }
}
