:root { 
  --accent: #00f6ff;
  --accent-secondary: #9333ea;
  --accent-glow: rgba(0, 246, 255, 0.5);
  --accent-secondary-glow: rgba(147, 51, 234, 0.5);
  --gradient-primary: linear-gradient(135deg, #00f6ff, #9333ea);
  --gradient-reverse: linear-gradient(135deg, #9333ea, #00f6ff);
  --bg-dark: #000000;
  --bg-overlay: rgba(0, 0, 0, 0.6);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.9);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease-out;
  --border-radius: 10px;
  --shadow-glow: 0 0 20px var(--accent);
  --shadow-glow-secondary: 0 0 20px var(--accent-secondary);
  
  /* Brand Colors */
  --steam-color: #1b2838;
  --steam-border: #66c0f4;
  --steam-glow: rgba(102, 192, 244, 0.3);
  
  --discord-color: #5865f2;
  --discord-border: #7289da;
  --discord-glow: rgba(114, 137, 218, 0.3);
  
  --spotify-color: #1db954;
  --spotify-border: #1ed760;
  --spotify-glow: rgba(30, 215, 96, 0.3);
}

/* Global Glitch Effect */
@keyframes globalGlitch {
  0%, 95%, 100% {
    transform: translate(0);
    filter: hue-rotate(0deg) brightness(1);
  }
  96% {
    transform: translate(-2px, 2px);
    filter: hue-rotate(90deg) brightness(1.2) saturate(1.5);
  }
  97% {
    transform: translate(2px, -2px);
    filter: hue-rotate(180deg) brightness(0.8) saturate(2);
  }
  98% {
    transform: translate(-1px, 1px);
    filter: hue-rotate(270deg) brightness(1.1) saturate(0.7);
  }
  99% {
    transform: translate(1px, -1px);
    filter: hue-rotate(360deg) brightness(0.9) saturate(1.3);
  }
}

body {
  animation: globalGlitch 8s infinite 3s;
}

main {
  animation: globalGlitch 7s infinite 2.5s;
}

h1 {
  animation: slideIn 0.8s ease 0.4s forwards, glitchText 4s infinite 2s, globalGlitch 6s infinite 1.5s;
}

p {
  animation: slideIn 0.8s ease 0.6s forwards, globalGlitch 9s infinite 4s;
}

#stats {
  animation: globalGlitch 5s infinite 1s;
}

#links {
  animation: fadeIn 0.8s ease 0.8s forwards, globalGlitch 10s infinite 5s;
}

/* Glitch Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 1px,
    rgba(0, 246, 255, 0.08) 1px,
    rgba(0, 246, 255, 0.08) 2px,
    transparent 2px,
    transparent 3px,
    rgba(147, 51, 234, 0.06) 3px,
    rgba(147, 51, 234, 0.06) 4px,
    transparent 4px
  );
  pointer-events: none;
  z-index: 1000;
  animation: scanlines 4s linear infinite;
}

@keyframes scanlines {
  0% { transform: translateY(0); }
  100% { transform: translateY(8px); }
}

/* Random Glitch Blocks */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(transparent 45%, rgba(0, 246, 255, 0.2) 50%, transparent 55%),
    linear-gradient(90deg, transparent 45%, rgba(147, 51, 234, 0.2) 50%, transparent 55%),
    linear-gradient(45deg, transparent 48%, rgba(255, 0, 136, 0.15) 50%, transparent 52%),
    linear-gradient(135deg, transparent 47%, rgba(0, 255, 136, 0.15) 50%, transparent 53%);
  background-size: 100% 3px, 3px 100%, 100% 4px, 4px 100%;
  pointer-events: none;
  z-index: 999;
  animation: glitchBlocks 2s steps(1) infinite;
  opacity: 0.3;
}

