/* Estilos gerais */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #1a1625;
  color: #ffcaff;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Cabeçalho */
header {
  background: linear-gradient(135deg, #ff9de5 0%, #e0caff 100%);
  padding: 1rem 2rem;
  box-shadow: 0 4px 20px rgba(255, 157, 229, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo img {
  height: 50px;
  filter: drop-shadow(0 0 5px rgba(224, 202, 255, 0.7));
}

nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

nav li {
  margin-right: 1.5rem;
}

nav a {
  color: #1a1625;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  background-color: rgba(255, 202, 255, 0.5);
}

nav a:hover {
  background-color: #ffcaff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 157, 229, 0.4);
}

/* Seção de jogos */
.games {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.games h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #ff9de5;
  text-shadow: 0 0 10px rgba(255, 157, 229, 0.5);
  position: relative;
}

.games h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #ff9de5, #e0caff);
  margin: 0.5rem auto;
  border-radius: 2px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.game-card {
  background: rgba(26, 22, 37, 0.7);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid #ff9de5;
  box-shadow: 0 5px 15px rgba(255, 157, 229, 0.2);
  position: relative;
  overflow: hidden;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(255, 157, 229, 0.4);
  border-color: #e0caff;
}

.game-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,202,255,0.1) 0%, rgba(255,157,229,0) 70%);
  transform: rotate(45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.game-card:hover::before {
  opacity: 1;
  animation: shine 1.5s infinite;
}

@keyframes shine {
  0% {
    transform: rotate(45deg) translate(-30%, -30%);
  }
  100% {
    transform: rotate(45deg) translate(30%, 30%);
  }
}

.game-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
  border: 2px solid #ffcaff;
}

.game-card h3 {
  margin: 0.5rem 0;
  color: #ff9de5;
  font-size: 1.3rem;
}

.game-card p {
  margin: 0;
  color: #e0caff;
  font-size: 0.9rem;
}

.star {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  color: #ffcaff;
  text-shadow: 0 0 5px #ff9de5;
  animation: twinkle 2s infinite alternate;
}

@keyframes twinkle {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Rodapé */
footer {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #e0caff 0%, #ff9de5 100%);
  color: #1a1625;
  font-weight: bold;
  margin-top: 3rem;
}

/* Efeitos especiais */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(255, 157, 229, 0.1) 0%, transparent 30%),
              radial-gradient(circle at 80% 70%, rgba(224, 202, 255, 0.1) 0%, transparent 30%);
  pointer-events: none;
  z-index: -1;
}

/* Responsividade */
@media (max-width: 768px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  nav ul {
    justify-content: center;
  }
  
  header {
    text-align: center;
    padding: 1rem;
  }
  
  .logo img {
    margin: 0 auto;
  }
}