/* Custom Fonts Setup */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Base configurations that override or extend Tailwind CDN natively */
html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Selection */
::selection {
  background-color: #E60000;
  color: white;
}

/* Scrollbar Styling for premium feel */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #a1a1aa;
  border-radius: 4px;
}
.dark ::-webkit-scrollbar-thumb {
  background: #52525b;
}
::-webkit-scrollbar-thumb:hover {
  background: #E60000;
}

/* Fluid / Editorial utilities */
.text-balance {
  text-wrap: balance;
}

/* Image optimization fixes */
img {
  content-visibility: auto;
}

/* Micro-animations */
.hover-scale {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-scale:hover {
  transform: scale(1.03);
}

.image-overlay-gradient {
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0) 100%);
}

.image-overlay-gradient-heavy {
  background: linear-gradient(0deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 100%);
}

.editorial-divider {
  position: relative;
}
.editorial-divider::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #E60000;
}

/* Video specific atmospheric background */
.video-bg-ambient {
  background: radial-gradient(circle at 50% 50%, #1a0000 0%, #0a0a0a 100%);
}

/* Hide scrollbar for horizontal sections but keep functionality */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
