/* =========================================================================
   RAVERADAR — Design System
   Concept: The TripAdvisor of rave. Underground European electronic events.
   Vibe: warehouses, neon, lasers, strobes, smoke, clandestine parties.
   ========================================================================= */

/* ----------------------------- TOKENS ---------------------------------- */
:root {
  /* Core palette */
  --black:        #050608;
  --black-2:      #0A0B11;
  --anthracite:   #12131B;
  --anthracite-2: #181A24;
  --line:         #23252F;
  --line-soft:    rgba(255,255,255,.06);

  /* Neon accents */
  --blue:    #2F7BFF;   /* electric blue */
  --violet:  #8B5CFF;   /* neon violet  */
  --magenta: #FF2D9B;   /* neon magenta */
  --cyan:    #19E7FF;   /* laser cyan   */
  --acid:    #C6FF3D;   /* free-party acid */

  /* Text */
  --white:   #F3F3F8;   /* off-white */
  --grey:    #A7A9B8;
  --grey-2:  #6E7081;
  --grey-3:  #44464F;

  /* Gradients */
  --grad-main:   linear-gradient(115deg, var(--blue) 0%, var(--violet) 48%, var(--magenta) 100%);
  --grad-soft:   linear-gradient(115deg, rgba(47,123,255,.18), rgba(255,45,155,.18));
  --grad-cyan:   linear-gradient(120deg, var(--cyan), var(--blue));
  --grad-text:   linear-gradient(95deg, #fff 0%, #cfd2ff 40%, var(--magenta) 100%);

  /* FX */
  --glow-violet: 0 0 40px rgba(139,92,255,.45);
  --glow-magenta:0 0 40px rgba(255,45,155,.40);
  --glow-blue:   0 0 40px rgba(47,123,255,.40);
  --shadow-card: 0 20px 50px -20px rgba(0,0,0,.8);

  /* Geometry */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --maxw: 1280px;

  /* Type */
  --f-display: "Syne", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "Space Mono", ui-monospace, monospace;

  --ease: cubic-bezier(.22,1,.36,1);
}

/* ----------------------------- RESET ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.55;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
ul { list-style: none; }
::selection { background: var(--magenta); color: #fff; }

/* Ambient background: deep gradient + drifting neon blobs + grain */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -3;
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(139,92,255,.18), transparent 55%),
    radial-gradient(90% 70% at -10% 10%, rgba(47,123,255,.16), transparent 50%),
    radial-gradient(120% 90% at 50% 120%, rgba(255,45,155,.14), transparent 55%),
    var(--black);
}
body::after { /* film grain */
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  opacity: .035; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.blob { position: fixed; border-radius: 50%; filter: blur(90px); z-index: -1; opacity: .5; pointer-events: none; }
.blob.b1 { width: 420px; height: 420px; background: var(--violet); top: -120px; left: -80px; animation: drift 22s var(--ease) infinite alternate; }
.blob.b2 { width: 360px; height: 360px; background: var(--magenta); bottom: -120px; right: -60px; animation: drift 26s var(--ease) infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(120px, 80px, 0) scale(1.15); } }

