/* ==========================================================================
   DARK AESTHETIC BIO-LINK THEME (GUNS.LOL / DRAIN / GOTHIC GLASSMORPHISM)
   ========================================================================== */

:root {
  --bg-color: #050508;
  --glass-bg: rgba(18, 18, 22, 0.48);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-top: rgba(255, 255, 255, 0.22);
  --glass-blur: 24px;
  
  --text-main: #f3f3f6;
  --text-muted: #8b8b98;
  --text-dim: #555562;
  
  --accent-purple: #a855f7;
  --accent-purple-glow: rgba(168, 85, 247, 0.35);
  --accent-red: #ff2a5f;
  --accent-red-glow: rgba(255, 42, 95, 0.4);
  --accent-green: #22c55e;
  
  --font-mono: 'JetBrains Mono', monospace;
  --font-sans: 'Space Grotesk', -apple-system, sans-serif;
  
  --card-radius: 26px;
  --bass-scale: 1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  position: relative;
  cursor: url('assets/cursor.svg') 11 4, auto;
  user-select: none;
}

a, button, input, .badge-item, .pill-badge, .sub-card, .track-tag {
  cursor: url('assets/cursor.svg') 11 4, pointer !important;
}

/* ==========================================================================
   BACKGROUND CANVAS & ATMOSPHERIC OVERLAYS
   ========================================================================== */

#smoke-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 4px;
  opacity: 0.35;
}

/* ==========================================================================
   CLICK TO ENTER OVERLAY
   ========================================================================== */

.enter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 4, 6, 0.96);
  backdrop-filter: blur(25px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.7s;
}

.enter-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.enter-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.enter-pulse-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: pulseRipple 2.2s infinite ease-in-out;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.2);
}

.enter-icon {
  width: 28px;
  height: 28px;
  stroke: #ffffff;
  fill: #ffffff;
  margin-left: 3px;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.85));
}

.enter-text {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #ffffff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
  animation: glowBlink 2s infinite ease-in-out;
}

.enter-subtext {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-dim);
}

@keyframes pulseRipple {
  0% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.25); }
  70% { transform: scale(1.04); box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); }
  100% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@keyframes glowBlink {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.45; }
}

/* ==========================================================================
   MAIN WRAPPER & 3D PERSPECTIVE
   ========================================================================== */

.main-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 680px;
  padding: 30px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  perspective: 1200px;
}

/* Base Glassmorphism Card */
.glass-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  border: 1px solid var(--glass-border);
  border-top: 1px solid var(--glass-border-top);
  border-radius: var(--card-radius);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), inset 0 1px 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.3s ease;
  transform-style: preserve-3d;
  overflow: hidden;
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85), 0 0 35px rgba(255, 255, 255, 0.03);
}

/* ==========================================================================
   CARD 1: BIO CARD
   ========================================================================== */

.bio-card {
  padding: 24px 28px 24px;
}

/* Top Right Badges (Views & Rank) */
.card-top-bar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 8px;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #bfbfc7;
  letter-spacing: 0.5px;
  transition: background 0.2s, border-color 0.2s;
}

.pill-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.pill-icon {
  width: 13px;
  height: 13px;
  stroke: #9d9db0;
}

.rank-hash {
  color: var(--text-dim);
  font-weight: 700;
}

/* Profile Header (Avatar + Details) */
.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.avatar-container {
  position: relative;
  width: 74px;
  height: 74px;
  flex-shrink: 0;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.4s ease, border-color 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.avatar-container:hover .avatar-img {
  transform: scale(1.05) rotate(3deg);
  border-color: var(--accent-purple);
}

.avatar-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 1px solid rgba(168, 85, 247, 0.3);
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.3s, transform 0.3s;
}

.profile-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.username-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.username {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.typewriter-cursor {
  font-weight: 300;
  color: var(--text-muted);
  animation: blinkCursor 1s infinite;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.level-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #d1d1d8;
}

.play-mini-icon {
  width: 9px;
  height: 9px;
  fill: #d1d1d8;
}

/* Badges Shelf */
.badges-shelf {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(147, 83, 237, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.26);
  border-radius: 999px;
  padding: 5px 14px;
  width: fit-content;
  box-shadow: 0 0 15px rgba(147, 83, 237, 0.12);
}

.badge-item {
  position: relative;
  width: 17px;
  height: 17px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #c4b5fd;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s;
}

.badge-item svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 4px rgba(196, 181, 253, 0.4));
}

