@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&family=Space+Mono:ital,wght@0,400;0,700;1,400&family=Syne:wght@700;800;900&display=swap');

:root {
  --bg-cream: #F0EEEA;
  --text-dark: #111111;
  --accent-red: #E51B35;
  --accent-gold: #C5A059;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-display {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.04em;
}

.font-syne {
  font-family: 'Syne', sans-serif;
}

.font-mono-tech {
  font-family: 'Space Mono', monospace;
}

/* Subtle Film Grain */
.bg-grain {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.035'/%3E%3C/svg%3E");
}

@keyframes heroFloat {
  0%, 100% {
    transform: translateY(0px) rotate(-22deg) scale(1.05);
  }
  50% {
    transform: translateY(-10px) rotate(-20deg) scale(1.07);
  }
}

.animate-hero-float {
  animation: heroFloat 5s ease-in-out infinite;
}


::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #F0EEEA;
}
::-webkit-scrollbar-thumb {
  background: #111111;
}
::-webkit-scrollbar-thumb:hover {
  background: #E51B35;
}

/* Marquee / Kinetic text ticker */
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: ticker 35s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

/* Toast popup */
.toast-enter {
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}


/* iOS Safe Area Insets for fixed bottom app navigation dock */
.safe-area-bottom {
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
}

/* App-like tactile feedback */
.app-nav-item {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  touch-action: manipulation;
}
.app-nav-item:active {
  transform: scale(0.92);
}

/* Smooth mobile scrolling & strict horizontal overflow lock */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

/* Hide scrollbars cleanly for mobile horizontal carousels */
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-none::-webkit-scrollbar {
  display: none;
}
