/* =========================
   DAB Music — Enchanted Room
   Coherent single-file CSS
   (no surprise images, no split body rules)
========================= */

:root{
  /* Core palette */
  --bg: #201611;
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --line: rgba(255,255,255,.14);

  --gold: #f6c453;

  /* Layout */
  --wrap: 1120px;
  --radius: 22px;
  --shadow: 0 14px 50px rgba(0,0,0,.55);

  /* Hero image */
  --hero: url("images/hero2.jpg");
}

/* Base reset */
*{ box-sizing:border-box; }
html, body{ height:100%; }
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
a:hover{ color: var(--gold); }

/* =========================
   BACKGROUND SYSTEM
   (single source of truth)
========================= */

body{
  margin:0;
  font-family: Georgia, serif;
  color: rgba(255,255,255,.92);

  background: url("images/leather.jpg") center / cover no-repeat fixed;
}


/* Animated ambience (lightweight, no images) */
body::before,
body::after{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Floating notes */
body::before{
  content: "♪   ♫     ♩   ♪      ♫    ♩      ♪   ♫      ♪   ♫     ♩   ♪      ♫    ♩      ♪   ♫ ♫   ♪     ♩   ♫      ♪    ♫      ♩   ♪      ♫   ♪     ♩   ♫      ♪    ♫      ♩   ♪♩   ♪     ♫   ♩      ♪    ♫      ♪   ♩      ♩   ♪     ♫   ♩      ♪    ♫      ♪   ♩";
  opacity:.28;
  font-size:22px;
  letter-spacing:18px;
  line-height:3.2;
  color:#ffd97a;
  mix-blend-mode:screen;

  white-space:pre;
  animation: driftNotes 26s linear infinite;
}

/* Lyric/title fragments */
body::after{
  content:"Unforgiven • Ferris Wheel • Spotlight • Until You Hear It From Me • Asteroid • No Prizes For Winning • My Reward is in Heaven • Unforgiven • Ferris Wheel • Spotlight • Until You Hear It From Me • Asteroid";
  opacity:.24;
  font-size:18px;
  letter-spacing:2px;
  color:#fff3c4;
  mix-blend-mode:screen;

  white-space:nowrap;
  animation: driftLyrics 42s ease-in-out infinite alternate;
}


body::before,
body::after{
  position: fixed;
  top: -25vh;
  left: -60vw;
  width: 220vw;
  height: 160vh;

  pointer-events: none;
  z-index: -1;          /* behind content */
  will-change: transform;
}



@keyframes driftNotes{
  from{ transform: translateY(120vh); }
  to{ transform: translateY(-60vh); }
}

@keyframes driftLyrics{
  from{ transform: translateX(-35vw) translateY(70vh); }
  to{ transform: translateX(35vw) translateY(55vh); }
}



/* Keep real content above background layers */
header, main, footer{
  position: relative;
  z-index: 1;
}

/* Wrap */
.wrap{
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
}

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

.header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(7,7,8,0.92), rgba(7,7,8,0.55));
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}



.headerRow{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
}

.logo{
  height: 34px;
  width: auto;
  opacity: .95;
}

.name{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family:"Brush Script MT","Segoe Script",cursive;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--gold);
  text-shadow:
    0 0 10px rgba(246,196,83,.22),
    0 0 26px rgba(246,196,83,.10);
  white-space: nowrap;
}



