/**
 * Custom Styles for DarkCode.pl - Modern Redesign
 */

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

:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #60a5fa;
  --primary-glow: rgba(37, 99, 235, 0.4);
  --dark: #0a0a0a;
  --dark-card: #151515;
  --light: #ffffff;
  --gray: #888888;
  --gray-light: #aaaaaa;
  --gradient-1: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  --gradient-2: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
}

html {
  zoom: 1;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transform-origin: top center;
  transition: transform 0.3s ease;
}

/* Enhanced Animated Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(96, 165, 250, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 60% 20%, rgba(30, 64, 175, 0.1) 0%, transparent 50%);
  z-index: -2;
  animation: backgroundPulse 15s ease infinite;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.3) 50%, rgba(10, 10, 10, 0.8) 100%);
  z-index: -1;
  pointer-events: none;
}

@keyframes backgroundPulse {
  0%, 100% { 
    opacity: 1;
    transform: scale(1);
  }
  50% { 
    opacity: 0.7;
    transform: scale(1.05);
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Hero Section - Enhanced */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroGlow 8s ease infinite;
  z-index: -1;
}

@keyframes heroGlow {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

.hero-logo {
  max-width: 350px;
  width: 100%;
  height: auto;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
  filter: drop-shadow(0 15px 40px rgba(37, 99, 235, 0.4));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.hero-logo:hover {
  transform: scale(1.08) translateY(-5px);
  filter: drop-shadow(0 20px 50px rgba(37, 99, 235, 0.6));
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--gray-light);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease 0.4s forwards;
  font-weight: 300;
  position: relative;
  padding: 0 30px;
  z-index: 1;
}

.hero-subtitle::before,
.hero-subtitle::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 50px;
  height: 2px;
  background: var(--gradient-1);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--primary-glow);
}

.hero-subtitle::before {
  left: -80px;
  transform: translateY(-50%);
}

.hero-subtitle::after {
  right: -80px;
  transform: translateY(-50%);
  background: var(--gradient-2);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Links Section - Modern Glassmorphism */
.links {
  padding: 100px 20px;
  background: transparent;
  position: relative;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.link-card {
  background: rgba(21, 21, 21, 0.7);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 0;
}

.link-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 0;
}

.link-card:hover {
  border-color: var(--primary);
  transform: translateY(-12px) scale(1.03);
  box-shadow: 
    0 25px 70px rgba(37, 99, 235, 0.4),
    0 0 50px rgba(37, 99, 235, 0.2),
    inset 0 0 80px rgba(37, 99, 235, 0.1);
}

.link-card:hover::before {
  opacity: 0.1;
}

.link-card:hover::after {
  opacity: 1;
}

/**
 * Custom Styles for DarkCode.pl - Modern Redesign
 */

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

:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #60a5fa;
  --primary-glow: rgba(37, 99, 235, 0.4);
  --dark: #0a0a0a;
  --dark-card: #151515;
  --light: #ffffff;
  --gray: #888888;
  --gray-light: #aaaaaa;
  --gradient-1: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  --gradient-2: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
}

html {
  zoom: 1;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transform-origin: top center;
  transition: transform 0.3s ease;
}

/* Enhanced Animated Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(96, 165, 250, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 60% 20%, rgba(30, 64, 175, 0.1) 0%, transparent 50%);
  z-index: -2;
  animation: backgroundPulse 15s ease infinite;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.3) 50%, rgba(10, 10, 10, 0.8) 100%);
  z-index: -1;
  pointer-events: none;
}

@keyframes backgroundPulse {
  0%, 100% { 
    opacity: 1;
    transform: scale(1);
  }
  50% { 
    opacity: 0.7;
    transform: scale(1.05);
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Hero Section - Enhanced */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroGlow 8s ease infinite;
  z-index: -1;
}

@keyframes heroGlow {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

.hero-logo {
  max-width: 350px;
  width: 100%;
  height: auto;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
  filter: drop-shadow(0 15px 40px rgba(37, 99, 235, 0.4));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.hero-logo:hover {
  transform: scale(1.08) translateY(-5px);
  filter: drop-shadow(0 20px 50px rgba(37, 99, 235, 0.6));
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--gray-light);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease 0.4s forwards;
  font-weight: 300;
  position: relative;
  padding: 0 30px;
  z-index: 1;
}

.hero-subtitle::before,
.hero-subtitle::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 50px;
  height: 2px;
  background: var(--gradient-1);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--primary-glow);
}

.hero-subtitle::before {
  left: -80px;
  transform: translateY(-50%);
}

