/* ============================================
   ПРОСТОЕ СТЕКЛО CSS
   ============================================ */

:root {
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-shadow: rgba(0, 0, 0, 0.3);
  --glass-highlight: rgba(255, 255, 255, 0.2);
  --blur-small: 8px;
  --blur-medium: 16px;
  --blur-large: 24px;
  --speed-fast: 0.2s;
  --speed-normal: 0.3s;
  --speed-slow: 0.5s;
  --cursor-size: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: #fff;
  background: #0a0a0a;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: -50%;
  z-index: 0;
  background: radial-gradient(circle at 30% 30%, #1a1a4e 0%, #0a0a1a 40%, #000 70%);
  animation: bgRotate 30s linear infinite;
  pointer-events: none;
  will-change: transform;
}

@keyframes bgRotate {
  0% { transform: rotate(0deg) scale(1.5); }
  100% { transform: rotate(360deg) scale(1.5); }
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor-dot {
  position: fixed;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  margin-left: -6px;
  margin-top: -6px;
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.9), 0 0 40px rgba(255, 255, 255, 0.5);
  will-change: transform;
}

.cursor-dot.hover {
  background: #000;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 0, 0, 0.5);
  width: 16px;
  height: 16px;
  margin-left: -8px;
  margin-top: -8px;
}

a, button, input, .game-btn, .social-btn, .orsted-widget, .cloud-widget, .audio-player, img {
  cursor: none !important;
}

html, body, * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input, textarea, select {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* ============================================
   BACKGROUND SYSTEM
   ============================================ */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: 2;
  background-image: url('fon.webp');
  background-size: cover;
  background-position: center;
  filter: blur(3px) saturate(0.8);
  transform: scale(1.05);
}

.bg-vignette {
  position: fixed;
  inset: 0;
  z-index: 3;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

/* ============================================
   TITLE PULSE GLOW
   ============================================ */
.typing-effect {
  animation: pulseGlow 3s ease-in-out infinite;
}

.title-orbit {
  position: relative;
  display: inline-block;
  transform-style: preserve-3d;
  perspective: 900px;
}

.title-text {
  position: relative;
  z-index: 3;
}

.title-star {
  position: absolute;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.95), 0 0 28px rgba(255, 255, 255, 0.65);
  pointer-events: none;
  z-index: 2;
  opacity: 0.75;
  will-change: opacity, transform;
  animation: titleStarBlink 2.4s ease-in-out infinite;
}

.title-star.star-1 {
  top: -10px;
  left: -24px;
  animation-delay: 0s;
}

.title-star.star-2 {
  bottom: -8px;
  left: -10px;
  animation-delay: -0.5s;
}

.title-star.star-3 {
  top: -14px;
  right: 24%;
  animation-delay: -1s;
}

.title-star.star-4 {
  top: 14px;
  right: -18px;
  animation-delay: -1.5s;
}

.title-star.star-5 {
  bottom: -4px;
  right: 10%;
  animation-delay: -2s;
}

@keyframes titleStarBlink {
  0%, 100% {
    opacity: 0.2;
    transform: scale(0.7);
  }
  35% {
    opacity: 0.95;
    transform: scale(1.05);
  }
  55% {
    opacity: 0.45;
    transform: scale(0.82);
  }
  75% {
    opacity: 0.9;
    transform: scale(1);
  }
}

@keyframes pulseGlow {
  0%, 100% { text-shadow: 0 0 10px rgba(255,255,255,0.3), 0 0 40px rgba(255,255,255,0.1); }
  50% { text-shadow: 0 0 20px rgba(255,255,255,0.6), 0 0 60px rgba(255,255,255,0.2); }
}

/* ============================================
   FLOATING WIDGETS
   ============================================ */
[data-animate="float"] {
  animation: floatWidget 6s ease-in-out infinite;
}

[data-animate="float"]:nth-child(2n) {
  animation-delay: -2s;
}

@keyframes floatWidget {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================
   AUDIO VISUALIZER
   ============================================ */
.visualizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
  margin-left: auto;
}

.visualizer-bar {
  width: 4px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  height: 4px;
  transition: height 0.1s ease;
}

.audio-player.is-playing .visualizer-bar {
  animation: vizBar 0.8s ease-in-out infinite alternate;
}

.audio-player.is-playing .visualizer-bar:nth-child(1) { animation-duration: 0.5s; animation-delay: 0s; }
.audio-player.is-playing .visualizer-bar:nth-child(2) { animation-duration: 0.7s; animation-delay: 0.1s; }
.audio-player.is-playing .visualizer-bar:nth-child(3) { animation-duration: 0.4s; animation-delay: 0.2s; }
.audio-player.is-playing .visualizer-bar:nth-child(4) { animation-duration: 0.6s; animation-delay: 0.15s; }
.audio-player.is-playing .visualizer-bar:nth-child(5) { animation-duration: 0.5s; animation-delay: 0.05s; }

@keyframes vizBar {
  0% { height: 4px; }
  100% { height: 18px; }
}

/* ============================================
   MAIN CONTAINER
   ============================================ */
.container {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 20px;
}

/* ============================================
   AUDIO PLAYER - Draggable & Collapsible
   ============================================ */
.audio-player {
  position: fixed;
  left: 10px;
  top: 10px;
  width: 450px;
  padding: 20px;
  border-radius: 20px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all var(--speed-normal) ease;
}

.audio-player.collapsed {
  width: 320px;
  padding: 14px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

/* Mobile Audio Player */
@media (max-width: 768px) {
  .audio-player {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 350px;
    margin: 0 auto 20px auto;
    padding: 12px 16px;
  }

  .audio-player.collapsed {
    width: 100%;
    max-width: 350px;
    padding: 12px 16px;
  }

  .player-header {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .song-info {
    flex: 1;
  }

  .song-title {
    font-size: 0.9rem;
  }

  .song-artist {
    font-size: 0.75rem;
  }

  .track-pic-wrap {
    width: 40px;
    height: 40px;
  }

  .collapse-btn {
    display: none;
  }

  .controls {
    display: none;
  }

  .playPauseBtn {
    display: flex;
    position: static;
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .playPauseBtn .icon {
    width: 18px;
    height: 18px;
  }
}

/* ============================================
   LYRICS BUTTON
   ============================================ */
.lyrics-btn {
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--speed-normal) ease;
  color: #fff;
}

.lyrics-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.lyrics-btn svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   LYRICS MODAL
   ============================================ */
.lyrics-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--speed-normal) ease;
}

.lyrics-modal.active {
  opacity: 1;
  visibility: visible;
}

.lyrics-content {
  position: relative;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur-medium)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--blur-medium)) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 8px 32px var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
  overflow: hidden;
  transform: scale(0.9);
  transition: transform var(--speed-normal) ease;
}

