@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Orbitron:wght@600&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Orbitron', sans-serif;
  background: black;
  color: #fff;
  text-align: center;
  overflow-x: hidden;
}

/* Nền gradient động */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(270deg, #ff00cc, #3333ff, #00ffcc, #ff3300);
  background-size: 800% 800%;
  animation: gradientShift 20s ease infinite;
  z-index: -2;
}

/* Hiệu ứng noise */
body::after {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("https://media.giphy.com/media/oEI9uBYSzLpBK/giphy.gif");
  opacity: 0.08;
  z-index: -1;
}

@keyframes gradientShift {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

/* Glitch text */
.glitch {
  font-size: 3em;
  position: relative;
  display: inline-block;
  font-family: 'Press Start 2P', cursive;
  color: white;
  text-transform: uppercase;
  margin-top: 80px;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
}
.glitch::before {
  animation: glitchTop 1s infinite linear alternate-reverse;
  color: #ff00c1;
  clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}
.glitch::after {
  animation: glitchBottom 1.5s infinite linear alternate-reverse;
  color: #00fff9;
  clip-path: polygon(0 66%, 100% 66%, 100% 100%, 0 100%);
}

@keyframes glitchTop {
  0% {transform: translate(0);}
  20% {transform: translate(-3px, -2px);}
  40% {transform: translate(-5px, 2px);}
  60% {transform: translate(3px, 1px);}
  80% {transform: translate(2px, -1px);}
  100% {transform: translate(0);}
}
@keyframes glitchBottom {
  0% {transform: translate(0);}
  20% {transform: translate(3px, 2px);}
  40% {transform: translate(-2px, -1px);}
  60% {transform: translate(-3px, 2px);}
  80% {transform: translate(2px, 1px);}
  100% {transform: translate(0);}
}

/* Subtitle + menu */
.subtitle {
  margin-top: 20px;
  font-size: 1.2em;
  text-shadow: 0 0 10px #ff66ff;
}

nav {
  margin: 30px 0;
}
nav a {
  margin: 0 15px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s;
}
nav a:hover {
  color: #00ffe0;
  text-shadow: 0 0 5px #00ffe0, 0 0 15px #ff00ff;
}

.content {
  max-width: 700px;
  margin: auto;
  padding: 20px;
  background: rgba(0,0,0,0.5);
  border: 2px solid #ff00ff;
  border-radius: 12px;
  box-shadow: 0 0 20px #ff00ff;
}

footer {
  margin-top: 50px;
  font-size: 0.9em;
  opacity: 0.7;
}
