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

body {
  margin: 0;
  font-family: 'Press Start 2P', cursive;
  background: #000;
  color: #0ff;
  overflow-x: hidden;
}

canvas#bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at center, #050d1a, #000);
}

header {
  text-align: center;
  padding: 20px;
  font-size: 22px;
  color: #0ff;
  text-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
  animation: flicker 2s infinite alternate;
}

@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    text-shadow: 0 0 5px #0ff, 0 0 10px #0ff, 0 0 20px #0ff;
    color: #0ff;
  }
  20%, 24%, 55% {
    text-shadow: none;
    color: #022;
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}

.card {
  background: rgba(0,0,0,0.6);
  border: 2px solid #0ff;
  border-radius: 12px;
  text-align: center;
  padding: 10px;
  box-shadow: 0 0 15px #0ff;
  transition: transform 0.2s;
}

.card:hover {
  transform: scale(1.05);
}

.card img {
  width: 100%;
  border-radius: 10px;
  border: 2px solid #0ff;
}

.card h3 {
  margin: 10px 0;
  color: #0ff;
  font-size: 16px;
}

.card a {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 12px;
  color: #0ff;
  text-decoration: none;
  border: 2px solid #0ff;
  border-radius: 8px;
  text-shadow: 0 0 5px #0ff;
  animation: glow 1.5s infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 0 5px #0ff, 0 0 10px #0ff; }
  to { text-shadow: 0 0 20px #0ff, 0 0 40px #0ff; }
}

iframe {
  width: 90%;
  height: 500px;
  border: 2px solid #0ff;
  border-radius: 12px;
  box-shadow: 0 0 20px #0ff;
  margin: 20px auto;
  display: block;
}

.back {
  display: block;
  text-align: center;
  margin: 20px auto;
  color: #0ff;
  text-decoration: none;
  border: 2px solid #0ff;
  padding: 8px 16px;
  border-radius: 8px;
}
