/* ============================
   L'AMBIANCE MALTA — V2 DESIGN
   Animated Edition
   Film grain · Glitch · Char reveal
   Custom cursor · Marquee · Glow
   ============================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Backgrounds */
  --bg-primary: #0a0a0a;
  --bg-secondary: #121212;
  --bg-elevated: #1a1a1a;
  --bg-card: #141414;

  /* Accent — Red */
  --accent-primary: #dc2626;
  --accent-secondary: #b91c1c;
  --accent-glow: #ef4444;
  --accent-soft: rgba(220, 38, 38, 0.15);
  --accent-glow-spread: rgba(220, 38, 38, 0.08);

  /* Text */
  --text-primary: #f5f5f5;
  --text-secondary: #a3a3a3;
  --text-muted: #6b6b6b;
  --text-accent: #fca5a5;

  /* Borders */
  --border: #262626;
  --border-light: #333333;

  /* Fonts */
  --font-heading: 'forma-djr-display', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Sizing */
  --nav-height: 64px;
  --container-max: 1200px;
  --container-padding: 20px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: none;
}

@media (hover: none) {
  body {
    cursor: auto;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: none;
  color: inherit;
  font-family: inherit;
}

/* ============================
   FILM GRAIN OVERLAY
   ============================ */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.8s steps(1) infinite;
}

@keyframes grain {
  0% {
    transform: translate(0, 0);
  }

  10% {
    transform: translate(-5%, -10%);
  }

  20% {
    transform: translate(-15%, 5%);
  }

  30% {
    transform: translate(7%, -20%);
  }

  40% {
    transform: translate(-5%, 15%);
  }

  50% {
    transform: translate(-15%, 10%);
  }

  60% {
    transform: translate(15%, 0%);
  }

  70% {
    transform: translate(0%, 12%);
  }

  80% {
    transform: translate(3%, 15%);
  }

  90% {
    transform: translate(-10%, 8%);
  }

  100% {
    transform: translate(0, 0);
  }
}

/* ============================
   CUSTOM CURSOR (desktop only)
   ============================ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}

.cursor__dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
  will-change: transform;
}

.cursor__ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
  will-change: transform;
}

body.cursor--hover .cursor__dot {
  width: 12px;
  height: 12px;
  background: var(--accent-glow);
}

body.cursor--hover .cursor__ring {
  width: 56px;
  height: 56px;
  border-color: var(--accent-primary);
  opacity: 0.6;
}

@media (hover: none) {
  .cursor {
    display: none;
  }
}

/* ============================
   CONTAINER
   ============================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ============================
   SECTION
   ============================ */
.section {
  padding: 80px 0;
}

.section__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 48px;
  position: relative;
  display: inline-block;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent-primary);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.section__title.visible::after {
  width: 48px;
}

.section__subtitle {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 64px;
  margin-bottom: 32px;
  color: var(--text-secondary);
}

/* ============================
   NAVIGATION
   ============================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition-fast);
}

.nav--scrolled {
  background: rgba(10, 10, 10, 0.97);
  border-bottom-color: rgba(220, 38, 38, 0.15);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 1001;
}

.nav__logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* ============================
   GLITCH TEXT EFFECT
   ============================ */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.glitch::before {
  color: #ff5555;
  animation: glitch-before 6s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.glitch::after {
  color: #55aaff;
  animation: glitch-after 6s infinite;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

@keyframes glitch-before {

  0%,
  84%,
  100% {
    transform: none;
    opacity: 0;
  }

  85% {
    transform: translate(-2px, 0);
    opacity: 0.8;
  }

  86% {
    transform: translate(2px, 0);
    opacity: 0.8;
  }

  87% {
    transform: translate(-1px, 0);
    opacity: 0.6;
  }

  88%,
  89% {
    transform: none;
    opacity: 0;
  }

  90% {
    transform: translate(3px, 1px);
    opacity: 0.7;
  }

  91% {
    transform: none;
    opacity: 0;
  }
}

@keyframes glitch-after {

  0%,
  84%,
  100% {
    transform: none;
    opacity: 0;
  }

  85% {
    transform: translate(2px, 0);
    opacity: 0.7;
  }

  86% {
    transform: translate(-2px, 1px);
    opacity: 0.7;
  }

  87% {
    transform: none;
    opacity: 0;
  }

  88% {
    transform: translate(1px, -1px);
    opacity: 0.5;
  }

  89%,
  91% {
    transform: none;
    opacity: 0;
  }

  90% {
    transform: translate(-3px, 0px);
    opacity: 0.6;
  }
}

.nav__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
  transform-origin: center;
}

.nav__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav__links {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: right var(--transition-smooth);
}

.nav__links.open {
  right: 0;
}

.nav__link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width var(--transition-smooth), box-shadow var(--transition-fast);
}