.lyrics-modal.active .lyrics-content {
  transform: scale(1);
}

.lyrics-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--speed-normal) ease;
  color: #fff;
  z-index: 10;
}

.lyrics-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lyrics-close-btn svg {
  width: 16px;
  height: 16px;
}

.lyrics-container {
  padding: 60px 24px 24px 24px;
  overflow-y: auto;
  max-height: 80vh;
  scroll-behavior: smooth;
}

.lyrics-container::-webkit-scrollbar {
  width: 6px;
}

.lyrics-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.lyrics-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.lyrics-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lyrics-line {
  padding: 8px 12px;
  margin: 4px 0;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  line-height: 1.6;
  transition: all var(--speed-normal) ease;
  cursor: pointer;
}

.lyrics-line:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
}

.lyrics-line.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.02);
  font-weight: 500;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.lyrics-line.section-header {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 16px 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.audio-player.collapsed .player-header {
  flex: 1;
  padding: 0;
  border: none;
  margin: 0;
}

.audio-player.collapsed .controls {
  display: none;
}

.audio-player.collapsed .track-pic-wrap {
  width: 44px;
  height: 44px;
}

.audio-player.collapsed .song-info {
  text-align: left;
}

.player-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.track-pic-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 0 0 3px rgba(255,255,255,0.1);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.track-pic-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.track-pic-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.audio-player.is-playing .track-pic-wrap {
  animation: discSpin 8s linear infinite;
}

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

.song-info { flex: 1; min-width: 0; }

.song-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-artist {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.collapse-btn {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.collapse-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.collapse-btn svg { width: 14px; height: 14px; fill: #fff; }

.controls { margin-top: 14px; }
.progress-section { margin-bottom: 14px; }

.seekbar-container {
  position: relative;
  width: 100%;
  height: 20px;
  display: flex;
  align-items: center;
}

#seekBar {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  outline: none;
  position: relative;
  z-index: 2;
}

#seekBar::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  cursor: pointer;
  margin-top: -5.5px;
}

#seekBar::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: none;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.seekbar-progress {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 5px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  pointer-events: none;
  z-index: 1;
}

.time-display {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  font-variant-numeric: tabular-nums;
}

.buttons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.control-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.1);
}