@keyframes glitchBlocks {
  0%, 85%, 100% { 
    opacity: 0.3; 
    transform: translate(0, 0);
  }
  86% { 
    opacity: 0.5; 
    transform: translate(-3px, 2px);
  }
  87% { 
    opacity: 0.7; 
    transform: translate(3px, -2px);
  }
  88% { 
    opacity: 0.4; 
    transform: translate(-2px, 3px);
  }
  89% { 
    opacity: 0.6; 
    transform: translate(2px, -3px);
  }
  90% { 
    opacity: 0.8; 
    transform: translate(-1px, 1px);
  }
  91% { 
    opacity: 0.5; 
    transform: translate(1px, -1px);
  }
  92% { 
    opacity: 0.6; 
    transform: translate(-2px, 2px);
  }
  93% { 
    opacity: 0.4; 
    transform: translate(2px, -2px);
  }
  94% { 
    opacity: 0.7; 
    transform: translate(-1px, 3px);
  }
}

body{
  background:var(--bg-dark);
  color:var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  height:100vh;
  overflow:hidden;
  cursor:none;
  letter-spacing: 0.5px;
}

#bg{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:-2;
}

.overlay{
  position:fixed;
  inset:0;
  background: linear-gradient(135deg, var(--glass-bg), rgba(147, 51, 234, 0.03));
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  border: 1px solid var(--glass-border);
  z-index:-1;
}

.enter{
  position:fixed;
  inset:0;
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:1.4rem;
  letter-spacing:4px;
  color:var(--accent);
  text-shadow:0 0 15px var(--accent);
  cursor:pointer;
  transition:var(--transition-smooth);
  transform:scale(1);
}

.enter:hover{
  transform:scale(1.05);
  text-shadow:0 0 25px var(--accent), 0 0 40px var(--accent-glow);
}

.enter:active{
  transform:scale(0.95);
}

.hidden{display:none}

main{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  text-align:center;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  background: var(--glass-bg);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 246, 255, 0.1);
  max-width: 500px;
  width: 90%;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

#avatar{
  width:220px;
  height:220px;
  border-radius:50%;
  border:3px solid var(--accent);
  margin-bottom:20px;
  transition:all 0.3s ease;
  cursor: none !important;
  box-shadow:0 0 40px var(--accent-glow);
  position:relative;
  overflow:hidden;
  animation: morphIn 1s ease 0.2s forwards, avatarGlitch 3s infinite 2s;
}

#avatar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(0, 246, 255, 0.2) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

#avatar:hover::after {
  opacity: 1;
}

@keyframes morphIn {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-180deg);
    border-radius: 20%;
  }
  50% {
    transform: scale(1.1) rotate(90deg);
    border-radius: 40%;
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    border-radius: 50%;
  }
}

@keyframes avatarGlitch {
  0%, 85%, 90%, 100% {
    transform: scale(1) rotate(0deg);
    filter: hue-rotate(0deg);
    box-shadow: 0 0 30px var(--accent-glow);
  }
  86% {
    transform: scale(1.02) rotate(-1deg) translateX(-2px);
    filter: hue-rotate(90deg) saturate(1.5);
    box-shadow: -2px 0 20px var(--accent-secondary), 2px 0 20px var(--accent);
  }
  87% {
    transform: scale(0.98) rotate(1deg) translateX(2px);
    filter: hue-rotate(180deg) saturate(2);
    box-shadow: 2px 0 25px var(--accent), -2px 0 25px var(--accent-secondary);
  }
  88% {
    transform: scale(1.01) rotate(-0.5deg) translateX(-1px);
    filter: hue-rotate(270deg) saturate(1.2);
    box-shadow: -1px 0 15px var(--accent-secondary), 1px 0 15px var(--accent);
  }
  89% {
    transform: scale(0.99) rotate(0.5deg) translateX(1px);
    filter: hue-rotate(360deg) saturate(0.8);
    box-shadow: 1px 0 10px var(--accent), -1px 0 10px var(--accent-secondary);
  }
}

#avatar:hover{
  transform:scale(1.05) rotate(2deg);
  box-shadow:0 0 30px var(--accent), 0 0 50px var(--accent-glow), 0 0 40px var(--accent-secondary), 0 0 60px var(--accent-secondary-glow);
  border-color: var(--accent-secondary);
  animation: avatarFloat 3s ease-in-out infinite, avatarGlitchHover 0.5s infinite;
}

