@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background-color: #000;
}

/* Оверлей */
#overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  cursor: pointer;
  background-color: #2c2c2c8f;
}

#overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.281);
}

#overlay-text {
  position: relative;
  z-index: 1;
  font-size: 2rem;
  color: #fff;
  padding: 20px 40px;
  border: 2px solid #fff;
  border-radius: 10px;
  transition: all 0.3s;
}

#overlay:hover #overlay-text {
  color: #ff2d55;
  border-color: #ff2d55;
}

/* Основной фон */
.main {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  background: transparent;
  text-align: center;
}

/* Профильная карточка */
.profile-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  background: rgba(255, 255, 255, 0.05);
  padding: 35px 30px;
  border-radius: 25px;
  max-width: 400px;
  width: 100%;
  backdrop-filter: blur(15px);
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
}

.profile-card.show {
  opacity: 1;
  transform: translateY(0);
}
.profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 25px;
  padding: 2px;
  background: linear-gradient(135deg, #ff2d55, #6a00ff);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

/* Заголовок */
header h1 {
  font-size: 3rem;
  margin: 0;
  color: #ff2d55;
}

/* Аватар */
.avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ff2d55;
  box-shadow: 0 0 15px #ff2d55cc;
  margin: 20px 0;
  transition: transform 0.3s ease;
}

.avatar:hover {
  transform: scale(1.05);
}

/* Описание */
header p {
  font-size: 1.2rem;
  color: #ddd;
  margin-bottom: 20px;
}

nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

nav a {
  background-color: #ff2d55;
  padding: 12px 20px;
  border-radius: 10px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

nav a i {
  margin-right: 10px;
}

nav a:hover {
  background-color: #e0254a;
  transform: scale(1.05);
}

/* Футер */
footer {
  margin-top: 40px;
  font-size: 0.8rem;
  color: #ccc;
}

audio {
  display: none;
}
.rgb-text {
  font-weight: 700;
  font-size: 2.5rem;
  background: linear-gradient(90deg, 
  rgb(0, 217, 255), rgb(0, 200, 255));
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
          background-clip: text;
  animation: rgbShift 20s linear infinite;
}

@keyframes rgbShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 400% 50%;
  }
  
}
.progress-container {
  width: 100%;
  height: 2px;
  background-color: #ddd;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}
.progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg,  rgb(111, 0, 255), rgb(212, 0, 255));
  transition: width 0.2s ease;
}
.music-player {
  width: 644px;
  height: 140px;
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  background-clip: padding-box;
  position: relative;
  margin: 20px auto;
  padding: 15px 25px;
  box-shadow: 0 0 12px #ff2d55cc;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: 'Poppins', sans-serif;
}

.music-player::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(135deg, #ff2d55, #6a00ff);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

.music-player button {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.music-player button:hover {
  transform: scale(1.2);
  color: #ff2d55;
}

.track-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.track-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
}
.time-info {
  font-size: 0.9rem;
  color: #ccc;
}
.player-controls button:hover {
  transform: scale(1.2);
  color: #ff2d55;
}
.player-controls button {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s;
}
.player-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.volume-wrapper {
  position: absolute;
  top: 12px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

#mute-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

#volume-slider {
  width: 100px;
  height: 6px;
  appearance: none;
  background: linear-gradient(to right, #ff2d55 50%, rgba(255, 255, 255, 0.3) 50%);
  border-radius: 4px;
  outline: none;
  transition: background 0.2s ease;
  accent-color: #ff2d55; /* для Firefox */
}

#volume-slider::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  background: #ff2d55;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease;
}

#volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

#volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: #ff2d55;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease;
}

#volume-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}
.profile-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.badge-row {
  display: flex;
  gap: 10px;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
  justify-content: center;
}

.badge-icon {
  width: 36px;
  height: 36px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  color: white;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(255,255,255,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Glow effect */
.badge-icon.developer {
  box-shadow: 0 0 8px #8f94fb, 0 0 16px #4e54c8;
}

.badge-icon.staff {
  box-shadow: 0 0 8px #00c6ff, 0 0 16px #0072ff;
}

.badge-icon.vip {
  box-shadow: 0 0 8px #ffd200, 0 0 16px #f7971e;
}

.badge-icon.premium {
  box-shadow: 0 0 8px #bdc3c7, 0 0 16px #2c3e50;
}

/* Tooltip on hover */
.badge-icon::after {
  content: attr(data-label);
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translate(-50%, 100%);
  background: rgba(0, 0, 0, 0.8);
  padding: 4px 8px;
  color: #fff;
  border-radius: 6px;
  font-size: 11px;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: all 0.3s ease;
}

.badge-icon:hover::after {
  opacity: 1;
  transform: translate(-50%, 120%);
}

/* Hover zoom */
.badge-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(255,255,255,0.3), 0 0 24px currentColor;
}
.progress-container {
  width: 500;
  margin: 8px auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 7px;
}

.progress {
  width: 100%;
  height: 7px;
  padding: 1px;
  margin-top: -3px;
  appearance: none;
  border-radius: 7px;
  overflow: hidden;
}

.progress::-webkit-progress-bar {
  background-color: #333;
  border-radius: 10px;
}

.progress::-webkit-progress-value {
  background-color: #ff2d55;
  border-radius: 10px;
}
#bg-video {
  position: fixed;
  top: -5;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}