* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: black;
}

.parlour {
  position: relative;
  width: 100vw;
  height: 56.25vw;
  max-height: 100vh;
  margin: auto;
  overflow: hidden;
}


#background {
  position: absolute;
  inset: 0;
  pointer-events: none;

  background-image: url("/assets/images/parlour.jpg");
  background-position: center;
  background-size: cover;
  z-index: 0;
}

.shelfcontainer {
  position: absolute;
  top: 10vw;
  left: 21.5vw;
  display: flex;
  flex-direction: column;
  z-index: 2;
  transform: rotate(-0.5deg);
}


.shelf {
  display: flex;
  transform-origin: left center;
  gap: 2px;
}

.shelf[data-shelf="top"] {margin-bottom: 4.2vw;}

.shelf[data-shelf="middle"] {transform: translateX(10vw); margin-bottom:  4vw;}

.shelf[data-shelf="bottom"] {margin-bottom: 0px;}

.album {
  
  position: relative;
  width: 10px;
  height: 7vw;
  flex: 0 0 auto; 
  overflow: hidden;
  cursor: pointer;
}

.album .spine {
  position: absolute;
  inset: 0;
  background: #201f24;
  background-image: linear-gradient( 90deg, rgba(255,255,255,0.08), transparent 12%, transparent 88%, rgba(0,0,0,0.35) );
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 0 2px rgba(0,0,0,0.6);
  font-size: clamp(6px, 1.2vw, 12px);
  letter-spacing: 0.5px;

  writing-mode: vertical-rl;
  
  white-space: nowrap;
  overflow: hidden; 
  text-overflow: clip;      
  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 2;
}
  
.album .cover {
  
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0;
  transform: translateX(0);
  transition: 0.35s;

  z-index: 1;
}


.album:hover {
  transform: translateY(-6px) rotate(-1deg);
}

.album:hover .cover {
  opacity: 1;
  transform: translateX(26px);
}

.spinetext{

  position:absolute;
  width:26px;
  height:120px;
  writing-mode:vertical-rl;
  display:flex;
  justify-content:center;
  align-items:center;
  transition:.35s;
  z-index:2;
  background: linear-gradient( 90deg, rgba(255,255,255,.08), transparent 10%, transparent 90%, rgba(0,0,0,.35) ), linear-gradient( #5a1620, #361015 );
}

.cover{

  position:absolute;
  left:0;
  width:90px;
  height:120px;
  opacity:0;
  transform:translateX(-20px);
  transition:.35s;
}

#hotspots {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 20;
}

.hotspot {
    pointer-events: auto;
}

.hotspot {
  position: absolute;
  width: 80px;
  height: 80px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, filter .25s ease, opacity .25s ease;
}

.hotspot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hotspot:hover{
  transform:scale(1.08);
  filter:
      drop-shadow(0 0 6px rgba(255,120,120,.35))
      drop-shadow(0 0 16px rgba(180,20,50,.45))
      drop-shadow(0 0 28px rgba(120,0,20,.4));
  opacity:1;
}

.hotspotLabel {
    font-size: 11px;
    letter-spacing: 1px;

    color: rgba(214, 179, 106, 0.6);

    text-transform: uppercase;

    text-shadow:
        0 0 8px rgba(125, 17, 40, 0.3);

    opacity: 0;
    transition: opacity 0.25s ease;
}

.hotspot:hover .hotspotLabel {
    opacity: 1;
}
/* ===================== OVERLAY / PANELS ===================== */
#overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}

.panel{
  width:550px;
  padding:18px;
  background-blend-mode:overlay;
  background: linear-gradient(rgba(25,15,18,.75), rgba(12,8,10,.92)), url("/assets/images/monster.png");
  background-size:cover;
  border:1px solid rgba(255,255,255,.08);
  box-shadow: 0 0 35px rgba(80,0,15,.45), inset 0 0 40px rgba(255,255,255,.02);
  border-radius:8px;
  backdrop-filter:blur(5px);
  position: fixed;
  visibility:hidden;
  pointer-events: auto;
  top: 50%;
  left: 50%;
}


.panel.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.albumheader{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:18px;
  border-bottom:1px solid rgba(255,255,255,.08);
  padding-bottom:10px;
}

.albumcontent{
    display:flex;
    gap:18px;
}

.albuminfo{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

#albumPanel {
  display:block;
  gap:18px;
}


#albumImage {
  width: 180px;
  height: 180px;
  object-fit: cover;
  display: block;
  margin: 12px 0;
  border-radius: 6px;
  border: 1px solid rgba(214, 179, 106, 0.2);

  box-shadow:
    0 0 12px rgba(0, 0, 0, 0.6);
  align-self: center;
}


#albumSubtitle {
  font-size: 20px;
  color:#c32642;
  text-shadow:
      0 0 6px rgba(255,40,80,.35),
      0 0 18px rgba(120,0,20,.35);
  letter-spacing:2px;
  text-transform:uppercase;
  font-weight:700;
  
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid rgba(255,255,255,.08);
  padding-bottom:10px;
  margin-right: 20px;
}

#albumDesc {
  font-size: 16px;
  line-height: 1.5;

  color:#d8bfc4;

  max-height: 160px;
  overflow-y: auto;

  padding-right: 6px;
}


#albumLink {
  display: inline-block;

  margin-top: 12px;
  padding: 6px 10px;

  font-size: 11px;
  letter-spacing: 1px;
  text-transform: lowercase;

  color: #d6b36a;

  border: 1px solid rgba(214, 179, 106, 0.25);

  text-decoration: none;

  transition: 0.2s ease;
}

#albumLink:hover {
  background: rgba(125, 17, 40, 0.2);
  box-shadow: 0 0 10px rgba(125, 17, 40, 0.3);
}



