@keyframes avatarFloat {
  0%, 100% { transform: scale(1.05) rotate(2deg) translateY(0); }
  50% { transform: scale(1.05) rotate(2deg) translateY(-5px); }
}

@keyframes avatarGlitchHover {
  0%, 100% {
    filter: hue-rotate(0deg) brightness(1);
    transform: scale(1.05) rotate(2deg);
  }
  25% {
    filter: hue-rotate(180deg) brightness(1.2) contrast(1.1);
    transform: scale(1.06) rotate(1deg) translateX(-1px);
  }
  50% {
    filter: hue-rotate(90deg) brightness(0.9) contrast(1.2);
    transform: scale(1.04) rotate(3deg) translateX(1px);
  }
  75% {
    filter: hue-rotate(270deg) brightness(1.1) contrast(0.9);
    transform: scale(1.07) rotate(1deg) translateX(-2px);
  }
}

h1{
  font-size:2.8rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow:0 0 8px var(--accent-glow),0 0 24px var(--accent-secondary-glow);
  transition:var(--transition-smooth);
  opacity: 0;
  animation: slideIn 0.8s ease 0.4s forwards, glitchText 4s infinite 2s;
  position: relative;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes glitchText {
  0%, 90%, 100% {
    text-shadow: 
      0 0 6px var(--accent-glow),
      0 0 18px var(--accent-secondary-glow);
    transform: translate(0);
  }
  92% {
    text-shadow: 
      -2px 0 var(--accent-secondary),
      2px 0 var(--accent);
    transform: translate(-2px, 2px);
  }
  94% {
    text-shadow: 
      2px 0 var(--accent-secondary),
      -2px 0 var(--accent);
    transform: translate(2px, -2px);
  }
  96% {
    text-shadow: 
      0 0 6px var(--accent-glow),
      0 0 18px var(--accent-secondary-glow);
    transform: translate(0);
  }
}

h1:hover{
  background: var(--gradient-reverse);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow:0 0 10px var(--accent),0 0 25px var(--accent-secondary), 0 0 40px var(--accent-glow), 0 0 55px var(--accent-secondary-glow);
}

@keyframes glitchHover {
  0%, 100% {
    transform: translate(0);
  }
  20% {
    transform: translate(-1px, 1px);
  }
  40% {
    transform: translate(-1px, -1px);
  }
  60% {
    transform: translate(1px, 1px);
  }
  80% {
    transform: translate(1px, -1px);
  }
}

/* Bio Badges */
.bio-badge {
  background: linear-gradient(135deg, var(--glass-bg), rgba(147, 51, 234, 0.1));
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-shadow: 0 0 8px var(--accent-glow);
  transition: var(--transition-smooth);
  cursor: none !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 246, 255, 0.1);
}

.bio-badge::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--accent), var(--accent-secondary), var(--accent));
  border-radius: 20px;
  z-index: -1;
  animation: borderRotate 3s linear infinite;
  opacity: 0.5;
}

.bio-badge:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 20px rgba(0, 246, 255, 0.2), 0 4px 25px rgba(147, 51, 234, 0.15);
  background: linear-gradient(135deg, var(--glass-bg), rgba(147, 51, 234, 0.2));
}

p{
  margin-top:12px;
  font-size:1rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: none !important;
  opacity: 0;
  animation: slideIn 0.8s ease 0.6s forwards;
}

#links{margin-top:40px; opacity: 0; animation: fadeIn 0.8s ease 0.8s forwards;}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

#stats{
  margin-top:30px;
  display:flex;
  justify-content:center;
  gap:15px;
  font-size:0.85rem;
  color:var(--text-secondary);
  position: relative;
  z-index: 10;
  flex-wrap: wrap;
  padding: 20px 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.time-widget {
  background: linear-gradient(135deg, var(--glass-bg), rgba(0, 246, 255, 0.1));
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: 'Courier New', monospace;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 2px;
  text-shadow: 0 0 10px var(--accent-glow);
  animation: timeGlow 2s ease-in-out infinite alternate;
  position: relative;
  overflow: hidden;
  min-width: 100px;
  text-align: center;
}

