@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;700;800&display=swap');

:root {
  --bg: #050505;
  --card-bg: rgba(15, 15, 15, 0.85);
  --card-border: #333333;
  --text: #e0e0e0;
  --text-muted: rgba(255, 255, 255, 0.4);
  --accent: #ffffff;
  --green: #ffffff;
  --yellow: #cccccc;
  --red: #555555;
  --gray: #444444;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::selection {
  background: var(--accent);
  color: #000;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg);
  color: var(--text);
  text-transform: uppercase;
}

/* ===== GLOBAL CRT EFFECT ===== */
body::after {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.15) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
  z-index: 99999;
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
  animation: flicker 0.15s infinite;
}

@keyframes flicker {
  0% { opacity: 0.98; }
  50% { opacity: 0.92; }
  100% { opacity: 0.98; }
}

/* ===== ENTER SCREEN ===== */
.enter-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  cursor: pointer;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.enter-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.enter-text {
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: pulse-enter 2s ease-in-out infinite;
}

@keyframes pulse-enter {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

/* ===== BACKGROUND VIDEO ===== */
.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.bg-video.active {
  opacity: 1;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease, visibility 0.8s;
  overflow: hidden;
}

/* HIGH-INTENSITY NOISE */
.preloader::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.08; /* Decreased opacity */
  pointer-events: none;
  z-index: 1;
  animation: noise-move 0.1s steps(2) infinite;
}

@keyframes noise-move {
  0% { transform: translate(0,0); }
  100% { transform: translate(-5%, -5%); }
}

/* INTERFERENCE STRIPES */
.preloader::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%,
    rgba(0, 0, 0, 0.1) 50%
  );
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 10;
  animation: scanline-flicker 0.1s infinite;
}

@keyframes scanline-flicker {
  0% { opacity: 0.05; }
  50% { opacity: 0.1; }
  100% { opacity: 0.05; }
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
  width: 100%;
}

.ascii-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5rem;
  line-height: 1;
  color: #fff;
  margin-bottom: 30px;
  white-space: pre;
  opacity: 0.9;
  display: inline-block;
  text-align: left;
  text-shadow: 0 0 5px rgba(255,255,255,0.3);
  animation: logo-flicker 3s infinite, logo-glitch 5s infinite;
  position: relative;
}

@keyframes logo-flicker {
  0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% { 
    opacity: 1; 
    transform: translateX(0); 
    filter: blur(0);
  }
  20%, 21.999%, 63%, 63.999%, 65%, 69.999% { 
    opacity: 0.3; 
    transform: translateX(-2px) skewX(5deg);
    filter: blur(1px);
  }
}

@keyframes logo-glitch {
  0% { 
    clip-path: inset(0 0 0 0); 
    text-shadow: none;
  }
  2% { 
    clip-path: inset(20% 0 50% 0); 
    transform: translate(-5px, 2px);
    text-shadow: 2px 0 #fff, -2px 0 #666;
  }
  4% { 
    clip-path: inset(80% 0 5% 0); 
    transform: translate(5px, -2px);
    text-shadow: -2px 0 #fff, 2px 0 #666;
  }
  6% { 
    clip-path: inset(0 0 0 0); 
    transform: translate(0);
    text-shadow: none;
  }
  30% { 
    clip-path: inset(0 0 0 0); 
    text-shadow: none;
  }
  31% { 
    clip-path: inset(40% 0 10% 0); 
    transform: scaleY(1.5) skewX(20deg);
    text-shadow: 4px 0 #ddd, -4px 0 #333;
  }
  32% { 
    clip-path: inset(0 0 0 0); 
    transform: none;
    text-shadow: none;
  }
  98% { 
    clip-path: inset(0 0 0 0); 
    text-shadow: none;
  }
  99% { 
    clip-path: inset(10% 0 80% 0); 
    transform: translate(-10px, 5px);
    text-shadow: 5px 0 #aaa, -5px 0 #aaa;
  }
  100% { 
    clip-path: inset(0 0 0 0); 
    text-shadow: none;
  }
}

