/* ============================================================
   GLOBAL CINEMATIC LOOK
   ============================================================ */
body {
  background: #05060a;
  margin: 0;
  padding: 0 20px;
  color: #e9edf4;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  overflow-x: hidden;
  text-align: center;
}

/* ============================================================
   MOVING BACKDROP + LIGHT BEAM
   ============================================================ */
.backdrop {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(22, 31, 55, 0.8), #05060a 70%);
  z-index: -3;
  animation: slowShift 25s infinite alternate ease-in-out;
}

@keyframes slowShift {
  0% {
    transform: translateY(0px) scale(1.0);
  }

  100% {
    transform: translateY(-40px) scale(1.03);
  }
}

.lightbeam {
  position: fixed;
  top: -50%;
  left: -10%;
  width: 150%;
  height: 200%;
  background: linear-gradient(130deg, rgba(94, 224, 255, 0.05) 0%, rgba(94, 224, 255, 0.0) 45%);
  transform: rotate(-8deg);
  animation: sweep 14s infinite linear;
  z-index: -1;
}

@keyframes sweep {
  0% {
    transform: translateX(-30%) rotate(-8deg);
  }

  100% {
    transform: translateX(30%) rotate(-8deg);
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: 80px;
  padding-bottom: 50px;
}

.title {
  font-size: 62px;
  font-weight: 700;
  letter-spacing: -1px;
  background: linear-gradient(90deg, #ffffff, #cfefff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.title span {
  color: #5ee0ff;
}

.subtitle {
  margin-top: 10px;
  font-size: 20px;
  opacity: 0.85;
}

.subtitle span {
  color: #5ee0ff;
}

/* ============================================================
   CINEMATIC CARD GLOW
   ============================================================ */
.cinematic-card {
  position: relative;
  backdrop-filter: blur(12px);
  background: rgba(20, 22, 26, 0.45);
  border: 1px solid rgba(90, 110, 130, 0.25);
  padding: 30px;
  border-radius: 20px;
  max-width: 600px;
  margin: 25px auto;
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(110, 200, 255, 0.05);
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.cinematic-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 6px 28px rgba(0, 0, 0, 0.45),
    0 0 18px rgba(110, 200, 255, 0.15);
}

/* DROP ZONE */
.dropzone {
  cursor: pointer;
}

.dropzone .dz-icon {
  font-size: 70px;
  margin-bottom: 10px;
}

.dropzone .dz-text {
  font-size: 20px;
  opacity: 0.9;
}

.dropzone .dz-text span {
  font-size: 16px;
  opacity: 0.6;
}

/* DRAGOVER SHIMMER */
.dz-shimmer {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(94, 224, 255, 0.08), rgba(94, 224, 255, 0.0));
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.dropzone.dragover .dz-shimmer {
  opacity: 1;
  animation: shimmerMove 1.2s infinite linear;
}

@keyframes shimmerMove {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

/* ============================================================
   URL BAR
   ============================================================ */
.url-bar {
  display: flex;
  gap: 12px;
}

.url-bar input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(80, 100, 120, 0.4);
  outline: none;
  color: #e9edf4;
  font-size: 16px;
}

.url-bar input:focus {
  border-color: #5ee0ff;
  box-shadow: 0 0 8px rgba(94, 224, 255, 0.4);
}

.url-bar button {
  padding: 14px 20px;
  border-radius: 14px;
  background: #5ee0ff;
  font-weight: 600;
  font-size: 16px;
  color: #020408;
  border: none;
  cursor: pointer;
  transition: 0.15s;
}

.url-bar button:hover {
  transform: translateY(-2px);
}

/* ============================================================
   RESULTS PANEL — CINEMATIC STACK
   ============================================================ */
.results {
  max-width: 650px;
  margin: 40px auto;
  text-align: left;
}

.results-title {
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 600;
}

.results-list {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(15, 17, 22, 0.65);
  border: 1px solid rgba(110, 130, 155, 0.25);
}

.track-item {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(110, 130, 155, 0.18);
  animation: slideIn 0.35s ease forwards;
}

.track-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.track-link a {
  color: #5ee0ff;
}

/* ============================================================
   PLAYLIST BUTTON (CINEMATIC CTA)
   ============================================================ */
.make-btn {
  margin-top: 22px;
  padding: 18px;
  width: 100%;
  font-size: 20px;
  font-weight: 700;
  border-radius: 16px;
  background: #5ee0ff;
  color: #020408;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(110, 200, 255, 0.35);
  transition: 0.25s ease;
}

.make-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 7px 24px rgba(110, 200, 255, 0.5),
    0 0 18px rgba(94, 224, 255, 0.4);
}

.make-btn.hidden {
  display: none;
}