.nav__link:hover,
.nav__link.active {
  color: var(--text-primary);
}

.nav__link:hover::after {
  width: 100%;
  box-shadow: 0 0 8px var(--accent-glow);
}

.nav__link.active::after {
  width: 100%;
  box-shadow: 0 0 8px var(--accent-glow);
}

/* ============================
   HERO / HOME
   ============================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__video--desktop {
  display: none;
}

.hero__video--mobile {
  display: block;
}

@media (min-width: 768px) {
  .hero__video--desktop {
    display: block;
  }

  .hero__video--mobile {
    display: none;
  }
}

/* Main overlay gradient */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
      rgba(10, 10, 10, 0.55) 0%,
      rgba(10, 10, 10, 0.25) 35%,
      rgba(10, 10, 10, 0.65) 75%,
      rgba(10, 10, 10, 1) 100%);
}

/* Ambient red glow behind content */
.hero__ambient-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse 60% 50% at 50% 65%,
      rgba(220, 38, 38, 0.2) 0%,
      transparent 70%);
  animation: ambientPulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ambientPulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

/* Scanlines */
.hero__scanlines {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: repeating-linear-gradient(0deg,
      transparent,
      transparent 3px,
      rgba(0, 0, 0, 0.04) 3px,
      rgba(0, 0, 0, 0.04) 4px);
  pointer-events: none;
  animation: scanlines-drift 8s linear infinite;
}

@keyframes scanlines-drift {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(40px);
  }
}

/* Hero content */
.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 var(--container-padding);
  width: 100%;
  max-width: 640px;
}

.hero__event {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1s ease forwards 0.5s;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Next event label tag */
.hero__event-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-primary);
  border: 1px solid rgba(220, 38, 38, 0.5);
  padding: 4px 14px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.hero__event-label::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(220, 38, 38, 0.15);
  animation: label-shimmer 3s ease-in-out infinite 1.2s;
}

@keyframes label-shimmer {

  0%,
  100% {
    left: -100%;
  }

  50% {
    left: 100%;
  }
}

/* Character-by-character hero name */
.hero__event-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  word-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-char {
  display: inline-block;
}

.hero-char--scrambling {
  color: var(--accent-primary);
  opacity: 0.6;
}

.hero-char--locked {
  animation: charLock 0.35s ease forwards;
}

@keyframes charLock {
  0% {
    color: var(--accent-glow);
    text-shadow: 0 0 16px var(--accent-glow);
  }

  100% {
    color: var(--text-primary);
    text-shadow: none;
  }
}

.hero__event-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.hero__event-detail {
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.hero__event-detail strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* Countdown timer */
.hero__countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 32px;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
}

.countdown__number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.countdown__number.tick {
  color: var(--accent-glow);
  text-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

.countdown__label {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

.countdown__sep {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--accent-primary);
  margin-bottom: 12px;
  animation: sepBlink 1s step-end infinite;
}

@keyframes sepBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }
}

/* CTA Button */
.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 40px;
  background: var(--accent-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.hero__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.5s ease;
}

.hero__cta:hover::before {
  transform: translateX(120%) skewX(-15deg);
}

.hero__cta:hover {
  background: var(--accent-glow);
  box-shadow: 0 0 40px rgba(220, 38, 38, 0.5), 0 0 80px rgba(220, 38, 38, 0.2);
  transform: translateY(-3px);
}

.hero__cta:active {
  transform: translateY(-1px);
}

