* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background: #000000;
  font-family: 'Orbitron', monospace;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  overflow-x: hidden;
}

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1s ease, visibility 1s ease;
}

.loading-container {
  text-align: center;
}

.loading-title {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255,255,255,0.8);
  letter-spacing: 8px;
  margin-bottom: 2rem;
  animation: glitch 2s infinite;
}

@keyframes glitch {
  0%, 100% { text-shadow: 0 0 20px white; }
  95% { text-shadow: 0 0 20px white; }
  96% { text-shadow: -3px 0 red, 3px 0 blue; }
  97% { text-shadow: 3px 0 red, -3px 0 blue; }
}

.loading-bar-wrapper {
  width: 300px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto 1rem;
}

.loading-bar-fill {
  width: 0%;
  height: 100%;
  background: #ffffff;
  box-shadow: 0 0 10px white;
  transition: width 0.1s linear;
}

.loading-percent {
  font-size: 1.2rem;
  color: #ffffff;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.loading-guns {
  font-size: 2rem;
  animation: bounce 0.8s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.parallax-bg {
  position: fixed;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: url('https://cdn.discordapp.com/attachments/1368694421708734607/1508298998929428520/477a19920890c3d3e768ddbcca7ac0b8.png?ex=6a150868&is=6a13b6e8&hm=cb2b78229563675cb75f17d896467a0ec3d42e5daba2761af08c451b3ab6698c&') no-repeat center center;
  background-size: cover;
  z-index: 0;
  pointer-events: none;
  transition: transform 0.08s ease-out;
}

.parallax-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.02) 0px,
    rgba(255,255,255,0.02) 2px,
    transparent 2px,
    transparent 8px
  );
}

#snowCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.vinyl-player {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 30;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(20px);
  border-radius: 80px;
  padding: 12px 20px 12px 12px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.vinyl-player.visible {
  opacity: 1;
  transform: translateX(0);
}

.vinyl-container {
  position: relative;
  width: 70px;
  height: 70px;
}

.vinyl-disc {
  width: 70px;
  height: 70px;
  background: radial-gradient(circle at 30% 30%, #333, #111);
  border-radius: 50%;
  position: relative;
  animation: spin 2s linear infinite;
  animation-play-state: paused;
  box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.vinyl-disc.playing {
  animation-play-state: running;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.vinyl-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 5px white;
}

.vinyl-groove {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 3px, transparent 3px, transparent 8px);
}

.vinyl-arm {
  position: absolute;
  top: -15px;
  right: -25px;
  width: 40px;
  height: 8px;
  background: linear-gradient(90deg, #ccc, #666);
  border-radius: 10px;
  transform-origin: right center;
  transform: rotate(-20deg);
  transition: transform 0.3s ease;
}

.vinyl-arm::before {
  content: "";
  position: absolute;
  left: -5px;
  top: -3px;
  width: 10px;
  height: 14px;
  background: #aaa;
  border-radius: 5px;
}

.vinyl-arm.playing-arm {
  transform: rotate(-5deg);
}

.player-controls-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.track-name {
  font-size: 0.75rem;
  color: #ffffff;
  letter-spacing: 1px;
  text-shadow: 0 0 5px white;
  font-weight: 600;
}

.vinyl-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vinyl-btn {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vinyl-btn:hover {
  background: #ffffff;
  color: #000000;
  transform: scale(1.05);
  box-shadow: 0 0 10px white;
}

.volume-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.volume-wrap i {
  color: white;
  font-size: 0.8rem;
}

#volumeSliderVinyl {
  width: 70px;
  height: 3px;
  border-radius: 10px;
  background: rgba(255,255,255,0.3);
  -webkit-appearance: none;
}

#volumeSliderVinyl::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 0 5px white;
}

.progress-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6rem;
  color: #cccccc;
}

#musicProgressVinyl {
  width: 120px;
  height: 3px;
  border-radius: 10px;
  background: rgba(255,255,255,0.3);
  -webkit-appearance: none;
}

#musicProgressVinyl::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 0 5px white;
}

.main-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  z-index: 20;
  position: relative;
  max-width: 1200px;
  width: 100%;
}

