:root {
  --bg: #070707;
  --fg: #f4f1ea;
  --muted: #9b968d;
  --line: rgba(244, 241, 234, 0.18);
  --hot: #ff3f9f;
  --acid: #ccff00;
  --panel: hsl(60, 6%, 6%);
  --ease: cubic-bezier(.19, 1, .22, 1);
}

/* =========================================================
   GLOBAL RESET / BASE STYLES
========================================================= */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--fg);
  background: var(--bg);
  overflow-x: hidden;
}

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

/* =========================================================
   BACKGROUND NOISE TEXTURE
========================================================= */

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: .08;
  background-image:
    radial-gradient(circle at 20% 20%, white 0 1px, transparent 1px),
    radial-gradient(circle at 80% 60%, white 0 1px, transparent 1px);
  background-size: 4px 4px, 7px 7px;
  mix-blend-mode: screen;
}

/* =========================================================
   CUSTOM CURSOR
========================================================= */

.cursor {
  position: fixed;
  width: 22px;
  height: 22px;
  border: 1px solid var(--fg);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
  transition:
    width .25s var(--ease),
    height .25s var(--ease),
    opacity .25s;
  opacity: .7;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 22px 28px;

  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .14em;

  transition:
    background .5s var(--ease),
    border-color .5s var(--ease);
}

.site-header.scrolled {
  background: rgba(7, 7, 7, .72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand-mark {
  width: 11px;
  height: 11px;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 24px var(--acid);
}

.ticket-link {
  color: var(--acid);
}

/* =========================================================
   PANEL / HERO
========================================================= */

.panel {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 28px;
}

.hero {
  text-align: center;
  isolation: isolate;
}

.hero-title {
  max-width: 1100px;
  margin: 20px auto;

  /* Reduced scaling to prevent oversized typography */
  font-size: clamp(46px, 8vw, 120px);

  line-height: .9;
  letter-spacing: -.08em;
  text-transform: uppercase;
}

.eyebrow,
.section-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
}

.hero-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
}

.scroll-hint {
  position: absolute;
  bottom: 28px;

  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;

  color: var(--muted);
}

/* =========================================================
   ORB LIGHTING EFFECTS
========================================================= */

.orb {
  position: absolute;
  width: 44vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(42px);
  opacity: .28;
  z-index: -1;
}

.orb-one {
  background: var(--hot);
  top: 8%;
  left: -15%;
}

.orb-two {
  background: #245cff;
  bottom: -10%;
  right: -12%;
}

/* =========================================================
   GENERIC SECTION SPACING
========================================================= */

.section-pad {
  padding: 120px 7vw;
}

/* =========================================================
   PROMOTER CALLOUT SECTION
========================================================= */

.events {
  border-top: 1px solid var(--line);
}

/* =========================================================
   EVENT CARD LAYOUT
   Flexible responsive grid that adapts to
   longer promoter abbreviations like MBM.
========================================================= */

.event-card {
  display: grid;

  grid-template-columns: minmax(140px, 180px) 1fr auto;

  gap: 42px;
  align-items: start;

  min-height: 210px;
  padding: 42px 0;

  border-bottom: 1px solid var(--line);
}

/* =========================================================
   EVENT DATE / PROMOTER INITIALS
========================================================= */

.event-date {
  min-width: 0;
}

.event-date span {
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;

  /*
    Slightly smaller scaling so 3-4 character abbreviations
    stay on one line across tablet widths.
  */
  font-size: clamp(46px, 5vw, 82px);
}

.event-date small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;

  display: block;
  margin-top: 8px;
}

/* =========================================================
   EVENT MAIN CONTENT
========================================================= */

.event-main {
  min-width: 0;
}

.event-main h2 {
  margin: 12px 0 18px;

  /* Reduced max size for tablet/laptop layouts */
  font-size: clamp(32px, 5vw, 72px);

  line-height: 0.92;
  letter-spacing: -0.06em;

  text-transform: uppercase;

  overflow-wrap: break-word;
}

.event-main p:last-child {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.45;
}

/* =========================================================
   BUTTONS
========================================================= */

.button {
  display: inline-grid;
  place-items: center;

  min-width: 120px;

  border: 1px solid var(--fg);
  border-radius: 999px;

  padding: 14px 22px;

  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;

  transition:
    background .35s var(--ease),
    color .35s var(--ease),
    transform .35s var(--ease);
}

.button:hover {
  background: var(--fg);
  color: var(--bg);
  transform: translateY(-2px);
}

.button.ghost {
  border-color: var(--line);
  color: var(--muted);
}

.button.large {
  padding: 18px 34px;
  margin-top: 28px;
}

/* =========================================================
   SPLIT CONTENT SECTION
========================================================= */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: center;
}

