body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  color: #e6e6e6;
  background: linear-gradient(135deg, #0b0c2a, #1b1e5f, #2e307a);
  line-height: 1.6;
}

#menu {
  background: rgba(255, 255, 255, 0.95);
  background-color: blur(10px);
  transition: all 0.4s ease;
  padding: 10px 5%;
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

.navbar-brand {
  text-transform: uppercase;
  font-size: 24px;
  font-weight: 900;
  color: #4a90e2;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo {
  height: 40px;
  margin-right: 10px;
}

.navbar-nav {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.navbar-nav li a {
  text-transform: uppercase;
  color: #555;
  font-size: 13px;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar-nav li a:hover {
  color: #ff7b54;
}


.navbar-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}


@media (max-width: 768px) {
  .navbar-nav {
    flex-direction: column;
    display: none;
    background: rgba(255, 255, 255, 0.95);
    position: absolute;
    top: 60px;
    right: 5%;
    width: 90%;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }

  .navbar-nav.show {
    display: flex;
  }

  .navbar-toggle {
    display: block;
  }
}

.hero {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 45vh;
  object-fit: cover;
  filter: brightness(0.4) blur(1px);
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-shadow: 0 3px 10px rgba(0,0,0,0.6);
}

.hero-text h1 {
  font-size: 2rem;
  font-weight: 600;
}

.author {
  font-size: 1rem;
  opacity: 0.8;
}

/* Botones */
.buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.btn {
  text-decoration: none;
  color: white;
  background: #5a3df0;
  padding: 0.8rem 1.4rem;
  border-radius: 2rem;
  transition: background 0.3s, transform 0.2s;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.btn:hover {
  background: #7b5cff;
  transform: translateY(-2px);
}

.btn.back {
  background: #2b82f6;
}

.btn.back:hover {
  background: #509cff;
}


.content {
  max-width: 900px;
  margin: auto;
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

h2 {
  border-left: 5px solid #6b5cff;
  padding-left: 10px;
  color: #fff;
}

.game-card {
  background: rgba(255,255,255,0.07);
  padding: 1.2rem;
  margin: 1rem 0;
  border-radius: 15px;
  transition: transform 0.3s;
}

.game-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.12);
}

footer {
  text-align: center;
  font-size: 0.9rem;
  padding: 1.5rem;
  background: rgba(0,0,0,0.4);
  color: #aaa;
  margin-top: 2rem;
}

@media (max-width: 700px) {
  .hero-text h1 {
    font-size: 1.4rem;
  }
  .content {
    padding: 1.2rem;
  }
  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}
