: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);
  will-change: transform, box-shadow, background;
}

.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));
  animation: badgeGlitch 0.3s infinite, badgeColorMorph 2s ease-in-out infinite;
}

.bio-badge:hover::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 246, 255, 0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  animation: badgePulse 1.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes badgeGlitch {
  0%, 100% {
    transform: translateY(-2px) scale(1.05) translate(0, 0);
    filter: hue-rotate(0deg);
  }
  20% {
    transform: translateY(-2px) scale(1.05) translate(-1px, 1px);
    filter: hue-rotate(90deg) brightness(1.1);
  }
  40% {
    transform: translateY(-2px) scale(1.05) translate(1px, -1px);
    filter: hue-rotate(180deg) brightness(0.9);
  }
  60% {
    transform: translateY(-2px) scale(1.05) translate(-1px, 0);
    filter: hue-rotate(270deg) brightness(1.05);
  }
  80% {
    transform: translateY(-2px) scale(1.05) translate(1px, 1px);
    filter: hue-rotate(360deg) brightness(0.95);
  }
}

@keyframes badgeColorMorph {
  0%, 100% {
    background: linear-gradient(135deg, var(--glass-bg), rgba(147, 51, 234, 0.2));
    border-color: var(--accent);
    color: var(--accent);
  }
  25% {
    background: linear-gradient(135deg, var(--glass-bg), rgba(0, 246, 255, 0.2));
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
  }
  50% {
    background: linear-gradient(135deg, var(--glass-bg), rgba(147, 51, 234, 0.3));
    border-color: var(--accent);
    color: var(--text-primary);
  }
  75% {
    background: linear-gradient(135deg, var(--glass-bg), rgba(0, 246, 255, 0.3));
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
  }
}

@keyframes badgePulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.3;
  }
}

/* Particle burst effect for badges */
.bio-badge.particle-burst::before {
  animation: none;
}

.bio-badge.particle-burst::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: particleBurst 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes particleBurst {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    box-shadow: 0 0 10px var(--accent-glow);
  }
  100% {
    transform: translate(-50%, -50%) scale(20);
    opacity: 0;
    box-shadow: 0 0 30px transparent;
  }
}

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:8px;
  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);
}

#stats span {
  text-align: center;
  white-space: nowrap;
}

.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);
  }
}


@keyframes weatherBorderRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#visitor-count, #online-status, #weather-widget{
  padding:6px 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, #weather-widget: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;
  }
}

/* ===== TOOLS STYLING ===== */

/* Tools Container */
#tools-container {
  position: fixed;
  bottom: 140px;
  right: 20px;
  z-index: 1000;
}

.tools-toggle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 1.5rem;
  cursor: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 246, 255, 0.1);
}

.tools-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 246, 255, 0.2);
  border-color: var(--accent);
}

.tools-menu {
  position: absolute;
  bottom: 60px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--glass-bg);
  border: 1px solid var(--accent);
  border-radius: 15px;
  padding: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.tool-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: none !important;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-btn:hover {
  background: var(--accent);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* Tool Modals */
.tool-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  max-width: 90vw;
  max-height: 80vh;
  background: var(--glass-bg);
  border: 1px solid var(--accent);
  border-radius: 15px;
  padding: 20px;
  z-index: 10000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}

.tool-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--glass-border);
}

.tool-header h3 {
  color: var(--accent);
  margin: 0;
  font-size: 1.2rem;
  text-shadow: 0 0 10px var(--accent-glow);
}

.close-tool {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: none !important;
  transition: var(--transition-smooth);
  padding: 5px;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-tool:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}

/* Tool Content */
.tool-content {
  color: var(--text-primary);
}

.input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.input-group input {
  flex: 1;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
}

.input-group button, .generate-btn {
  padding: 12px 20px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 8px;
  color: var(--text-primary);
  font-weight: 500;
  cursor: none !important;
  transition: var(--transition-smooth);
  font-size: 0.9rem;
}

.input-group button:hover, .generate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 246, 255, 0.3);
}

/* Result Areas */
.result-area {
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-top: 20px;
}

.result-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.result-actions button {
  padding: 8px 16px;
  background: var(--spotify-color);
  border: none;
  border-radius: 6px;
  color: white;
  font-weight: 500;
  cursor: none !important;
  transition: var(--transition-smooth);
  font-size: 0.85rem;
}