.nav{
  display:flex;
  gap: 2px;
  align-items:center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a{
  font-size: .92rem;
  color: var(--muted);
  padding: 4px 4px;
  border-radius: 8px;
  letter-spacing: .02em;
  font-family: system-ui, sans-serif;
}


.nav a:hover{
  background: rgba(255,255,255,0.06);
  color: var(--text);
}
.menuBtn{ display:none; }

@media (max-width: 820px){
  .menuBtn{ display:inline-block; }
  .nav{ display:none; }
}
@media (max-width: 820px){
  .nav.is-open{
    display:flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 6px;
    margin-top: 10px;
  }
}
/* ===== MOBILE NAV: STOP OVERLAPPING THE TITLE ===== */

@media (max-width: 820px){

  /* header row becomes the positioning context for the title */
  .headerRow{ position: relative; }

  /* keep title from sitting in the same vertical space as the dropdown */
  .name{
    position: static;          /* stops absolute overlay behaviour */
    transform: none;
    order: 2;                  /* sits between logo and burger visually */
    text-align: center;
    width: 100%;
    margin-top: 6px;
  }

  /* when open, make nav a dropdown panel */
  .nav.is-open{
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    padding: 12px 14px;
    margin-top: 8px;

    background: rgba(7,7,8,0.92);
    border: 1px solid var(--line);
    border-radius: 14px;
    z-index: 200;
  }

  /* make links full width and easy to tap */
  .nav.is-open a{
    width: 100%;
    padding: 10px 8px;
  }
}

/* =========================
   HERO
   (full-width feel, but content stays wrapped)
========================= */

.hero{
  position: relative;
  min-height: 62vh;
  display:flex;
  align-items:flex-end;
  padding: 46px 0 34px;
  overflow:hidden;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;

  /* Hero image + cinematic overlay */
  background:
  linear-gradient(to bottom,
    rgba(7,7,8,0.65) 0%,
    rgba(7,7,8,0.25) 35%,
    rgba(7,7,8,0.55) 100%
  ),
  var(--hero) center/cover no-repeat;

  transform: scale(1.02);
  z-index: 0;
}

/* Hero content panel */
.heroInner{
  position: relative;
  z-index: 1;
  text-align:center;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  margin: 0 auto;

}


.heroName{
  margin: 0;
  font-family:"Brush Script MT","Segoe Script",cursive;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  color: var(--gold);
  text-shadow:
    0 0 12px rgba(246,196,83,.35),
    0 0 30px rgba(246,196,83,.15);
}

.heroTag{
  margin-top: 14px;
  font-size: 1.15rem;
  letter-spacing: .06em;
  color: rgba(255,255,255,.88);
}

/* =========================
   RELEASES (JSON renders into #releases)
   Goal: “gallery” feel on wide screens
========================= */

#releases{
  padding: 26px 0 10px;
}

/* Tile grid of releases */
.releaseList{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 1050px){
  .releaseList{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px){
  .releaseList{ grid-template-columns: 1fr; }
}

/* Each release tile */
.release{
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 10px 40px rgba(0,0,0,0.45);
  overflow:hidden;
  background: rgba(243,234,223,0.08);
  backdrop-filter: blur(10px);
}
/* ===== Releases: make it a gallery, not a list ===== */

#releases{
  padding: 28px 0 10px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  align-items: stretch;
}

/* each release becomes a tile */
.release{
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(243,234,223,0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.release:hover{
  transform: translateY(-2px);
  border-color: rgba(246,196,83,.35);
  box-shadow: 0 16px 55px rgba(0,0,0,0.45);
}

/* vertical layout inside each tile */
.releaseGrid{
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  text-align: center;
}

/* cover = hero of the tile */
.cover{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.18);
}

/* tighter, punchier type */
.kicker{
  display:inline-block;
  margin: 2px auto 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.18);
  color: rgba(255,255,255,.88);
  font-weight: 650;
  font-size: .9rem;
  letter-spacing: .03em;
}

.releaseText h2{
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: .2px;
}

.date{
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 650;
}

/* links become neat pill row */
.links{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

.pill{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.18);
  color: rgba(255,255,255,.92);
  font-weight: 650;
  font-size: .95rem;
}

.pill:hover{
  border-color: rgba(246,196,83,0.45);
}


@media (max-width: 680px){
  .releaseGrid{ grid-template-columns: 1fr; }
}

.cover{
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  overflow:hidden;
}

/* Text */
.kicker{
  display:inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.86);
  font-weight: 650;
  letter-spacing: .02em;
  font-size: .92rem;
}

.releaseText h2{
  margin: 0 0 6px;
  font-size: 1.35rem;
  letter-spacing: .2px;
}

