/* zaz.wtf — zextrah-style intro page */

:root {
  --bg: #08080a;
  --bg-deep: #030304;
  --card: rgba(18, 18, 22, 0.08);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-muted: #a0a0a8;
  --glow: rgba(255, 255, 255, 0.9);
  --glow-soft: rgba(255, 255, 255, 0.4);
  --accent: #6b8fdf;
}

* {
  box-sizing: border-box;
}

html, body {
  background: transparent;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem 2rem 2rem 4rem;
}

.background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: transparent;
  z-index: 1;
}
.background.no-video {
  background: 
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(20, 45, 70, 0.6) 0%, transparent 55%),
    radial-gradient(ellipse 120% 100% at 50% 100%, rgba(15, 30, 50, 0.4) 0%, transparent 55%),
    #050508;
}

/* Video wrapper - full viewport, fills entire screen */
.video-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  min-width: 100vw;
  min-height: 100vh;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
body.no-video .video-wrapper { display: none; }

/* Easter egg: 5 clicks on profile = ee.gif background */
.ee-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: none;
  pointer-events: none;
}
body.ee-active .ee-bg {
  display: block;
}
.ee-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark overlay so card stays readable over video */
.background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(5, 10, 20, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse 100% 100% at 50% 50%, rgba(0, 0, 0, 0.35) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* Fallback when no video loads */
body.no-video .background {
  background: 
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(20, 45, 70, 0.6) 0%, transparent 55%),
    radial-gradient(ellipse 120% 100% at 50% 100%, rgba(15, 30, 50, 0.4) 0%, transparent 55%),
    #050508;
}
body.no-video .background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(20, 45, 70, 0.6) 0%, rgba(10, 25, 40, 0.3) 50%, transparent 100%);
  z-index: -1;
}

/* Enter overlay - gate for autoplay (browsers require user interaction) */
.enter-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 8, 12, 0.75);
  cursor: pointer;
  transition: opacity 0.4s ease;
}
.enter-overlay.hidden {
  pointer-events: none;
  opacity: 0;
}
.enter-overlay span {
  color: var(--text-muted);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

/* Easter egg: 5 clicks on profile picture */
.ee-bg {
  position: fixed;
  inset: 0;
  z-index: 0.5;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.ee-bg.active,
body.ee-active .ee-bg {
  opacity: 1;
  visibility: visible;
}
.ee-bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.0);
}

/* Content area - middle left */
.content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  z-index: 1;
  position: relative;
}

/* Content area - middle left */
.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 480px;
}

.card {
  position: relative;
  z-index: 1;
  max-width: 440px;
  width: 100%;
  padding: 2.5rem;
  background: var(--card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  text-align: center;
}

.profile {
  margin-bottom: 1.75rem;
}

.profile-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: fill;
  display: block;
  margin: 0 auto 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.08);
}

.profile-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  background: rgba(40, 40, 48, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: none;
}

.profile-placeholder.show {
  display: block;
}

.profile h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--text);
  text-shadow:
    0 0 20px var(--glow),
    0 0 40px var(--glow-soft),
    0 0 60px var(--glow-soft);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s, transform 0.2s, filter 0.2s;
}

.social-links a:hover {
  color: #fff;
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px var(--glow-soft));
}

.social-links img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Uniform scale - compensates for varying padding/composition in PNGs */
.social-links a:nth-child(1) img { transform: scale(1.2); }   /* GitHub */
.social-links a:nth-child(2) img { transform: scale(1.2); }   /* Discord */
.social-links a:nth-child(3) img { transform: scale(0.80); }  /* Steam */
.social-links a:nth-child(4) img { transform: scale(1.0); }    /* Spotify */
.social-links a:nth-child(5) img { transform: scale(1.1); }    /* X */

.entry {
  padding-top: 1.5rem;
  border-top: 1px solid var(--card-border);
}

.entry p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Content area - middle left */
.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 480px;
}

