@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
  --color-black: #000000;
  --color-dark: #0a0a0a;
  --color-charcoal: #1a1a1a;
  --color-white: #ffffff;
}

body {
  background-color: var(--color-black);
  color: var(--color-white);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* Custom Scrollbar for Webkit */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-black);
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Glassmorphism Utility */
.glass {
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Gradients */
.gradient-deep {
  background: linear-gradient(180deg, #000000 0%, #1a1a1a 100%);
}

.gradient-reveal {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 50%, #000000 100%);
}

/* Text Selection */
::selection {
  background: #ffffff;
  color: #000000;
}

/* Utility Animations */
.hover-scale {
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hover-scale:hover {
  transform: scale(1.03);
}

/* Image Reveal Mask */
.reveal-mask {
  overflow: hidden;
}

.reveal-img {
  transform-origin: center;
}

/* Glow Effect for Banner */
@keyframes glow-pulse {
  0% {
    filter: brightness(1) drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }

  50% {
    filter: brightness(1.2) drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
  }

  100% {
    filter: brightness(1) drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
}

.glow-animation {
  animation: glow-pulse 4s infinite ease-in-out;
}

/* Portfolio Video Hover Extensions */
.portfolio-video {
  /* Ensure hardware acceleration for smoother playback */
  transform: translateZ(0);
  backface-visibility: hidden;
}