.badge-item:hover {
  transform: scale(1.35) translateY(-2px);
  color: #ffffff;
}

/* Tooltips */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 4px 9px;
  background: rgba(12, 12, 16, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
  z-index: 100;
}

[data-tooltip]:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Bio Headline / Subtitle */
.bio-body {
  text-align: center;
  margin: 18px 0 20px;
}

.bio-headline {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.bio-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Social Buttons Row */
.socials-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #e2e2ea;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.social-btn svg {
  width: 20px;
  height: 20px;
}

.social-btn:hover {
  transform: translateY(-4px) scale(1.1);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.telegram-btn:hover {
  border-color: #229ed9 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55), 0 0 18px rgba(34, 158, 217, 0.55) !important;
  color: #38bdf8 !important;
}

.spotify-btn:hover {
  border-color: #1db954 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55), 0 0 18px rgba(29, 185, 84, 0.55) !important;
  color: #1ed760 !important;
}

.ornament-btn {
  cursor: pointer;
  color: #94a3b8;
  border-color: rgba(255, 255, 255, 0.08);
}

.ornament-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.5), 0 0 16px rgba(255, 255, 255, 0.25);
  transform: translateY(-3px) scale(1.1);
}

.ornament-mirrored svg {
  transform: scaleX(-1);
}

.dolphin-svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

/* Bottom Sub-Cards Grid */
.sub-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 580px) {
  .sub-cards-grid {
    grid-template-columns: 1fr;
  }
}

.sub-card {
  background: rgba(14, 14, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.sub-card:hover {
  background: rgba(20, 20, 26, 0.7);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.sub-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sub-card-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-muted);
}

.sub-card-icon-circle svg {
  width: 16px;
  height: 16px;
}

.sub-card-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sub-card-title {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.sub-card-badges {
  display: flex;
  align-items: center;
  gap: 5px;
}

.mini-purple-shield {
  width: 12px;
  height: 12px;
  fill: var(--accent-purple);
}

.mini-gem {
  font-size: 11px;
}

/* WIXE Button */
.wixe-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #f1f1f5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.wixe-sq {
  width: 8px;
  height: 8px;
  border: 1.5px solid #ffffff;
  display: inline-block;
}

.wixe-btn:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.wixe-btn:hover .wixe-sq {
  border-color: #000000;
  background: #000000;
}

/* Discord Sub-card */
.discord-server-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.discord-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.discord-server-name {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.discord-platform-tag {
  font-size: 10px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.discord-members-count {
  font-size: 10px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.online-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: 0 0 6px var(--accent-green);
}

.discord-join-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 5px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.discord-join-btn:hover {
  background: #5865f2;
  border-color: #5865f2;
  box-shadow: 0 0 18px rgba(88, 101, 242, 0.5);
  transform: scale(1.05);
}

/* ==========================================================================
   CARD 2: MUSIC PLAYER CARD
   ========================================================================== */

.music-card {
  padding: 22px 28px;
  position: relative;
}

/* Ambient Pulse Orbs in Music Card */
.ambient-glow {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.35) 0%, rgba(220, 38, 38, 0) 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
  transition: transform 0.08s ease-out, opacity 0.08s ease-out;
  opacity: 0.5;
}

.glow-left {
  top: 30%;
  left: 20%;
}

.glow-right {
  top: 40%;
  right: 22%;
}

.player-top {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}

.player-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.album-art-wrap {
  position: relative;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.album-art-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 42, 95, 0.4);
  box-shadow: 0 0 15px rgba(255, 42, 95, 0.25);
  animation: spinSlow 16s linear infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.track-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-grow: 1;
  min-width: 0;
}

.track-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.bass-boost-pill {
  flex-shrink: 0;
  background: rgba(255, 42, 95, 0.1);
  border: 1px solid rgba(255, 42, 95, 0.3);
  border-radius: 999px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--accent-red);
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.bass-boost-pill.active {
  background: rgba(255, 42, 95, 0.25);
  border-color: var(--accent-red);
  box-shadow: 0 0 12px rgba(255, 42, 95, 0.5);
  color: #ffffff;
}

/* Progress bar & Scrubber (Full Width across Player!) */
.progress-container {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.time-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-dim);
  width: 34px;
  flex-shrink: 0;
}

