/* --- SENSORY PARTY VARIABLES --- */
:root {
  --color-bg: #090909;
  --color-bg-alt: #111111;
  --color-text: #ffffff;
  --color-text-muted: #aaaaaa;
  
  /* High Voltage Neon Brand Palette */
  --color-acid-yellow: #E6FB04;
  --color-hot-pink: #FF0099;
  --color-electric-blue: #00FFFF;
  --color-primary: var(--color-acid-yellow); /* Default highlight */

  --font-main: 'Outfit', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.87, 0, 0.13, 1);
  --transition-smooth: 0.5s cubic-bezier(0.87, 0, 0.13, 1);
}

/* --- RESET & BASE (Brutalist style) --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-bg);
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Film grain texture */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  background: 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)"/%3E%3C/svg%3E');
  opacity: 0.05;
  z-index: 9999;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800; /* Bold, loud, brutalist */
  line-height: 0.9;
  text-transform: uppercase;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary);
}

img {
  max-width: 100%;
  display: block;
}

/* --- KINETIC TYPOGRAPHY / MARQUEE --- */
.marquee-container {
  overflow: hidden;
  background: var(--color-acid-yellow);
  color: #000;
  padding: 1rem 0;
  border-top: 4px solid #000;
  border-bottom: 4px solid #000;
  display: flex;
  white-space: nowrap;
}

.marquee-content {
  display: flex;
  animation: scrollMarquee 15s linear infinite;
}

.marquee-content span {
  font-size: 2rem;
  font-weight: 800;
  padding: 0 2rem;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.marquee-alt {
  background: var(--color-hot-pink);
  color: #fff;
  transform: rotate(-2deg) scale(1.05); /* Tilted party vibe */
  margin: 4rem -2rem;
  z-index: 5;
  position: relative;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- TYPOGRAPHY --- */
.text-acid { color: var(--color-acid-yellow); }
.text-pink { color: var(--color-hot-pink); }
.text-blue { color: var(--color-electric-blue); }

.section-title {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: 1rem;
  letter-spacing: -2px;
  text-align: left;
}

.section-subtitle {
  color: var(--color-text-muted);
  text-align: left;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 500;
  margin-bottom: 4rem;
  max-width: 800px;
  text-transform: uppercase;
}

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 8rem 0;
  position: relative;
}

.section-darker {
  background: var(--color-bg-alt);
  border-top: 4px solid #333;
  border-bottom: 4px solid #333;
}

/* --- ANIMATIONS --- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.87, 0, 0.13, 1), transform 0.6s cubic-bezier(0.87, 0, 0.13, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-acid-yellow); border: 2px solid var(--color-bg); }

/* --- CUSTOM CURSOR --- */
body.has-custom-cursor {
  cursor: none;
}
.cursor-dot, .cursor-outline {
  position: fixed;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 10000;
  pointer-events: none;
}
.cursor-dot {
  width: 8px; height: 8px;
  background-color: var(--color-acid-yellow);
}
.cursor-outline {
  width: 40px; height: 40px;
  border: 2px solid rgba(230, 251, 4, 0.5);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}
.cursor-hover {
  width: 60px; height: 60px;
  background-color: rgba(230, 251, 4, 0.1);
  border-color: var(--color-hot-pink);
}

/* --- PRELOADER --- */
.preloader {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: #050505;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader-content {
  text-align: center;
}
.preloader-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 2rem;
  color: #fff;
  letter-spacing: 4px;
}
.preloader-bar {
  width: 200px; height: 2px;
  background: rgba(255,255,255,0.1);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.preloader-progress {
  position: absolute;
  top: 0; left: 0; height: 100%; width: 0%;
  background: var(--color-acid-yellow);
}

/* --- LENIS & GSAP --- */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* --- SPLINE POSITIONING OFFSET --- */
@media (min-width: 768px) {
  .spline-desktop-offset {
    transform: translate(25vw, 10vh) scale(1.1);
  }
}

/* --- SEAMLESS PAGE TRANSITION --- */
.page-transition {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background-color: var(--color-acid-yellow);
  z-index: 10002;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- PARALLAX MASKING --- */
.parallax-container {
  position: relative;
  overflow: hidden;
}
.parallax-image {
  height: 125% !important;
  width: 100%;
  object-fit: cover;
  display: block;
}

/* --- UI: MODALS --- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal-content {
  background: var(--color-bg-alt);
  border: 4px solid var(--color-hot-pink);
  box-shadow: 15px 15px 0 var(--color-electric-blue);
  padding: 4rem 3rem;
  max-width: 600px;
  width: 90%;
  text-align: center;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.87, 0, 0.13, 1);
  position: relative;
}
.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 2.5rem;
  font-weight: 900;
  color: #888;
  cursor: pointer;
  background: none;
  border: none;
}
.modal-close:hover { color: #fff; }

/* --- UI: STICKY CTA --- */
.sticky-cta {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--color-acid-yellow);
  color: #000;
  font-weight: 900;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  z-index: 99990;
  box-shadow: 0 10px 30px rgba(230, 251, 4, 0.3);
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s;
  display: none;
}
.sticky-cta.visible {
  display: block;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.sticky-cta:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 15px 40px rgba(230, 251, 4, 0.6);
  color: #000;
}
@keyframes popIn {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}
@media(max-width: 768px){
  .sticky-cta {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 20px;
    width: 90%;
    text-align: center;
  }
  .sticky-cta:hover { transform: translateX(-50%) scale(1.02); }
}