.control-btn.active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.control-btn svg { width: 18px; height: 18px; fill: #fff; }

.playPauseBtn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}

.playPauseBtn:hover { transform: scale(1.1); background: rgba(255, 255, 255, 0.2); }
.playPauseBtn svg { width: 22px; height: 22px; fill: #fff; }

.volume-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

#volumeControl {
  width: 50px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

#volumeControl::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.volume-percent {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  min-width: 36px;
  text-align: right;
}

/* ============================================
   GAMES WIDGET
   ============================================ */
.games-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 150;
}

.games-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur-soft));
  -webkit-backdrop-filter: blur(var(--blur-soft));
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px var(--glass-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.games-toggle:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.12);
}

.games-panel {
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 280px;
  padding: 16px;
  border-radius: 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur-medium));
  -webkit-backdrop-filter: blur(var(--blur-medium));
  border: 1px solid var(--glass-border);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

.games-widget.expanded .games-panel {
  display: block;
  animation: slideUp 0.3s ease;
}

.games-widget.expanded .games-toggle {
  transform: rotate(45deg);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.game-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-bottom: 10px;
  width: 100%;
  cursor: pointer;
}

.game-btn:last-child {
  margin-bottom: 0;
}

.game-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.02);
}

.game-btn svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* ============================================
   GAME OVERLAY & POPUP
   ============================================ */
.game-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
}

.game-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.game-popup {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur-heavy)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--blur-heavy)) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.6);
  padding: 48px 24px 24px;
  max-width: 90vw;
  max-height: 90vh;
  overflow: auto;
  animation: popIn 0.3s ease;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.close-btn svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

/* ============================================
   TETRIS GAME
   ============================================ */