.bio-container {
  width: 100%;
  max-width: 560px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  margin-top: 100px;
}

.bio-container.visible {
  opacity: 1;
  transform: translateY(0);
}

.bio-card {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(24px);
  border-radius: 56px;
  padding: 2rem 1.8rem 2rem;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.comments-section {
  width: 100%;
  max-width: 380px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(24px);
  border-radius: 32px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 100px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.comments-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: 0.9rem;
}

/* ========== СТИЛЬНЫЕ КНОПКИ ========== */

.admin-mode-btn {
  background: rgba(20, 20, 40, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.5);
  color: #c4b5fd;
  padding: 8px 16px;
  border-radius: 40px;
  cursor: pointer;
  font-size: 0.7rem;
  font-family: 'Orbitron', monospace;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
}

.admin-mode-btn:hover {
  background: rgba(139, 92, 246, 0.3);
  border-color: #a855f7;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.delete-all-btn {
  background: rgba(40, 20, 30, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
  padding: 8px 16px;
  border-radius: 40px;
  cursor: pointer;
  font-size: 0.7rem;
  font-family: 'Orbitron', monospace;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

.delete-all-btn:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: #ef4444;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

.support-button {
  background: rgba(255, 45, 117, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 45, 117, 0.4);
  border-radius: 60px;
  padding: 10px 24px;
  font-size: 0.8rem;
  font-family: 'Orbitron', monospace;
  font-weight: 600;
  color: #ff88bb;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0.5rem auto 0;
  width: fit-content;
  letter-spacing: 1px;
  box-shadow: 0 0 15px rgba(255, 45, 117, 0.2);
}

.support-button:hover {
  background: #ff2d75;
  color: #ffffff;
  border-color: #ff2d75;
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 45, 117, 0.6);
}

.delete-comment-btn {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  cursor: pointer;
  font-size: 0.6rem;
  padding: 6px 12px;
  border-radius: 30px;
  transition: all 0.2s ease;
  font-family: 'Orbitron', monospace;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.delete-comment-btn:hover {
  background: #ef4444;
  color: white;
  border-color: #ef4444;
  transform: scale(1.02);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.5);
}

.comments-list {
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 1rem;
}

.comment-item {
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 0.8rem;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(255,255,255,0.08);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.comment-author {
  font-family: 'Orbitron', monospace;
  font-size: 0.7rem;
  color: #ffcc88;
}

.comment-date {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.45rem;
  color: #888;
}

.comment-text {
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  color: #eeeeee;
  word-break: break-word;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

#commentName, #commentText {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 40px;
  padding: 0.6rem 1rem;
  color: white;
  font-family: 'Orbitron', monospace;
  font-size: 0.7rem;
  outline: none;
  transition: all 0.2s;
}

#commentName:focus, #commentText:focus {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

#commentText {
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  border-radius: 20px;
  resize: vertical;
}

#submitCommentBtn {
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 40px;
  padding: 0.7rem;
  color: #c4b5fd;
  font-family: 'Orbitron', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 1px;
}

#submitCommentBtn:hover {
  background: #8b5cf6;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.5);
}

.comments-note {
  font-size: 0.55rem;
  color: #666;
  text-align: center;
  margin-top: 0.8rem;
  font-family: 'Orbitron', monospace;
}

.discord-activity {
  background: rgba(88, 101, 242, 0.15);
  border-radius: 40px;
  padding: 0.4rem 1rem;
  margin: 0.5rem auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  color: #b9bbff;
  border: 0.5px solid rgba(88, 101, 242, 0.3);
  backdrop-filter: blur(4px);
}

.refresh-status-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #aaa;
  cursor: pointer;
  font-size: 0.65rem;
  padding: 4px 10px;
  border-radius: 30px;
  transition: all 0.2s;
  font-family: 'Orbitron', monospace;
}

.refresh-status-btn:hover {
  color: white;
  background: rgba(139, 92, 246, 0.3);
  border-color: #8b5cf6;
}

.fade-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.avatar-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1.2rem;
}

.avatar-frame {
  width: 130px;
  height: 130px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, #aaaaaa);
  padding: 3px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.avatar-img:hover {
  filter: grayscale(0%);
}

.online-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 50%;
  border: 2px solid #000000;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);}
  70% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);}
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);}
}