.time-widget::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--accent), var(--accent-secondary), var(--accent));
  border-radius: 20px;
  z-index: -1;
  animation: borderRotate 3s linear infinite;
  opacity: 0.7;
}

@keyframes timeGlow {
  0% { 
    text-shadow: 0 0 10px var(--accent-glow);
    box-shadow: 0 0 15px var(--accent-glow);
  }
  100% { 
    text-shadow: 0 0 20px var(--accent-glow), 0 0 30px var(--accent-secondary-glow);
    box-shadow: 0 0 25px var(--accent-glow), 0 0 35px var(--accent-secondary-glow);
  }
}

.weather-widget {
  background: linear-gradient(135deg, var(--glass-bg), rgba(255, 193, 7, 0.1));
  border: 1px solid rgba(255, 193, 7, 0.5);
  color: #ffc107;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-shadow: 0 0 8px rgba(255, 193, 7, 0.3);
  animation: weatherGlow 3s ease-in-out infinite alternate;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.weather-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.2);
  background: linear-gradient(135deg, var(--glass-bg), rgba(255, 193, 7, 0.2));
}

.weather-widget::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, rgba(255, 193, 7, 0.3), rgba(255, 152, 0, 0.3), rgba(255, 193, 7, 0.3));
  border-radius: 20px;
  z-index: -1;
  animation: weatherBorderRotate 4s linear infinite;
  opacity: 0.5;
}

@keyframes weatherGlow {
  0% { 
    text-shadow: 0 0 8px rgba(255, 193, 7, 0.3);
    box-shadow: 0 0 12px rgba(255, 193, 7, 0.2);
  }
  100% { 
    text-shadow: 0 0 15px rgba(255, 193, 7, 0.5), 0 0 25px rgba(255, 152, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.3), 0 0 30px rgba(255, 152, 0, 0.2);
  }
}

@keyframes weatherBorderRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#visitor-count, #online-status{
  padding:8px 16px;
  border:1px solid var(--accent);
  border-radius:20px;
  background: var(--glass-bg);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  border: 1px solid var(--glass-border);
  transition:var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 246, 255, 0.1);
}

#online-status.online{
  color:#00ff00;
  border-color:#00ff00;
  text-shadow:0 0 6px #00ff00;
}

#online-status.offline{
  color:#ff4444;
  border-color:#ff4444;
  text-shadow:0 0 6px #ff4444;
}

#visitor-count:hover, #online-status:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 246, 255, 0.2), 0 6px 25px rgba(147, 51, 234, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

#links a{
  display:block;
  margin:14px 0;
  padding:12px 12px 12px 50px;
  border:1px solid var(--accent);
  border-radius:var(--border-radius);
  color:var(--accent);
  text-decoration:none;
  background: var(--glass-bg);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  border: 1px solid var(--glass-border);
  transition:var(--transition-smooth);
  transform:translateZ(0);
  position:relative;
  overflow:hidden;
  opacity: 0;
  animation: staggerIn 0.5s ease forwards;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  cursor: none !important;
}

/* Brand logos */
#links a::after {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: none;
  z-index: 2;
}

