:root {
  --ink: #07040F;
  --night: #120A26;
  --plum: #1D1140;
  --amper: #2C22FF;
  --violet: #7B3CFF;
  --neon: #FF2FB3;
  --cyan: #2FE6FF;
  --text: #F4F1FF;
  --muted: #A9A1C7;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: 'Manrope', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--neon); color: #fff; }

/* Grain + glow background */
.bg-glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 85% 0%, rgba(44, 34, 255, .28), transparent 70%),
    radial-gradient(50vw 40vh at 0% 60%, rgba(123, 60, 255, .18), transparent 70%),
    radial-gradient(40vw 40vh at 100% 100%, rgba(255, 47, 179, .12), transparent 70%),
    var(--ink);
}
.bg-glow::after {
  content: ''; position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header */
.site-header { transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(7, 4, 15, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: rgba(255,255,255,.06); }
.nav-link { position: relative; }
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
  background: var(--neon); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: #fff; }

.mobile-menu { transition: opacity .3s, visibility .3s; }
.mobile-menu:not(.open) { opacity: 0; visibility: hidden; }
.mobile-menu a { transform: translateY(12px); opacity: 0; transition: transform .45s var(--ease-out), opacity .45s; }
.mobile-menu.open a { transform: none; opacity: 1; }
.mobile-menu.open a:nth-child(2) { transition-delay: .05s; }
.mobile-menu.open a:nth-child(3) { transition-delay: .1s; }
.mobile-menu.open a:nth-child(4) { transition-delay: .15s; }
.mobile-menu.open a:nth-child(5) { transition-delay: .2s; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6rem; border-radius: 999px;
  font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 1rem 1.6rem; transition: transform .2s var(--ease-out), box-shadow .3s, background .3s, border-color .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--amper); color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 10px 40px -8px rgba(44,34,255,.8); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.25) inset, 0 14px 50px -6px rgba(44,34,255,1), 0 0 30px rgba(123,60,255,.5); }
.btn-ghost { border: 1px solid rgba(255,255,255,.22); color: #fff; }
.btn-ghost:hover { border-color: var(--neon); box-shadow: 0 0 24px rgba(255,47,179,.35); }

/* Type */
.kicker { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--cyan); }
.poster { font-family: 'Anton', Impact, sans-serif; text-transform: uppercase; line-height: .9; letter-spacing: .005em; }
.outline-neon { color: transparent; -webkit-text-stroke: 2px var(--neon); text-shadow: 0 0 28px rgba(255,47,179,.55); }
.glow-text { text-shadow: 0 0 18px rgba(44,34,255,.9), 0 0 42px rgba(123,60,255,.6); }
.flicker { animation: flicker 6s infinite; }
@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: .35; }
}

/* Hero collage */
.hero-flyer {
  position: absolute; border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08);
  animation: floaty 9s ease-in-out infinite;
}
.hero-flyer img { width: 100%; height: 100%; object-fit: cover; }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* Marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Poster cards */
.flyer-card { position: relative; border-radius: 18px; overflow: hidden; background: var(--night); isolation: isolate;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); cursor: pointer; }
.flyer-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease-out); }
.flyer-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,4,15,.95) 0%, rgba(7,4,15,.2) 45%, transparent 70%); z-index: 1; }
.flyer-card .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.1rem 1.1rem; z-index: 2; }
@media (hover: hover) {
  .flyer-card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 24px 60px -18px rgba(255,47,179,.55), 0 0 0 1px rgba(255,47,179,.5); }
  .flyer-card:hover img { transform: scale(1.05); }
}
.flyer-card:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.chip { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .6rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); color: var(--muted); transition: all .25s; white-space: nowrap; }
.chip:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.chip.active { background: #fff; color: var(--ink); border-color: #fff; }

.tag { display: inline-block; font-family: 'Unbounded', sans-serif; font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .3rem .55rem; border-radius: 6px; background: rgba(44,34,255,.85); color: #fff; }
.tag.neon { background: var(--neon); }
.tag.cyan { background: var(--cyan); color: var(--ink); }

/* Calendar */
.month { border-top: 1px solid rgba(255,255,255,.1); transition: background .3s; }
.month:hover { background: rgba(123,60,255,.08); }
.month.now { background: linear-gradient(90deg, rgba(255,47,179,.16), transparent); border-top-color: var(--neon); }

/* Panels */
.panel { background: linear-gradient(180deg, rgba(29,17,64,.75), rgba(18,10,38,.75)); border: 1px solid rgba(255,255,255,.08); border-radius: 22px; }

/* Photo mosaic */
.mosaic-item { position: relative; overflow: hidden; border-radius: 14px; cursor: zoom-in; background: var(--night); }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), filter .5s; }
@media (hover: hover) { .mosaic-item:hover img { transform: scale(1.06); filter: saturate(1.2); } }

.masonry { column-gap: 12px; columns: 2; }
@media (min-width: 768px) { .masonry { columns: 3; column-gap: 16px; } }
@media (min-width: 1100px) { .masonry { columns: 4; } }
.masonry > * { break-inside: avoid; margin-bottom: 12px; }
@media (min-width: 768px) { .masonry > * { margin-bottom: 16px; } }
.masonry .mosaic-item img { height: auto; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,2,12,.94); backdrop-filter: blur(10px);
  display: grid; place-items: center; padding: 16px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-inner { transform: scale(.96); transition: transform .4s var(--ease-out); max-width: 1000px; width: 100%; }
.lightbox.open .lightbox-inner { transform: none; }
.lightbox img { max-height: 78vh; width: auto; max-width: 100%; border-radius: 14px; margin: 0 auto; }

/* Map */
.map-frame { filter: invert(.92) hue-rotate(200deg) saturate(1.4) brightness(.95) contrast(.95); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* Equalizer */
.eq { display: inline-flex; gap: 3px; align-items: flex-end; height: 16px; }
.eq span { width: 3px; background: var(--neon); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.eq span:nth-child(2) { animation-delay: .2s; background: var(--cyan); }
.eq span:nth-child(3) { animation-delay: .4s; }
.eq span:nth-child(4) { animation-delay: .1s; background: var(--cyan); }
@keyframes eq { 0%,100% { height: 25%; } 50% { height: 100%; } }

.hide-scroll { scrollbar-width: none; }
.hide-scroll::-webkit-scrollbar { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