.tetris-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.tetris-board {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 2px;
  background: rgba(0, 0, 0, 0.3);
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tetris-cell {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  transition: all 0.1s ease;
}

.tetris-cell.filled {
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.tetris-cell.I { background: rgba(0, 240, 240, 0.6); box-shadow: 0 0 10px rgba(0, 240, 240, 0.4); }
.tetris-cell.O { background: rgba(240, 240, 0, 0.6); box-shadow: 0 0 10px rgba(240, 240, 0, 0.4); }
.tetris-cell.T { background: rgba(160, 0, 240, 0.6); box-shadow: 0 0 10px rgba(160, 0, 240, 0.4); }
.tetris-cell.S { background: rgba(0, 240, 0, 0.6); box-shadow: 0 0 10px rgba(0, 240, 0, 0.4); }
.tetris-cell.Z { background: rgba(240, 0, 0, 0.6); box-shadow: 0 0 10px rgba(240, 0, 0, 0.4); }
.tetris-cell.J { background: rgba(0, 0, 240, 0.6); box-shadow: 0 0 10px rgba(0, 0, 240, 0.4); }
.tetris-cell.L { background: rgba(240, 160, 0, 0.6); box-shadow: 0 0 10px rgba(240, 160, 0, 0.4); }

.tetris-info {
  display: flex;
  gap: 40px;
  align-items: center;
}

.tetris-score-panel {
  background: rgba(0, 0, 0, 0.2);
  padding: 16px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.tetris-score-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.tetris-score-value {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.tetris-next-piece {
  background: rgba(0, 0, 0, 0.2);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tetris-next-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.tetris-next-cell {
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.tetris-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.tetris-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 10px 20px;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tetris-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.tetris-btn:active {
  transform: translateY(0);
}

.tetris-game-over {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.tetris-game-over.show {
  opacity: 1;
  visibility: visible;
}

.tetris-game-over h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Snake Game Styles */
.snake-game-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.snake-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 400px;
  padding: 0 8px;
}

.snake-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  letter-spacing: -0.5px;
}

.snake-score {
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.snake-canvas {
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
}

.snake-canvas:hover {
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.1), inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.snake-controls {
  display: flex;
  gap: 14px;
}

.snake-btn {
  padding: 12px 32px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.snake-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

/* Sudoku Game Styles */
.sudoku-game-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sudoku-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 420px;
  margin-bottom: 16px;
  padding: 0 4px;
}

.sudoku-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.sudoku-timer {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.sudoku-board {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

.sudoku-cell {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sudoku-cell:nth-child(3n) { border-right: 2px solid rgba(255, 255, 255, 0.2); }
.sudoku-cell:nth-child(n+19):nth-child(-n+27),
.sudoku-cell:nth-child(n+46):nth-child(-n+54) { border-bottom: 2px solid rgba(255, 255, 255, 0.2); }

.sudoku-cell:hover { background: rgba(255, 255, 255, 0.1); }
.sudoku-cell.fixed { color: rgba(255, 255, 255, 0.6); cursor: default; }
.sudoku-cell.selected { background: rgba(255, 255, 255, 0.15); box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.2); }
.sudoku-cell.error { background: rgba(255, 100, 100, 0.2); }
.sudoku-cell.same-number { background: rgba(255, 255, 255, 0.05); }

.sudoku-numpad {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 16px;
  width: 100%;
  max-width: 420px;
}

.sudoku-num-btn {
  padding: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sudoku-num-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.sudoku-controls {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.sudoku-btn {
  padding: 10px 24px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sudoku-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* ============================================
   CLOUD/TIME WIDGET
   ============================================ */
.cloud-widget {
  position: fixed;
  bottom: 220px;
  left: 30px;
  width: 180px;
  padding: 16px;
  border-radius: 20px;
  z-index: 50;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur-soft));
  -webkit-backdrop-filter: blur(var(--blur-soft));
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px var(--glass-shadow);
  cursor: grab;
  user-select: none;
  transition: transform var(--speed-normal) ease;
}

.cloud-widget:hover { transform: translateY(-4px); }
.cloud-widget.dragging { cursor: grabbing; transform: scale(1.02); }

.time-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.time-label {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.time-value {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}

.cloud-image {
  width: 100%;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.cloud-image:hover { transform: scale(1.03); }

/* ============================================
   VIEWS WIDGET
   ============================================ */
.views-widget {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 160px;
  padding: 14px;
  border-radius: 20px;
  z-index: 50;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur-soft));
  -webkit-backdrop-filter: blur(var(--blur-soft));
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px var(--glass-shadow);
  cursor: grab;
  user-select: none;
  transition: transform var(--speed-normal) ease;
}

.views-widget:hover { transform: translateY(-4px); }
.views-widget.dragging { cursor: grabbing; transform: scale(1.02); }

.views-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.views-label {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.views-value {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* ============================================
   ORSTED GIF WIDGET
   ============================================ */
.orsted-widget {
  position: fixed;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 200px;
  border-radius: 20px;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur-medium)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--blur-medium)) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
  cursor: move;
  transition: all var(--speed-normal) ease;
  overflow: hidden;
  display: none;
}

.orsted-widget:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 40px var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
}

.orsted-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.orsted-image:hover {
  transform: scale(1.05);
}

/* ============================================
   KARAOKE BUTTON
   ============================================ */
.karaoke-btn {
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  cursor: pointer;
  transition: all var(--speed-normal) ease;
}

.karaoke-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.karaoke-btn.active {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.karaoke-label {
  font-weight: 600;
  font-size: 0.9rem;
}

/* ============================================
   KARAOKE CONTAINER
   ============================================ */
.karaoke-container {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all var(--speed-normal) ease;
  cursor: move;
  padding: 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur-medium)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--blur-medium)) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 8px 32px var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
}

.karaoke-container.active {
  opacity: 1;
  visibility: visible;
}

.karaoke-gif {
  width: 280px;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.karaoke-orsted-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.karaoke-lyrics {
  position: relative;
  padding: 0;
}

.karaoke-prev-line,
.karaoke-current-line,
.karaoke-next-line {
  text-align: center;
  padding: 6px 0;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), color 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1.4;
  min-height: 1.4em;
}

.karaoke-prev-line {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1rem;
  transform: translateY(-10px);
  opacity: 0;
}

.karaoke-prev-line.show {
  transform: translateY(0);
  opacity: 1;
}

.karaoke-current-line {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  transform: scale(1);
  opacity: 1;
  position: relative;
  z-index: 2;
  overflow: visible;
}

.karaoke-current-line::before,
.karaoke-current-line::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.98));
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8), 0 0 24px rgba(255, 255, 255, 0.45);
  opacity: 0;
  pointer-events: none;
}

.karaoke-current-line::before {
  left: -8px;
  transform-origin: right center;
}

.karaoke-current-line::after {
  right: -8px;
  transform-origin: left center;
  transform: translateY(-50%) scaleX(-1);
}

.karaoke-current-line.new {
  animation: lineAppear 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.karaoke-current-line.new::before {
  animation: lineEdgeBurstLeft 520ms cubic-bezier(0.18, 0.75, 0.22, 1) forwards;
}

.karaoke-current-line.new::after {
  animation: lineEdgeBurstRight 520ms cubic-bezier(0.18, 0.75, 0.22, 1) forwards;
}

@keyframes lineAppear {
  0% {
    transform: translateY(8px) scale(0.97);
    opacity: 0.35;
  }
  60% {
    transform: translateY(-1px) scale(1.01);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes lineEdgeBurstLeft {
  0% {
    opacity: 0;
    transform: translate(0, -50%) scaleX(0.2);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-58px, -50%) scaleX(1.9);
  }
}

@keyframes lineEdgeBurstRight {
  0% {
    opacity: 0;
    transform: translate(0, -50%) scaleX(-0.2);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(58px, -50%) scaleX(-1.9);
  }
}

.karaoke-burst {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 0;
  pointer-events: none;
  z-index: 1;
}

.karaoke-star {
  position: absolute;
  left: var(--start-x, 50%);
  top: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 1rem;
  line-height: 1;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.95), 0 0 22px rgba(255, 255, 255, 0.75);
  opacity: 0;
  transform: translate(-50%, -50%) translate(0, 0) scale(0.4) rotate(0deg);
}

.karaoke-next-line {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1rem;
  transform: translateY(10px);
  opacity: 0;
}

.karaoke-next-line.show {
  transform: translateY(0);
  opacity: 1;
}

/* ============================================
   MAIN CONTENT BLOCK
   ============================================ */
.main-content-block {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 32px;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur-medium)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--blur-medium)) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
}