/* ----------------------------- LAYOUT ---------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 96px; position: relative; }
.section-sm { padding-block: 56px; }

.eyebrow {
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--cyan);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--cyan); display: inline-block; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; }
.h-xl { font-size: clamp(2.8rem, 8vw, 6.4rem); }
.h-lg { font-size: clamp(2rem, 5vw, 3.4rem); }
.h-md { font-size: clamp(1.4rem, 3vw, 2rem); }
.lead { color: var(--grey); font-size: clamp(1rem, 1.5vw, 1.18rem); max-width: 56ch; }
.gradient-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }

/* ----------------------------- NAV ------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px) saturate(140%);
  background: rgba(8,9,13,.62);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.brand .dot {
  width: 13px; height: 13px; border-radius: 50%; background: var(--grad-main);
  box-shadow: var(--glow-magenta); animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{ transform: scale(1); opacity:1 } 50%{ transform: scale(1.35); opacity:.7 } }
.brand b { color: var(--white); }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a {
  color: var(--grey); font-size: .92rem; font-weight: 500; padding: 9px 14px; border-radius: 99px;
  transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--white); background: var(--line-soft); }
.nav-links a.active { color: var(--white); background: var(--grad-soft); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; padding: 3px; gap: 2px; font-family: var(--f-mono); }
.lang-switch a { font-size: .72rem; font-weight: 700; letter-spacing: .05em; color: var(--grey-2); padding: 5px 10px; border-radius: 99px; transition: all .2s; }
.lang-switch a:hover { color: var(--white); }
.lang-switch a.on { background: var(--grad-main); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); font-size: 1.6rem; cursor: pointer; }

/* ----------------------------- BUTTONS --------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: 99px; font-weight: 600; font-size: .94rem;
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .3s, background .3s, border-color .3s;
}
.btn:active { transform: scale(.96); }
.btn-primary { background: var(--grad-main); color: #fff; box-shadow: 0 8px 30px -8px rgba(255,45,155,.6); }
.btn-primary:hover { box-shadow: 0 10px 44px -6px rgba(255,45,155,.85); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--white); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--violet); box-shadow: var(--glow-violet); transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-block { width: 100%; }

/* ----------------------------- HERO ------------------------------------ */
.hero { position: relative; padding-top: 80px; padding-bottom: 64px; overflow: hidden; }
/* AI-generated key visual (served from CDN; degrades gracefully to the gradient bg) */
.hero-photo {
  position: absolute; inset: 0; z-index: -2; opacity: .42;
  background-image:
    linear-gradient(180deg, rgba(5,6,8,.35) 0%, rgba(5,6,8,.65) 60%, var(--black) 100%),
    url("https://d8j0ntlcm91z4.cloudfront.net/user_3EfATp4Hvlogg4NEZfgyJXfo5Sh/hf_20260604_115823_221ae9a2-2422-4def-ae5a-a9a4d6b1ace9.png");
  background-size: cover; background-position: center;
  mask-image: radial-gradient(80% 80% at 50% 20%, #000 35%, transparent 80%);
  animation: heroZoom 24s var(--ease) infinite alternate;
}
@keyframes heroZoom { to { transform: scale(1.08); } }
.hero-grid {
  position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
}
/* laser sweep */
.hero::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 120%;
  background: linear-gradient(var(--cyan), transparent);
  filter: blur(2px); opacity: .5; transform-origin: top center;
  animation: laser 7s linear infinite; z-index: -1;
}
@keyframes laser { 0%{ transform: rotate(-28deg) } 50%{ transform: rotate(28deg) } 100%{ transform: rotate(-28deg) } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 99px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: .82rem; color: var(--grey);
  margin-bottom: 26px;
}
.hero-badge .live { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 10px var(--acid); animation: pulse 1.6s infinite; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .stroke {
  -webkit-text-stroke: 1.5px var(--violet); color: transparent;
  text-shadow: var(--glow-violet);
}
.hero .lead { margin: 0 auto 38px; text-align: center; }
.hero-center { text-align: center; max-width: 900px; margin-inline: auto; }
.hero-center .lead { text-align: center; }

/* Search bar */
.search {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr auto; gap: 8px;
  background: rgba(14,15,22,.7); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 10px; max-width: 980px; margin: 0 auto;
  backdrop-filter: blur(16px); box-shadow: var(--shadow-card);
}
.search-field { display: flex; flex-direction: column; padding: 8px 14px; border-radius: var(--r-md); transition: background .25s; position: relative; }
.search-field:hover { background: var(--line-soft); }
.search-field label { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--grey-2); margin-bottom: 3px; }
.search-field input, .search-field select {
  background: none; border: 0; outline: none; color: var(--white); font-size: .95rem; font-weight: 500; width: 100%; cursor: pointer;
}
.search-field select option { background: var(--anthracite); }
.search-field input::placeholder { color: var(--grey-3); }
.search-go { display: flex; align-items: center; }
.search-go .btn { height: 100%; padding-inline: 24px; }

