@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=DM+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ─── GLOBAL ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; font-family: 'DM Sans', sans-serif; }
.font-heading { font-family: 'Outfit', sans-serif; }
.font-body { font-family: 'DM Sans', sans-serif; }
.font-mono { font-family: 'JetBrains Mono', monospace; }

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 217, 61, 0.4); }
  50% { box-shadow: 0 0 24px 8px rgba(255, 217, 61, 0.15); }
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-fadeInUp { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }
.animation-delay-100 { animation-delay: 0.1s; }
.animation-delay-200 { animation-delay: 0.2s; }
.animation-delay-300 { animation-delay: 0.3s; }
.animation-delay-400 { animation-delay: 0.4s; }

/* ─── MARQUEE ─── */
.marquee-container { overflow: hidden; position: relative; }
.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-container::before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.marquee-container::after { right: 0; background: linear-gradient(to left, #fff, transparent); }
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

/* ─── VIDEO ─── */
.video-section video { display: block; width: 100%; height: auto; }

/* ─── SELECTION ─── */
::selection { background-color: #FFD93D; color: #0D0D1A; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #FAFAF5; }
::-webkit-scrollbar-thumb { background: #FFD93D; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #F5C518; }

/* ─── FOCUS ─── */
*:focus-visible { outline: 2px solid #FFD93D; outline-offset: 2px; }

/* ─── GRAIN ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.012;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* ─── NAV GLASS ─── */
.nav-scrolled {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255,255,255,0.8);
  saturate: 150%;
  border-bottom: 1px solid rgba(255,217,61,0.3);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
