/* ===== ENHANCED LIQUID GLASS EFFECT STYLES ===== */
.liquidGlass-wrapper {
  position: relative;
  display: flex;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
  transform-style: preserve-3d;
  isolation: isolate;
}

/* Enhanced Glass Effect Layer */
.liquid-glass-effect {
  position: absolute;
  z-index: 1;
  inset: 0;
  backdrop-filter: blur(20px) saturate(1.8);
  filter: url(#glass-distortion);
  overflow: hidden;
  isolation: isolate;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, backdrop-filter;
}

/* Enhanced Tint Layer */
.liquid-glass-tint {
  z-index: 2;
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  mix-blend-mode: overlay;
  will-change: background;
}

[data-theme="light"] .liquid-glass-tint {
  background: rgba(101, 123, 131, 0.15);
}

/* Enhanced Shine Layer */
.liquid-glass-shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  box-shadow: 
    inset 2px 2px 1px 0 rgba(255, 255, 255, 0.3),
    inset -1px -1px 1px 1px rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: background, box-shadow;
}

[data-theme="light"] .liquid-glass-shine {
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  box-shadow: 
    inset 2px 2px 1px 0 rgba(255, 255, 255, 0.6),
    inset -1px -1px 1px 1px rgba(255, 255, 255, 0.4);
}

/* New Ripple Layer */
.liquid-glass-ripple {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}

/* Content Layer */
.liquidGlass-content {
  z-index: 10;
  position: relative;
}

