html {
  scroll-behavior: smooth;
}

body {
  background: #0A0A0A;
  color: #F6F6F6;
  overflow-x: hidden;
  font-family: 'Onest', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Orbitron', sans-serif;
}

/* Custom premium scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0B0B0B;
}

::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 4px;
  border: 2px solid #0B0B0B;
}

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

/* Scroll reveal transitions */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 100ms;
}

.reveal-delay-2 {
  transition-delay: 200ms;
}

.reveal-delay-3 {
  transition-delay: 300ms;
}

.reveal-delay-4 {
  transition-delay: 400ms;
}

/* Elite text effect */
.text-glow {
  text-shadow: 0 0 15px rgba(239, 58, 55, 0.2);
}

.red-glow-hover {
  transition: all 0.4s ease;
}

.red-glow-hover:hover {
  box-shadow: 0 0 30px rgba(239, 58, 55, 0.25);
  border-color: rgba(239, 58, 55, 0.4);
}

/* Glassmorphic panel effect */
.glass-card {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.7) 0%, rgba(10, 10, 10, 0.9) 100%);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(239, 58, 55, 0.3);
  transform: translateY(-6px);
}

/* Elegant buttons */
.btn-premium {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
}

.btn-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: all 0.6s ease;
  z-index: -1;
}

.btn-premium:hover::before {
  left: 100%;
}

/* Marquee fade effect at edges */
.marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(to right, #0A0A0A 0%, transparent 100%);
}

.marquee::after {
  right: 0;
  background: linear-gradient(to left, #0A0A0A 0%, transparent 100%);
}

.marquee-content {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.marquee-content img {
  height: 55px;
  margin: 0 45px;
  filter: grayscale(100%) brightness(0.85);
  opacity: 0.65;
  transition: all 0.3s ease;
}

.marquee-content img:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.05);
}

.marquee-content img.invert-white {
  filter: invert(1) brightness(1.5);
}

.marquee-content img.invert-white:hover {
  filter: invert(1) brightness(2);
  transform: scale(1.05);
  opacity: 1;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Dynamic scrolling mouse indicator */
.mouse-scroll {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(246, 246, 246, 0.25);
  border-radius: 12px;
  position: relative;
}

.mouse-scroll::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: #EF3A37;
  margin-left: -2px;
  border-radius: 2px;
  animation: scroll-dot 2.2s cubic-bezier(0.15, 0.41, 0.69, 0.94) infinite;
}

@keyframes scroll-dot {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
  }

  80% {
    opacity: 0;
    transform: translateY(12px);
  }

  100% {
    opacity: 0;
  }
}

/* WhatsApp Pulse ring */
.whatsapp-pulse::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulse-ring 2.4s linear infinite;
  opacity: 0;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    opacity: 0.3;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Inverted premium dark map representation */
.dark-map {
  filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
  transition: all 0.5s ease;
}

.dark-map:hover {
  filter: invert(90%) hue-rotate(180deg) brightness(100%) contrast(95%);
}

.glass {
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(16px);
}