/* Music player - sleek dark style */
.music-player {
  background: rgba(18, 18, 22, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  gap: 1.25rem;
}
.player-album {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.album-art {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background: linear-gradient(135deg, #5b9cf5 0%, #3b7cd4 50%, #2a5a9e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.album-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.album-art:has(img)::before,
.album-art:has(img)::after {
  display: none;
}
.album-art::before {
  content: "";
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
}
.album-art::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
}
.track-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
.track-artist {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.player-controls {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
}
.waveform {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 32px;
}
.waveform span {
  width: 4px;
  background: var(--accent);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
}
.waveform span:nth-child(1) { height: 8px; animation-delay: 0s; }
.waveform span:nth-child(2) { height: 18px; animation-delay: 0.1s; }
.waveform span:nth-child(3) { height: 12px; animation-delay: 0.2s; }
.waveform span:nth-child(4) { height: 24px; animation-delay: 0.3s; }
.waveform span:nth-child(5) { height: 10px; animation-delay: 0.4s; }
.waveform span:nth-child(6) { height: 20px; animation-delay: 0.5s; }
.waveform span:nth-child(7) { height: 14px; animation-delay: 0.6s; }
.waveform span:nth-child(8) { height: 22px; animation-delay: 0.7s; }
.waveform span:nth-child(9) { height: 16px; animation-delay: 0.8s; }
.waveform span:nth-child(10) { height: 26px; animation-delay: 0.9s; }
.waveform span:nth-child(n+11) { height: 12px; background: rgba(255,255,255,0.2); }
/* Disable CSS animation when JS drives bar heights (audio-reactive) */
.waveform.waveform--reactive {
  height: 28px;
}
.waveform.waveform--reactive span {
  animation: none !important;
  background: rgba(255,255,255,0.2);
}
.waveform.waveform--reactive span {
  background: var(--accent);
}
.waveform.waveform--reactive {
  height: 28px;
}
.waveform.waveform--reactive {
  height: 28px;
}
@keyframes wave {
  0%, 100% { transform: scaleY(0.6); }
  50% { transform: scaleY(1); }
}
.progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}
.progress-fill {
  height: 100%;
  width: 65%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.1s;
}
.progress-head {
  position: absolute;
  left: 65%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}
.time-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.player-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}
.btn-icon, .btn-play {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 50%;
  transition: color 0.2s, transform 0.2s;
}
.btn-icon:hover, .btn-play:hover {
  color: #fff;
  transform: scale(1.1);
}
.btn-play {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  padding-left: 3px;
}

/* Content wrapper - middle-left layout */
.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 440px;
}

/* Music player - dark theme like reference */
.music-player {
  background: var(--card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.5rem;
  min-width: 360px;
}

.player-album {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: center;
}

.album-art {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background: linear-gradient(135deg, #5b9bd5 0%, #2d6db5 50%, #1a4a7a 100%);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.album-art::before {
  content: "";
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0,0,0,0.3);
  border: 3px solid rgba(255,255,255,0.3);
}

.album-art::after {
  content: "";
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1a4a7a;
}

.track-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.track-artist {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.player-controls {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.waveform {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  height: 32px;
}

.waveform span {
  width: 4px;
  min-height: 8px;
  background: var(--accent);
  border-radius: 2px;
  display: block;
  animation: wave 1.2s ease-in-out infinite;
}

.waveform span:nth-child(1) { height: 12px; animation-delay: 0s; }
.waveform span:nth-child(2) { height: 24px; animation-delay: 0.1s; }
.waveform span:nth-child(3) { height: 18px; animation-delay: 0.2s; }
.waveform span:nth-child(4) { height: 28px; animation-delay: 0.3s; }
.waveform span:nth-child(5) { height: 14px; animation-delay: 0.4s; }
.waveform span:nth-child(6) { height: 22px; animation-delay: 0.5s; }
.waveform span:nth-child(7) { height: 20px; animation-delay: 0.6s; }
.waveform span:nth-child(8) { height: 26px; animation-delay: 0.7s; }
.waveform span:nth-child(9) { height: 16px; animation-delay: 0.8s; }
.waveform span:nth-child(10) { height: 24px; animation-delay: 0.9s; }
.waveform span:nth-child(11) { height: 10px; animation-delay: 0.1s; background: rgba(255,255,255,0.2); }
.waveform span:nth-child(12) { height: 20px; animation-delay: 0.2s; background: rgba(255,255,255,0.2); }
.waveform span:nth-child(13) { height: 14px; animation-delay: 0.3s; background: rgba(255,255,255,0.2); }
.waveform span:nth-child(14) { height: 18px; animation-delay: 0.4s; background: rgba(255,255,255,0.2); }
.waveform span:nth-child(15) { height: 12px; animation-delay: 0.5s; background: rgba(255,255,255,0.2); }
.waveform span:nth-child(16) { height: 22px; animation-delay: 0.6s; background: rgba(255,255,255,0.2); }
.waveform span:nth-child(17) { height: 16px; animation-delay: 0.7s; background: rgba(255,255,255,0.2); }
.waveform span:nth-child(18) { height: 24px; animation-delay: 0.8s; background: rgba(255,255,255,0.2); }
.waveform span:nth-child(19) { height: 14px; animation-delay: 0.9s; background: rgba(255,255,255,0.2); }
.waveform span:nth-child(20) { height: 20px; animation-delay: 0.1s; background: rgba(255,255,255,0.2); }

@keyframes wave {
  0%, 100% { transform: scaleY(0.7); }
  50% { transform: scaleY(1); }
}

.progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.progress-fill {
  height: 100%;
  width: 65%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.2s;
}

.progress-head {
  position: absolute;
  left: 65%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.time-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.player-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.btn-icon, .btn-play {
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s, transform 0.2s;
}

.btn-icon:hover, .btn-play:hover {
  color: #fff;
  transform: scale(1.1);
}

.btn-play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* Content wrapper - middle-left layout */
.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

/* Music player - dark theme like reference */
.music-player {
  display: flex;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(18, 18, 22, 0.4);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  min-width: 420px;
  max-width: 500px;
}

.player-album {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}

.album-art {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background: linear-gradient(135deg, #5b9cf5 0%, #3d7fd9 50%, #2a5fb0 100%);
  position: relative;
}

.album-art::before {
  content: "";
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #7ab8ff, #2a5fb0);
  border: 3px solid rgba(0, 0, 0, 0.3);
}

.album-art::after {
  content: "";
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1a1a24;
}

.track-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.track-artist {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.player-controls {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  min-width: 0;
}

.waveform {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 32px;
  margin-bottom: 0.25rem;
}

.waveform span {
  width: 4px;
  background: var(--accent);
  border-radius: 2px;
  height: 40%;
  min-height: 6px;
}

.waveform span:nth-child(odd) { height: 65%; }
.waveform span:nth-child(3n) { height: 85%; }
.waveform span:nth-child(5n) { height: 50%; }
.waveform span:nth-child(7n) { height: 70%; }

.progress-bar {
  position: relative;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  cursor: pointer;
  overflow: visible;
}

.progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 65%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.1s;
}

.progress-head {
  position: absolute;
  left: 65%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(107, 143, 223, 0.6);
  pointer-events: none;
}

.time-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.player-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.btn-icon, .btn-play {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.35rem;
  transition: color 0.2s, transform 0.15s;
  border-radius: 4px;
}

.btn-icon:hover, .btn-play:hover {
  color: #fff;
}

.btn-play {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
}

.btn-play:hover {
  transform: scale(1.05);
}

/* Content wrapper - middle left layout */
.content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 480px;
}

/* Music player - sleek dark style */
.music-player {
  background: rgba(18, 18, 22, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  min-width: 360px;
}
.player-album {
  flex-shrink: 0;
}
.album-art {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  background: linear-gradient(135deg, #5b9cf5 0%, #3d7fd9 50%, #2a5fa8 100%);
  position: relative;
  margin-bottom: 0.75rem;
}
.album-art::after {
  content: "";
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a8ee8 0%, #2a5fa8 100%);
  box-shadow: inset 0 0 0 4px #1a3a5c;
}
.track-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
.track-artist {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.player-controls {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}
.waveform {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 32px;
}
.waveform span {
  width: 4px;
  background: linear-gradient(to top, var(--accent), rgba(255,255,255,0.4));
  border-radius: 2px;
  animation: wave 1s ease-in-out infinite alternate;
}
.waveform span:nth-child(odd) { height: 60%; }
.waveform span:nth-child(2n) { height: 85%; animation-delay: 0.1s; }
.waveform span:nth-child(3n) { height: 45%; animation-delay: 0.2s; }
.waveform span:nth-child(5n) { height: 70%; animation-delay: 0.15s; }
.waveform span:nth-child(7n) { height: 90%; animation-delay: 0.05s; }
@keyframes wave { to { transform: scaleY(0.7); } }
.progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 65%;
  background: var(--accent);
  border-radius: 2px;
}
.progress-head {
  position: absolute;
  left: 65%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.3);
}
.time-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.player-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.btn-icon, .btn-play {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.35rem;
  transition: color 0.2s, transform 0.2s;
}
.btn-icon:hover, .btn-play:hover {
  color: #fff;
  transform: scale(1.1);
}
.btn-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* Content area - middle left */
.content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 480px;
}

/* Music player - dark sleek style */
.music-player {
  background: rgba(18, 18, 24, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.player-album {
  flex-shrink: 0;
}
.album-art {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4a9eff 0%, #2d6fc9 50%, #1a4a8a 100%);
  margin-bottom: 0.5rem;
  position: relative;
}
.album-art::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  background: transparent;
}
.track-info {
  color: var(--text);
}
.track-title { font-weight: 600; font-size: 1rem; }
.track-artist { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.15rem; }
.player-controls {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.waveform {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
}
.waveform span {
  width: 4px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.8;
}
.waveform span:nth-child(1) { height: 40%; }
.waveform span:nth-child(2) { height: 70%; }
.waveform span:nth-child(3) { height: 100%; }
.waveform span:nth-child(4) { height: 60%; }
.waveform span:nth-child(5) { height: 90%; }
.waveform span:nth-child(6) { height: 50%; }
.waveform span:nth-child(7) { height: 80%; }
.waveform span:nth-child(8) { height: 45%; }
.waveform span:nth-child(9) { height: 95%; }
.waveform span:nth-child(10) { height: 55%; }
.waveform span:nth-child(11) { height: 65%; }
.waveform span:nth-child(12) { height: 75%; }
.waveform span:nth-child(13) { height: 85%; }
.waveform span:nth-child(14) { height: 35%; }
.waveform span:nth-child(15) { height: 60%; }
.waveform span:nth-child(16) { height: 90%; }
.waveform span:nth-child(17) { height: 50%; }
.waveform span:nth-child(18) { height: 70%; }
.waveform span:nth-child(19) { height: 40%; }
.waveform span:nth-child(20) { height: 80%; }
.progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 65%;
  background: var(--accent);
  border-radius: 3px;
}
.progress-head {
  position: absolute;
  left: 65%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}
.time-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.player-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.btn-icon, .btn-play {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  font-size: 1rem;
  padding: 0.35rem;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}
.btn-icon:hover, .btn-play:hover {
  color: #fff;
}
.btn-play {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  font-size: 1.1rem;
  margin: 0 0.25rem;
}
.btn-play:hover { background: rgba(255,255,255,0.25); }

/* Content area - middle left */
.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 480px;
}

/* Music player - dark sleek style */
.music-player {
  background: var(--card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.player-album {
  flex-shrink: 0;
}
.album-art {
  width: 88px;
  height: 88px;
  border-radius: 10px;
  background: linear-gradient(145deg, #5b9cf5 0%, #3a7bd5 50%, #2a5a9e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.album-art::before {
  content: "";
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.3);
}
.track-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.track-artist {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.player-controls {
  flex: 1;
  min-width: 0;
}
.waveform {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 36px;
  margin-bottom: 0.5rem;
}
.waveform span {
  width: 4px;
  min-height: 4px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.9;
  animation: wave 0.8s ease-in-out infinite alternate;
}
.waveform span:nth-child(1) { height: 12px; animation-delay: 0s; }
.waveform span:nth-child(2) { height: 24px; animation-delay: 0.05s; }
.waveform span:nth-child(3) { height: 18px; animation-delay: 0.1s; }
.waveform span:nth-child(4) { height: 28px; animation-delay: 0.15s; }
.waveform span:nth-child(5) { height: 14px; animation-delay: 0.2s; }
.waveform span:nth-child(6) { height: 20px; animation-delay: 0.25s; }
.waveform span:nth-child(7) { height: 32px; animation-delay: 0.3s; }
.waveform span:nth-child(8) { height: 16px; animation-delay: 0.35s; }
.waveform span:nth-child(9) { height: 22px; animation-delay: 0.4s; }
.waveform span:nth-child(10) { height: 26px; animation-delay: 0.45s; }
.waveform span:nth-child(n+11) { background: rgba(255,255,255,0.2); }
@keyframes wave {
  to { transform: scaleY(0.7); }
}
.progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
  margin-bottom: 0.5rem;
}
.progress-fill {
  height: 100%;
  width: 65%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.1s;
}
.progress-head {
  position: absolute;
  left: 65%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}
.time-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.player-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-icon, .btn-play {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.35rem;
  border-radius: 50%;
  transition: color 0.2s, transform 0.2s;
}
.btn-icon:hover, .btn-play:hover {
  color: #fff;
  transform: scale(1.1);
}
.btn-play {
  width: 40px;
  height: 40px;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Content wrapper - card + music player, middle-left */
.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 480px;
}

/* Music player - sleek dark style */
.music-player {
  padding: 1.25rem;
  background: var(--card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.player-album {
  flex-shrink: 0;
}
.album-art {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background: linear-gradient(135deg, #5b9cf5 0%, #3d7dd8 50%, #2a5fb8 100%);
  position: relative;
  overflow: hidden;
}
.album-art::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.2);
}
.track-info {
  margin-top: 0.75rem;
}
.track-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.track-artist {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.player-controls {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.waveform {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 32px;
}
.waveform span {
  width: 4px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.9;
  animation: wave 1s ease-in-out infinite;
}
.waveform span:nth-child(1) { height: 8px; animation-delay: 0s; }
.waveform span:nth-child(2) { height: 18px; animation-delay: 0.05s; }
.waveform span:nth-child(3) { height: 12px; animation-delay: 0.1s; }
.waveform span:nth-child(4) { height: 24px; animation-delay: 0.15s; }
.waveform span:nth-child(5) { height: 16px; animation-delay: 0.2s; }
.waveform span:nth-child(6) { height: 20px; animation-delay: 0.25s; }
.waveform span:nth-child(7) { height: 10px; animation-delay: 0.3s; }
.waveform span:nth-child(8) { height: 22px; animation-delay: 0.35s; }
.waveform span:nth-child(9) { height: 14px; animation-delay: 0.4s; }
.waveform span:nth-child(10) { height: 26px; animation-delay: 0.45s; }
.waveform span:nth-child(n+11) { background: rgba(255,255,255,0.3); height: 12px; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.7); }
  50% { transform: scaleY(1); }
}
.progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 65%;
  background: var(--accent);
  border-radius: 3px;
}
.progress-head {
  position: absolute;
  left: 65%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(107, 143, 223, 0.6);
}
.time-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.player-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}
.btn-icon {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.35rem;
  transition: color 0.2s;
}
.btn-icon:hover {
  color: #fff;
}
.btn-play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-play:hover {
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(255,255,255,0.3);
}

/* Content area - middle-left layout */
.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 520px;
}

/* Music player - sleek dark style */
.music-player {
  background: rgba(18, 18, 22, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.player-album {
  flex-shrink: 0;
}

.album-art {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background: linear-gradient(135deg, #5ba3e8 0%, #2d7dd2 50%, #1a5a9e 100%);
  position: relative;
  margin-bottom: 0.5rem;
}

.album-art::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.album-art::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1a5a9e;
}

.track-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.track-artist {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.player-controls {
  flex: 1;
  min-width: 0;
}

.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 32px;
  margin-bottom: 0.5rem;
}

.waveform span {
  width: 4px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.9;
  transition: height 0.1s;
}

.waveform span:nth-child(1) { height: 8px; }
.waveform span:nth-child(2) { height: 18px; }
.waveform span:nth-child(3) { height: 12px; }
.waveform span:nth-child(4) { height: 24px; }
.waveform span:nth-child(5) { height: 10px; }
.waveform span:nth-child(6) { height: 20px; }
.waveform span:nth-child(7) { height: 14px; }
.waveform span:nth-child(8) { height: 22px; }
.waveform span:nth-child(9) { height: 16px; }
.waveform span:nth-child(10) { height: 28px; }
.waveform span:nth-child(11) { height: 12px; }
.waveform span:nth-child(12) { height: 20px; }
.waveform span:nth-child(13) { height: 18px; }
.waveform span:nth-child(14) { height: 24px; }
.waveform span:nth-child(15) { height: 14px; }
.waveform span:nth-child(16) { height: 26px; }
.waveform span:nth-child(17) { height: 10px; }
.waveform span:nth-child(18) { height: 22px; }
.waveform span:nth-child(19) { height: 16px; }
.waveform span:nth-child(20) { height: 30px; }

.progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
  margin-bottom: 0.25rem;
}

.progress-fill {
  height: 100%;
  width: 65%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.1s;
}

.progress-head {
  position: absolute;
  top: 50%;
  left: 65%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.time-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.player-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-icon, .btn-play {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 50%;
  transition: color 0.2s, transform 0.2s;
}

.btn-icon:hover, .btn-play:hover {
  color: #fff;
  transform: scale(1.1);
}

.btn-play {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Content wrapper - card + music player, middle-left */
.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 520px;
}

/* Music player - dark sleek style */
.music-player {
  background: var(--card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.player-album {
  flex-shrink: 0;
}

.album-art {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background: linear-gradient(135deg, #5eb3f6 0%, #3d8bdb 50%, #2a6bb5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.album-art::before {
  content: "";
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.2), inset 0 0 0 8px rgba(0,0,0,0.3);
}

.track-info {
  text-align: left;
}

.track-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.track-artist {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.player-controls {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.waveform {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 32px;
  margin-bottom: 0.25rem;
}

.waveform span {
  width: 4px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.9;
  animation: wave 1s ease-in-out infinite;
}

.waveform span:nth-child(1) { height: 8px; animation-delay: 0s; }
.waveform span:nth-child(2) { height: 18px; animation-delay: 0.1s; }
.waveform span:nth-child(3) { height: 24px; animation-delay: 0.2s; }
.waveform span:nth-child(4) { height: 14px; animation-delay: 0.3s; }
.waveform span:nth-child(5) { height: 22px; animation-delay: 0.4s; }
.waveform span:nth-child(6) { height: 12px; animation-delay: 0.5s; }
.waveform span:nth-child(7) { height: 20px; animation-delay: 0.6s; }
.waveform span:nth-child(8) { height: 28px; animation-delay: 0.7s; }
.waveform span:nth-child(9) { height: 16px; animation-delay: 0.8s; }
.waveform span:nth-child(10) { height: 26px; animation-delay: 0.9s; }
.waveform span:nth-child(n+11) { height: 12px; background: rgba(255,255,255,0.3); animation: none; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.6); }
  50% { transform: scaleY(1); }
}

.progress-bar {
  position: relative;
  height: 6px;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
  cursor: pointer;
  overflow: visible;
}

.progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 65%;
  background: var(--accent);
  border-radius: 3px;
}

.progress-head {
  position: absolute;
  left: 65%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

.time-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.player-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.btn-icon {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s;
}

.btn-icon:hover {
  color: #fff;
}

.btn-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.9);
  background: transparent;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-play:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(255,255,255,0.3);
}