/* Legacy classes for backwards compatibility */
.liquidGlass-effect {
  position: absolute;
  z-index: 1;
  inset: 0;
  backdrop-filter: blur(20px) saturate(1.8);
  filter: url(#glass-distortion);
  overflow: hidden;
  isolation: isolate;
}

.liquidGlass-tint {
  z-index: 2;
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

[data-theme="light"] .liquidGlass-tint {
  background: rgba(255, 255, 255, 0.3);
}

.liquidGlass-shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  box-shadow: 
    inset 2px 2px 1px 0 rgba(255, 255, 255, 0.5),
    inset -1px -1px 1px 1px rgba(255, 255, 255, 0.5);
  transition: box-shadow 0.3s ease;
}

/* Hover effects for liquid glass */
.liquidGlass-wrapper:hover .liquidGlass-effect {
  backdrop-filter: blur(30px) saturate(2);
  transform: scale(1.02);
}

.liquidGlass-wrapper:hover .liquidGlass-tint {
  background: rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .liquidGlass-wrapper:hover .liquidGlass-tint {
  background: rgba(255, 255, 255, 0.4);
}

.liquidGlass-wrapper:hover .liquidGlass-shine {
  box-shadow: 
    inset 3px 3px 2px 0 rgba(255, 255, 255, 0.6),
    inset -2px -2px 2px 1px rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .liquidGlass-wrapper:hover .liquidGlass-shine {
  box-shadow: 
    inset 3px 3px 2px 0 rgba(255, 255, 255, 1),
    inset -2px -2px 2px 1px rgba(255, 255, 255, 0.8);
}

/* SVG Filter for glass distortion */
.glass-filter {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Enhanced liquid glass animations */
@keyframes liquidWave {
  0%, 100% {
    transform: translateY(0) scaleX(1) rotateX(0deg);
  }
  50% {
    transform: translateY(-4px) scaleX(1.03) rotateX(1deg);
  }
}

@keyframes shimmerEffect {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes glassRipple {
  0% {
    box-shadow: 
      0 12px 40px rgba(0, 0, 0, 0.3),
      0 2px 8px rgba(0, 0, 0, 0.2),
      inset 0 1px 2px rgba(255, 255, 255, 0.2),
      inset 0 -1px 1px rgba(0, 0, 0, 0.1);
  }
  50% {
    box-shadow: 
      0 20px 60px rgba(34, 211, 238, 0.4),
      0 8px 24px rgba(34, 211, 238, 0.2),
      inset 0 2px 4px rgba(255, 255, 255, 0.4),
      inset 0 -2px 2px rgba(34, 211, 238, 0.1);
  }
  100% {
    box-shadow: 
      0 12px 40px rgba(0, 0, 0, 0.3),
      0 2px 8px rgba(0, 0, 0, 0.2),
      inset 0 1px 2px rgba(255, 255, 255, 0.2),
      inset 0 -1px 1px rgba(0, 0, 0, 0.1);
  }
}

.liquidGlass-wrapper:hover {
  animation: liquidWave 3s ease-in-out infinite;
}

.liquidGlass-wrapper:hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  background-size: 200% 100%;
  animation: shimmerEffect 2s ease-in-out infinite;
  z-index: 4;
  pointer-events: none;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .liquidGlass-wrapper:hover {
    animation: none;
  }
  
  .liquidGlass-wrapper:hover .liquidGlass-effect {
    transform: none;
  }
}

/* ===== PROFESSIONAL CURSOR-INSPIRED DESIGN ===== */
:root {
  /* Typography - Premium */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  --font-size-xl: 3.5rem;      /* Nome principal - reduzido */
  --font-size-lg: 1.5rem;      /* Títulos seções */
  --font-size-base: 1rem;      /* Texto normal - reduzido */
  --font-size-sm: 0.9rem;      /* Texto secundário */
  
  --font-weight-bold: 700;
  --font-weight-medium: 500;
  --font-weight-normal: 400;
  
  --line-height-tight: 1.1;
  --line-height-normal: 1.5;   /* Reduzido */
  --line-height-relaxed: 1.6;  /* Reduzido */
  
  /* Professional Dark Theme Colors */
  --color-background: #0a0a0a;
  --color-surface: #111111;
  --color-surface-hover: #1a1a1a;
  
  --color-text-primary: #ffffff;
  --color-text-secondary: #a1a1a1;
  --color-text-muted: #6b7280;
  
  --color-accent: #22d3ee;        /* Cyan accent */
  --color-accent-hover: #06b6d4;
  --color-warning: #fbbf24;       /* Yellow */
  --color-success: #10b981;       /* Green */
  --color-error: #ef4444;         /* Red */
  
  --color-link: #22d3ee;
  --color-link-hover: #06b6d4;
  
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-hover: rgba(255, 255, 255, 0.2);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
  --gradient-surface: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
  
  /* Spacing - Compacto */
  --space-xs: 0.25rem;
  --space-sm: 0.75rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 3.5rem;
  --space-2xl: 5rem;
  
  /* Layout - Mais compacto */
  --max-width: 700px;
  --padding-mobile: 1rem;
  --padding-desktop: 1.5rem;
  
  /* Transitions - Smooth */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadows - Professional */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(34, 211, 238, 0.3);
}

/* Solarized Light Theme */
[data-theme="light"] {
  /* Solarized Light Background */
  --color-background: #fdf6e3;
  --color-surface: #eee8d5;
  --color-surface-hover: #e4ddc4;
  
  /* Solarized Light Text Colors */
  --color-text-primary: #657b83;    /* base00 - primary content */
  --color-text-secondary: #586e75;  /* base01 - secondary content */
  --color-text-muted: #93a1a1;      /* base1 - comments */
  
  /* Solarized Light Accents */
  --color-accent: #268bd2;          /* blue */
  --color-accent-hover: #2aa198;    /* cyan */
  --color-warning: #b58900;         /* yellow */
  --color-success: #859900;         /* green */
  --color-error: #dc322f;           /* red */
  
  --color-link: #268bd2;            /* blue */
  --color-link-hover: #2aa198;      /* cyan */
  
  --color-border: rgba(101, 123, 131, 0.2);       /* base00 with opacity */
  --color-border-hover: rgba(101, 123, 131, 0.3);
  
  /* Solarized Gradients */
  --gradient-primary: linear-gradient(135deg, #268bd2 0%, #2aa198 100%);
  
  /* Light mode shadows */
  --shadow-sm: 0 1px 2px rgba(0, 43, 54, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 43, 54, 0.15);
  --shadow-lg: 0 12px 32px rgba(0, 43, 54, 0.2);
  --shadow-glow: 0 0 20px rgba(38, 139, 210, 0.3);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text-primary);
  background: var(--color-background);
  transition: all var(--transition-normal);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Enhanced Background Pattern to Show Glass Effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(34, 211, 238, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 75% 25%, rgba(16, 185, 129, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 25% 75%, rgba(251, 191, 36, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.08) 0%, transparent 70%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%);
  background-size: 300px 300px, 280px 280px, 320px 320px, 250px 250px, 400px 400px, 40px 40px, 40px 40px;
  background-position: 0 0, 100px 100px, 200px 0, 300px 200px, 150px 150px, 0 0, 20px 20px;
  z-index: -1;
  pointer-events: none;
  animation: backgroundShift 25s ease-in-out infinite;
}

/* Solarized Light pattern */
[data-theme="light"] body::before {
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(38, 139, 210, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 75% 25%, rgba(133, 153, 0, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 25% 75%, rgba(181, 137, 0, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 75% 75%, rgba(42, 161, 152, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(220, 50, 47, 0.06) 0%, transparent 70%),
    linear-gradient(45deg, rgba(101, 123, 131, 0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(101, 123, 131, 0.05) 25%, transparent 25%);
  background-size: 300px 300px, 280px 280px, 320px 320px, 250px 250px, 400px 400px, 40px 40px, 40px 40px;
  background-position: 0 0, 100px 100px, 200px 0, 300px 200px, 150px 150px, 0 0, 20px 20px;
}

@keyframes backgroundShift {
  0%, 100% {
    background-position: 0 0, 100px 100px, 200px 0, 300px 200px, 0 0, 30px 30px;
  }
  50% {
    background-position: 50px 50px, 150px 150px, 250px 50px, 350px 250px, 20px 20px, 50px 50px;
  }
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--padding-mobile);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);  /* Reduzido de xl para lg */
  position: relative;
}

@media (min-width: 768px) {
  .container {
    padding: var(--padding-desktop);
    gap: var(--space-xl);  /* Reduzido de 2xl para xl */
  }
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  position: fixed;
  top: var(--space-md);
  right: var(--space-md);
  z-index: 1000;
}

.theme-toggle button {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.15) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-text-primary);
  padding: var(--space-sm);
  border-radius: 12px;
  width: 44px;  /* Reduzido */
  height: 44px; /* Reduzido */
  backdrop-filter: blur(15px) saturate(1.5);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.3),
    0 2px 6px rgba(0, 0, 0, 0.2),
    inset 0 2px 3px rgba(255, 255, 255, 0.3),
    inset 0 -1px 2px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;  /* Reduzido */
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.theme-toggle button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: all var(--transition-normal);
  z-index: -1;
}

.theme-toggle button:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.25) 100%);
  box-shadow: 
    0 12px 35px rgba(34, 211, 238, 0.4),
    0 4px 12px rgba(34, 211, 238, 0.2),
    inset 0 3px 5px rgba(255, 255, 255, 0.5),
    inset 0 -2px 3px rgba(34, 211, 238, 0.1);
}

.theme-toggle button:hover::before {
  left: 0;
  opacity: 0.1;
}

/* ===== HERO SECTION ===== */
.hero {
  margin-top: var(--space-lg);     /* Reduzido de 2xl para lg */
  margin-bottom: var(--space-md);  /* Reduzido de xl para md */
  animation: fadeInUp 1s var(--transition-slow);
  position: relative;
}

.name {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-sm);   /* Reduzido de md para sm */
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  position: relative;
}

