@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
  --bg-color: #0e0018;
  --text-color: #fdf6ff;
  --accent-color: #ff66cc;
  --header-bg: #220033;
}

body {
  margin: 0;
  font-family: 'Press Start 2P', monospace;
  background-color: var(--bg-color);
  color: var(--text-color);
  background: black;
  overflow: hidden;
}

.stars {
  position: fixed;
  width: 200%;
  height: 200%;
  background: url('https://i.imgur.com/U3XqPcs.gif') repeat;
  animation: moveStars 60s linear infinite;
  z-index: 0;
  opacity: 0.4;
}

@keyframes moveStars {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-50%, -50%); }
}

#container {
  width: 800px;
  margin: auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--accent-color);
  position: relative;
  z-index: 1;
}

header {
  background-color: var(--header-bg);
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid var(--accent-color);
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
  justify-content: center;
}

nav a {
  color: var(--accent-color);
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

main {
  margin-top: 20px;
  text-align: center;
}

body {
  background-image: url("/stars-bg.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  font-family: 'Courier New', monospace;
  animation: drift 120s linear infinite;
}

@keyframes drift {
  0% { background-position: 0 0; }
  100% { background-position: 1000px 1000px; }
}

/* Sparkle overlay */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: url("https://files.catbox.moe/0z3jwb.gif") repeat;
  pointer-events: none;
  z-index: 999;
  opacity: 0.3;
}

footer {
  text-align: right;
  font-size: 10px;
  margin-top: 40px;
}