/* ============================================
   DISCORD STATUS WIDGET
   ============================================ */
.discord-status {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  transition: all 0.3s ease;
}

.discord-status:hover {
  background: transparent;
}

.discord-avatar {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.discord-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.discord-status-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid rgba(0, 0, 0, 0.5);
  background: #747f8d;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.discord-status-indicator.online {
  background: #23a559;
}

.discord-status-indicator.idle {
  background: #f0b232;
}

.discord-status-indicator.dnd {
  background: #f23f43;
}

.discord-status-indicator.offline {
  background: #80848e;
}

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

.discord-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.discord-custom-status {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.discord-activity {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.discord-activity img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
}

.discord-activity span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================
   HEADER / BIO SECTION
   ============================================ */
.header {
  position: relative;
  text-align: center;
  flex: 1;
}

.background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: bgPan 20s ease-in-out infinite alternate;
}

@keyframes bgPan {
  0% { transform: scale(1.05) translate(-2%, -2%); }
  100% { transform: scale(1.1) translate(2%, 2%); }
}

.bio {
  position: relative;
  z-index: 1;
  padding: 40px;
  background: transparent;
  transition: all 0.3s ease;
}

.bio.blur-removed {
  background: transparent;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
  text-shadow:
    0 0 3px rgba(0, 0, 0, 0.9),
    0 0 6px rgba(0, 0, 0, 0.8),
    0 0 12px rgba(0, 0, 0, 0.7),
    0 0 24px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(0, 0, 0, 0.4);
}