/* Quick genre chips */
.chips { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-top: 26px; }
.chip {
  padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255,255,255,.02);
  font-size: .84rem; color: var(--grey); cursor: pointer; transition: all .25s var(--ease);
}
.chip:hover { color: #fff; border-color: var(--violet); transform: translateY(-2px); box-shadow: var(--glow-violet); }
.chip.on { background: var(--grad-main); color: #fff; border-color: transparent; }

/* ----------------------------- STATS ----------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.stat { padding: 26px; border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(255,255,255,.03), transparent); }
.stat b { font-family: var(--f-display); font-size: 2.4rem; display: block; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--grey); font-size: .88rem; }

/* ----------------------------- EVENT CARDS ----------------------------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); background: var(--anthracite);
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
  isolation: isolate;
}
.card:hover { transform: translateY(-6px); border-color: rgba(139,92,255,.5); box-shadow: var(--shadow-card), var(--glow-violet); }
.card-media { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.card-media .poster {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform .6s var(--ease), filter .6s;
}
.card:hover .poster { transform: scale(1.07); filter: saturate(1.2); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(5,6,8,.55) 70%, rgba(5,6,8,.96) 100%); }
.card-genre-bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-main); z-index: 2; }
.card-top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: flex-start; z-index: 3; }
.tag {
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 99px; background: rgba(5,6,8,.7); border: 1px solid var(--line); backdrop-filter: blur(6px);
}
.tag.type { color: var(--cyan); }
.fav {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(5,6,8,.6); border: 1px solid var(--line); backdrop-filter: blur(6px); transition: all .25s;
  font-size: 1rem;
}
.fav:hover { border-color: var(--magenta); color: var(--magenta); transform: scale(1.12); }
.fav.on { background: var(--magenta); border-color: var(--magenta); color: #fff; box-shadow: var(--glow-magenta); }
.card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 18px; z-index: 3; }
.card-date { font-family: var(--f-mono); font-size: .72rem; color: var(--cyan); letter-spacing: .08em; margin-bottom: 6px; }
.card-title { font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; line-height: 1.08; margin-bottom: 6px; }
.card-loc { color: var(--grey); font-size: .84rem; display: flex; align-items: center; gap: 6px; }
.card-meta { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.gpill { font-size: .7rem; padding: 3px 9px; border-radius: 99px; border: 1px solid var(--line); color: var(--grey); background: rgba(255,255,255,.03); }
.card-price { position: absolute; bottom: 18px; right: 18px; font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; color: #fff; z-index: 3; }

/* horizontal scroller */
.scroller { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; }
.scroller::-webkit-scrollbar { height: 6px; }
.scroller::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
.scroller .card { min-width: 300px; scroll-snap-align: start; }

/* ----------------------------- GENRE TILES ----------------------------- */
.genres { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; }
.genre {
  position: relative; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); display: grid; place-items: center; text-align: center; padding: 14px;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.genre::before { content: ""; position: absolute; inset: 0; opacity: .85; transition: opacity .35s; }
.genre:hover { transform: translateY(-5px) scale(1.02); border-color: transparent; box-shadow: var(--shadow-card); }
.genre:hover::before { opacity: 1; }
.genre span { position: relative; font-family: var(--f-display); font-weight: 700; font-size: .98rem; z-index: 2; }
.genre small { position: relative; z-index: 2; color: rgba(255,255,255,.7); font-size: .72rem; display: block; margin-top: 4px; }

/* ----------------------------- FILTER LAYOUT --------------------------- */
.explore-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: 90px; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; background: linear-gradient(160deg, rgba(255,255,255,.03), transparent); }
.filter-group { padding-block: 18px; border-bottom: 1px solid var(--line-soft); }
.filter-group:last-child { border-bottom: 0; }
.filter-group h4 { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--grey-2); margin-bottom: 14px; }
.filter-opt { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; color: var(--grey); font-size: .9rem; transition: color .2s; }
.filter-opt:hover { color: #fff; }
.filter-opt input { accent-color: var(--magenta); width: 16px; height: 16px; }
.filter-opt .count { margin-left: auto; font-size: .75rem; color: var(--grey-3); }
.range { width: 100%; accent-color: var(--violet); margin-top: 8px; }
.input {
  width: 100%; padding: 11px 14px; border-radius: var(--r-md); background: rgba(255,255,255,.03);
  border: 1px solid var(--line); color: var(--white); outline: none; transition: border-color .25s, box-shadow .25s;
}
.input:focus { border-color: var(--violet); box-shadow: var(--glow-violet); }
select.input option { background: var(--anthracite); }

.explore-toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
.result-count { color: var(--grey); font-size: .9rem; }
.result-count b { color: #fff; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; padding: 4px; gap: 4px; margin-left: auto; }
.seg button { background: none; border: 0; padding: 7px 14px; border-radius: 99px; color: var(--grey); font-size: .85rem; cursor: pointer; transition: all .2s; }
.seg button.on { background: var(--grad-soft); color: #fff; }

/* list (row) view */
.row-card {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; background: var(--anthracite-2);
  transition: border-color .3s, transform .3s; cursor: pointer;
}
.row-card:hover { border-color: rgba(139,92,255,.5); transform: translateX(4px); }
.row-card .thumb { width: 120px; height: 120px; border-radius: var(--r-md); background-size: cover; background-position: center; }
.row-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.row-card .row-right { text-align: right; }

/* ----------------------------- MAP ------------------------------------- */
#map { height: 72vh; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; z-index: 1; }
.leaflet-popup-content-wrapper { background: var(--anthracite); color: var(--white); border-radius: var(--r-md); border: 1px solid var(--violet); }
.leaflet-popup-tip { background: var(--anthracite); }
.leaflet-container { background: #06070b; font-family: var(--f-body); }
.map-pin {
  width: 18px; height: 18px; border-radius: 50%; background: var(--grad-main);
  box-shadow: var(--glow-magenta); border: 2px solid #fff; animation: pulse 2s infinite;
}
.map-layout { display: grid; grid-template-columns: 360px 1fr; gap: 24px; align-items: start; }
.map-list { display: flex; flex-direction: column; gap: 12px; max-height: 72vh; overflow-y: auto; padding-right: 6px; }
.map-list::-webkit-scrollbar { width: 6px; } .map-list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
.mini {
  display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line);
  border-radius: var(--r-md); cursor: pointer; transition: all .25s; background: var(--anthracite-2);
}
.mini:hover { border-color: var(--violet); transform: translateY(-2px); }
.mini .mthumb { width: 56px; height: 56px; border-radius: 10px; background-size: cover; background-position: center; flex: none; }
.mini h4 { font-size: .95rem; font-family: var(--f-display); }
.mini span { font-size: .78rem; color: var(--grey); }

/* popup card */
.pop h4 { font-family: var(--f-display); font-size: 1rem; margin-bottom: 2px; }
.pop p { font-size: .8rem; color: var(--grey); margin-bottom: 8px; }
.pop a { color: var(--cyan); font-size: .82rem; font-weight: 600; }

/* ----------------------------- EVENT PAGE ------------------------------ */
.event-hero { position: relative; min-height: 60vh; border-radius: var(--r-xl); overflow: hidden; display: flex; align-items: flex-end; padding: 40px; border: 1px solid var(--line); }
.event-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; }
.event-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,6,8,.2) 0%, rgba(5,6,8,.85) 100%); z-index: -1; }
.event-hero-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.event-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; margin-top: 48px; align-items: start; }
.lineup { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.artist { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--anthracite-2); transition: border-color .3s; }
.artist:hover { border-color: var(--magenta); }
.artist .av { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-main); display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; flex: none; }
.artist b { font-size: .92rem; } .artist span { font-size: .74rem; color: var(--grey); }
.headliner { grid-column: span 3; background: var(--grad-soft); border-color: var(--violet); }
.gallery { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.gallery div { aspect-ratio: 1; border-radius: var(--r-sm); background-size: cover; background-position: center; cursor: pointer; transition: transform .3s; }
.gallery div:hover { transform: scale(1.04); }

.ticket-box { position: sticky; top: 90px; border: 1px solid var(--violet); border-radius: var(--r-lg); padding: 24px; background: linear-gradient(165deg, rgba(139,92,255,.12), rgba(255,45,155,.05)); box-shadow: var(--glow-violet); }
.ticket-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.ticket-row:last-of-type { border: 0; }
.ticket-row b { font-family: var(--f-display); }
.info-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; background: var(--anthracite); margin-bottom: 20px; }
.info-card h3 { margin-bottom: 16px; }
.divider { height: 1px; background: var(--line-soft); margin-block: 40px; }