.split h2,
.cta h2 {
  font-size: clamp(42px, 7vw, 112px);
  line-height: .92;
  letter-spacing: -.07em;
  text-transform: uppercase;
}

.split p:last-child {
  color: var(--muted);
  max-width: 520px;
  font-size: 18px;
  line-height: 1.65;
}

/* =========================================================
   IMAGE STACK
========================================================= */

.image-stack {
  min-height: 620px;
  position: relative;
}

.mock-image {
  position: absolute;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #222, #070707 45%, #372033);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}

.image-a {
  inset: 0 18% 16% 0;
}

.image-b {
  inset: 38% 0 0 36%;
  background: linear-gradient(135deg, #111, #1d2937 50%, #111);
}

.mock-image::after {
  content: "";

  position: absolute;
  inset: 0;

  display: grid;
  place-items: center;

  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
}

/* =========================================================
   MARQUEE
========================================================= */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  white-space: nowrap;

  color: var(--acid);

  font-size: clamp(34px, 8vw, 120px);
  line-height: 1;

  text-transform: uppercase;
  letter-spacing: -.06em;
}

.marquee div {
  display: inline-flex;
  animation: marquee 24s linear infinite;
}

.marquee span {
  padding-right: .3em;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   INFO GRID
========================================================= */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-card {
  min-height: 320px;
  padding: 28px;

  background: var(--panel);
  border: 1px solid var(--line);

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-card span {
  color: var(--acid);
}

.info-card h3 {
  font-size: 42px;
  margin: auto 0 12px;

  letter-spacing: -.05em;
  text-transform: uppercase;
}

.info-card p {
  color: var(--muted);
  line-height: 1.6;
}

/* =========================================================
   CTA SECTION
========================================================= */

.cta {
  text-align: center;
  background: radial-gradient(circle at center, #181414, #070707 62%);
}

/* =========================================================
   FOOTER
========================================================= */

footer {
  display: flex;
  justify-content: space-between;

  padding: 28px;

  color: var(--muted);

  border-top: 1px solid var(--line);

  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
}

/* =========================================================
   REVEAL ANIMATIONS
========================================================= */

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

  transition:
    opacity 1.1s var(--ease),
    transform 1.1s var(--ease);
}

/*
  JavaScript adds .js-enabled to the body.
  This keeps the page visible if JS fails instead of leaving
  every .reveal element invisible.
*/
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(54px);
}

.js-enabled .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   MOBILE / TABLET RESPONSIVE LAYOUT
========================================================= */

@media (max-width: 820px) {

  .cursor {
    display: none;
  }

  .site-header {
    align-items: flex-start;
    gap: 18px;
  }

  nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .event-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 0;
  }

  .event-date span {
    font-size: clamp(44px, 12vw, 72px);
  }

  .event-main h2 {
    font-size: clamp(30px, 10vw, 58px);
  }

  .split,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .image-stack {
    min-height: 460px;
  }

  footer {
    flex-direction: column;
    gap: 10px;
  }
}


/* =========================================================
   PROMOTER SECTION TERMINOLOGY
   Maintainer Note:
   We intentionally continue using the original
   .event-card structure because it already provides
   an elegant responsive content layout.
========================================================= */

.event-date small {
  opacity: 0.8;
  letter-spacing: 0.18em;
}


/* =========================================================
   PROMOTER LOGO SYSTEM
   Large screens:
   - abbreviation + logo visible

   Small screens:
   - abbreviation hidden
   - logo only
========================================================= */

.event-date {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.promoter-abbr {
  display: block;
}

.promoter-logo {
  width: 120px;
  max-width: 100%;
  height: auto;
  opacity: 0.92;
}

/* =========================================================
   MOBILE LOGO MODE
========================================================= */

@media (max-width: 820px) {

  .event-date {
    align-items: flex-start;
  }

  /* Hide giant abbreviation on mobile */
  .promoter-abbr {
    display: none;
  }

  /* Make logo larger and more dominant */
  .promoter-logo {
    width: 160px;
  }

}


/* =========================================================
   SPACE SECTION SAFETY FIXES
========================================================= */

#space {
  position: relative;
  z-index: 2;
}

/* =========================================================
   PARALLAX TRANSFORM
   The JavaScript updates --parallax-y.
========================================================= */

[data-parallax] {
  transform: translateY(var(--parallax-y, 0px));
}

/* =========================================================
   MARQUEE SAFETY FIX
   width:max-content keeps the marquee track wide enough
   for translateX(-50%) to loop cleanly.
========================================================= */

.marquee div {
  width: max-content;
  will-change: transform;
}

/* =========================================================
   IMAGE STACK SAFETY
========================================================= */

.image-stack {
  overflow: hidden;
}