.result-actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(29, 185, 84, 0.3);
}

#qr-code {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

#qr-code canvas, #qr-code img {
  border: 2px solid var(--accent);
  border-radius: 8px;
}

/* Password Generator */
.password-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.password-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.password-options input[type="range"] {
  flex: 1;
  height: 6px;
  background: var(--glass-border);
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
}

.password-options input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  cursor: none !important;
}

.password-options input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.password-display {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.password-display input {
  flex: 1;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.password-display button {
  padding: 12px 16px;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  color: var(--text-primary);
  cursor: none !important;
  transition: var(--transition-smooth);
}

.password-strength {
  height: 6px;
  background: var(--glass-border);
  border-radius: 3px;
  overflow: hidden;
}

.password-strength-bar {
  height: 100%;
  transition: width 0.3s ease, background 0.3s ease;
}

/* URL Shortener */
.url-display {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.url-display input {
  flex: 1;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.url-display button {
  padding: 12px 16px;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  color: var(--text-primary);
  cursor: none !important;
  transition: var(--transition-smooth);
}

.url-stats {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Markdown Preview */
.markdown-editor {
  margin-bottom: 20px;
}

#markdown-input {
  width: 100%;
  min-height: 200px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  resize: vertical;
}

.editor-toolbar {
  display: flex;
  gap: 5px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.editor-toolbar button {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  cursor: none !important;
  transition: var(--transition-smooth);
}

.editor-toolbar button:hover {
  background: var(--accent);
  color: var(--text-primary);
}

.markdown-preview {
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.markdown-preview h4 {
  color: var(--accent);
  margin: 0 0 15px 0;
  font-size: 1rem;
}

#markdown-output {
  color: var(--text-primary);
  line-height: 1.6;
}

#markdown-output h1, #markdown-output h2, #markdown-output h3 {
  color: var(--accent);
  margin-top: 20px;
  margin-bottom: 10px;
}

#markdown-output code {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
}

#markdown-output pre {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 15px 0;
}

#markdown-output blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 15px;
  margin: 15px 0;
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
  .tool-modal {
    width: 95vw;
    max-height: 90vh;
  }
  
  .tools-menu {
    bottom: 60px;
    right: -10px;
  }
  
  .input-group {
    flex-direction: column;
  }
  
  .result-actions {
    flex-direction: column;
  }
  
  .editor-toolbar {
    justify-content: center;
  }
}

/* Animations */
@keyframes toolSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.tool-modal:not(.hidden) {
  animation: toolSlideIn 0.3s ease-out;
}

@keyframes menuSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tools-menu {
  display: flex;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease-out, visibility 0.3s ease-out, transform 0.3s ease-out;
}

.tools-menu:not(.hidden) {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===== NEW TOOLS STYLING ===== */

/* ASCII Art Generator */
#ascii-input {
  flex: 1;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
}

#ascii-font {
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: none !important;
}

#ascii-output {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 15px;
  color: var(--accent);
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  line-height: 1.2;
  white-space: pre;
  overflow-x: auto;
  text-shadow: 0 0 5px var(--accent-glow);
}

/* IP Address Lookup */
.ip-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.ip-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid var(--glass-border);
}

.ip-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.ip-value {
  color: var(--accent);
  font-weight: 500;
  font-family: 'Courier New', monospace;
}

.ip-map-container {
  margin: 20px 0;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.map-placeholder {
  color: var(--text-secondary);
  font-size: 1.2rem;
}

/* Domain Lookup Tabs */
.lookup-tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 10px;
}

.tab-btn {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 6px 6px 0 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
  cursor: none !important;
  transition: var(--transition-smooth);
  border-bottom: none;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--accent);
  color: var(--text-primary);
  border-color: var(--accent);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* DNS Records Styling */
.dns-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.dns-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 15px;
  border: 1px solid var(--glass-border);
}