.scrubber-track {
  position: relative;
  flex-grow: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  cursor: pointer;
  transition: height 0.15s ease, background 0.15s ease;
  padding: 6px 0;
  background-clip: content-box;
}

.scrubber-track:hover {
  height: 7px;
  background-color: rgba(255, 255, 255, 0.22);
}

.scrubber-fill {
  position: absolute;
  top: 6px;
  left: 0;
  height: calc(100% - 12px);
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 42, 95, 0.4);
  pointer-events: none;
}

.scrubber-handle {
  position: absolute;
  top: 50%;
  width: 13px;
  height: 13px;
  background: #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px #ffffff, 0 0 20px rgba(255, 255, 255, 0.8);
  opacity: 1;
  cursor: grab;
  transition: transform 0.12s ease, box-shadow 0.15s ease;
  z-index: 5;
}

.scrubber-handle::after {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  cursor: grab;
}

.scrubber-handle:hover,
.scrubber-handle.dragging {
  transform: translate(-50%, -50%) scale(1.35);
  box-shadow: 0 0 14px #ffffff, 0 0 25px rgba(255, 42, 95, 0.7);
  cursor: grabbing;
}

/* Player Buttons Group - Centered, comfortable controls */
.player-buttons-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  width: 100%;
}

.btn-ctrl {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff !important;
  fill: #ffffff !important;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn-ctrl svg {
  width: 18px;
  height: 18px;
  fill: #ffffff !important;
  color: #ffffff !important;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.7));
}

.btn-ctrl:hover,
.btn-ctrl:active {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.btn-play {
  background: #ffffff !important;
  border: 1px solid #ffffff !important;
  width: 48px;
  height: 48px;
  color: #000000 !important;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.65), 0 0 10px #ffffff !important;
}

.btn-play svg {
  width: 20px;
  height: 20px;
  fill: #000000 !important;
  color: #000000 !important;
  filter: none !important;
}

.btn-play svg polygon,
.btn-play svg rect {
  fill: #000000 !important;
  stroke: #000000 !important;
}

.btn-play:hover,
.btn-play:active {
  background: #ffffff !important;
  transform: scale(1.1) !important;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.95), 0 0 16px #ffffff !important;
}

.vol-control-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  position: absolute;
  right: 0;
}

.vol-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 50px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  outline: none;
  transition: width 0.2s ease;
}

.vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
}

/* Dynamic Lyrics Display */
.lyrics-viewport {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  min-height: 80px;
  margin: 10px 0 14px;
}

.lyric-line {
  font-family: var(--font-sans);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.line-active {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 42, 95, 0.4);
  transform: scale(1.05);
}

.line-next {
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0.7;
}

.line-dim {
  font-size: 11px;
  color: var(--text-dim);
  opacity: 0.4;
}

/* Track Selector Strip */
.track-selector-strip {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
}

.track-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 3px 8px;
  transition: all 0.2s ease;
}

.track-tag:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.track-tag.active {
  color: var(--accent-red);
  border-color: rgba(255, 42, 95, 0.4);
  background: rgba(255, 42, 95, 0.08);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */

.toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-30px);
  background: rgba(18, 18, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 255, 255, 0.1);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   GOLDEN BADGES SHELF & REFINED GREY TYPOGRAPHY
   ========================================================================== */

.golden-shelf {
  background: rgba(234, 179, 8, 0.08) !important;
  border: 1px solid rgba(234, 179, 8, 0.38) !important;
  box-shadow: 0 0 16px rgba(234, 179, 8, 0.16) !important;
}

.badge-gold-glow {
  color: #facc15 !important;
  filter: drop-shadow(0 0 5px rgba(250, 204, 21, 0.55)) !important;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s !important;
}

