/* ─── NOSTALREM · shared.css ───────────────────────────────────────────────
   Nav, fixed ticker, footer, dividers, social links, release card,
   YouTube grid — everything that appears on every page.
   Page-specific styles go in index.html <style> blocks or member.css.
────────────────────────────────────────────────────────────────────────── */

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

:root {
  --mag:      #B8124A;
  --mag-glow: rgba(184,18,74,0.55);
  --dark:     #03010a;
  --teal:     rgb(93,202,165);
  --teal-glow:rgba(93,202,165,0.6);
  /* member accent — overridden per-page */
  --accent:   var(--mag);
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--dark);
  color: #e0f0ff;
  font-family: 'Crimson Text', Georgia, serif;
  overflow-x: hidden;
}

/* ── NAV ──────────────────────────────────────────────────────────────── */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  padding: 12px 32px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(3,1,10,0.94);
  border-bottom: 1px solid rgba(184,18,74,0.16);
  backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(-100%);
  transition: opacity 0.4s, transform 0.4s;
}
#site-nav.visible { opacity: 1; transform: translateY(0); }

.nav-logo { height: 34px; }
.nav-logo img { height: 100%; width: auto; display: block; }

.nav-links { display: flex; gap: 26px; }
.nav-link {
  font-family: 'Cinzel', serif;
  font-size: 0.57rem; letter-spacing: 0.22em;
  color: rgba(255,255,255,0.48);
  text-decoration: none; transition: color 0.2s;
}
.nav-link:hover { color: #fff; }
.nav-link.active { color: var(--teal); }

/* ── FIXED TICKER ─────────────────────────────────────────────────────── */
#ticker-fixed {
  position: fixed; top: 58px; left: 0; right: 0; z-index: 299;
  transform: translateY(-100%); opacity: 0;
  transition: transform 0.4s, opacity 0.4s;
}
#ticker-fixed.visible { transform: translateY(0); opacity: 1; }

#ticker {
  background: var(--mag);
  padding: 9px 0; overflow: hidden; white-space: nowrap;
}
.ticker-inner {
  display: inline-block;
  animation: ticker 20s linear infinite;
}
.ticker-inner span {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem; letter-spacing: 0.3em;
  color: #fff; padding: 0 52px;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── FIXED FOOTER ─────────────────────────────────────────────────────── */
#site-footer {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 400;
  display: flex; justify-content: center; align-items: center; gap: 8px;
  padding: 8px 16px 10px;
  background: rgba(3,1,10,0.96);
  border-top: 1px solid rgba(184,18,74,0.18);
  backdrop-filter: blur(12px);
}
.footer-nav-btn {
  display: block; text-decoration: none;
  transition: transform 0.2s, filter 0.2s;
  flex: 1; max-width: 200px;
}
.footer-nav-btn img { display: block; width: 100%; height: auto; }
.footer-nav-btn:hover { transform: scale(1.04); filter: brightness(1.12); }

/* ── DIVIDERS ─────────────────────────────────────────────────────────── */
.divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,18,74,0.4) 30%, rgba(184,18,74,0.4) 70%, transparent);
  position: relative; z-index: 5;
}
.divider-wrap { background: rgba(3,1,10,0.88); position: relative; z-index: 5; }
.section-gap  { height: 48px; background: transparent; position: relative; z-index: 5; }

/* ── RELEASE CARD ─────────────────────────────────────────────────────── */
#release-section {
  background: rgba(3,1,10,0.88);
  padding: 52px 24px 0;
  display: flex; flex-direction: column; align-items: center;
  position: relative; overflow: hidden;
}
#release-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(93,202,165,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(184,18,74,0.10) 0%, transparent 60%);
  pointer-events: none;
}

.release-label {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem; letter-spacing: 0.38em;
  color: var(--mag);
  text-shadow: 0 0 10px var(--mag-glow);
  text-transform: uppercase; margin-bottom: 22px;
}

