@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* 🧩 Tambahan penting untuk hilangkan scroll putih */
html, body {
  width: 100%;
  height: 100%;
  overflow: hidden; /* ini kunci agar tidak bisa geser dan putihnya hilang */
}

body {
  display: flex;
  background: url('background 2.jpg') no-repeat center center/cover;
  color: #fff;
}

/* SIDEBAR */
.sidebar {
  width: 70px;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-radius: 0 20px 20px 0;
  backdrop-filter: blur(5px);
}

.sidebar a {
  color: white;
  font-size: 26px;
  margin: 15px 0;
  transition: 0.3s;
}

.sidebar a:hover {
  color: #00b894;
}

.sidebar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* MAIN CONTENT */
.main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(100% - 70px);
  padding: 0 60px;
}

.text-section {
  max-width: 45%;
}

.text-section h2 {
  font-weight: 300;
  font-size: 1.8rem;
}

.text-section h1 {
  font-size: 4.5rem;
  line-height: 1.1;
}

.text-section p {
  font-size: 1.1rem;
  margin-top: 10px;
  opacity: 0.8;
}

.main-photo img {
  margin-top: 25px;
  width: 420px;
  border-radius: 15px;
  transition: 0.4s ease;
  cursor: pointer;
}

.main-photo img:hover {
  transform: scale(1.05);
}

/* KOLEKSI */
.collection {
width: 420px;
background: rgba(0, 0, 0, 0.5);
border-radius: 20px;
padding: 20px;
backdrop-filter: blur(10px);
}

.collection .header {
display: flex;
justify-content: space-between;
align-items: center;
}

.collection h3 {
font-size: 1.3rem;
}

.scroll-section {
margin-top: 15px;
max-height: 65vh;
overflow-y: auto;
}

.category {
margin-bottom: 20px;
}

.category h4 {
margin-bottom: 8px;
font-weight: 500;
}

.scroll-images {
display: flex;
gap: 10px;
overflow-x: auto;
scroll-behavior: smooth;
}

.scroll-images::-webkit-scrollbar {
height: 5px;
}
.scroll-images::-webkit-scrollbar-thumb {
background: #ccc;
border-radius: 10px;
}

.scroll-images img {
width: 110px;
height: 80px;
border-radius: 10px;
object-fit: cover;
transition: 0.3s;
cursor: pointer;
}
.scroll-images img:hover {
transform: scale(1.08);
}

.footer {
display: flex;
justify-content: flex-end;
margin-top: 15px;
}

.explore {
background: white;
color: black;
border: none;
border-radius: 30px;
padding: 8px 20px;
cursor: pointer;
font-weight: 600;
display: flex;
align-items: center;
gap: 5px;
transition: 0.3s;
}
.explore:hover {
background: #00b894;
color: white;
}


/* RESPONSIVE HP */
@media (max-width: 768px) {
  body {
    flex-direction: column;
    height: auto;
  }

  .sidebar {
    flex-direction: row;
    width: 100%;
    height: 70px;
    border-radius: 0;
    justify-content: space-around;
  }

  .main {
    flex-direction: column;
    padding: 20px;
  }

  .text-section {
    max-width: 100%;
    text-align: center;
  }

  .main-photo img {
    width: 90%;
  }

  .collection {
    width: 100%;
    margin-top: 20px;
  }
}

.scroll-section {
  margin-top: 15px;
  max-height: 65vh;
  overflow-y: auto; /* biarkan scroll vertikal di sini tetap aktif */
}

.scroll-images {
  display: flex;
  gap: 10px;
  overflow-x: auto; /* scroll kanan kiri tetap aktif */
  scroll-behavior: smooth;
}

/* Hilangkan scrollbar tapi scroll tetap bisa */
.scroll-images::-webkit-scrollbar {
  display: none;
}
.scroll-section::-webkit-scrollbar {
  width: 0;
}

/* === MODERN MUSIC PLAYER === */
.music-player {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 450px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(25px);
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  color: #fff;
  z-index: 30;
}

.music-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.music-left img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
}

.music-text h4 {
  font-size: 14px;
  font-weight: 600;
}

.music-text p {
  font-size: 11px;
  opacity: 0.8;
}

/* center controls */
.music-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.progress-container {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.progress-container span {
  font-size: 10px;
  opacity: 0.7;
}

#progress {
  flex: 1;
  appearance: none;
  height: 4px;
  border-radius: 10px;
  background: rgba(255,255,255,0.3);
  outline: none;
}

#progress::-webkit-slider-thumb {
  appearance: none;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
}

.music-controls {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.music-controls button {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.music-right i {
  font-size: 22px;
  opacity: 0.8;
}

/* responsive */
@media (max-width: 500px) {
  .music-player {
    width: 90%;
    padding: 12px;
  }
  .music-left img {
    width: 40px;
    height: 40px;
  }
  .music-text h4 {
    font-size: 13px;
  }
  
  #progress {
  flex: 1;
  appearance: none;
  height: 5px;
  border-radius: 10px;
  background: linear-gradient(90deg, #f7c7a3, #ffd3b6);
  outline: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

#progress::-webkit-slider-thumb {
  appearance: none;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
}
}

/* ==== VIDEO BACKGROUND ==== */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;     /* biar videonya full layar */
  z-index: -1;           /* di belakang semua elemen */
  filter: brightness(0.6); /* sedikit gelap biar teks terlihat jelas */
}