/* ----------------------------- FORMS / ORGANIZER ----------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .82rem; color: var(--grey); font-weight: 500; }
.field.full { grid-column: span 2; }
textarea.input { resize: vertical; min-height: 110px; font-family: inherit; }
.upload { border: 2px dashed var(--line); border-radius: var(--r-lg); padding: 40px; text-align: center; color: var(--grey); cursor: pointer; transition: all .3s; }
.upload:hover { border-color: var(--violet); color: #fff; background: rgba(139,92,255,.05); }
.steps { display: flex; gap: 8px; margin-bottom: 30px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 99px; font-size: .85rem; color: var(--grey); }
.step.on { border-color: var(--violet); color: #fff; background: var(--grad-soft); }
.step .num { width: 22px; height: 22px; border-radius: 50%; background: var(--line); display: grid; place-items: center; font-size: .75rem; }
.step.on .num { background: var(--grad-main); }

/* ----------------------------- ACCOUNT --------------------------------- */
.profile-head { display: flex; align-items: center; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(255,255,255,.04), transparent); margin-bottom: 32px; }
.avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--grad-main); display: grid; place-items: center; font-family: var(--f-display); font-size: 2rem; font-weight: 800; box-shadow: var(--glow-violet); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; }
.tab { padding: 12px 18px; color: var(--grey); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; transition: all .25s; font-weight: 500; }
.tab.on { color: #fff; border-bottom-color: var(--magenta); }
.alert-card { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--anthracite-2); }
.switch { width: 46px; height: 26px; border-radius: 99px; background: var(--line); position: relative; cursor: pointer; transition: background .3s; flex: none; }
.switch.on { background: var(--grad-main); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .3s; }
.switch.on::after { transform: translateX(20px); }
.tabpane { display: none; } .tabpane.on { display: block; animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } }

/* ----------------------------- PRICING / PREMIUM ----------------------- */
.plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.plan { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; background: var(--anthracite); position: relative; transition: transform .35s, border-color .35s; }
.plan:hover { transform: translateY(-6px); }
.plan.featured { border-color: var(--violet); box-shadow: var(--glow-violet); background: linear-gradient(165deg, rgba(139,92,255,.12), transparent); }
.plan .price { font-family: var(--f-display); font-size: 2.8rem; font-weight: 800; margin: 14px 0; }
.plan .price small { font-size: .9rem; color: var(--grey); font-weight: 400; }
.plan ul { display: flex; flex-direction: column; gap: 12px; margin: 22px 0; }
.plan li { display: flex; gap: 10px; color: var(--grey); font-size: .9rem; }
.plan li::before { content: "◆"; color: var(--cyan); }
.ribbon { position: absolute; top: -12px; right: 20px; background: var(--grad-main); padding: 5px 14px; border-radius: 99px; font-size: .72rem; font-weight: 700; }

/* ----------------------------- CTA / NEWSLETTER ------------------------ */
.cta {
  border-radius: var(--r-xl); padding: 64px 40px; text-align: center; position: relative; overflow: hidden;
  border: 1px solid var(--violet); background: linear-gradient(150deg, rgba(47,123,255,.15), rgba(255,45,155,.15));
}
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 0%, rgba(139,92,255,.3), transparent); }
.newsletter { display: flex; gap: 10px; max-width: 460px; margin: 28px auto 0; }
.newsletter .input { flex: 1; }

/* ----------------------------- FOOTER ---------------------------------- */
.footer { border-top: 1px solid var(--line); padding-block: 60px 30px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h5 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--grey-2); margin-bottom: 16px; }
.footer a { display: block; color: var(--grey); font-size: .9rem; padding: 5px 0; transition: color .2s; }
.footer a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-soft); color: var(--grey-2); font-size: .82rem; flex-wrap: wrap; gap: 12px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--grey); transition: all .25s; }
.socials a:hover { border-color: var(--violet); color: #fff; box-shadow: var(--glow-violet); transform: translateY(-2px); }

/* ----------------------------- SCROLL REVEAL --------------------------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scrollx 28s linear infinite; }
.marquee span { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; color: var(--grey-3); display: flex; align-items: center; gap: 48px; }
.marquee span::after { content: "✦"; color: var(--magenta); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* toast */
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(120%); background: var(--anthracite); border: 1px solid var(--violet); padding: 14px 22px; border-radius: 99px; box-shadow: var(--glow-violet); z-index: 200; transition: transform .4s var(--ease); font-size: .9rem; }
.toast.show { transform: translateX(-50%) translateY(0); }

/* ----------------------------- RESPONSIVE ------------------------------ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3,1fr); }
  .genres { grid-template-columns: repeat(4,1fr); }
  .explore-layout, .map-layout, .event-layout { grid-template-columns: 1fr; }
  .filters, .ticket-box, .map-list { position: static; }
  .map-list { flex-direction: row; max-height: none; overflow-x: auto; }
  .mini { min-width: 240px; }
}
@media (max-width: 760px) {
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; background: var(--black-2); border-bottom: 1px solid var(--line); padding: 16px; margin: 0; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .search { grid-template-columns: 1fr 1fr; }
  .search-go { grid-column: span 2; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .genres { grid-template-columns: repeat(2,1fr); }
  .lineup { grid-template-columns: 1fr; } .headliner { grid-column: span 1; }
  .gallery { grid-template-columns: repeat(2,1fr); }
  .form-grid { grid-template-columns: 1fr; } .field.full { grid-column: span 1; }
  .plans { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .row-card { grid-template-columns: 80px 1fr; } .row-card .row-right { grid-column: span 2; text-align: left; }
  .row-card .thumb { width: 80px; height: 80px; }
  .section { padding-block: 64px; }
}
