/* ============================================
   affcoder-dev Portfolio — Complete Stylesheet
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
  /* Core palette */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-tertiary: #1a1a2e;
  --bg-card: rgba(22, 22, 38, 0.6);

  /* Accent colors */
  --accent-primary: #6c63ff;
  --accent-secondary: #00d4aa;
  --accent-tertiary: #ff6b9d;
  --accent-warm: #f7b731;
  --accent-blue: #4facfe;

  /* Text colors */
  --text-primary: #e8e8f0;
  --text-secondary: #a0a0b8;
  --text-muted: #6a6a82;
  --text-bright: #ffffff;

  /* Glass effect */
  --glass-bg: rgba(22, 22, 42, 0.45);
  --glass-border: rgba(108, 99, 255, 0.15);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #6c63ff 0%, #00d4aa 100%);
  --gradient-hero: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
  --gradient-card: linear-gradient(135deg, rgba(108, 99, 255, 0.08), rgba(0, 212, 170, 0.04));

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;
  --border-radius: 16px;
  --border-radius-sm: 10px;
  --border-radius-xs: 6px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Fonts */
  --font-main: 'Inter', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

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

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

a { text-decoration: none; color: inherit; cursor: none; }
button { cursor: none; border: none; background: none; font-family: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

::selection {
  background: var(--accent-primary);
  color: var(--text-bright);
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 3px;
}

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

/* ---- Custom Cursor ---- */
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.15s, height 0.15s, background 0.15s;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 2px solid rgba(108, 99, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

body:hover .cursor-dot,
body:hover .cursor-ring {
  opacity: 1;
}

.cursor-hover .cursor-dot {
  width: 12px;
  height: 12px;
  background: var(--accent-secondary);
}
.cursor-hover .cursor-ring {
  width: 50px;
  height: 50px;
  border-color: rgba(0, 212, 170, 0.5);
}

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

/* ---- Glass Card ---- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium), border-color var(--transition-medium);
}

.glass-card:hover {
  border-color: rgba(108, 99, 255, 0.35);
  box-shadow: 0 12px 48px rgba(108, 99, 255, 0.1);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-medium);
}

.nav.scrolled {
  padding: 10px 32px;
  background: rgba(10, 10, 15, 0.92);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 600;
}

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

.nav-name {
  color: var(--text-bright);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-link {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-bright);
  background: rgba(108, 99, 255, 0.1);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent-primary);
  border-radius: 1px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 60px;
  z-index: 1;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.12), transparent 70%);
  border-radius: 50%;
  animation: float-blob 8s ease-in-out infinite;
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.08), transparent 70%);
  border-radius: 50%;
  animation: float-blob 10s ease-in-out infinite reverse;
  z-index: -1;
}

@keyframes float-blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -40px) scale(1.05); }
  66% { transform: translate(-30px, 30px) scale(0.95); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--container-max);
  width: 100%;
}

/* Terminal */
.hero-terminal {
  border-radius: var(--border-radius);
  overflow: hidden;
  background: rgba(12, 12, 20, 0.9);
  border: 1px solid rgba(108, 99, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(108, 99, 255, 0.08);
  animation: terminal-float 6s ease-in-out infinite;
}

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

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(18, 18, 28, 0.95);
  border-bottom: 1px solid rgba(108, 99, 255, 0.1);
}

.terminal-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

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

.terminal-body {
  padding: 20px;
  min-height: 200px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.8;
}

.terminal-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.prompt {
  color: var(--accent-secondary);
  font-weight: 700;
}

.command {
  color: var(--text-primary);
}

.cursor-blink {
  color: var(--accent-primary);
  animation: blink 1s step-end infinite;
  font-size: 1rem;
}

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

.terminal-output {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.terminal-output .output-line {
  padding: 2px 0;
  animation: fadeInLine 0.3s ease;
}

.terminal-output .output-line .key {
  color: var(--accent-primary);
}

.terminal-output .output-line .value {
  color: var(--accent-secondary);
}

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

/* Hero Info */
.hero-info {
  animation: fadeInRight 1s ease 0.3s both;
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-greeting {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent-secondary);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.hero-name {
  font-family: var(--font-main);
  font-size: 3.8rem;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--text-bright);
  margin-bottom: 12px;
}

.name-highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.name-dot {
  color: var(--accent-tertiary);
  -webkit-text-fill-color: var(--accent-tertiary);
}

.hero-title {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.title-bracket {
  color: var(--accent-primary);
  font-weight: 700;
}

.title-text {
  color: var(--accent-warm);
  min-width: 200px;
  display: inline-block;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 400px;
}

/* Hero CTA */
.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-bright);
  box-shadow: 0 4px 20px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 99, 255, 0.45);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-ghost {
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--accent-primary);
  background: rgba(108, 99, 255, 0.08);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-icon {
  font-size: 1.1rem;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-plus {
  font-size: 1.2rem;
  color: var(--accent-secondary);
  font-weight: 700;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  animation: bounce-scroll 2s ease infinite;
}

@keyframes bounce-scroll {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-12px); }
  60% { transform: translateY(-6px); }
}

.mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.mouse-wheel {
  width: 4px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 2s ease infinite;
}

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

/* ============================================
   SECTION COMMON
   ============================================ */
.section {
  position: relative;
  padding: var(--section-padding);
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-primary);
  display: block;
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-bright);
  letter-spacing: -0.5px;
}

.accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-line {
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
}

.about-card {
  padding: 32px;
  text-align: center;
}

.about-avatar {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.avatar-ring {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  padding: 4px;
  background: var(--gradient-primary);
  animation: ring-pulse 3s ease-in-out infinite;
}

@keyframes ring-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.3); }
  50% { box-shadow: 0 0 0 12px rgba(108, 99, 255, 0); }
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-icon {
  font-size: 3.5rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.25);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--accent-secondary);
}

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

@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

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

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.meta-icon {
  font-size: 1.1rem;
}

.about-text {
  padding: 36px;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

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

.about-quote {
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(108, 99, 255, 0.06);
  border-left: 3px solid var(--accent-primary);
  border-radius: 0 var(--border-radius-xs) var(--border-radius-xs) 0;
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: flex;
  gap: 4px;
}

.quote-mark {
  color: var(--accent-primary);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-bright);
  background: rgba(108, 99, 255, 0.08);
}

.filter-btn.active {
  color: var(--text-bright);
  background: rgba(108, 99, 255, 0.15);
  border-color: var(--accent-primary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.project-card {
  overflow: hidden;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.project-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(108, 99, 255, 0.15);
}

.project-card.hidden {
  display: none;
}

.project-media {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.project-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-medium);
}

.project-card:hover .project-thumb {
  transform: scale(1.08);
}

.project-emoji {
  font-size: 4rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.gradient-1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.gradient-2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.gradient-3 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.gradient-4 { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.gradient-5 { background: linear-gradient(135deg, #fa709a, #fee140); }
.gradient-6 { background: linear-gradient(135deg, #a18cd1, #fbc2eb); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-medium);
}

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

.play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform var(--transition-fast);
  box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
}

.play-btn:hover {
  transform: scale(1.15);
}

.project-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  background: var(--gradient-primary);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-info {
  padding: 24px;
}

.project-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 8px;
}

.project-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tech-tag {
  padding: 4px 10px;
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--accent-primary);
  font-family: var(--font-mono);
}

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

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--border-radius-xs);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-fast);
}

.project-link:hover {
  color: var(--text-bright);
  border-color: var(--accent-primary);
  background: rgba(108, 99, 255, 0.08);
}

.project-link.live {
  color: var(--accent-secondary);
  border-color: rgba(0, 212, 170, 0.2);
}

.project-link.live:hover {
  border-color: var(--accent-secondary);
  background: rgba(0, 212, 170, 0.08);
}

/* ============================================
   SKILLS SECTION
   ============================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.skill-category {
  padding: 28px;
}

.skill-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.skill-icon {
  font-size: 1.6rem;
}

.skill-category-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-bright);
}

.skill-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skill-name {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.skill-bar {
  width: 100%;
  height: 6px;
  background: rgba(108, 99, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  width: 0;
  background: var(--gradient-primary);
  border-radius: 3px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.skill-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-info {
  padding: 36px;
}

.contact-info h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--border-radius-sm);
  background: rgba(108, 99, 255, 0.04);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.contact-method:hover {
  border-color: var(--glass-border);
  background: rgba(108, 99, 255, 0.08);
  transform: translateX(4px);
}

.contact-icon {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-value {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* Contact Form */
.contact-form {
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(10, 10, 15, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-xs);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  cursor: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  margin-top: 12px;
  font-size: 0.85rem;
  text-align: center;
}

.form-status.success {
  color: var(--accent-secondary);
}

.form-status.error {
  color: var(--accent-tertiary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: relative;
  z-index: 1;
  padding: 48px 0;
  border-top: 1px solid var(--glass-border);
  background: rgba(10, 10, 15, 0.8);
}

.footer-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  background: rgba(108, 99, 255, 0.1);
  transform: translateY(-3px);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================
   VIDEO MODAL
   ============================================ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-medium);
}

.video-modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  padding: 8px;
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 1.8rem;
  color: var(--text-secondary);
  z-index: 1;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--accent-tertiary);
}

.modal-video-wrap {
  width: 100%;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.modal-video-wrap video,
.modal-video-wrap iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-info {
    order: -1;
  }

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

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

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

  .hero-name {
    font-size: 3rem;
  }

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

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 24px 24px;
    gap: 4px;
    transition: right var(--transition-medium);
    border-left: 1px solid var(--glass-border);
  }

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

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

  .hero-name {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 2rem;
  }

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

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

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .section {
    padding: 60px 0;
  }

  /* Hide custom cursor on mobile */
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
  body {
    cursor: auto;
  }
  a, button {
    cursor: pointer;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 12px 16px;
  }

  .hero {
    padding: 100px 16px 40px;
  }

  .hero-name {
    font-size: 2rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .project-filters {
    gap: 4px;
  }

  .filter-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}
