.head {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.head img {
  width: 60vw;   /* size control */
  max-width: 900px;
  height: auto;
}

.overlay-text {
  position: absolute;           
  top: 50%;                     
  left: 50%;                    
  transform: translate(-50%, -50%); 

  font-size: 80px;              
  font-weight: bold;
  color: yellow;                 
  text-align: center;           

  z-index: 10;                  
  pointer-events: none;
}  


h1 {
  text-align: center;
  text-align: justify;
  font-family: Arial Black;
}
  
.fanpage {
  background-color: black;
}

.fanpage .gallery {
  display: grid;
  grid-template-columns: auto auto auto auto;
  gap: 10px;
  max-width: 1500px;
  margin: 0 auto;
}

.fanpage .gallery .headache {
  overflow: visible;   
}

.fanpage .gallery img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.fanpage .gallery img:hover {
  transform: scale(2);
  z-index: 10;
  position: relative;
}

.player {
  position: fixed; inset: 0 auto auto 0;
  height: 56px; width: 100%; 
  display: grid; 
  grid-template-columns: auto auto auto auto auto 1fr auto auto; /*<-- it will break if you change this proceed at your own risk */
  align-items: center; gap: .75rem;
  padding: 0 .75rem;
  background: black; /*<-- change player background color here */
  color: #f8f4ff; /*<-- change font color here */
  z-index: 9999; box-shadow: 0 2px 8px rgba(0,0,0,.15); /*<-- if you dont want shadow under your player just delete this line */
  font: 500 14px/1;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
             "Segoe UI Symbol", "Apple Symbols",
             Arial, sans-serif; /*<-- change fonts here */
}

.player button {
  all: unset;
  background: transparent;
  border: 0;
  color: #f8f4ff;
  font-size: 1.5rem;
  font-family: 'Segoe UI Symbol', 'Apple Symbols', 'Noto Sans Symbols', 'Arial Unicode MS', 'Segoe UI Emoji', sans-serif;
  line-height: 1;
  padding: .25rem .5rem;
  cursor: pointer;
}

.track {
  display: grid; /*<-- it might break if you change this */
  gap: .25rem;
}

.title-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.title-wrap::before, .title-wrap::after {
  content: '';
  position: absolute;
  top: 0; width: 24px; height: 100%;
}

.title-wrap::before{ left:0;  background:linear-gradient(to right, var(--bg), transparent); }
.title-wrap::after { right:0; background:linear-gradient(to left,  var(--bg), transparent); }


.title {
  display: inline-block;
  white-space: nowrap;
  padding-inline: 8px;
  will-change: transform; 
}

.title.scroll{
  animation: marquee var(--duration, 12s) linear infinite;
}

@keyframes marquee{
  from{ transform: translateX(0); }
  to  { transform: translateX(calc(-1 * var(--scroll-distance, 50%))); }
}

.progress {
  height: 6px;
  width: 100%;
  background: #E9E8FF; /*<-- the "background" of your progress bad, not the progress bar itself */
  border-radius: 999px; /*<-- delete this if you want a rectangular progress bar (ew) */
  cursor: pointer; /*<-- again, if you use custom cursors, change here */
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: #acace6; /*<-- now this is the actual progress bar that moves */
  border-radius: inherit; 
}

.time{
  display:flex;
  justify-content:space-between;
  font-size:12px;
  line-height:1;
  opacity:.9;
  color: e9e8ff;
  margin-top: 2px;
  font-variant-numeric: tabular-nums; /* keeps numbers from jittering */
}

.playlist{
  position: absolute;
  top: 56px;
  right: 8px;
  left: auto;
  width: min(520px, 90vw);
  max-height: 40vh;
  overflow: auto;
  background: #8483c4;                 /* playlist sidebar color */
  color: #e9e8ff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  padding: 6px;
  z-index: 10000;
  transform-origin: 12px top;
  transition: opacity .15s ease, transform .15s ease; 
  opacity: 0; 
  transform: scale(1);
}

.playlist[aria-open="true"]{
  opacity: 1; transform: scale(1); 
}

/* each track row */
.playlist_item{
  display: grid;
  grid-template-columns: 1fr auto;    
  align-items: center;
  gap: .5rem;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
}

.playlist_item[aria-selected="true"]::after{ /* the color of the currently listening song in the playlist */
  content:"now playing..."; 
  margin-right:.5rem; 
  color:#e9e8ff; 
  font-size: 10px;
  opacity:.9;
}

.playlist_item:hover,
.playlist_item[aria-selected="true"]{ /* the color change when you hover over a song on the playlist */
  background: rgba(233,232,255,.18);
}
.playlist_title{
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: 14px;
}

.playlist_item { grid-template-columns: 1fr auto; }

.playlist_dur { font-size:12px; opacity:.8; }

#volume {width: 100px;}


.one {
  background-color: red;
}

#enter-overlay {
  position: fixed;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  background: transparent;
  cursor: none;
  z-index: 9999;
}

