* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: #0f0f1a;
  color: #ffffff;
  overflow-x: hidden;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #ff45f6;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #ffffff;
}

.hero {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(to right, #110022, #220044);
  color: white;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  background: #ff45f6;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #e83ed6;
}

.games-section,
.about {
  padding: 80px 20px;
  text-align: center;
}

.games-section h2,
.about h2 {
  font-size: 2.5rem;
  color: #ff45f6;
  margin-bottom: 2rem;
}

.game-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.card {
  background: #1b1b2f;
  padding: 2rem;
  border-radius: 15px;
  max-width: 300px;
  transition: transform 0.3s ease;
  box-shadow: 0 0 20px rgba(255, 69, 246, 0.2);
}

.card:hover {
  transform: scale(1.05);
}

.card h3 {
  margin-bottom: 1rem;
  color: #ffffff;
}

.card p {
  color: #ccc;
}

footer {
  background: #111;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 50px;
}

footer a {
  color: #ff45f6;
  text-decoration: none;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 🌊 Animated Ocean Waves */
.ocean {
  position: relative;
  width: 100%;
  height: 120px;
  margin-top: -5px;
  background: #0a0f24;
  overflow: hidden;
}

.wave {
  position: absolute;
  width: 200%;
  height: 100%;
  background: url('https://svgshare.com/i/uij.svg') repeat-x;
  background-size: contain;
  bottom: 0;
  opacity: 0.6;
  animation: wave 10s linear infinite;
}

.wave1 {
  z-index: 1;
  animation-delay: 0s;
}

.wave2 {
  z-index: 2;
  opacity: 0.4;
  animation-delay: -5s;
}

@keyframes wave {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