#links a[href*="steam"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2366c0f4'%3E%3Cpath d='M11.979 0C5.678 0 .511 5.043.5 11.302l.004.458c.044 2.785 1.093 5.342 2.822 7.355l.004.006c.025.028.05.055.075.083.13.148.262.293.398.435.045.047.09.094.136.14.13.13.263.258.399.382l.003.003c.058.053.117.105.176.157.13.113.263.224.398.332l.008.006c.06.048.12.095.181.142.14.108.283.213.428.315l.003.002c.058.04.116.08.175.119.15.1.302.197.456.291l.003.002c.055.033.11.067.166.1.16.094.322.184.487.27l.003.001c.05.025.1.05.151.074.17.08.342.156.516.228l.003.001c.045.018.09.037.135.055.18.07.363.136.548.197l.003.001c.038.012.076.025.114.037.19.06.383.115.578.165l.003.001c.032.008.064.017.096.025.2.053.403.101.608.144l.003.001c.025.005.05.01.075.015.21.042.423.078.637.108l.003.001c.02.003.04.006.06.008.22.03.442.054.666.073l.003.001c.017.002.034.003.05.004.23.018.462.03.696.036l.003.001c.014 0 .028.001.042.001.238.006.477.006.718 0l.003-.001c.014 0 .028-.001.042-.001l.003-.001c.234-.006.466-.018.696-.036l.05-.004.003-.001c.224-.019.446-.043.666-.073l.06-.008.003-.001c.214-.03.427-.066.637-.108l.075-.015.003-.001c.205-.043.408-.091.608-.144l.096-.025.003-.001c.195-.05.388-.105.578-.165l.114-.037.003-.001c.185-.061.368-.127.548-.197l.135-.055.003-.001c.174-.072.346-.148.516-.228l.151-.074.003-.001c.165-.086.327-.176.487-.27l.166-.1.003-.002c.154-.094.306-.191.456-.291l.175-.119.003-.002c.145-.102.288-.207.428-.315l.181-.142.008-.006c.135-.108.268-.219.398-.332l.176-.157.003-.003c.136-.124.269-.252.399-.382l.136-.14c.136-.142.268-.287.398-.435.025-.028.05-.055.075-.083l.004-.006c1.729-2.013 2.778-4.57 2.822-7.355l.004-.458C23.447 5.043 18.28 0 11.979 0zm0 2.16c5.874 0 10.633 4.688 10.633 10.48 0 5.791-4.759 10.48-10.633 10.48-5.874 0-10.633-4.689-10.633-10.48 0-5.792 4.759-10.48 10.633-10.48z'/%3E%3Cpath d='M8.29 11.357c-1.085 0-1.965.864-1.965 1.928s.88 1.928 1.965 1.928c1.085 0 1.965-.864 1.965-1.928s-.88-1.928-1.965-1.928zm7.378 0c-1.085 0-1.965.864-1.965 1.928s.88 1.928 1.965 1.928c1.085 0 1.965-.864 1.965-1.928s-.88-1.928-1.965-1.928z'/%3E%3C/svg%3E");
}

#links a[href*="discord"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237289da'%3E%3Cpath d='M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515a.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0a12.64 12.64 0 0 0-.617-1.25a.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057a19.9 19.9 0 0 0 5.993 3.03a.078.078 0 0 0 .084-.028a14.09 14.09 0 0 0 1.226-1.994a.076.076 0 0 0-.041-.106a13.107 13.107 0 0 1-1.872-.892a.077.077 0 0 1-.008-.128a10.2 10.2 0 0 0 .372-.292a.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127a12.299 12.299 0 0 1-1.873.892a.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028a19.839 19.839 0 0 0 6.002-3.03a.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419c0-1.333.956-2.419 2.157-2.419c1.21 0 2.176 1.096 2.157 2.42c0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419c0-1.333.955-2.419 2.157-2.419c1.21 0 2.176 1.096 2.157 2.42c0 1.333-.946 2.418-2.157 2.418z'/%3E%3C/svg%3E");
}

#links a[href*="spotify"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231ed760'%3E%3Cpath d='M12 0C5.4 0 0 5.4 0 12s5.4 12 12 12s12-5.4 12-12S18.66 0 12 0zm5.521 17.34c-.24.359-.66.48-1.021.24c-2.82-1.74-6.36-2.101-10.561-1.141c-.418.122-.779-.179-.899-.539c-.12-.421.18-.78.54-.9c4.56-1.021 8.52-.6 11.64 1.32c.42.18.479.659.301 1.02zm1.44-3.3c-.301.42-.841.6-1.262.3c-3.239-1.98-8.159-2.58-11.939-1.38c-.479.12-1.02-.12-1.14-.6c-.12-.48.12-1.021.6-1.141C9.6 9.9 15 10.561 18.72 12.84c.361.181.54.78.241 1.2zm.12-3.36C15.24 8.4 8.82 8.16 5.16 9.301c-.6.179-1.2-.181-1.38-.721c-.18-.601.18-1.2.72-1.381c4.26-1.26 11.28-1.02 15.721 1.621c.539.3.719 1.02.419 1.56c-.299.421-1.02.599-1.559.3z'/%3E%3C/svg%3E");
}

