* {
  box-sizing: border-box;
  color: white;
}

body {
  font-family: Arial, sans-serif;
  background: #000000;
  margin: 0;
  padding: 0;
}

/* Contenedor sticky */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #000;
}

/* Añade espacio para que el contenido no quede oculto */
.content-with-padding {
  padding-top: 10px; /* Ajusta según necesidad */
}

.container {
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

a {
  text-decoration: none;
  color: black;
}

.top-banner {
  background-color: #000;
  color: #ff3366;
  text-align: center;
  padding: 6px 0;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 0 0 5px #ff3366;
}

.animate-banner {
  animation: pulseBanner 2.5s infinite ease-in-out;
}

@keyframes pulseBanner {
  0%   { color: #ff3366; text-shadow: 0 0 5px #ff3366; }
  50%  { color: #ffcc00; text-shadow: 0 0 10px #ffcc00; }
  100% { color: #ff3366; text-shadow: 0 0 5px #ff3366; }
}

/* Navbar */
.navbar {
  background: linear-gradient(135deg, #ff3366, #ff0066);
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.navbar a {
  color: white;
  font-size: 18px;
  font-weight: bold;
  margin-right: 20px;
  transition: transform 0.3s ease, color 0.3s ease;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.navbar a:hover {
  transform: scale(1.1);
  color: #ffcc00;
}

.logo {
  font-size: 34px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.logo-img {
  width: 250px;  
  height: auto;
}

.search-bar {
  background: #0e0e0e;
  padding: 20px 30px;
  display: flex;
  justify-content: center;
  border-top: 1px solid #1f1f1f;
  border-bottom: 1px solid #1f1f1f;
  box-shadow: 0 1px 5px rgba(255, 0, 150, 0.1);
}

.search-form {
  display: flex;
  width: 100%;
  max-width: 640px;
  gap: 12px;
  align-items: center;
}

.search-form input[type="text"] {
  flex-grow: 1;
  padding: 12px 16px;
  border: 1px solid #ff0077;
  border-radius: 8px;
  background-color: #181818;
  color: #fff;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 5px rgba(255, 0, 119, 0.3);
}

.search-form input[type="text"]::placeholder {
  color: #bbb;
}

.search-form input[type="text"]:focus {
  outline: none;
  border-color: #ff66a3;
  box-shadow: 0 0 10px rgba(255, 0, 119, 0.6);
}

.search-form button {
  padding: 12px 20px;
  background: linear-gradient(145deg, #ff0066, #ff3399);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 51, 153, 0.5);
}

.search-form button:hover {
  background: linear-gradient(145deg, #ff3399, #ff66b2);
  box-shadow: 0 0 15px rgba(255, 51, 153, 0.8);
}

footer {
  background-color: #222;
  color: #aaa;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  width: 100%;
  margin-top: 20px;
}

footer p {
  font-size: 16px;
  color: #fff;
}

footer p a {
  color: #ff3366;
  text-decoration: underline;
  font-weight: bold;
}

/* Media Queries para móvil - Versión centrada */
@media (max-width: 480px) {
  .sticky-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .top-banner {
    width: 100%;
    padding: 8px 5px;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px 10px;
    width: 100%;
    text-align: center;
  }

  .logo {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .logo-img {
    width: 280px;
    height: auto;
  }

  .navbar > div:last-child {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .search-bar {
    width: 100%;
    padding: 15px 10px;
  }

  .search-form {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .search-form input[type="text"],
  .search-form button {
    width: 100%;
    max-width: 300px;
  }
}