/* RANDOM GLITCH BLOCKS */
.preloader-content::after {
  content: "DATA_OVERLOAD";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: inherit;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.03);
  z-index: -1;
  animation: data-overload 4s infinite;
  pointer-events: none;
}

@keyframes data-overload {
  0%, 94%, 100% { opacity: 0; }
  95% { opacity: 0.1; transform: translate(-52%, -48%) scale(1.1); }
  96% { opacity: 0.2; transform: translate(-48%, -52%) scale(0.9); }
  97% { opacity: 0.1; transform: translate(-50%, -50%) scale(1); }
}

.hacking-text {
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: #fff;
  font-weight: bold;
}

.loading-bar {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.loading-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  transition: width 0.3s ease;
}

.loading-status {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ===== ENTER PHASE (DedSec Style) ===== */
.enter-phase {
  text-align: center;
  gap: 20px;
}

.ascii-logo-enter {
  animation: logo-flicker 4s infinite, logo-glitch 6s infinite;
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.system-ready {
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 4px;
  color: #000;
  background: #fff;
  padding: 8px 20px;
  border: 1px solid #aaa;
  box-shadow: 6px 6px 0px rgba(255, 255, 255, 0.4);
  animation: pulse-ready 2s infinite;
  margin-bottom: 30px;
}

@keyframes pulse-ready {
  0%, 100% { box-shadow: 6px 6px 0px rgba(255, 255, 255, 0.4); }
  50% { box-shadow: 10px 10px 0px rgba(255, 255, 255, 0.8), -2px -2px 10px rgba(255,255,255,0.2); }
}

.enter-btn {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 15px 40px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-transform: uppercase;
}

.enter-btn:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
  transform: scale(1.05);
}

.enter-btn-arrow {
  animation: arrow-blink 1s infinite;
}

@keyframes arrow-blink {
  0%, 100% { opacity: 1; transform: translateX(0); }
  50% { opacity: 0; transform: translateX(5px); }
}

.enter-hint {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 3px;
  margin-top: 15px;
  animation: glitch-hint 3s infinite;
}

@keyframes glitch-hint {
  0%, 100% { opacity: 1; transform: translateX(0); }
  10%, 14%, 50%, 54%, 90%, 94% { opacity: 1; transform: translateX(-2px); text-shadow: 1px 0 #fff; }
  12%, 16%, 52%, 56%, 92%, 96% { opacity: 1; transform: translateX(2px); text-shadow: -1px 0 #888; }
}

/* ===== MAIN CONTENT ===== */
.main-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  opacity: 0;
  transition: opacity 1s ease 0.3s;
}

.main-content.active {
  opacity: 1;
}

/* ===== PROFILE CARD ===== */
.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(18, 18, 18, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 40px 60px;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.08s ease-out, box-shadow 0.15s ease-out, border-color 0.15s ease-out;
  transform-style: preserve-3d;
  opacity: 0;
  transform: translateY(20px);
}

.profile-section.active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-1 { transition-delay: 0.1s !important; }
.stagger-2 { transition-delay: 0.2s !important; }
.stagger-3 { transition-delay: 0.3s !important; }
.stagger-4 { transition-delay: 0.4s !important; }
.stagger-5 { transition-delay: 0.5s !important; }
.stagger-6 { transition-delay: 0.6s !important; }
.stagger-7 { transition-delay: 0.7s !important; }

/* Avatar */
.avatar-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 8px;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(0.5) contrast(1.2);
  transition: filter 0.3s ease;
}

.avatar-wrapper:hover .avatar-img {
  filter: grayscale(0) contrast(1.5);
}

.avatar-decoration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 152px;
  height: 152px;
  pointer-events: none;
}

/* Username */
.username {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  position: relative;
}

.username::after {
  content: ' ';
  display: inline-block;
  width: 10px;
  height: 1.2rem;
  background: var(--accent);
  animation: cursor-blink 1s step-end infinite;
  vertical-align: middle;
  margin-left: 4px;
}