/* Pretix button override */
pretix-button.hero__cta button {
  background: none !important;
  border: none !important;
  color: inherit !important;
  padding: 0 !important;
  margin: 0 !important;
  font: inherit !important;
  cursor: none !important;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: inherit;
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  animation: scrollPulse 2s ease-in-out infinite;
}

.hero__scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.hero__scroll-arrow {
  width: 16px;
  height: 16px;
  border-right: 1.5px solid var(--text-secondary);
  border-bottom: 1.5px solid var(--text-secondary);
  transform: rotate(45deg);
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: translateX(-50%) translateY(0);
  }

  50% {
    opacity: 0.7;
    transform: translateX(-50%) translateY(6px);
  }
}

/* ============================
   ETHOS STRIP
   ============================ */
.ethos {
  position: relative;
  padding: 64px 0;
  background: var(--bg-secondary);
  overflow: hidden;
}

/* Top and bottom hairlines that glow red at centre */
.ethos::before,
.ethos::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      var(--accent-primary) 30%,
      var(--accent-primary) 70%,
      transparent 100%);
  opacity: 0.4;
}

.ethos::before {
  top: 0;
}

.ethos::after {
  bottom: 0;
}

.ethos__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

/* Brand statement — large, italic, fades in on scroll */
.ethos__statement {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 3rem);
  text-align: center;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.15;
  position: relative;
}

/* Red underline draws in when statement fades in */
.ethos__statement::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  box-shadow: 0 0 12px var(--accent-glow);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.7s;
}

.ethos__statement.visible::after {
  width: 60px;
}

/* Stats row */
.ethos__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 640px;
}

.ethos__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 0 16px;
}

.ethos__divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg,
      transparent,
      var(--border-light) 30%,
      var(--border-light) 70%,
      transparent);
  flex-shrink: 0;
}

/* Number + suffix grouped inline */
.ethos__stat-number,
.ethos__stat-suffix {
  display: inline;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-primary);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.ethos__stat-suffix {
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--accent-primary);
  margin-left: 2px;
}

.ethos__stat.visible .ethos__stat-number {
  color: var(--text-primary);
  text-shadow: 0 0 40px rgba(220, 38, 38, 0.15);
}

.ethos__stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

@media (min-width: 768px) {
  .ethos {
    padding: 80px 0;
  }

  .ethos__stats {
    gap: 0;
  }

  .ethos__stat {
    padding: 0 32px;
  }
}

/* ============================
   EVENTS SECTION
   ============================ */
.events {
  background: var(--bg-primary);
}

.events__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Featured / Single Event Layout */
.events__grid--featured {
  display: block;
  max-width: 800px;
  margin: 0 auto;
}

.events__grid--featured .event-card {
  border-width: 1px;
}

.events__grid--featured .event-card__name {
  font-size: 2rem;
}

@media (min-width: 768px) {
  .events__grid--featured .event-card {
    padding: 60px;
  }

  .events__grid--featured .event-card__name {
    font-size: 2.5rem;
  }
}

/* Event Cards — V2 style */
.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

/* Corner accent — L-shaped top-left */
.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-top: 2px solid var(--accent-primary);
  border-left: 2px solid var(--accent-primary);
  opacity: 0;
  transition: opacity 0.3s ease, width 0.4s ease, height 0.4s ease;
}

/* Bottom-right matching corner */
.event-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24px;
  height: 24px;
  border-bottom: 2px solid var(--accent-primary);
  border-right: 2px solid var(--accent-primary);
  opacity: 0;
  transition: opacity 0.3s ease, width 0.4s ease, height 0.4s ease;
}

.event-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(220, 38, 38, 0.06);
  background: #161616;
}

.event-card:hover::before,
.event-card:hover::after {
  opacity: 1;
  width: 40px;
  height: 40px;
}

.event-card__date {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 10px;
}

.event-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  word-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  line-height: 1.2;
}