#custom-cursor {
  position: fixed;
  pointer-events: none; /* allow clicks to pass through */
  font-family: system-ui, sans-serif;
  font-weight: bold;
  color: yellow;
  font-size: 16px;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out; /* smooth follow effect */
}

nav-body {
  margin: 0;
  background: black;
}

/* this is the background image */
.nav-container {
  position: relative;
  width: 100vw;
  height: 100vh;

  background-image: url("navigationpage.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.hotspot {
  position: absolute;
  cursor: pointer;
}

/* ABOUT — ID card */
.id {
  top: 38%;
  left: 50%;
  width: 18%;
  height: 10%;
}

/* LINKS — USB */
.usb {
  top: 10%;
  left: 55%;
  width: 10%;
  height: 10%;
}

/* FANPAGE — Earphones */
.earphones {
  top: 10%;
  left: 65%;
  width: 20%;
  height: 22%;
}

.links {
  background-color: LightSteelBlue}

.desktop {
  width: 1200px;
  height: 1000px;
  background: url('linksbackground.png') no-repeat center center;
  background-size: cover;

  /* center horizontally */
  margin: 0 auto;
  position: relative; /* optional, for z-index or positioning children */
}

/* Make all zones invisible but clickable */
.zone {
  position: absolute;
  display: block;
}

/* Adjust these coordinates to match each file on the screenshot */
.zone1 { top: 360px; left: 150px; width: 80px; height: 80px; }
.zone2 { top: 340px; left: 240px; width: 80px; height: 80px; }
.zone3 { top: 350px; left: 360px; width: 80px; height: 80px; }
.zone4 { top: 580px; left: 270px; width: 80px; height: 80px; }
.zone5 { top: 530px; left: 350px; width: 80px; height: 80px; }
.zone6 { top: 550px; left: 180px; width: 80px; height: 80px; }
.zone7 { top: 450px; left: 130px; width: 80px; height: 80px; }
.zone8 { top: 460px; left: 260px; width: 80px; height: 80px; }

/* Optional: show a faint border while testing */
.zone:hover {
  outline: 2px solid rgba(255,0,0,0.3);
}

/* Make body fill viewport and hide vertical scroll */
.aboutbody {
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow-x: auto;   /* allow horizontal scroll */
  overflow-y: hidden; /* prevent vertical scroll */
  white-space: nowrap; /* prevent line wrapping */
  background-color: red; /* optional background */
  scroll-behavior: smooth; /* smooth scrolling */
}

/* Horizontal container */
.horizontal-scroll {
  display: flex;
  height: 100vh;       /* fill screen vertically */
}

/* Each scroll item */
.scroll-item {
  flex: 0 0 auto;      /* do not shrink, keep original width */
  width: 30vw;         /* each item takes 80% of viewport width */
  height: 100%;        /* full height */
  margin: 0px;      /* space between items */
  display: flex;
  justify-content: center;
  align-items: center;
}

.scroll-item img {
  max-width: 80%;
  max-height: 90%;     /* keep some padding from top/bottom */
  object-fit: contain;
}


