* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #060606;
  --card-bg: rgba(8, 8, 8, 1);
  --text: #f5f5f5;
  --muted: #9a9a9a;
  --border: rgba(255, 255, 255, 0.08);
}

body {
  height: 100vh;
  overflow: hidden;
  font-family: "Inter", sans-serif;
  background: linear-gradient(to bottom, #050505, #090909);
  color: white;
  cursor: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.025) 0px,
    rgba(255, 255, 255, 0.025) 1px,
    transparent 1px,
    transparent 20px
  );
  opacity: 0.35;
}

a,
button,
input {
  cursor: none !important;
  pointer-events: auto;
  position: relative;
  z-index: 100;
}

canvas {
  position: fixed;
  inset: 0;
  z-index: -3;
  filter: blur(0.3px);
  opacity: 0.6;
}
.noise {
  position: fixed;
  inset: 0;
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.05;
  pointer-events: none;
  z-index: 20;
}
.vignette {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at center,
    transparent 25%,
    rgba(0, 0, 0, 0.85)
  );
  pointer-events: none;
  z-index: 15;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 5px;
  height: 5px;
  background: white;
  border-radius: 50%;
  z-index: 10001;
}
.cursor-ring {
  width: 11px;
  height: 11px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  z-index: 10000;
}

.enter {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg);
  z-index: 9999;
  transition: opacity 1s ease;
}

.enter-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.3rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.8);
  text-transform: lowercase;
  animation: pulse 2.5s infinite ease-in-out;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

.scene {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  z-index: 25;
}

.tilt-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 30;
  width: min(820px, 90vw);
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

.tilt-wrapper:hover {
  transition: transform 0.2s ease-out;
}

.card,
.music-card {
  position: relative;
  background: var(--card-bg) !important;
  border: 1px solid var(--border);
  backdrop-filter: blur(28px) saturate(140%);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.card {
  padding: 38px;
  border-radius: 20px;
  transform: translateZ(20px);
}

.music-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px;
  border-radius: 24px;
  transform: translateZ(30px);
}

.top {
  display: flex;
  align-items: center;
  gap: 26px;
}
.avatar {
  width: 120px;
  height: 120px;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 6vw, 3rem);
  line-height: 0.9;
  margin-bottom: 20px;
  text-shadow: 0px 0px 15px rgba(145, 145, 145, 1);
}
.tag {
  margin-top: 5px;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.quote {
  text-align: center;
  margin-top: 38px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  line-height: 1.2;
}
.line {
  margin: 30px 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.link {
  text-decoration: none;
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: 0.35s;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  line-height: 1;
}
.link:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.footer {
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
}

.music-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 240px;
}
.cover-wrap {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  overflow: hidden;
}
.cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.music-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.music-title {
  font-size: 1rem;
  font-weight: 700;
}
.music-artist {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.15em;
}

.music-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.music-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.music-btn,
.music-play {
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease;
  cursor: none;
  transform: translateZ(10px);
}

.music-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.music-btn:hover {
  transform: translateY(-2px) translateZ(15px);
  background: rgba(255, 255, 255, 0.08);
}
.music-play {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: white;
  color: black;
}

/* Unified Sliders */
.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  outline: none;
  transition: background 0.3s;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  cursor: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.progress-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.progress-wrap span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  min-width: 38px;
}

.music-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.volume-slider {
  width: 90px;
}

@media (max-width: 900px) {
  body {
    overflow: auto;
  }
  .music-card {
    flex-direction: column;
  }
}

.copyright {
    position: fixed;
    bottom: 12px;
    right: 16px;
    font-size: 12px;
    color: rgba(155, 155, 155, 0.20);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 9999;
    pointer-events: none;
    text-shadow: 0 0 10px rgba(255,255,255,0.25);
}