.date{
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 650;
}

/* Link pills */
.links{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.90);
  font-weight: 650;
  font-size: .95rem;
}

.pill:hover{
  border-color: rgba(246,196,83,0.45);
}

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

.footer{
  padding: 40px 0 60px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 30px;
}

.footer a{
  color: rgba(255,255,255,.90);
}

.footer a:hover{
  color: var(--gold);
}

/* =========================
   RESPONSIVE TIDY
========================= */

@media (max-width: 820px){
  .name{ font-size: 1.8rem; }
  .headerRow{ gap: 12px; }
  .nav{ gap: 10px; }
  .heroInner{ padding: 22px; }
}

#stories article{
  max-width:720px;
  margin:42px auto;
  padding:28px;
  background:rgba(0,0,0,.55);
  border-radius:18px;
  box-shadow:0 18px 50px rgba(0,0,0,.6);
}

#stories h2{
  text-align:center;
  margin-top:0;
}

#stories img{
  width:100%;
  border-radius:14px;
  margin:18px 0;
}

#stories p{
  line-height:1.65;
  margin:0 0 16px;
}



#stories{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(0,1fr));
  gap:40px;
}

/* Prevent grid items from forcing overflow */
#stories article > *{
  min-width: 0;
}

/* Make sure the article itself can shrink */
#stories article{
  max-width: 100%;
}

#stories{
  overflow-x: hidden;
}

/* Force Stories to use the same wrapped width as the header */
#stories{
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
}

@media (max-width: 820px){
  #stories{
    grid-template-columns: 1fr !important;
  }
}



.lyrics {
  white-space: pre-line;
}

.lyricCard{
  max-width: 820px;
  margin: 34px auto;
  padding: 22px;
  background: rgba(0,0,0,.55);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.6);
}

.lyricHeader{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
}

.lyricTitle{
  margin: 0;
  font-size: 1.5rem;
}

.lyricBtn{
  appearance: none;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
  padding: 10px 14px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 650;
}

.lyricBtn:hover{
  border-color: rgba(246,196,83,.35);
}

.lyricPanel{
  margin-top: 16px;
}

.lyricText{
  margin: 0;
  padding: 16px;
  border-radius: 14px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.92);
  white-space: pre-wrap;
  line-height: 1.6;
  font-family: Georgia, serif;
}

/* Videos layout */
.videoLatest{ width: 100%; }

.videoGrid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* Mobile: single column */
@media (max-width: 820px){
  .videoGrid{ grid-template-columns: 1fr; }
}


.videoFrame{
  width: 100%;
  aspect-ratio: 16 / 9;
}

.videoFrame iframe{
  width: 100%;
  height: 100%;
  display: block;
}

/* Video cards (frame + description feel like one unit) */
.videoLatest,
.videoCard{
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 18px 50px rgba(0,0,0,.6);
}

.videoFrame{
  overflow: hidden;
  border-radius: 14px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);
}

.videoDesc{
  margin: 10px 4px 0;
  color: rgba(255,255,255,.72);
  line-height: 1.5;
  font-size: .95rem;
}

/* Shop */
.shopGrid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1050px){
  .shopGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px){
  .shopGrid{ grid-template-columns: 1fr; }
}

.shopCard{
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,.6);
  text-align: center;
}

.shopTitle{
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: rgba(255,255,255,.92);
}

.shopDesc{
  margin: 0 0 12px;
  color: rgba(255,255,255,.72);
}

.shopBtnRow{
  display: flex;
  justify-content: center;
}
/* Force PayPal cart widgets to have a sensible width */
paypal-cart-button,
paypal-add-to-cart-button{
  display: block;
  width: min(320px, 100%);
  margin: 10px auto 0;
}

.socials{ display:flex; gap:10px; align-items:center; }
.socialIcon svg{ width:20px; height:20px; fill:currentColor; opacity:.85; }
.socialIcon:hover svg{ opacity:1; transform:translateY(-1px); }
.socials{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 6px;

  display:flex;
  gap:14px;
  align-items:center;
}