.badge-gold-glow:hover {
  color: #ffffff !important;
  transform: scale(1.35) translateY(-2px) !important;
  filter: drop-shadow(0 0 8px #ffffff) !important;
}

.dictator-title-grey {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #cbd5e1;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.dictator-quote-grey {
  font-style: italic;
  font-size: 13px;
  color: #94a3b8;
  margin-top: 5px;
}

.defcon-status-grey {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 999px;
  padding: 3px 12px;
  margin-top: 10px;
  letter-spacing: 0.5px;
}

.defcon-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: defconBlink 1.2s infinite;
}

@keyframes defconBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.85); }
}

/* ==========================================================================
   MOBILE RESPONSIVE MASTER STYLES (< 600px)
   Ultra refined layout for smartphones (Android, iPhone)
   ========================================================================== */

@media (max-width: 600px) {
  body {
    padding: 0;
    align-items: flex-start;
  }

  .main-wrapper {
    padding: 12px 10px 30px;
    gap: 10px;
    max-width: 100%;
  }

  .glass-card {
    border-radius: 20px;
  }

  .bio-card {
    padding: 16px 14px 18px;
  }

  .card-top-bar {
    margin-bottom: 8px;
    gap: 6px;
  }

  .pill-badge {
    padding: 3px 8px;
    font-size: 10px;
  }

  .profile-header {
    gap: 12px;
    margin-bottom: 14px;
  }

  .avatar-container {
    width: 62px;
    height: 62px;
  }

  .username-row {
    gap: 8px;
  }

  .username {
    font-size: 18px;
  }

  .level-badge {
    font-size: 10px;
    padding: 1px 6px;
  }

  .badges-shelf {
    padding: 3px 8px;
    gap: 5px;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .badges-shelf::-webkit-scrollbar {
    display: none;
  }

  .badge-item {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  .dictator-title-grey {
    font-size: 12.5px;
    letter-spacing: 1px;
    line-height: 1.3;
  }

  .dictator-quote-grey {
    font-size: 11.5px;
    margin-top: 4px;
  }

  .defcon-status-grey {
    font-size: 8.5px;
    padding: 2.5px 8px;
    letter-spacing: 0.2px;
    margin-top: 8px;
  }

  .social-shelf {
    gap: 10px;
    margin: 14px 0 16px;
  }

  .social-btn {
    width: 38px;
    height: 38px;
  }

  .social-btn svg {
    width: 18px;
    height: 18px;
  }

  .sub-cards-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .sub-card {
    padding: 10px 12px;
    border-radius: 14px;
  }

  .sub-card-title,
  .discord-server-name {
    font-size: 13px;
  }

  .discord-members-count {
    font-size: 10px;
  }

  .discord-join-btn,
  .wixe-btn {
    padding: 5px 12px;
    font-size: 10.5px;
  }

  /* Music Player Mobile Optimization */
  .music-card {
    padding: 16px 14px 18px;
  }

  .player-top {
    gap: 12px;
    margin-bottom: 12px;
  }

  .player-meta-row {
    gap: 10px;
  }

  .album-art-wrap {
    width: 40px;
    height: 40px;
  }

  .track-header-row {
    gap: 8px;
  }

  .track-title {
    font-size: 12px;
    max-width: 160px;
  }

  .bass-boost-pill {
    padding: 3px 8px;
    font-size: 8.5px;
    letter-spacing: 0.3px;
  }

  .progress-container {
    gap: 8px;
  }

  .time-label {
    font-size: 9.5px;
    width: 28px;
  }

  .scrubber-track {
    height: 6px;
  }

  .scrubber-handle {
    width: 14px;
    height: 14px;
  }

  .player-buttons-group {
    gap: 18px;
    margin: 6px 0 12px;
  }

  .btn-ctrl {
    width: 40px;
    height: 40px;
  }

  .btn-ctrl svg {
    width: 18px;
    height: 18px;
  }

  .btn-play {
    width: 48px;
    height: 48px;
  }

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

  .vol-slider {
    display: none; /* Mobile utilizes phone's hardware volume buttons */
  }

  .vol-control-wrap {
    position: absolute;
    right: 4px;
  }

  .line-active {
    font-size: 13.5px;
  }

  .line-next {
    font-size: 11.5px;
  }

  .line-dim {
    font-size: 10px;
  }

  .track-selector-strip {
    gap: 6px;
    padding-top: 10px;
  }

  .track-tag {
    font-size: 9px;
    padding: 3px 7px;
  }
}
