/* Fondo de partículas */
#tsparticles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* General */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: transparent;
  color: #fff;
  margin: 0;
  padding: 0;
  text-align: center;
  box-sizing: border-box;
}

/* Encabezado */
header {
  background-color: transparent;
  padding: 20px;
}

header h1 {
  font-size: 2.5rem;
  margin: 0.5rem 0;
}

.big-logo {
  width: 280px;
  max-width: 90%;
  margin: 15px auto 10px;
  display: block;
  transition: transform 0.3s ease;
}

.big-logo:hover {
  transform: scale(1.05);
}

header p {
  font-size: 1rem;
  color: #ccc;
  font-style: italic;
}

.promo-banner {
  background-color: #ffcf33;
  color: #000;
  text-align: center;
  padding: 10px;
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 10px;
  border: 2px dashed #000;
  border-radius: 10px;
}

/* Grid del menú */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 950px;
  margin: 0 auto;
}

.item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.item:hover {
  transform: scale(1.03);
  background-color: rgba(255, 255, 255, 0.08);
}

.item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.item img.soda {
  height: 180px;
  object-fit: contain;
  object-position: center;
  background: #fff;
  padding: 5px;
}

.item h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.item input {
  width: 60px;
  padding: 5px;
  font-size: 1rem;
  text-align: center;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 20px 30px;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: inline-block;
  background: rgba(10, 0, 31, 0.0);
  border-radius: 20px;
  padding: 30px;
  animation: glowBorder 4s infinite alternate;
}

.logo-brillante img {
  width: 250px;
  max-width: 100%;
  animation: pulseLogo 3s ease-in-out infinite;
  filter: drop-shadow(0 0 15px #ffb3ec);
}

@keyframes pulseLogo {
  0% { transform: scale(1); filter: drop-shadow(0 0 10px #ffb3ec); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 30px #a3c6ff); }
  100% { transform: scale(1); filter: drop-shadow(0 0 10px #ffb3ec); }
}

.titulo {
  font-size: 2.5em;
  color: #ffffff;
  margin-bottom: 10px;
  text-shadow: 2px 2px 10px #c48fff;
}

.eslogan {
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 1px 1px 5px #ffb3ec;
  margin-top: 15px;
  line-height: 1.5em;
}

/* Botones */
.btn-whatsapp-order,
.btn-instagram-order {
  border: none;
  padding: 14px 28px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-whatsapp-order {
  background: linear-gradient(45deg, #8f00ff, #c244ff);
  color: white;
  box-shadow: 0 0 15px #bb66ff;
}

.btn-whatsapp-order:hover {
  background: linear-gradient(45deg, #a64dff, #e271ff);
  box-shadow: 0 0 25px #ff99ff;
}

.btn-instagram-order {
  background: linear-gradient(45deg, #ff2e79, #ff8a5c);
  color: white;
  box-shadow: 0 0 15px #ff5ebc;
  padding: 12px 26px;
}

.btn-instagram-order:hover {
  background: linear-gradient(45deg, #ff5ebc, #ffc371);
  box-shadow: 0 0 25px #ffd3f0;
}

.btn-whatsapp-order i,
.btn-instagram-order i {
  font-size: 1.4rem;
}

/* Campos del formulario */
.form-field {
  margin-bottom: 1.5rem;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.form-field label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
  color: #ffddff;
  font-size: 1rem;
}

.form-field label i {
  margin-right: 8px;
  color: #aaffff;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #ccc;
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

/* Pie de página */
footer.payment {
  background: #110022;
  color: #ccc;
  padding: 2rem;
  font-size: 0.9rem;
}

footer a {
  color: #00d4ff;
  text-decoration: underline;
}

/* Ahorro/Descuento */
.ahorro-msg {
  background-color: #ffe44c;
  color: #000;
  border: 2px dashed #ff7f00;
  padding: 10px;
  margin-top: 15px;
  font-weight: bold;
  border-radius: 8px;
  text-align: center;
  animation: brillo 1.5s infinite;
}

@keyframes brillo {
  0%, 100% { box-shadow: 0 0 5px #ff7f00; }
  50% { box-shadow: 0 0 20px #ffaa00; }
}

/* Botón flotante Instagram */
.floating-instagram {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: linear-gradient(45deg, #ff2e79, #ff8a5c);
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 0 15px #ff5ebc;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999;
  animation: flotar 2s infinite ease-in-out;
  transition: transform 0.2s ease;
}

.floating-instagram:hover {
  transform: scale(1.05);
  background: linear-gradient(45deg, #ff5ebc, #ffc371);
  box-shadow: 0 0 25px #ffd3f0;
}

@keyframes flotar {
  0% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -2;
  background: radial-gradient(circle at 20% 30%, #2b0a3d, transparent 70%),
              radial-gradient(circle at 80% 70%, #00043a, transparent 60%),
              radial-gradient(circle at 50% 50%, #30004d, transparent 80%),
              linear-gradient(120deg, #1a0033, #0f001a);
  background-blend-mode: screen;
  animation: backgroundPulse 15s ease-in-out infinite;
}

@keyframes backgroundPulse {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.2);
  }
}