/* Brand-specific link styles */
#links a[href*="steam"] {
  border-color: var(--steam-border);
  color: var(--steam-border);
  background: linear-gradient(135deg, var(--glass-bg), rgba(27, 40, 56, 0.1));
}

#links a[href*="discord"] {
  border-color: var(--discord-border);
  color: var(--discord-border);
  background: linear-gradient(135deg, var(--glass-bg), rgba(88, 101, 242, 0.1));
}

#links a[href*="spotify"] {
  border-color: var(--spotify-border);
  color: var(--spotify-border);
  background: linear-gradient(135deg, var(--glass-bg), rgba(29, 185, 84, 0.1));
}

#links a[href*="steam"]:hover {
  background: var(--steam-color);
  box-shadow: 0 5px 20px var(--steam-glow);
  border-color: var(--steam-border);
}

#links a[href*="discord"]:hover {
  background: var(--discord-color);
  box-shadow: 0 5px 20px var(--discord-glow);
  border-color: var(--discord-border);
}

#links a[href*="spotify"]:hover {
  background: var(--spotify-color);
  box-shadow: 0 5px 20px var(--spotify-glow);
  border-color: var(--spotify-border);
}

#links a:nth-child(1) { animation-delay: 0.9s; }
#links a:nth-child(2) { animation-delay: 1.0s; }
#links a:nth-child(3) { animation-delay: 1.1s; }
#links a:nth-child(4) { animation-delay: 1.2s; }
#links a:nth-child(5) { animation-delay: 1.3s; }

@keyframes staggerIn {
  from {
    opacity: 0;
    transform: translateX(-20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

#links a::before{
  content:'';
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background:linear-gradient(90deg, transparent, var(--accent-glow), transparent);
  transition:left 1s;
  z-index: 1;
}

#links a:hover::before{
  left:100%;
}

#links a:hover{
  transform:translateY(-2px) scale(1.02);
  border-color:var(--text-primary);
  animation:glow .25s infinite;
}

.link-stats{
  float:right;
  font-size:0.8rem;
  opacity:0.7;
  font-weight:normal;
}

@keyframes glow{
  0%{box-shadow:0 5px 20px var(--accent-glow), 0 5px 30px var(--accent-secondary-glow)}
  50%{box-shadow:0 5px 25px var(--accent-secondary-glow), 0 5px 35px var(--accent-glow)}
  100%{box-shadow:0 5px 20px var(--accent-glow), 0 5px 30px var(--accent-secondary-glow)}
}

@keyframes glitch{
  0%{text-shadow:2px 0 var(--accent-secondary)}
  50%{text-shadow:-2px 0 var(--accent)}
  100%{text-shadow:2px 0 var(--accent-secondary)}
}


.cursor{
  position:fixed;
  width:18px;
  height:18px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:var(--shadow-glow);
  pointer-events:none;
  transform:translate(-50%,-50%);
  z-index:999;
  transition:var(--transition-fast);
}

.cursor.hover{
  transform:translate(-50%,-50%) scale(1.5);
  background:var(--text-primary);
}