.hero-subtitle::after {
  right: -80px;
  transform: translateY(-50%);
  background: var(--gradient-2);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Links Section - Modern Glassmorphism */
.links {
  padding: 100px 20px;
  background: transparent;
  position: relative;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.link-card {
  background: rgba(21, 21, 21, 0.7);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 0;
}

.link-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 0;
}

.link-card:hover {
  border-color: var(--primary);
  transform: translateY(-12px) scale(1.03);
  box-shadow: 
    0 25px 70px rgba(37, 99, 235, 0.4),
    0 0 50px rgba(37, 99, 235, 0.2),
    inset 0 0 80px rgba(37, 99, 235, 0.1);
}

.link-card:hover::before {
  opacity: 0.1;
}

.link-card:hover::after {
  opacity: 1;
}

.link-card-logo {
  max-width: 130px;
  width: 100%;
  height: auto;
  margin-bottom: 25px;
  filter: grayscale(100%) brightness(0.7);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.link-card:hover .link-card-logo {
  filter: grayscale(0%) brightness(1.1);
  transform: scale(1.15) rotate(2deg);
}

.link-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  color: var(--light);
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.link-card:hover h3 {
  color: var(--primary-light);
  text-shadow: 0 0 20px var(--primary-glow);
  transform: translateY(-2px);
}

.link-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.link-card:hover p {
  color: var(--gray-light);
  transform: translateY(-2px);
}

/* Contact Section - Enhanced */
.contact {
  padding: 140px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(37, 99, 235, 0.05) 50%, transparent 100%);
  pointer-events: none;
}

.contact-info {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--light);
  margin-bottom: 60px;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.contact-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--gradient-1);
  border-radius: 3px;
  box-shadow: 0 0 15px var(--primary-glow);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 1.2rem;
  color: var(--gray);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-wrap: wrap;
  padding: 15px 30px;
  background: rgba(21, 21, 21, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item:hover {
  transform: translateY(-5px) scale(1.02);
  background: rgba(21, 21, 21, 0.7);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.contact-item i {
  color: var(--primary);
  font-size: 1.5rem;
  width: 28px;
  text-align: center;
  transition: all 0.4s ease;
}

.contact-item:hover i {
  color: var(--primary-light);
  transform: scale(1.2);
  text-shadow: 0 0 15px var(--primary-glow);
}

.contact-item a {
  color: var(--light);
  text-decoration: none;
  transition: all 0.4s ease;
  position: relative;
  padding-bottom: 3px;
  font-weight: 500;
}

.contact-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  border-radius: 2px;
  transition: width 0.4s ease;
  box-shadow: 0 0 10px var(--primary-glow);
}

.contact-item a:hover {
  color: var(--primary-light);
  text-shadow: 0 0 10px var(--primary-glow);
}

.contact-item a:hover::after {
  width: 100%;
}

.contact-separator {
  color: var(--gray);
  margin: 0 8px;
}

/* Footer - Enhanced */
footer {
  padding: 100px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gradient-1);
  opacity: 0.3;
}

.social {
  display: flex;
  justify-content: center;
  gap: 25px;
  list-style: none;
  margin-bottom: 50px;
}

