/* =============================== */
/* GLOBAL / BODY */
/* =============================== */

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;

  background: url("bg.jpg") no-repeat center / cover fixed;
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
}


/* =============================== */
/* CUSTOM CURSOR */
/* =============================== */

#cursor {
  position: absolute;
  width: 45px;
  pointer-events: none;
  z-index: 9999;

  transform-origin: center bottom;
  transition: transform 0.12s cubic-bezier(.34,1.56,.64,1);
  filter: drop-shadow(0 0 6px hotpink);
}


/* =============================== */
/* MAIN CONTENT BOX */
/* =============================== */

.main-box {
  width: 700px;
  max-width: 90%;
  margin: 90px auto;
  padding: 20px;
  box-sizing: border-box;

  position: relative;
  overflow: hidden;
  border-radius: 15px;

  background: url("box-bg.png") no-repeat center / cover;
  border: 2px solid #ff69b4;
  box-shadow: 0 0 20px rgba(255,105,180,0.5);
}

/* soft pink overlay */
.main-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,182,193,0.3);
  z-index: 1;
  pointer-events: none;
}


/* =============================== */
/* HEADER */
/* =============================== */

.header {
  height: 200px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}


/* =============================== */
/* TEXT CONTENT */
/* =============================== */

.content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.content h1 {
  color: #ff69b4;
  margin-bottom: 10px;
}

.content p {
  font-size: 16px;
}

.content marquee {
  margin: 10px 0;
}


/* =============================== */
/* UPDATES BOX */
/* =============================== */

.updates-container {
  width: 260px;
  margin: 20px auto;
  padding: 10px;

  background: rgba(255,182,193,0.25);
  border: 2px solid #ff69b4;
  border-radius: 12px;

  overflow: hidden;
  position: relative;
  z-index: 2;
}

.updates-scroll {
  display: flex;
  flex-direction: column;
  animation: scrollUp 12s linear infinite;
}

@keyframes scrollUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(-100%); }
}

.update-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  margin: 5px 0;
  font-weight: bold;
  color: #fff;
}


/* =============================== */
/* SUPPORT BUTTONS */
/* =============================== */

.support img {
  width: 80px;
  margin: 5px;
  cursor: pointer;
  z-index: 2;
  position: relative;

  transition: transform 0.2s;
}

.support img:hover {
  transform: scale(1.1);
}


/* =============================== */
/* FOOTER */
/* =============================== */

.footer {
  margin-top: 20px;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 2;
}

.footer img {
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.footer p {
  font-size: 12px;
}


/* =============================== */
/* FLOATING DECOR */
/* =============================== */

#floating-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.floating-decor {
  position: absolute;
  width: 20px;
  animation: float linear infinite;
}

@keyframes float {
  from { transform: translateY(0); opacity: 1; }
  to   { transform: translateY(-1000px) translateX(40px); opacity: 0; }
}


/* =============================== */
/* CURSOR SPARKLES */
/* =============================== */

.sparkle-cursor {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;

  background: radial-gradient(circle, #fff, #ff69b4);
  animation: sparkle-fade 0.6s forwards;
}

@keyframes sparkle-fade {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: 0; transform: scale(2); }
}


/* =============================== */
/* TOP LACE */
/* =============================== */

.lace-top {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 70px;

  background: url("moli.png") repeat-x top / auto 70px;
  z-index: 99999;
  pointer-events: none;

  filter:
    drop-shadow(0 2px 6px rgba(135,206,250,0.5))
    drop-shadow(0 6px 14px rgba(135,206,250,0.35));
}


/* =============================== */
/* NAVIGATION */
/* =============================== */

.nav-box {
  position: absolute;
  top: 160px;
  right: 30px;

  width: 60px;
  max-height: 400px;
  padding: 5px;

  display: flex;
  flex-direction: column;
  gap: 14px;

  overflow-y: auto;
  border-radius: 8px;

  background: url("nav-bg1.png") center / cover no-repeat;
  border: 2px solid #a8d9ff;
  box-shadow:
    0 0 18px rgba(140,200,255,0.6),
    inset 0 0 12px rgba(255,255,255,0.4);

  z-index: 9999;
}

.nav-item {
  text-decoration: none;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;

  font-family: 'LEMON', cursive;
  font-size: 11px;
  color: #003e66;

  transition: transform 0.2s;
}

.nav-item img {
  width: 52px;
  height: 52px;
  transform: scale(1.1);
}

.nav-item span {
  margin-top: 4px;
  font-size: 18px;
  color: #ffb6d9;
  text-shadow:
    0 0 4px rgba(255,182,217,0.6),
    0 0 8px rgba(255,150,210,0.4);
}

.nav-item:hover {
  transform: translateY(-4px);
  filter: drop-shadow(0 0 10px rgba(150,210,255,0.9));
}


/* =============================== */
/* SCROLLBAR */
/* =============================== */

.nav-box::-webkit-scrollbar {
  width: 6px;
}

.nav-box::-webkit-scrollbar-track {
  background: rgba(255,182,217,0.2);
  border-radius: 6px;
}

.nav-box::-webkit-scrollbar-thumb {
  background: #ff69b4;
  border-radius: 6px;
}


/* =============================== */
/* CUSTOM FONT */
/* =============================== */

@font-face {
  font-family: 'LEMON';
  src: url('LEMON.otf') format('opentype');
}

/* ============================= */
/* Y2K STICKY MUSIC PLAYER */
/* ============================= */

