
@import url('https://fonts.googleapis.com/css2?family=SF+Pro+Display:wght@100;300;400;500;600;700;900&display=swap');

* {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: #000000;
}
body {
  background: #000000;
  color: white;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(145deg, #0a0a0a, #000000);
}
h1, h2, h3, h4 {
  font-weight: 300;
  letter-spacing: -0.03em;
}

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

::selection {
  background: rgba(0, 198, 255, 0.2);
}

/* Ultra HD Scrollbar */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00c6ff, #0072ff);
  border-radius: 6px;
  border: 2px solid rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00e5ff, #0088ff);
}

/* 8K+ Display Enhancements */
@media (min-resolution: 300dpi) {
  body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: subpixel-antialiased;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

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

/* Utility Classes */
.glass-effect {
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.blue-glow {
  filter: drop-shadow(0 0 20px rgba(0, 198, 255, 0.7));
}

.neon-text {
  text-shadow: 0 0 10px rgba(0, 198, 255, 0.7),
               0 0 20px rgba(0, 198, 255, 0.5),
               0 0 30px rgba(0, 198, 255, 0.3);
  animation: flicker 2s infinite alternate;
}

@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    text-shadow: 0 0 10px rgba(0, 198, 255, 0.7),
                 0 0 20px rgba(0, 198, 255, 0.5),
                 0 0 30px rgba(0, 198, 255, 0.3);
  }
  20%, 24%, 55% {        
    text-shadow: none;
  }
}
.glow-on-hover:hover {
  filter: drop-shadow(0 0 20px rgba(0, 198, 255, 0.7));
}

/* Particle System */
.particle-system {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

/* Performance Enhancements */
.performance-tier {
  will-change: transform, opacity;
  contain: layout paint;
  backface-visibility: hidden;
}