.social a {
  color: var(--gray);
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(21, 21, 21, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social a:hover {
  color: var(--primary-light);
  background: rgba(37, 99, 235, 0.2);
  border-color: var(--primary);
  transform: translateY(-8px) scale(1.15) rotate(5deg);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

.copyright {
  font-size: 0.95rem;
  color: var(--gray);
  font-weight: 300;
  letter-spacing: 0.5px;
}

.copyright a {
  color: var(--light);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.copyright a:hover {
  color: var(--primary-light);
  text-shadow: 0 0 10px var(--primary-glow);
}

/* Scroll Animation */
@media (prefers-reduced-motion: no-preference) {
  .link-card {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s ease forwards;
  }
  
  .link-card:nth-child(1) {
    animation-delay: 0.1s;
  }
  
  .link-card:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .link-card:nth-child(3) {
    animation-delay: 0.3s;
  }
}

/* Scaling for different screen sizes */
@media (min-width: 1920px) {
  html {
    zoom: 1.1;
  }
}

@media (min-width: 2560px) {
  html {
    zoom: 1.2;
  }
}

@media (max-width: 1400px) {
  html {
    zoom: 0.95;
  }
}

@media (max-width: 1200px) {
  html {
    zoom: 0.9;
  }
}

/* Responsive */
@media (max-width: 768px) {
  html {
    zoom: 1;
  }
  
  .hero-logo {
    max-width: 280px;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
    letter-spacing: 2px;
    padding: 0 20px;
  }
  
  .hero-subtitle::before,
  .hero-subtitle::after {
    width: 30px;
  }
  
  .hero-subtitle::before {
    left: -50px;
  }
  
  .hero-subtitle::after {
    right: -50px;
  }
  
  .links {
    padding: 80px 20px;
  }
  
  .links-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .link-card {
    padding: 35px 25px;
  }
  
  .contact {
    padding: 100px 20px;
  }
  
  .contact-title {
    font-size: 2rem;
    margin-bottom: 50px;
  }
  
  .contact-item {
    font-size: 1rem;
    flex-direction: column;
    gap: 12px;
    padding: 15px 25px;
  }
  
  .contact-separator {
    display: none;
  }
  
  .social {
    gap: 20px;
  }
  
  .social a {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}

.link-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  color: var(--light);
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.link-card:hover h3 {
  color: var(--primary-light);
  text-shadow: 0 0 20px var(--primary-glow);
  transform: translateY(-2px);
}

.link-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.link-card:hover p {
  color: var(--gray-light);
  transform: translateY(-2px);
}

/* Contact Section - Enhanced */
.contact {
  padding: 140px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(37, 99, 235, 0.05) 50%, transparent 100%);
  pointer-events: none;
}

.contact-info {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--light);
  margin-bottom: 60px;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.contact-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--gradient-1);
  border-radius: 3px;
  box-shadow: 0 0 15px var(--primary-glow);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 1.2rem;
  color: var(--gray);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-wrap: wrap;
  padding: 15px 30px;
  background: rgba(21, 21, 21, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item:hover {
  transform: translateY(-5px) scale(1.02);
  background: rgba(21, 21, 21, 0.7);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.contact-item i {
  color: var(--primary);
  font-size: 1.5rem;
  width: 28px;
  text-align: center;
  transition: all 0.4s ease;
}

.contact-item:hover i {
  color: var(--primary-light);
  transform: scale(1.2);
  text-shadow: 0 0 15px var(--primary-glow);
}

.contact-item a {
  color: var(--light);
  text-decoration: none;
  transition: all 0.4s ease;
  position: relative;
  padding-bottom: 3px;
  font-weight: 500;
}

.contact-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  border-radius: 2px;
  transition: width 0.4s ease;
  box-shadow: 0 0 10px var(--primary-glow);
}

.contact-item a:hover {
  color: var(--primary-light);
  text-shadow: 0 0 10px var(--primary-glow);
}

.contact-item a:hover::after {
  width: 100%;
}

.contact-separator {
  color: var(--gray);
  margin: 0 8px;
}

/* Footer - Enhanced */
footer {
  padding: 100px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gradient-1);
  opacity: 0.3;
}

.social {
  display: flex;
  justify-content: center;
  gap: 25px;
  list-style: none;
  margin-bottom: 50px;
}

.social a {
  color: var(--gray);
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(21, 21, 21, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social a:hover {
  color: var(--primary-light);
  background: rgba(37, 99, 235, 0.2);
  border-color: var(--primary);
  transform: translateY(-8px) scale(1.15) rotate(5deg);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

.copyright {
  font-size: 0.95rem;
  color: var(--gray);
  font-weight: 300;
  letter-spacing: 0.5px;
}

.copyright a {
  color: var(--light);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.copyright a:hover {
  color: var(--primary-light);
  text-shadow: 0 0 10px var(--primary-glow);
}

/* Scroll Animation */
@media (prefers-reduced-motion: no-preference) {
  .link-card {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s ease forwards;
  }
  
  .link-card:nth-child(1) {
    animation-delay: 0.1s;
  }
  
  .link-card:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .link-card:nth-child(3) {
    animation-delay: 0.3s;
  }
}

/* Scaling for different screen sizes */
@media (min-width: 1920px) {
  html {
    zoom: 1.1;
  }
}

@media (min-width: 2560px) {
  html {
    zoom: 1.2;
  }
}

@media (max-width: 1400px) {
  html {
    zoom: 0.95;
  }
}

@media (max-width: 1200px) {
  html {
    zoom: 0.9;
  }
}

/* Responsive */
@media (max-width: 768px) {
  html {
    zoom: 1;
  }
  
  .hero-logo {
    max-width: 280px;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
    letter-spacing: 2px;
    padding: 0 20px;
  }
  
  .hero-subtitle::before,
  .hero-subtitle::after {
    width: 30px;
  }
  
  .hero-subtitle::before {
    left: -50px;
  }
  
  .hero-subtitle::after {
    right: -50px;
  }
  
  .links {
    padding: 80px 20px;
  }
  
  .links-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .link-card {
    padding: 35px 25px;
  }
  
  .contact {
    padding: 100px 20px;
  }
  
  .contact-title {
    font-size: 2rem;
    margin-bottom: 50px;
  }
  
  .contact-item {
    font-size: 1rem;
    flex-direction: column;
    gap: 12px;
    padding: 15px 25px;
  }
  
  .contact-separator {
    display: none;
  }
  
  .social {
    gap: 20px;
  }
  
  .social a {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}