.release-card {
  display: flex; align-items: center; gap: 24px;
  max-width: 560px; width: 100%;
  background: rgba(93,202,165,0.04);
  border: 0.5px solid rgba(93,202,165,0.35);
  padding: 20px; position: relative;
  box-shadow: 0 0 30px rgba(93,202,165,0.08), inset 0 0 20px rgba(93,202,165,0.03);
}
.release-thumb {
  width: 110px; height: 110px; object-fit: cover; flex-shrink: 0;
  border: 0.5px solid rgba(93,202,165,0.5);
  filter: drop-shadow(0 0 8px rgba(93,202,165,0.3));
}
.release-info  { flex: 1; }
.release-type  { font-size: 0.72rem; letter-spacing: 0.2em; color: var(--teal); text-transform: uppercase; margin-bottom: 6px; text-shadow: 0 0 10px var(--teal-glow); }
.release-title { font-family: 'Cinzel', serif; font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 5px; text-shadow: 0 0 20px rgba(93,202,165,0.25); }
.release-sub   { font-size: 0.95rem; color: rgba(93,202,165,0.55); font-style: italic; margin-bottom: 14px; }

.stream-btn {
  display: inline-block;
  font-family: 'Cinzel', serif; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.22em; color: #fff;
  border: 1px solid rgba(184,18,74,0.8); padding: 8px 20px;
  text-decoration: none; background: rgba(184,18,74,0.15);
  clip-path: polygon(7px 0%,calc(100% - 7px) 0%,100% 50%,calc(100% - 7px) 100%,7px 100%,0% 50%);
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 14px rgba(184,18,74,0.3);
}
.stream-btn:hover { background: rgba(184,18,74,0.38); box-shadow: 0 0 22px rgba(184,18,74,0.5); }

/* ── SOCIAL LINKS ─────────────────────────────────────────────────────── */
#social-section {
  background: rgba(3,1,10,0.82);
  padding: 28px 24px 32px;
  display: flex; flex-direction: column; align-items: center;
  width: 100%; margin-top: 40px;
  border-top: 1px solid rgba(184,18,74,0.12);
  position: relative; z-index: 1;
}
.social-links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.social-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Cinzel', serif; font-size: 0.55rem; font-weight: 700; letter-spacing: 0.22em;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(184,18,74,0.28); padding: 9px 20px;
  text-decoration: none; background: rgba(184,18,74,0.06);
  clip-path: polygon(7px 0%,calc(100% - 7px) 0%,100% 50%,calc(100% - 7px) 100%,7px 100%,0% 50%);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.social-link:hover { color: #fff; background: rgba(184,18,74,0.22); border-color: rgba(184,18,74,0.7); }
.social-link svg { flex-shrink: 0; opacity: 0.7; }
.social-link:hover svg { opacity: 1; }

/* ── YOUTUBE GRID ─────────────────────────────────────────────────────── */
#youtube-section {
  position: relative; z-index: 5;
  padding: 52px 0 60px;
  background: rgba(3,1,10,0.88);
  width: 100%;
}
#youtube-section .release-label { display: block; text-align: center; padding: 0 24px; }

.yt-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px; width: 100%; padding: 0 6px; margin-top: 28px;
}
.yt-card {
  background: transparent;
  border: 0.5px solid rgba(184,18,74,0.18);
  text-decoration: none; display: block;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.yt-card:hover {
  transform: translateY(-3px);
  border-color: rgba(184,18,74,0.7);
  box-shadow: 0 6px 24px rgba(184,18,74,0.18);
}
.yt-thumb-wrap { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.yt-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.yt-card:hover .yt-thumb-wrap img { transform: scale(1.04); }
.yt-play-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.3); transition: background 0.2s;
}
.yt-card:hover .yt-play-icon { background: rgba(184,18,74,0.22); }
.yt-play-icon svg { filter: drop-shadow(0 0 8px rgba(184,18,74,0.6)); }
.yt-info { padding: 7px 10px 9px; background: rgba(3,1,10,0.45); }
.yt-channel {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem; letter-spacing: 0.2em;
  color: var(--mag); text-transform: uppercase; margin-bottom: 4px;
  text-shadow: 0 0 8px var(--mag-glow);
}
.yt-title {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem; font-weight: 700;
  color: #e0f0ff; line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────── */
@media (max-width: 800px) { .yt-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) {
  .release-card { flex-direction: column; text-align: center; }
  .nav-links { display: none; }
  .yt-grid { grid-template-columns: 1fr 1fr; }
}
