:root {
  --text: #ffffff;
  --text-muted: rgba(255,255,255,0.7);
  --text-dim: rgba(255,255,255,0.5);
  --bg-overlay: rgba(255,255,255,0.2);
  --border: rgba(255,255,255,0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none !important;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: #000;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

#enterScreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #393939;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.6s ease, backdrop-filter 0.6s ease;
}

#enterScreen.fade {
  background: rgba(57, 57, 57, 0.15);
  backdrop-filter: blur(20px);
}

#enterScreen.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.enter-text {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

#enterScreen.hidden .enter-text {
  transform: translateY(-50px);
  opacity: 0;
}

#cursor {
  position: fixed;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  box-shadow: 0 0 10px rgba(255,255,255,0.8), 0 0 20px rgba(255,255,255,0.4);
  transform: translate(-50%, -50%);
}

#bgVideo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
}

#snow {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.6s ease;
}

#snow.show {
  opacity: 1;
}

.volume-control {
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--bg-overlay);
  border: 2px solid var(--border);
  border-radius: 15px;
  padding: 12px;
  backdrop-filter: blur(12px);
  width: 50px;
  height: 50px;
  transition: width 0.35s ease;
  overflow: hidden;
}

.volume-control:hover,
.volume-control.expanded {
  width: 200px;
}

.volume-btn {
  background: none;
  border: none;
  color: var(--text);
  width: 24px;
  height: 24px;
  padding: 0;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 0.9;
}

.volume-btn:hover {
  opacity: 1;
}

.volume-btn svg {
  width: 100%;
  height: 100%;
}

.volume-slider-wrapper {
  position: relative;
  flex: 1;
  max-width: 114px;
  height: 100%;
  display: flex;
  align-items: center;
}

.volume-track {
  position: absolute;
  width: 100%;
  height: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 999px;
  overflow: hidden;
}

.volume-fill {
  height: 100%;
  width: 100%;
  background: var(--text);
  border-radius: 999px;
}

#volumeSlider {
  position: relative;
  width: 100%;
  height: 20px;
  background: transparent;
  appearance: none;
  z-index: 1;
}

#volumeSlider::-webkit-slider-thumb {
  appearance: none;
  width: 0;
  height: 0;
}

#volumeSlider::-moz-range-thumb {
  width: 0;
  height: 0;
  border: none;
}

.container {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.container.show {
  opacity: 1;
  transform: translateY(0);
}

.profile-card {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
}

.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding-bottom: 50px;
}

.avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.profile-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.username {
  font-size: 39.5px;
  font-weight: 600;
  line-height: 1;
  text-shadow: 0 0 16px rgba(255,255,255,0.9);
}

.bio {
  font-size: 19px;
  font-weight: 570;
  color: var(--text);
}

.location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 450;
  color: var(--text-muted);
  margin-top: 4px;
}

.location svg {
  width: 20px;
  height: 20px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: transform 0.2s;
  filter: drop-shadow(0 0 7px rgba(255,255,255,0.7));
}

.social-icon:hover {
  transform: scale(1.1);
}

.social-icon svg {
  width: 40px;
  height: 40px;
}

.profile-views {
  position: absolute;
  bottom: 12px;
  left: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 550;
}

.profile-views svg {
  width: 20px;
  height: 20px;
}

.media-player {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  max-width: 720px;
  padding: 15px;
  border-radius: 20px;
}

.cover-art {
  width: 65px;
  height: 65px;
  border-radius: calc(20px - 10px);
  object-fit: cover;
  flex-shrink: 0;
}

.track-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.track-title {
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.track-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.track-timeline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16.5px;
  font-weight: 400;
  color: var(--text-dim);
  flex: 1;
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.progress-fill {
  width: 0;
  height: 100%;
  background: var(--text);
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.control-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  padding: 0;
  display: flex;
  align-items: center;
  opacity: 1;
  transition: color 0.2s;
}

.control-btn:hover {
  color: rgba(255,255,255,0.8);
}

.control-btn svg {
  width: 28px;
  height: 28px;
}

.play-btn {
  color: #fff;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.8));
}

.play-btn svg {
  width: 36px;
  height: 36px;
}

@media (max-width: 640px) {
  .username {
    font-size: 32px;
  }
  .bio {
    font-size: 16px;
  }
  .avatar {
    width: 120px;
    height: 120px;
  }
  .media-player {
    gap: 12px;
  }
  .cover-art {
    width: 56px;
    height: 56px;
  }
  .volume-control {
    top: 10px;
    left: 10px;
    padding: 6px 10px;
  }
}