.name::after {
  content: '';
  position: absolute;
  bottom: -4px;  /* Reduzido de -8px */
  left: 0;
  width: 40px;   /* Reduzido de 60px */
  height: 2px;   /* Reduzido de 3px */
  background: var(--gradient-primary);
  border-radius: 1px;
  animation: expandWidth 1.5s var(--transition-slow) 0.5s both;
}



.tagline {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  max-width: 90%;
  font-weight: var(--font-weight-normal);
  letter-spacing: -0.01em;
  opacity: 0;
  animation: fadeIn 1s var(--transition-slow) 0.8s both;
  margin-bottom: var(--space-sm);  /* Adicionado para mais compacto */
}

@media (min-width: 768px) {
  .name {
    font-size: 4rem;  /* Reduzido de 5rem */
    line-height: 0.9;
  }
  
  .tagline {
    font-size: 1.125rem;  /* Reduzido de 1.25rem */
    max-width: 80%;
  }
}

/* ===== SECTIONS ===== */
.section {
  margin-bottom: var(--space-md);  /* Reduzido de xl para md */
  animation: slideInUp 0.8s var(--transition-slow);
  animation-fill-mode: both;
  position: relative;
}

.section:nth-child(2) { animation-delay: 0.2s; }
.section:nth-child(3) { animation-delay: 0.4s; }
.section:nth-child(4) { animation-delay: 0.6s; }
.section:nth-child(5) { animation-delay: 0.8s; }

.section-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-md);  /* Reduzido de lg para md */
  color: var(--color-text-primary);
  line-height: var(--line-height-tight);
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

.section-title::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-slow);
}

.section:hover .section-title::before {
  width: 100%;
}



.section-content {
  color: var(--color-text-primary);
  line-height: var(--line-height-relaxed);
}

