/* NL Rush public space – stable CSS for PHP pages (no Astro hash) */
:root {
  --nl-bg: #0a0514;
  --nl-surface: #1a0b2e;
  --nl-elevated: #24123d;
  --nl-border: #3d2463;
  --nl-text: #f0e8ff;
  --nl-muted: #a89bb8;
  --nl-cyan: #00e5ff;
  --nl-magenta: #e040fb;
  --nl-purple: #a855f7;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body.nl-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--nl-text);
  background-color: var(--nl-bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(224, 64, 251, 0.22), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(0, 229, 255, 0.12), transparent),
    linear-gradient(rgba(61, 36, 99, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 36, 99, 0.25) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--nl-cyan);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.gradient-text {
  background: linear-gradient(90deg, var(--nl-cyan), var(--nl-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass {
  background: rgba(26, 11, 46, 0.75);
  border: 1px solid rgba(61, 36, 99, 0.8);
  backdrop-filter: blur(14px);
}

.glow {
  box-shadow:
    0 0 20px rgba(0, 229, 255, 0.25),
    0 0 40px rgba(224, 64, 251, 0.15);
}

/* Header */
.nl-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(61, 36, 99, 0.5);
  background: rgba(26, 11, 46, 0.85);
  backdrop-filter: blur(14px);
}
.nl-header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.nl-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: inherit;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
}
.nl-brand img {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  ring: 2px;
  box-shadow: 0 0 0 2px rgba(224, 64, 251, 0.4);
}
.nl-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
}
.nl-nav a {
  color: var(--nl-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  text-decoration: none;
}
.nl-nav a:hover,
.nl-nav a.active {
  color: var(--nl-text);
  background: var(--nl-elevated);
  text-decoration: none;
}
.nl-back {
  font-size: 0.75rem;
  color: var(--nl-muted);
}

/* Layout */
.nl-main {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.nl-footer {
  border-top: 1px solid rgba(61, 36, 99, 0.4);
  margin-top: 3rem;
  padding: 2rem 1.25rem;
}
.nl-footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: var(--nl-muted);
  font-size: 0.875rem;
}

/* Cards grid */
.grid-releases {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
@media (min-width: 640px) {
  .grid-releases {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

.card-release {
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  background: rgba(26, 11, 46, 0.75);
  border: 1px solid rgba(61, 36, 99, 0.8);
}
.card-release:hover {
  transform: scale(1.02);
  box-shadow:
    0 0 20px rgba(0, 229, 255, 0.25),
    0 0 40px rgba(224, 64, 251, 0.15);
  text-decoration: none;
}
.card-release .cover {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}
.card-release .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-release .badges {
  position: absolute;
  bottom: 0.6rem;
  left: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.badge {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}
.badge-short {
  background: rgba(0, 229, 255, 0.9);
  color: var(--nl-bg);
}
.badge-video {
  background: rgba(224, 64, 251, 0.9);
  color: #fff;
}
.badge-story {
  background: rgba(36, 18, 61, 0.9);
  color: var(--nl-text);
  border: 1px solid var(--nl-border);
}
.card-release .meta {
  padding: 0.9rem 1rem 1.1rem;
}
.card-release .meta .type {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--nl-muted);
}
.card-release .meta h3 {
  margin: 0.25rem 0 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

/* Detail */
.detail-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 640px) {
  .detail-grid {
    gap: 3rem;
  }
}
@media (min-width: 900px) {
  .detail-grid {
    grid-template-columns: minmax(0, 280px) 1fr;
    align-items: start;
    column-gap: 3.5rem;
    row-gap: 2.5rem;
  }
}
.detail-media {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  max-width: 320px;
  margin-bottom: 0.5rem;
}
/* Extra Luft zwischen Short/Cover und Textspalte (auch mobil untereinander) */
.detail-media + div {
  padding-top: 0.75rem;
}
@media (max-width: 899px) {
  .detail-media {
    margin-bottom: 1.5rem;
    max-width: 100%;
    align-items: center;
  }
  .detail-media + div {
    padding-top: 1.25rem;
    border-top: 1px solid rgba(61, 36, 99, 0.35);
  }
}
/* Square cover – never stretch */
.cover-frame {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  border-radius: 1rem;
  border: 1px solid var(--nl-border);
  overflow: hidden;
  background: var(--nl-surface);
}
.cover-lg {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  border: 0;
}
.detail h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  margin: 0.35rem 0;
  font-weight: 800;
}
.detail .kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nl-cyan);
}
.story {
  margin-top: 1.75rem;
  white-space: pre-line;
  line-height: 1.7;
  color: var(--nl-muted);
}
.story h2 {
  font-family: var(--font-display);
  color: var(--nl-text);
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

/* Buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--nl-border);
  color: var(--nl-text);
  background: transparent;
}
.btn:hover {
  text-decoration: none;
  border-color: var(--nl-cyan);
  color: var(--nl-cyan);
}
.btn-primary {
  background: linear-gradient(90deg, var(--nl-cyan), var(--nl-magenta));
  color: var(--nl-bg);
  border: 0;
  font-weight: 700;
}
.btn-primary:hover {
  color: var(--nl-bg);
  opacity: 0.92;
}

/* Video */
.video-wrap {
  margin-top: 1.5rem;
}
.video-wrap-short {
  margin-top: 0;
  width: 100%;
}
.video-wrap figcaption {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--nl-muted);
  margin-bottom: 0.5rem;
}
.video-frame {
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid rgba(61, 36, 99, 0.6);
  background: #000;
  position: relative;
}
.video-frame.wide {
  aspect-ratio: 16 / 9;
  width: 100%;
}
/* Phone-style short: fixed 9:16, never stretched wider than column */
.video-frame.short,
.video-frame.short-hero {
  aspect-ratio: 9 / 16;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  border-radius: 1rem;
  box-shadow:
    0 0 20px rgba(0, 229, 255, 0.2),
    0 0 40px rgba(224, 64, 251, 0.12);
}
.detail-media .video-frame.short-hero {
  max-width: 100%;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Track list */
.tracklist {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  border-radius: 0.75rem;
  overflow: hidden;
}
.tracklist li a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  color: var(--nl-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(61, 36, 99, 0.4);
}
.tracklist li a:hover {
  background: rgba(36, 18, 61, 0.5);
}
.tracklist .num {
  width: 1.5rem;
  color: var(--nl-muted);
  font-size: 0.875rem;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  margin: 0;
}
.page-lead {
  color: var(--nl-muted);
  margin: 0.75rem 0 2rem;
  max-width: 36rem;
}

.empty {
  color: var(--nl-muted);
  padding: 2rem;
  text-align: center;
  border-radius: 1rem;
}

.source-hint {
  font-size: 0.7rem;
  color: var(--nl-muted);
  opacity: 0.7;
  margin-top: 2rem;
}

/* Home hero */
.hero {
  position: relative;
  margin: -1rem -0.25rem 0;
  padding: 1rem 0 2rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  pointer-events: none;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 5, 20, 0.7),
    rgba(10, 5, 20, 0.85),
    var(--nl-bg)
  );
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    padding: 2rem 0 1rem;
  }
}
.hero-logo {
  width: 7rem;
  height: 7rem;
  border-radius: 999px;
  border: 2px solid rgba(0, 229, 255, 0.45);
  display: block;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.05;
}
.hero-tagline {
  margin: 1rem 0 0;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--nl-text);
}
.hero-genres {
  margin: 0.4rem 0 0;
  color: var(--nl-muted);
}
.hero-social {
  border-radius: 1rem;
  padding: 1.5rem;
}
.social-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.social-label {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nl-muted);
}
.lang-switch {
  border: 1px solid var(--nl-border) !important;
  border-radius: 0.5rem !important;
  font-size: 0.7rem !important;
  text-transform: uppercase;
}

/* Spotify embed */
.spotify-wrap {
  margin-top: 0.5rem;
  width: 100%;
}
.spotify-label {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--nl-muted);
}
.spotify-player {
  display: block;
  width: 100%;
  border: 0;
  min-height: 152px;
  background: #000;
}

/* Consent banner + placeholders */
.consent-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 100;
  padding: 1rem;
  pointer-events: none;
}
.consent-banner-inner {
  pointer-events: auto;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
}
.consent-banner-inner h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.consent-banner-inner p {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--nl-muted);
  line-height: 1.5;
}
.consent-placeholder {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  text-align: center;
  background: rgba(10, 5, 20, 0.92);
  color: var(--nl-muted);
  font-size: 0.85rem;
}
.consent-placeholder[hidden] {
  display: none !important;
}
.consent-embed {
  position: relative;
}
.video-frame.consent-embed iframe:not([src]),
.spotify-wrap.consent-embed iframe:not([src]) {
  opacity: 0;
  pointer-events: none;
}
button.linkish {
  background: none;
  border: 0;
  padding: 0;
  color: var(--nl-cyan);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}
