body {
  font-family: "Chewy", system-ui, Arial, sans-serif;
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
  color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  min-height: 100vh;
  overflow-x: hidden;
  overflow: auto;
}

body::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

body {
  scrollbar-width: none;
}

.video-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  z-index: -1;
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.container {
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.container-horizontal {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: nowrap;
}

.container-horizontal .about,
.container-horizontal .player {
  flex: 1;
  min-width: 300px;
}

.card {
  position: relative;
  background: hsla(0, 0%, 7%, 0.116);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
  perspective: 1000px;
  transform-style: preserve-3d;
  backdrop-filter: blur(2px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  backface-visibility: hidden;
  transition: text-shadow 0.3s ease, color 0.3s ease;
}

.card:hover {
  box-shadow: 0 20px 40px rgba(0, 229, 255, 0.4);
  border-color: #00e5ff;
}

.card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.25),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover::after {
  opacity: 1;
}

.profile-box {
  text-align: center;
  position: relative;
}
.profile-box h1 {
  margin-top: 15px;
  font-size: 2rem;
  color: #00e5ff;
}
.profile-box p {
  color: #b0bec5;
}

.profile-pic {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #00e5ff;
}

.status {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.6);
  padding: 4px 10px;
  border-radius: 12px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.status-dot.online { background: #43b581; }
.status-dot.idle { background: #faa61a; }
.status-dot.dnd { background: #f04747; }
.status-dot.offline { background: #747f8d; }

.about h2 {
  color: #00bcd4;
}
.about p {
  margin-top: 10px;
  color: #cfd8dc;
  text-align: center;
}

.about {
  height: 230px;
  text-align: center;
  align-items: center;
  display: block;
  position: relative;
  font-size: 1.1rem;
}

.player {
  text-align: center;
  align-items: center;
  display: block;
  position: relative;
  height: 230px;
}
.track-info h2 { color: #00e5ff; }

.controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}
.controls button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 1.4rem;
}
.controls button:hover {
  background: rgba(0,229,255,0.15);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(0,229,255,0.4);
}
.controls button i {
  pointer-events: none;
  transition: transform 0.2s ease, color 0.2s ease;
}
.controls button:hover i {
  transform: scale(1.2);
}

.progress-container {
  width: 100%;
  background: #333;
  height: 8px;
  border-radius: 4px;
  cursor: pointer;
  margin: 15px 0;
  position: relative;
}
.progress {
  background: #00e5ff;
  height: 100%;
  width: 0%;
  border-radius: 4px;
}
.time {
  font-size: 0.8rem;
  color: #b0bec5;
  display: flex;
  justify-content: space-between;
}

.player .volume-control {
  position: fixed;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  padding: 6px 10px;
  border-radius: 50px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.volume-control .volume-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #00e5ff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
}

.volume-control .volume-icon:hover {
  background: rgba(0, 229, 255, 0.15);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(0, 229, 255, 0.4);
}

.volume-control input[type="range"] {
  -webkit-appearance: none;
  width: 0;
  opacity: 0;
  pointer-events: none;
  height: 6px;
  border-radius: 4px;
  background: #333;
  transition: width 220ms ease, opacity 200ms ease;
}

.volume-control:hover input[type="range"] {
  width: 75px;
  opacity: 1;
  pointer-events: auto;
}

.volume-control input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: rgb(0, 0, 0);
  border-radius: 4px;
}

.volume-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #ffffff;
  margin-top: -4px;
  transition: transform 0.15s;
}

.volume-control input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.05);
}

.volume-control input[type="range"]::-moz-range-track {
  height: 6px;
  background: linear-gradient(90deg, #000000, #000000);
  border-radius: 4px;
}

.volume-control input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #000000;
  border: 2px solid #111;
}

#enterScreen {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
#enterScreen h1 { font-size:3rem; color:#3d3d3d; margin-bottom:10px; text-align:center; }
#enterScreen p { font-size:1.2rem; color:#ccc; text-align: center; }
#enterScreen.fadeOut { opacity:0; transition:opacity 0.8s ease; pointer-events:none; }

.profile-box .social-links {
  display:flex;
  justify-content:center;
  gap:15px;
  margin-top:15px;
}
.profile-box .social-btn {
  width:50px; height:50px; border-radius:50%;
  display:flex; justify-content:center; align-items:center;
  background: hsla(0,0%,7%,0.116);
  border:2px solid rgba(255,255,255,0.2);
  box-shadow:0 10px 25px rgba(0,0,0,0.6);
  color:#00e5ff;
  font-size:1.3rem;
  text-decoration:none;
  transition:all 0.25s ease;
  backdrop-filter: blur(5px);
  backface-visibility: hidden;
}
.profile-box .social-btn:hover {
  background: hsla(0,0%,7%,0.2);
  border-color:#00e5ff;
  color:#00e5ff;
  box-shadow:0 20px 40px rgba(0,229,255,0.4);
  transform: scale(1.05);
}

.playlist-container {
  width: 100%;
  max-width: 1000px;
  background: hsla(0, 0%, 7%, 0.116);
  border-radius: 20px;
  padding: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  margin-top: 20px;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  max-height: 50px;
  cursor: pointer;
}

.playlist-container.expanded {
  max-height: 400px;
  padding: 15px;
}

.playlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: bold;
  color: #00e5ff;
  margin-bottom: 10px;
}

.playlist-songs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  max-height: 340px;
}

.playlist-songs .song {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}

.playlist-songs .song:hover {
  background: rgba(0, 229, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
}

.song img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.song-info {
  display: flex;
  flex-direction: column;
}

.song-info .title {
  font-weight: 600;
  color: #00e5ff;
}

.song-info .artist {
  font-size: 0.85rem;
  color: #cfd8dc;
}

.playlist-songs {
  overflow-y: auto;
  scrollbar-width: none;
}

.playlist-songs::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

@media (max-width: 768px) {
  /* Hide music player and playlist */
  .player,
  .playlist-container,
  .volume-control {
    display: none !important;
  }

  /* Make container single-column */
  .container-horizontal {
    flex-direction: column;
    align-items: center;
  }

  /* Reduce gaps */
  .container {
    gap: 20px;
    padding: 15px;
  }

  .about {
    height: auto;
  }

  .status {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.6);
  padding: 4px 10px;
  border-radius: 12px;
  }

  .video-bg video {
    display: none !important;
  }

  body {
    background: url('images/iphone.jpg') center/cover no-repeat;
    background-size: cover;
  }
}

/* Tooltip Container */
.tooltip {
  position: relative;
  display: inline-block;
}

/* Tooltip Text */
.tooltip .tooltip-text {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 125%; /* Position above icon */
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

/* Show on Hover */
.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}