/* ===== PROJECTS - CURSOR-INSPIRED WITH LIQUID GLASS ===== */
.project {
  margin-bottom: var(--space-md);  /* Reduzido de lg para md */
  padding: var(--space-sm) var(--space-md);  /* Padding mais compacto */
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;  /* Reduzido de 16px */
  transition: all var(--transition-normal);
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

/* Apply liquid glass effect to projects */
.project.liquidGlass-wrapper {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .project.liquidGlass-wrapper {
  background: transparent;
  border: 1px solid rgba(101, 123, 131, 0.3);
  box-shadow: 
    0 8px 32px rgba(0, 43, 54, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.3);
}

.project::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.project:hover {
  border-color: var(--color-border-hover);
  background: var(--color-surface-hover);
  transform: translateY(-4px);  /* Reduzido de -8px */
  box-shadow: var(--shadow-lg);
}

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

.project:not(:last-child) {
  margin-bottom: var(--space-md);
}

.project-title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-xs);  /* Reduzido de sm para xs */
  color: var(--color-text-primary);
  line-height: var(--line-height-tight);
  letter-spacing: -0.01em;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.project-title::before {
  content: '▸';
  color: var(--color-accent);
  transition: transform var(--transition-fast);
  font-size: 0.8em;
}

.project:hover .project-title {
  color: var(--color-accent);
}

.project:hover .project-title::before {
  transform: translateX(4px);
}

/* Remove link styling from project titles */
.project-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.project-title a:hover {
  color: inherit;
}

.project-description {
  margin-bottom: var(--space-xs);  /* Reduzido de sm para xs */
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  transition: color var(--transition-fast);
}

.project:hover .project-description {
  color: var(--color-text-primary);
}

.project-tech {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.project-tech::before {
  content: '//';
  color: var(--color-accent);
  opacity: 0.7;
}

/* ===== CONTACT - PROFESSIONAL LINKS ===== */
.contact-links {
  display: flex;
  gap: var(--space-md);  /* Reduzido de lg para md */
  margin: var(--space-md) 0;  /* Reduzido de lg para md */
  flex-wrap: wrap;
}

.contact-link {
  color: var(--color-link);
  text-decoration: none;
  position: relative;
  transition: all var(--transition-normal);
  padding: var(--space-xs) var(--space-sm);  /* Padding mais compacto */
  border-radius: 8px;  /* Reduzido de 12px */
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-weight: var(--font-weight-medium);
  overflow: hidden;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-sm);  /* Tamanho menor */
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .contact-link {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 
    0 4px 16px rgba(0, 43, 54, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.contact-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.1;
  transition: left var(--transition-normal);
  z-index: -1;
}

.contact-link:hover {
  color: var(--color-link-hover);
  border-color: var(--color-accent);
  transform: translateY(-2px);  /* Reduzido de -4px */
  box-shadow: var(--shadow-glow);
}

.contact-link:hover::before {
  left: 0;
}

/* Contact Icons */
.contact-link[href*="mailto"]::after { content: '✉'; }
.contact-link[href*="linkedin"]::after { content: '💼'; }
.contact-link[href*="github"]::after { content: '⚡'; }

/* ===== FOOTER ===== */
.footer {
  margin-top: auto;
  padding-top: var(--space-md);  /* Reduzido de xl para md */
  border-top: 1px solid var(--color-border);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-align: center;
  line-height: var(--line-height-normal);
}

.github-link {
  margin-top: var(--space-sm);  /* Reduzido de md para sm */
  text-align: center;
  font-size: var(--font-size-sm);
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--color-surface);
  color: var(--color-text-primary);
  padding: 8px;
  text-decoration: none;
  border: 1px solid var(--color-accent);
  border-radius: 4px;
  z-index: 1000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 6px;
}

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

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);  /* Reduzido de 40px */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 40px;  /* Reduzido de 60px */
  }
}

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

@keyframes rippleEffect {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes liquidFlow {
  0%, 100% {
    transform: translateY(0) scale(1) rotateX(0deg);
    filter: hue-rotate(0deg);
  }
  25% {
    transform: translateY(-2px) scale(1.01) rotateX(0.5deg);
    filter: hue-rotate(90deg);
  }
  50% {
    transform: translateY(-4px) scale(1.02) rotateX(1deg);
    filter: hue-rotate(180deg);
  }
  75% {
    transform: translateY(-2px) scale(1.01) rotateX(0.5deg);
    filter: hue-rotate(270deg);
  }
}

@keyframes glassShimmer {
  0% {
    background-position: -200% center;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    background-position: 200% center;
    opacity: 0;
  }
}



/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 480px) {
  .container {
    padding: var(--space-sm);
    gap: var(--space-md);  /* Reduzido */
  }
  
  .name {
    font-size: 2.5rem;  /* Reduzido de 3rem */
  }
  
  .tagline {
    font-size: var(--font-size-sm);
    max-width: 100%;
  }
  
  .contact-links {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .theme-toggle {
    top: var(--space-sm);
    right: var(--space-sm);
  }
  
  .theme-toggle button {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  
  .project {
    padding: var(--space-xs) var(--space-sm);  /* Mais compacto */
  }
  
  .section-title {
    font-size: 1.25rem;  /* Reduzido de 1.5rem */
  }
  
  .hero {
    margin-top: var(--space-md);  /* Reduzido */
    margin-bottom: var(--space-sm);
  }
}

@media (min-width: 768px) {
  .hero {
    margin-top: var(--space-xl);  /* Reduzido de 2xl */
  }
  
  .section {
    margin-bottom: var(--space-lg);  /* Reduzido de 2xl */
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .theme-toggle,
  .skip-link {
    display: none;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  body::before {
    display: none;
  }
  
  .project::before,
  .contact-link::before {
    display: none;
  }
}