.dns-section h4 {
  color: var(--accent);
  margin: 0 0 10px 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dns-records {
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  color: var(--text-primary);
  line-height: 1.4;
  word-break: break-all;
}

.dns-record-item {
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dns-record-item:last-child {
  border-bottom: none;
}

/* WHOIS Data Styling */
.whois-info {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 15px;
  border: 1px solid var(--accent);
  max-height: 300px;
  overflow-y: auto;
}

.whois-data {
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  color: var(--accent);
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-all;
  margin: 0;
  text-shadow: 0 0 3px var(--accent-glow);
}

/* Enhanced IP Detail Styling */
.ip-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  margin-bottom: 8px;
  transition: var(--transition-smooth);
}

.ip-detail:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  transform: translateX(2px);
}

.ip-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.ip-value {
  color: var(--accent);
  font-weight: 600;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  max-width: 60%;
  text-align: right;
  word-break: break-all;
}

/* Enhanced Input Styling */
#domain-input {
  flex: 1;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
}

#domain-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(0, 246, 255, 0.3);
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: '...';
  animation: dots 1.5s infinite;
}

@keyframes dots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}

/* Dice Roller */
.dice-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.dice-options label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.dice-options select,
.dice-options input[type="number"] {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: inherit;
  cursor: none !important;
}

.dice-animation {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  height: 100px;
  align-items: center;
}

.dice-3d {
  width: 80px;
  height: 80px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.dice-3d.rolling {
  animation: diceRoll 2s ease-in-out;
}

.dice-face {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: var(--gradient-primary);
  border: 2px solid var(--accent);
  border-radius: 12px;
  box-shadow: 0 0 20px var(--accent-glow);
}

.dice-outcome {
  text-align: center;
  margin: 20px 0;
}

.dice-values {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 10px 0;
  flex-wrap: wrap;
}

.dice-value {
  background: var(--accent);
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1.1rem;
  min-width: 40px;
  text-align: center;
}

.dice-total {
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: bold;
  margin-top: 10px;
}

.dice-history {
  margin-top: 20px;
}

.dice-history-list {
  max-height: 150px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px;
}

.dice-history-item {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.85rem;
}

.dice-history-item:last-child {
  border-bottom: none;
}

/* Coin Flip */
.coin-animation {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  height: 100px;
  align-items: center;
}

.coin-3d {
  width: 80px;
  height: 80px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.coin-3d.flipping {
  animation: coinFlip 2s ease-in-out;
}

.coin-face {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  border: 3px solid #ffaa00;
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
  backface-visibility: hidden;
}

.coin-face.tails {
  transform: rotateY(180deg);
}

.coin-outcome {
  text-align: center;
  margin: 20px 0;
}

.coin-result-text {
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: bold;
  margin: 10px 0;
}

.coin-stats {
  display: flex;
  justify-content: space-around;
  margin: 20px 0;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.coin-stat {
  text-align: center;
}

.coin-stat span:first-child {
  display: block;
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 5px;
}

.coin-stat span:last-child {
  color: var(--accent);
  font-weight: bold;
  font-size: 1.1rem;
}

.coin-history {
  margin-top: 20px;
}

.coin-history-list {
  max-height: 150px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px;
}

.coin-history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.85rem;
}

.coin-history-item:last-child {
  border-bottom: none;
}

.coin-result {
  font-weight: bold;
}

.coin-result.heads {
  color: #ffd700;
}

.coin-result.tails {
  color: #ff6b6b;
}

/* Animations */
@keyframes diceRoll {
  0% {
    transform: rotateX(0deg) rotateY(0deg);
  }
  25% {
    transform: rotateX(720deg) rotateY(360deg);
  }
  50% {
    transform: rotateX(1440deg) rotateY(720deg);
  }
  75% {
    transform: rotateX(2160deg) rotateY(1080deg);
  }
  100% {
    transform: rotateX(2880deg) rotateY(1440deg);
  }
}

@keyframes coinFlip {
  0% {
    transform: rotateY(0deg);
  }
  25% {
    transform: rotateY(900deg);
  }
  50% {
    transform: rotateY(1800deg);
  }
  75% {
    transform: rotateY(2700deg);
  }
  100% {
    transform: rotateY(3600deg);
  }
}

/* Responsive Design for New Tools */
@media (max-width: 768px) {
  .dice-options {
    gap: 10px;
  }
  
  .dice-options label {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .coin-stats {
    flex-direction: column;
    gap: 10px;
  }
  
  .ip-detail {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}
