* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Courier New', monospace;
  color: #fff;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #000;
  overflow: hidden;
}

canvas#stars {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  color: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  backdrop-filter: blur(10px);
  transition: opacity 1s ease;
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.blurred {
  filter: blur(20px);
  pointer-events: none;
}

.card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2rem;
  margin: 5% auto;
  max-width: 400px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
  border: 2px solid #aaa;
}

.nick {
  text-align: center;
  font-size: 1.5rem;
  color: #e6e6e6;
  margin-top: 1rem;
}

.name {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.info-block {
  text-align: center;
  margin: 2rem 0;
}

.info-item {
  font-size: 1rem;
  font-weight: 500;
  margin: 1.2rem 0;
  opacity: 0.9;
}

.quote {
  text-align: center;
  font-style: italic;
  font-size: 1rem;
  font-weight: 500;
  margin: 2.5rem 0;
  line-height: 1.6;
  opacity: 0.8;
}

.socials {
  text-align: center;
  margin: 2.5rem 0;
}

.discord-btn {
  background: #000;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid #333;
  transition: all 0.3s ease;
}

.discord-btn:hover {
  background: #111;
  transform: translateY(-2px);
}

.player {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 15px;
  width: 100%;
}

.track-avatar {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  flex-shrink: 0;
}

.track-info {
  flex: 1;
  min-width: 0;
}

.track-title {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-time {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.controls {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
}

#playBtn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

#playBtn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

#progress {
  flex: 1;
  min-width: 50px;
}

.volume-container {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  width: 120px;
}

#volume {
  width: 100%;
}

#volumeBtn {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  flex-shrink: 0;
}

input[type="range"] {
  -webkit-appearance: none;
  height: 4px;
  background: #555;
  border-radius: 2px;
  margin: 0;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

input[type="range"]::-moz-range-track {
  background: #555;
  height: 4px;
  border-radius: 2px;
}

input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s;
}

input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.2);
}

@media (max-width: 500px) {
  .card {
    margin: 10% 5%;
    padding: 1.5rem;
  }
  
  .player {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .controls {
    flex-wrap: wrap;
  }
  
  .volume-container {
    width: 100%;
    justify-content: flex-end;
  }
}