@keyframes cursor-blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Bio */
.bio {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ===== DISCORD MINI CARD ===== */
.discord-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  padding: 12px 20px;
  margin-top: 18px;
  min-width: 280px;
  position: relative;
  transition: all 0.2s ease;
}

.discord-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
}

.discord-card:hover {
  background: #111;
  transform: scale(1.02);
  box-shadow: 4px 4px 0 #333, -4px -4px 0 #555;
}

.discord-card-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.discord-card-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.status-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid rgba(20, 20, 20, 0.9);
  background: var(--gray);
}

.status-dot.online {
  background: var(--green);
}

.status-dot.idle {
  background: var(--yellow);
}

.status-dot.dnd {
  background: var(--red);
}

.status-dot.offline {
  background: var(--gray);
}

.discord-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.discord-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.discord-card-name {
  font-size: 0.95rem;
  font-weight: 600;
}

.discord-card-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  border-radius: 0;
  padding: 2px 6px;
  font-size: 0.75rem;
}

.discord-card-badge .heart {
  color: var(--accent);
  font-size: 0.7rem;
}

.guild-badge {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.discord-card-status {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== SOCIAL LINKS ===== */
.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--accent);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--accent);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

/* Hacker sweep effect */
.social-link::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 10px rgba(255,255,255,1);
  opacity: 0;
  z-index: 2;
  transition: none;
}

.social-link:hover::before {
  animation: scanline-sweep 1s cubic-bezier(0.2, 0.8, 0.4, 1) infinite;
  opacity: 1;
}

@keyframes scanline-sweep {
  0% { top: -10%; opacity: 0; }
  20% { opacity: 1; }
  80% { top: 110%; opacity: 1; }
  100% { top: 110%; opacity: 0; }
}

.social-link::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.2s ease;
}

.social-link:hover {
  color: #000;
  transform: translateY(-4px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.social-link:hover::after {
  opacity: 1;
}

.social-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  position: relative;
  z-index: 1;
  transition: all 0.2s ease;
}

.social-link:hover svg {
  animation: cyber-icon-glitch 2s infinite linear alternate-reverse;
}

@keyframes cyber-icon-glitch {
  0%, 15%, 25%, 45%, 55%, 75%, 85%, 100% {
    transform: translate(0, 0) skewX(0);
    filter: none;
    opacity: 1;
  }
  20% {
    transform: translate(-2px, 1px) skewX(15deg);
    filter: drop-shadow(2px 0 0 rgba(255, 0, 0, 0.8)) drop-shadow(-2px 0 0 rgba(0, 255, 255, 0.8));
    opacity: 0.9;
  }
  50% {
    transform: translate(2px, -1px) skewX(-10deg);
    filter: drop-shadow(2px 2px 0 rgba(255, 255, 255, 0.8));
    opacity: 0.8;
  }
  80% {
    transform: translate(-1px, 2px);
    filter: drop-shadow(-2px -2px 0 rgba(255, 255, 255, 0.8));
    opacity: 0.5;
  }
}

.social-link img {
  width: 32px;
  height: 32px;
}

/* ===== VIEW COUNTER ===== */
.view-counter {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  z-index: 10;
}

.view-counter svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ===== MUSIC PLAYER ===== */
.music-player {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 18px;
  z-index: 10;
  max-width: 580px;
  width: calc(100% - 30px);
  transition: box-shadow 0.1s ease-out, border-color 0.15s ease-out;
}

.music-player:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.player-cover {
  width: 54px;
  height: 54px;
  border-radius: 6px;
  border: 1px solid var(--accent);
  object-fit: cover;
  flex-shrink: 0;
  filter: grayscale(0.8) contrast(1.2);
  transition: transform 0.08s ease-out, filter 0.15s ease-out, box-shadow 0.1s ease-out;
}

.music-player:hover .player-cover {
  filter: grayscale(0);
}

.player-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.player-title {
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-progress-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.player-time {
  font-size: 0.8rem;
  color: var(--text-muted);
  min-width: 36px;
  font-variant-numeric: tabular-nums;
}

.player-progress {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  position: relative;
}

.player-progress-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px var(--accent);
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.player-btn {
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.player-btn:hover {
  opacity: 1;
}

.player-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.player-btn.play-btn svg {
  width: 30px;
  height: 30px;
}

.player-btn.active {
  color: var(--accent);
  text-shadow: 0 0 5px var(--accent);
}

.player-volume {
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 10px;
}

.volume-icon {
  width: 14px;
  height: 14px;
  fill: var(--text-muted);
}

#volumeSlider {
  width: 60px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(to right, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.6) var(--vol-pct, 100%), rgba(255,255,255,0.1) var(--vol-pct, 100%), rgba(255,255,255,0.1) 100%);
  outline: none;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.1s;
}

#volumeSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(255,255,255,0.3);
  transition: transform 0.15s;
}

