@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Press Start 2P', cursive;
  background: linear-gradient(135deg, #ff00cc, #3333ff, #00ffff, #ffcc00);
  background-size: 600% 600%;
  animation: gradientBG 20s ease infinite;
  color: #fff;
  scroll-behavior: smooth;
  text-align: center;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  padding: 15px 0;
  z-index: 1000;
  animation: fadeSlideDown 1s ease-out;
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}

.navbar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.navbar li {
  display: inline-block;
  margin: 0 25px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.navbar a {
  color: #00ffff;
  text-decoration: none;
  font-weight: bold;
  text-shadow: 0 0 5px #00ffff, 0 0 15px #ff00ff;
  transition: all 0.3s ease;
}

.navbar a:hover {
  color: #ff00ff;
  text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff;
  transform: scale(1.2);
}

/* Hero Section */
.hero {
  padding: 120px 20px 60px;
  animation: fadeIn 2s ease-in;
}

.hero h1 {
  font-size: 2.5em;
  text-shadow: 0 0 10px #fff, 0 0 20px #0ff;
  animation: flicker 3s infinite;
}

.subtitle {
  font-size: 1.2em;
  color: #ffccff;
  text-shadow: 0 0 5px #ffccff;
  animation: slideUp 1.5s ease-out;
}

@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Sections */
section {
  padding: 100px 20px;
  animation: fadeIn 2s ease-in;
}

section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  text-shadow: 0 0 5px #fff, 0 0 10px #0ff;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

section p {
  font-size: 1.2em;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 0 5px #fff;
  animation: fadeSlide 1.5s ease forwards;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Image Styling */
img {
  width: 200px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 15px #fff;
  margin: 20px 0;
  animation: floaty 3s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover {
  transform: scale(1.1) rotate(2deg);
  box-shadow: 0 0 25px #ff00ff;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