.bio p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.911);
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
}

.bio p:hover {
  color: #000;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.8), 0 4px 30px rgba(0, 0, 0, 0.9);
}

/* ============================================
   SOCIAL BUTTONS
   ============================================ */
.social-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  color: #fff;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: all var(--speed-normal) ease;
}

.social-btn:hover {
  transform: translateY(-4px);
  background: #fff;
  color: #111;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  border-color: transparent;
}

button, a, input, .social-btn, .games-toggle, .game-btn, .close-btn { cursor: pointer; }

/* ============================================
   ENTRANCE ANIMATIONS
   ============================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animate-in {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="float"] {
  transform: translateY(15px) scale(0.98);
}

/* ============================================
   TOUCH OVERLAY
   ============================================ */
.touch-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.5s ease;
}

.touch-overlay.hidden {
  opacity: 0;
  pointer-events: none;
  display: none;
}

.touch-text {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.98); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .audio-player { display: none; }
  .cloud-widget { display: none; }
  .games-widget { display: none; }
  h1 { font-size: 2rem; }
  .bio { padding: 24px; margin: 10px; }
  .social-buttons { flex-direction: column; gap: 12px; }
  .social-btn { width: 100%; max-width: 200px; }
}

@media (max-width: 520px) {
  .container { padding-top: 100px; }
  .sudoku-cell { width: 36px; height: 36px; font-size: 0.9rem; }
  .sudoku-num-btn { padding: 8px; font-size: 1rem; }
}

/* ============================================
   TRACK LIGHTBOX
   ============================================ */
.track-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.track-lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.lightbox-close svg {
  width: 24px;
  height: 24px;
}

/* ============================================
   TRACK LIST WIDGET
   ============================================ */
.track-list-widget {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 90;
  width: 280px;
  max-height: 420px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: box-shadow var(--speed-normal) ease, background var(--speed-normal) ease;
  will-change: left, top;
}

.track-list-widget.dragging {
  cursor: grabbing;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.track-list-widget.collapsed {
  max-height: 52px;
  overflow: hidden;
  padding: 10px 16px;
}

.track-list-widget.collapsed .track-list-items {
  display: none;
}

.track-list-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  cursor: grab;
  user-select: none;
}

.track-list-widget.dragging .track-list-header {
  cursor: grabbing;
}

.track-list-widget.collapsed .track-list-header {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.track-list-items {
  max-height: 338px;
  overflow-y: auto;
  padding-right: 4px;
}

.track-list-items::-webkit-scrollbar {
  width: 4px;
}

.track-list-items::-webkit-scrollbar-track {
  background: transparent;
}

.track-list-items::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.track-list-title {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  flex: 1;
}

.track-list-collapse-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.track-list-collapse-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.track-list-collapse-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.track-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 12px;
  margin-bottom: 6px;
  transition: background 0.2s ease;
  cursor: pointer;
}

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

.track-list-item.active {
  background: rgba(255, 255, 255, 0.12);
}

.track-list-item img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.track-list-info {
  flex: 1;
  min-width: 0;
}

.track-list-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-list-artist {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-list-duration {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  min-width: 32px;
  text-align: right;
}

.track-list-play {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}

.track-list-play:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.track-list-play svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .track-list-widget { display: none; }
}