.preloader{
  position:fixed;
  inset:0;
  background:var(--bg-dark);
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:10000;
  transition:opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

.preloader.hidden{
  opacity:0;
  visibility:hidden;
}

.loader{
  width:80px;
  height:80px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

.preloader.hidden .loader {
  opacity: 0;
  visibility: hidden;
}

.loader::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid var(--glass-border);
  border-top: 3px solid var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 60%;
  border: 2px solid var(--glass-border);
  border-bottom: 2px solid var(--accent-secondary);
  border-radius: 50%;
  animation: spinReverse 0.8s linear infinite;
}

.loader-text {
  position: absolute;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin{
  0%{transform: rotate(0deg)}
  100%{transform: rotate(360deg)}
}

@keyframes spinReverse{
  0%{transform: rotate(360deg)}
  100%{transform: rotate(0deg)}
}

@keyframes pulse{
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

::-webkit-scrollbar{
  width:8px;
}

::-webkit-scrollbar-track{
  background:var(--bg-dark);
}

::-webkit-scrollbar-thumb{
  background:var(--accent);
  border-radius:4px;
  box-shadow:var(--shadow-glow);
}

::-webkit-scrollbar-thumb:hover{
  background:var(--text-primary);
}

#particles, #visualizer{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
}

#visualizer{
  z-index:0;
  opacity:0.3;
}

/* Parallax Effect */
.parallax-layer {
  position: fixed;
  pointer-events: none;
}

.parallax-bg {
  z-index: -3;
  transform: translateZ(-10px) scale(1.1);
}

.parallax-mid {
  z-index: -2;
  transform: translateZ(-5px) scale(1.05);
}

.parallax-front {
  z-index: -1;
  transform: translateZ(-2px) scale(1.02);
}

#tag {
  position: fixed;
  bottom: 20px;
  left: 20px;
  font-size: 0.9rem;
  color: var(--accent);
  text-shadow: 0 0 6px var(--accent);
  font-family: Arial, sans-serif;
  opacity: 0.8;
  z-index: 1000;
}

#volume-control {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 246, 255, 0.1);
  cursor: none !important;
}

#volume-control::before {
  content: '🔊';
  font-size: 1rem;
  opacity: 0.8;
}

#volume-control:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 246, 255, 0.2);
  border-color: var(--accent);
}

#volume-slider {
  width: 100px;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  outline: none;
  cursor: none !important;
  padding: 10px 0;
  margin: -10px 0;
}

#volume-slider::-webkit-slider-track {
  width: 100%;
  height: 6px;
  background: var(--glass-border);
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  cursor: none !important;
  box-shadow: 0 0 10px var(--accent-glow);
  transition: var(--transition-fast);
  border: 2px solid var(--text-primary);
  margin-top: -6px;
}

#volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 15px var(--accent-glow), 0 0 25px var(--accent-secondary-glow);
  background: var(--accent-secondary);
}

#volume-slider::-moz-range-track {
  width: 100%;
  height: 6px;
  background: var(--glass-border);
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#volume-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  cursor: none !important;
  box-shadow: 0 0 10px var(--accent-glow);
  transition: var(--transition-fast);
  border: 2px solid var(--text-primary);
  border: none;
}


@media(max-width:600px){
  h1{font-size:1.8rem}
  #avatar{width:100px;height:100px}
  
  body{
    cursor:auto !important;
  }
  
  .cursor{
    display:none !important;
  }
  
  .enter{
    font-size:1.2rem;
    letter-spacing:2px;
  }
  
  #stats{
    flex-direction:column;
    gap:10px;
    font-size:0.8rem;
  }
  
  #links a{
    margin:10px 0;
    padding:15px;
    font-size:0.9rem;
  }
  
  .link-stats{
    display:block;
    float:none;
    margin-top:5px;
    font-size:0.7rem;
  }
  
  #volume-control{
    bottom:10px;
    right:10px;
  }
  
  #volume-slider{
    width:80px;
  }

  main{
    padding: 30px 20px;
    width: 95%;
    margin: 20px;
  }

  /* Enhanced mobile touch targets */
  #links a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Better mobile animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translate(-50%, -30%);
    }
    to {
      opacity: 1;
      transform: translate(-50%, -50%);
    }
  }

  /* Mobile-optimized parallax */
  #bg {
    transform: none !important;
  }

  .overlay {
    transform: none !important;
  }

  #particles {
    transform: none !important;
  }
}