#volumeSlider::-webkit-slider-thumb:hover {
  transform: scale(1.3);
}

#volumeSlider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  border: none;
  box-shadow: 0 0 4px rgba(255,255,255,0.3);
}

#volumeSlider::-moz-range-track {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}


/* ===== VOLUME TOGGLE & VIEW COUNTER ===== */
.view-counter {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--accent);
  z-index: 10;
  text-shadow: 0 0 5px var(--accent);
}

/* ===== COMMENTS SECTION ===== */
.comments-section {
  width: 100%;
  max-width: 500px;
  margin: 20px auto 100px;
  background: rgba(18, 18, 18, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-content.active .comments-section {
  opacity: 1;
  transform: translateY(0);
}

.comments-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 8px;
}

.comment-icon {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.comments-list {
  max-height: 180px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comments-list::-webkit-scrollbar {
  width: 2px;
}

.comments-list::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
}

.comment-item {
  background: rgba(255,255,255,0.02);
  padding: 8px 10px;
  border-radius: 6px;
  border-left: 2px solid rgba(255,255,255,0.05);
  margin-bottom: 4px;
}

.comment-author {
  font-size: 0.7rem;
  font-weight: bold;
  color: #fff;
}

.comment-msg {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
  word-break: break-all;
}

.comment-date {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.1);
  margin-top: 4px;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comment-form input, 
.comment-form textarea {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  color: #fff;
  padding: 8px;
  font-size: 0.75rem;
  font-family: inherit;
  outline: none;
}

.comment-input-row {
  display: flex;
  gap: 8px;
}

.comment-form textarea {
  flex: 1;
  height: 36px;
  resize: none;
}

.comment-submit {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.comment-submit:hover {
  background: rgba(255,255,255,0.1);
}

.comment-submit svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}


/* Base custom text effect classes */
.effect-glitch {
  animation: text-glitch 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.effect-glow {
  text-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
}

.effect-rainbow {
  background: linear-gradient(90deg, var(--accent), var(--red), var(--yellow), var(--accent));
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: rainbow 3s linear infinite;
}

@keyframes rainbow {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes text-glitch {
  0% {
    transform: translate(0)
  }

  20% {
    transform: translate(-2px, 2px)
  }

  40% {
    transform: translate(-2px, -2px)
  }

  60% {
    transform: translate(2px, 2px)
  }

  80% {
    transform: translate(2px, -2px)
  }

  100% {
    transform: translate(0)
  }
}

/* ===== ADMIN LINK ===== */
.admin-link {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s;
}

.admin-link:hover {
  opacity: 0.5;
}

.admin-link a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.75rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .username {
    font-size: 1.6rem;
  }

  .music-player {
    padding: 8px 12px;
    gap: 10px;
  }

  .player-cover {
    width: 40px;
    height: 40px;
  }

  .avatar-wrapper {
    width: 90px;
    height: 90px;
  }

  .avatar-decoration {
    width: 114px;
    height: 114px;
  }

  .social-links {
    gap: 10px;
  }

  .social-link {
    width: 36px;
    height: 36px;
  }

  .social-link svg {
    width: 24px;
    height: 24px;
  }
}