.glow-text {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #fff, 0 0 40px rgba(255,255,255,0.8);
  animation: textGlow 1.5s ease-in-out infinite alternate;
}

@keyframes textGlow {
  from { text-shadow: 0 0 3px #fff, 0 0 6px #fff, 0 0 12px #fff; }
  to { text-shadow: 0 0 6px #fff, 0 0 12px #fff, 0 0 24px #fff, 0 0 40px rgba(255,255,255,0.9); }
}

.username-under {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.7rem;
  color: #aaaaaa;
}

.handwrite-bio {
  font-family: 'Caveat', cursive;
  font-size: 1.2rem;
  color: #eeeeee;
  margin: 0.8rem 0;
}

.info-strip {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 0.5rem 0 1rem;
}

.info-item {
  font-family: 'Caveat', cursive;
  font-size: 1.2rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.links-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 1rem 0;
}

.social-link {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1.2rem;
  border-radius: 60px;
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
  font-size: 0.8rem;
  font-family: 'Orbitron', monospace;
}

.social-link:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(255,255,255,0.3);
}

.footer-note {
  margin-top: 1rem;
  font-size: 0.7rem;
  color: #666;
}

.views-counter {
  margin-top: 0.8rem;
  font-size: 0.65rem;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 0.8rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.support-modal, .admin-password-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(15px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.support-modal-content, .admin-modal-content {
  background: rgba(10, 10, 20, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 32px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(139, 92, 246, 0.3);
  max-width: 350px;
  width: 90%;
  box-shadow: 0 0 50px rgba(139, 92, 246, 0.2);
}

.support-contact {
  background: rgba(255,255,255,0.08);
  padding: 0.8rem;
  border-radius: 40px;
  font-family: 'Orbitron', monospace;
  margin: 1rem 0;
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
}

#copySupportBtn {
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 40px;
  padding: 0.7rem 1.5rem;
  color: #c4b5fd;
  cursor: pointer;
  font-family: 'Orbitron', monospace;
  font-size: 0.7rem;
  transition: all 0.2s;
}

#copySupportBtn:hover {
  background: #8b5cf6;
  color: white;
  transform: scale(1.02);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  color: #aaa;
  cursor: pointer;
  transition: all 0.2s;
}

.close-modal:hover {
  color: white;
}

.admin-modal-content input {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 40px;
  padding: 0.8rem;
  color: white;
  font-family: 'Orbitron', monospace;
  margin-bottom: 1rem;
  outline: none;
}

.admin-modal-content input:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.admin-modal-content button {
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 40px;
  padding: 0.6rem 1.2rem;
  color: #c4b5fd;
  cursor: pointer;
  font-family: 'Orbitron', monospace;
  margin: 0 0.3rem;
  transition: all 0.2s;
}

.admin-modal-content button:hover {
  background: #8b5cf6;
  color: white;
}

.close-admin-btn {
  background: rgba(255,255,255,0.05) !important;
  border-color: rgba(255,255,255,0.2) !important;
  color: #aaa !important;
}

.close-admin-btn:hover {
  background: rgba(255,255,255,0.15) !important;
  color: white !important;
}

@media (max-width: 950px) {
  .main-layout {
    flex-direction: column;
    align-items: center;
  }
  .comments-section {
    margin-top: 0;
  }
}

@media (max-width: 650px) {
  .vinyl-player {
    flex-wrap: wrap;
    width: calc(100% - 40px);
  }
  .glow-text {
    font-size: 1.5rem;
  }
  .admin-mode-btn, .delete-all-btn {
    padding: 5px 12px;
    font-size: 0.6rem;
  }
  .support-button {
    padding: 8px 18px;
    font-size: 0.7rem;
  }
}
.support-modal-content h3,
.support-modal-content p,
.support-modal-content .support-contact {
  color: #ffffff !important;
}

.support-modal-content h3 {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.support-modal-content p {
  color: #aaaaaa !important;
}

.support-modal-content .support-contact {
  color: #c4b5fd !important;
  background: rgba(139, 92, 246, 0.15);
}