.event-card__venue {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.event-card__lineup {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.event-card__artist {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.event-card:hover .event-card__artist {
  border-color: rgba(220, 38, 38, 0.25);
  color: var(--text-primary);
}

.event-card__description {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.event-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  background: transparent;
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.event-card__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-primary);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.event-card__cta:hover::before {
  transform: translateX(0);
}

.event-card__cta:hover {
  color: #fff;
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

/* Pretix button override */
pretix-button.event-card__cta button {
  background: none !important;
  border: none !important;
  color: inherit !important;
  padding: 0 !important;
  margin: 0 !important;
  font: inherit !important;
  cursor: none !important;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: inherit;
}

/* Ticket options */
.ticket-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.ticket-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ticket-option__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ticket-option__name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.ticket-option__price {
  font-size: 0.8rem;
  color: var(--accent-primary);
}

.ticket-qty {
  width: 70px;
  height: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1rem;
  text-align: center;
  border-radius: 4px;
  outline: none;
  transition: border-color var(--transition-fast);
  appearance: none;
  cursor: none;
  padding: 0 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.ticket-qty:focus {
  border-color: var(--accent-primary);
}

/* Empty state */
.event-card--empty {
  text-align: center;
  opacity: 0.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.event-card--empty .event-card__name,
.event-card--empty .event-card__venue {
  margin-bottom: 0;
}

.event-card--empty .event-card__name {
  font-size: 1rem;
}

/* Past events */
.events__grid--past .event-card {
  opacity: 0.4;
  filter: grayscale(0.6);
}

.events__grid--past .event-card:hover {
  opacity: 0.65;
  filter: grayscale(0.1);
}

.events__grid--past .event-card__cta {
  display: none;
}

/* ============================
   ABOUT US
   ============================ */
.about {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

/* Faint decorative red ring */
.about::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(220, 38, 38, 0.06);
  transform: translateY(-50%);
  pointer-events: none;
}

.about::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -250px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(220, 38, 38, 0.04);
  transform: translateY(-50%);
  pointer-events: none;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.about__text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
  overflow: hidden;
}

.about__text:last-child {
  margin-bottom: 0;
}

.about__text-inner {
  display: block;
  transform: translateY(100%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about__text.visible .about__text-inner {
  transform: translateY(0);
}

.about__socials-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.about__social-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about__social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease, padding-left 0.3s ease;
}

.about__social-link:last-child {
  border-bottom: none;
}

.about__social-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.about__social-link:hover {
  color: var(--accent-primary);
  padding-left: 6px;
}

.about__social-link:hover svg {
  transform: scale(1.1);
  filter: drop-shadow(0 0 6px rgba(220, 38, 38, 0.5));
}

/* ============================
   FOOTER
   ============================ */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--accent-secondary);
  background: var(--bg-primary);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: radial-gradient(ellipse, var(--accent-primary) 0%, transparent 70%);
  box-shadow: 0 0 20px var(--accent-primary);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
}

.footer__legal-link {
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer__legal-link:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.footer__legal-sep {
  color: var(--border);
  font-size: 0.8rem;
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ============================
   SCROLL REVEAL — V2
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Staggered delay helpers */
.reveal:nth-child(1) {
  transition-delay: 0s;
}

.reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.reveal:nth-child(4) {
  transition-delay: 0.24s;
}

/* ============================
   PRETIX WIDGET THEME (DARK)
   ============================ */
.pretix-widget,
.pretix-widget-alert-box,
.pretix-widget-frame-inner,
.pretix-widget-lightbox-inner {
  --pretix-brand-primary: var(--accent-primary);
  --pretix-brand-success: #2f9e59;
  --pretix-brand-info: #3b82f6;
  --pretix-brand-warning: #eab308;
  --pretix-brand-danger: #ef4444;
  --pretix-link-contrast-color: #ffffff;
  --pretix-link-hover-contrast-color: #ffffff;
}

.pretix-widget {
  background-color: var(--bg-card);
  border-color: var(--border);
  color: var(--text-primary);
}

.pretix-widget a,
.pretix-widget-alert-box a {
  color: var(--text-accent);
}

.pretix-widget .pretix-widget-info-message,
.pretix-widget .pretix-widget-error-message {
  background-color: var(--bg-secondary);
}

.pretix-widget .pretix-widget-loading {
  background: rgba(10, 10, 10, 0.88);
}

.pretix-widget .pretix-widget-item-availability-col .pretix-widget-collapse-indicator,
.pretix-widget input[type="text"],
.pretix-widget input[type="number"],
.pretix-widget select,
.pretix-widget-alert-box input[type="text"],
.pretix-widget-alert-box input[type="number"],
.pretix-widget-alert-box select {
  color: var(--text-primary);
  background-color: var(--bg-elevated);
  border-color: var(--border-light);
  box-shadow: none;
}

.pretix-widget input[type="text"]::placeholder,
.pretix-widget input[type="number"]::placeholder,
.pretix-widget select::placeholder,
.pretix-widget-alert-box input[type="text"]::placeholder,
.pretix-widget-alert-box input[type="number"]::placeholder,
.pretix-widget-alert-box select::placeholder {
  color: var(--text-muted);
}

.pretix-widget button.pretix-widget-btn-default,
.pretix-widget input[type="button"].pretix-widget-btn-default,
.pretix-widget a.pretix-widget-button.pretix-widget-btn-default,
.pretix-widget-alert-box button.pretix-widget-btn-default,
.pretix-widget-alert-box input[type="button"].pretix-widget-btn-default,
.pretix-widget-alert-box a.pretix-widget-button.pretix-widget-btn-default,
.pretix-widget label.pretix-widget-btn-checkbox,
.pretix-widget-alert-box label.pretix-widget-btn-checkbox {
  color: var(--text-primary);
  background-color: var(--bg-elevated);
  border-color: var(--border-light);
}

.pretix-widget .pretix-widget-event-list-entry {
  color: var(--text-primary);
}

.pretix-widget .pretix-widget-event-list-entry:hover,
.pretix-widget .pretix-widget-event-list-entry:active,
.pretix-widget .pretix-widget-event-list-entry:focus {
  background: rgba(255, 255, 255, 0.06);
}

.pretix-widget .pretix-widget-event-calendar .pretix-widget-event-calendar-table th,
.pretix-widget .pretix-widget-event-calendar .pretix-widget-event-calendar-table td {
  border-bottom-color: var(--border-light);
}

.pretix-widget .pretix-widget-event-calendar .pretix-widget-event-week-table .pretix-widget-event-week-col:nth-child(even),
.pretix-widget .pretix-widget-event-calendar .pretix-widget-event-calendar-table td:has(.pretix-widget-event-calendar-day):nth-child(even) {
  background-color: rgba(255, 255, 255, 0.03);
}

.pretix-widget-alert-holder::backdrop,
.pretix-widget-frame-holder::backdrop,
.pretix-widget-lightbox-holder::backdrop {
  background: rgba(0, 0, 0, 0.75);
}

.pretix-widget-frame-inner,
.pretix-widget-lightbox-inner,
.pretix-widget-alert-box {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

/* ============================
   RESPONSIVE — TABLET (768px+)
   ============================ */
@media (min-width: 768px) {
  :root {
    --container-padding: 40px;
  }

  .section {
    padding: 100px 0;
  }

  .hero__video--desktop {
    display: block;
  }

  .hero__video--mobile {
    display: none;
  }

  .section__title {
    font-size: 2.25rem;
  }

  .hero__event-name {
    font-size: 3rem;
  }

  .hero__event-details {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }

  .events__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .about__content {
    flex-direction: row;
    gap: 64px;
  }

  .about__story {
    flex: 2;
  }

  .about__socials {
    flex: 1;
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ============================
   RESPONSIVE — DESKTOP (1024px+)
   ============================ */
@media (min-width: 1024px) {
  .nav__hamburger {
    display: none;
  }

  .nav__links {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    flex-direction: row;
    gap: 32px;
  }

  .nav__link {
    font-size: 0.75rem;
  }

  .hero__event-name {
    font-size: 3.8rem;
  }
}

/* ============================
   REDUCED MOTION
   ============================ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  body::before {
    display: none;
  }

  .hero-char--scrambling,
  .hero-char--locked {
    opacity: 1;
    color: var(--text-primary);
    animation: none;
  }

}