* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: monospace;
  background: #0b0b0b;
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  animation: fadeIn 1.2s ease forwards;
}

header {
  padding: 20px;
  background: #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #222;
  animation: slideDown 0.8s ease forwards;
}

header h1 a {
  color: #9b5de5;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
  user-select: none;
  position: relative;
  animation: float 3s ease-in-out infinite, glowText 3s ease-in-out infinite alternate;
}

header h1 a:hover {
  color: #b890ff;
  text-decoration: none;
}

header h1 a:active {
  color: #9b5de5;
}

nav a {
  margin-left: 20px;
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  animation: fadeIn 1s ease forwards;
}

nav a:hover {
  color: #fff;
  transform: scale(1.1);
}

main {
  flex: 1;
  padding: 80px 20px;
  text-align: center;
  animation: fadeInUp 1s ease forwards;
}

main h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation-name: none;
}

main .highlight {
  color: #9b5de5;
  animation: glowText 3s ease-in-out infinite alternate;
}

main p {
  font-size: 1.2rem;
  color: #aaa;
  margin-bottom: 40px;
  animation: fadeInText 2s ease forwards;
}

.links a {
  display: inline-block;
  margin: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #333;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
  animation: fadeInUp 1.2s ease forwards;
}

.links a:hover {
  background: #555;
  transform: translateY(-3px);
}

.stats {
  padding: 40px 20px;
  text-align: center;
  background: #111;
  border-top: 2px solid #222;
  animation: fadeIn 1.4s ease forwards;
}

.stats h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  animation-name: none;
}

.stats p {
  font-size: 1rem;
  color: #bbb;
}

footer {
  padding: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #666;
  border-top: 1px solid #222;
  animation: fadeIn 1.6s ease forwards;
}

footer a {
  color: #888;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #fff;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInText {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowText {
  0% {
    text-shadow: 0 0 10px #9b5de5, 0 0 20px #9b5de5;
  }
  100% {
    text-shadow: 0 0 20px #b890ff, 0 0 40px #b890ff;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

#snow {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: -1;
}