.player {
  position: absolute;   /* glued to page, not screen */
  right: 20px;
  top: 600px;           /* adjust where it lives on the page */
  transform: scale(0.85);   /* try 0.9, 0.85, 0.8 */
  transform-origin: bottom right;
  width: 250px;
  z-index: 50;
  overflow:hidden;
  pointer-events: auto;

  font-family: "MS Sans Serif", Tahoma, sans-serif;
  font-size: 11px;

  background: url("player-bg.png"), #f6f0f5;
  background-size: cover;

  border: 2px solid #ff9acb;
  border-radius: 8px;

  box-shadow:
    0 0 16px rgba(255,150,210,0.9),
    inset 0 0 12px rgba(255,220,240,0.9);
}

.player::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 12px;

  background: linear-gradient(
    270deg,
    #ff4fd8,
    #ff9f4f,
    #fff94f,
    #4fff6a,
    #4fd8ff,
    #9f4fff,
    #ff4fd8
  );

  background-size: 400% 400%;
  animation: rainbowGlow 6s linear infinite;

  filter: blur(10px);
  opacity: 0.9;

  z-index: -1;
}

/* keep everything inside tidy */
.player * {
  box-sizing: border-box;
}


/* ============================= */
/* TITLE BAR */
/* ============================= */

.title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 4px 6px;

  background: linear-gradient(#ff9ad5, #ff6fb0);
  color: #4a0033;

  font-weight: bold;
  text-shadow: 0 0 6px #fff;
}


/* ============================= */
/* STATUS ICONS */
/* ============================= */

.status {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* signal bars */
.signal span {
  display: inline-block;
  width: 3px;
  margin-right: 1px;

  background: #ff2f92;
  box-shadow: 0 0 4px #ff9ad5;
}

.signal span:nth-child(1) { height: 4px; opacity: 0.4; }
.signal span:nth-child(2) { height: 6px; opacity: 0.6; }
.signal span:nth-child(3) { height: 8px; opacity: 0.8; }
.signal span:nth-child(4) { height: 10px; }

/* battery */
.battery {
  position: relative;
  width: 16px;
  height: 8px;
  border: 1px solid #4a0033;
}

.battery::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 2px;
  width: 2px;
  height: 4px;
  background: #4a0033;
}

.level {
  width: 70%;
  height: 100%;
  background: #ff2f92;
  box-shadow: 0 0 4px #ff9ad5;
}


/* ============================= */
/* NOW PLAYING TEXT */
/* ============================= */

.now-playing {
  margin: 4px 0;


  
  
  
  
  text-align: center;
  font-size: 10px;
  color: #ffffff;

  text-shadow:
    0 0 4px rgba(255,255,255,0.9),
    0 0 8px rgba(255,255,255,0.7),
    0 0 12px rgba(255,255,255,0.5);

  white-space: nowrap;
  overflow: hidden;

  animation:
    blink 1.2s steps(2) infinite,
    scroll-text 6s linear infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes scroll-text {
  from { transform: translateX(100%); }
  to   { transform: translateX(-100%); }
}


/* ============================= */
/* PLAYER CONTENT */
/* ============================= */

.player .content {
  display: flex;
  gap: 6px;
  padding: 6px;
  overflow: hidden;
}

/* album cover */
.cover {
  width: 65px;
  height: 65px;

  border: 2px inset #fff;
  box-shadow: 0 0 6px #ffb3e6;
}


/* ============================= */
/* CD DISC */
/* ============================= */

.cd {
  width: 40px;
  height: 40px;
  margin-top: 18px;

  filter: drop-shadow(0 0 8px #ff9ad5);
}

.spin {
  animation: spin 2.5s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* ============================= */
/* SONG INFO */
/* ============================= */

.info span {
    color: #ffffff;

  text-shadow:
    0 0 3px rgba(255,255,255,0.9),
    0 0 6px rgba(255,255,255,0.6);
}


/* ============================= */
/* CONTROLS */
/* ============================= */

.controls button {
  margin-right: 4px;
  padding: 2px 6px;

  font-size: 13px;
  cursor: pointer;

  color: #ff2f92;
  background: linear-gradient(#ffd6ec, #ffb3dd);
  border: 2px outset #fff;

  box-shadow: 0 0 8px rgba(255,120,200,0.9);
}

.controls button:active {
  border: 2px inset #fff;
}


/* ============================= */
/* FAKE PROGRESS BAR */
/* ============================= */

.progress {
  margin-top: 6px;
  height: 8px;

  background: #d0d0d0;
  border: 2px inset #fff;
  overflow: hidden;
}

.bar {
  width: 40%;
  height: 100%;

  background: linear-gradient(to right, #ff7ac8, #ffc1e8);
  box-shadow: 0 0 8px #ff8fd1;

  animation: fakeProgress 6s linear infinite;
}

@keyframes fakeProgress {
  from { transform: translateX(-100%); }
  to   { transform: translateX(300%); }
}

#musicBtn {
  margin-top: 4px;
  padding: 3px 6px;
  font-size: 11px;

  background: linear-gradient(#ffd6ec, #ffb3dd);
  border: 2px outset #fff;
  color: #ff2f92;
  cursor: pointer;

  box-shadow: 0 0 6px rgba(255,120,200,0.8);
}

#musicBtn:active {
  border: 2px inset #fff;
}

@keyframes rainbowGlow {
  0%   { background-position:   0% 50%; }
  100% { background-position: 400% 50%; }
}

