@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Inter:wght@300;400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.is-nexus-brew {
  background: #0a0a0a;
  color: #e0e0e0;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Canvas ── */
#nb-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

/* ── Header ── */
.nb-header {
  position: relative;
  z-index: 10;
  padding: 4rem 2rem 3rem;
  background: linear-gradient(180deg, rgba(184,41,221,0.15) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255,45,149,0.2);
}
.nb-logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 0.85rem;
  color: #00f0ff;
  text-decoration: none;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(0,240,255,0.8);
  display: block;
  margin-bottom: 2rem;
}
.nb-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ff2d95;
  text-shadow: 0 0 8px rgba(255,45,149,0.6);
  margin-bottom: 0.6rem;
}
.nb-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 0 30px rgba(184,41,221,0.8), 0 0 60px rgba(255,45,149,0.4);
  animation: neon-pulse 2.5s ease-in-out infinite alternate;
  margin-bottom: 0.8rem;
}
@keyframes neon-pulse {
  from { text-shadow: 0 0 20px rgba(184,41,221,0.7), 0 0 40px rgba(255,45,149,0.3); }
  to   { text-shadow: 0 0 40px rgba(184,41,221,1),   0 0 80px rgba(255,45,149,0.7), 0 0 120px rgba(0,240,255,0.3); }
}
.nb-location { font-size: 0.9rem; color: rgba(224,224,224,0.5); margin-bottom: 1rem; }

/* ── Labels ── */
.nb-labels { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.label-tag {
  background: rgba(255,45,149,0.1);
  border: 1px solid rgba(255,45,149,0.4);
  color: #ff2d95;
  padding: 0.2rem 0.7rem;
  border-radius: 2px;
  font-size: 0.75rem;
  font-family: 'Orbitron', sans-serif;
  text-decoration: none;
  transition: all 0.2s;
  text-shadow: 0 0 6px rgba(255,45,149,0.5);
}
.label-tag:hover {
  background: rgba(255,45,149,0.25);
  box-shadow: 0 0 12px rgba(255,45,149,0.4);
}

/* ── Main ── */
.nb-main {
  position: relative;
  z-index: 10;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* ── Hero image ── */
.nb-hero-img {
  position: relative;
  border: 1px solid rgba(0,240,255,0.2);
  box-shadow: 0 0 40px rgba(0,240,255,0.1), inset 0 0 40px rgba(184,41,221,0.05);
}
.nb-hero-img img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
  filter: brightness(0.85) saturate(1.2);
}
.nb-hero-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184,41,221,0.1) 0%, transparent 60%);
  pointer-events: none;
}

/* ── Text block ── */
.nb-section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  color: #00f0ff;
  text-shadow: 0 0 12px rgba(0,240,255,0.7);
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}
.nb-body { line-height: 1.8; color: #c8c8c8; }
.nb-body p { margin-bottom: 1rem; }
.nb-body blockquote {
  border-left: 3px solid #b829dd;
  padding: 0.6rem 1.2rem;
  margin: 1rem 0;
  background: rgba(184,41,221,0.07);
  font-style: italic;
  color: #ddd;
  box-shadow: inset 0 0 20px rgba(184,41,221,0.05);
}
.nb-body strong { color: #ff2d95; text-shadow: 0 0 6px rgba(255,45,149,0.4); }
.nb-body em { color: #b829dd; }
.nb-body a { color: #00f0ff; }
.nb-body iframe { max-width: 100%; border: 1px solid rgba(0,240,255,0.2); }

/* ── Videos ── */
.nb-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.yt-wrapper {
  position: relative;
  padding-top: 56.25%;
  border: 1px solid rgba(0,240,255,0.2);
  box-shadow: 0 0 24px rgba(0,240,255,0.08);
}
.yt-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Reveal ── */
.nb-reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s, transform 0.7s; }
.nb-reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 480px) {
  .nb-title { font-size: 1.8rem; }
  .nb-video-grid { grid-template-columns: 1fr; }
}

/* ── Lightbox ── */
#lightbox{display:none;position:fixed;inset:0;background:rgba(0,0,0,.9);
  z-index:9999;align-items:center;justify-content:center;
  flex-direction:column;gap:.5rem}
#lightbox img{max-width:90vw;max-height:80vh;object-fit:contain}
.lb-close{position:fixed;top:1rem;right:1.5rem;font-size:2.5rem;
  color:#fff;cursor:pointer;line-height:1;opacity:.8}
.lb-close:hover{opacity:1}
.lb-nav{position:fixed;top:50%;transform:translateY(-50%);font-size:3rem;
  color:#fff;cursor:pointer;padding:.5rem;user-select:none;opacity:.7}
.lb-nav:hover{opacity:1}
.lb-prev{left:1rem}.lb-next{right:1rem}
.lb-caption{color:#ccc;font-size:.9rem;text-align:center;max-width:80vw}

/* ── Collection links ── */
nav.event-collections{display:flex;flex-wrap:wrap;gap:.5rem 1rem;padding:1rem 1.5rem;border-top:1px solid rgba(128,128,128,.2);font-family:var(--font-head,sans-serif);font-size:.82rem}
nav.event-collections .ec-link{color:var(--accent,#888);text-decoration:none;opacity:.8;transition:opacity .2s}
nav.event-collections .ec-link:hover{opacity:1}
