* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  background: #05060a;
  color: #fff;
  overflow-x: hidden;
}

/* ============================= */
/* PARTICULAS */
.particles {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #00ffff;
  border-radius: 50%;
  opacity: 0.5;
  animation: float 15s linear infinite;
}
.particles span:nth-child(n) {
  left: calc(10% * var(--i));
}
.particles span {
  top: 100%;
  animation-delay: calc(-1s * var(--i));
}
@keyframes float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-120vh); }
}

/* ============================= */
/* HEADER CON LOGO Y NOMBRE BACANO */
/* HEADER */
header {
  display: flex;
  align-items: center;
  padding: 15px 30px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 10;
  border-bottom: 1px solid #0ff;
  transition: top 0.3s ease-in-out;
}

header .logo img {
  width: 50px;
  height: auto;
  margin-right: 15px;
}

header h1 {
  font-size: 2em;
  text-shadow: 0 0 20px #0ff;
  margin: 0;
  white-space: nowrap; /* evita que el texto haga wrap */
}

/* NAVBAR */
nav {
  position: fixed;
  top: 70px; /* ajusta según el header */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  background: rgba(0,0,0,0.7);
  padding: 10px 25px;
  border-radius: 12px;
  z-index: 9;
  transition: opacity 0.3s ease;
}

nav a {
  color: #ccc;
  text-decoration: none;
  font-size: 1em;
  padding: 5px 12px;
  border-radius: 6px;
  transition: 0.3s;
}

nav a:hover {
  color: #0ff;
  text-shadow: 0 0 10px #0ff;
  background: rgba(0,255,255,0.1);
}
/* ============================= */
/* NAVIGATION BAR */
nav {
  position: fixed;
  top: 75px; /* ajusta según el header */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  background: rgba(0,0,0,0.7);
  padding: 12px 25px;
  border-radius: 12px;
  z-index: 9;
  transition: opacity 0.3s ease;
}

nav a {
  color: #ccc;
  text-decoration: none;
  font-size: 1.05em;
  padding: 6px 15px;
  border-radius: 8px;
  transition: 0.3s;
}

nav a:hover {
  color: #0ff;
  text-shadow: 0 0 10px #0ff;
  background: rgba(0,255,255,0.1);
}

/* ============================= */
/* CARD */
.card {
  background: rgba(10, 15, 30, 0.85);
  margin: 30px auto;
  padding: 30px;
  max-width: 1100px;
  border-radius: 15px;
  border: 1px solid rgba(0,255,255,.3);
  box-shadow: 0 0 20px rgba(0,255,255,.1);
  margin-top: 150px; /* espacio para header y nav */
}

/* ============================= */
/* TIENDA */
.tienda {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.producto {
  background: linear-gradient(160deg, #0a1025, #05060a);
  padding: 25px;
  border-radius: 15px;
  border: 1px solid rgba(0,255,255,.2);
  transition: 0.3s;
  position: relative;
}
.producto:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(0,255,255,.4);
}

.producto span {
  display: block;
  font-size: 1.4em;
  color: #0ff;
  margin: 15px 0;
}

/* ============================= */
/* BOTONES NEON PRO */
.btn-neon {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 30px;
  background: transparent;
  color: #0ff;
  border: 2px solid #0ff;
  cursor: pointer;
  font-size: 1em;
  transition: 0.3s;
  text-shadow: 0 0 5px #0ff;
}
.btn-neon:hover {
  background: #0ff;
  color: #000;
  box-shadow: 0 0 20px #0ff;
}
.btn-neon.big {
  margin-top: 15px;
  font-size: 1.2em;
}

/* ============================= */
/* CARRITO TIPO STEAM */
#carrito {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
#carrito li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 15px;
  align-items: center;
  padding: 12px 15px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #0a1025, #060913);
  border-radius: 12px;
  border: 1px solid rgba(0,255,255,.25);
  box-shadow: inset 0 0 10px rgba(0,255,255,.08);
  transition: 0.3s;
}
#carrito li:hover {
  box-shadow: 0 0 20px rgba(0,255,255,.3);
  transform: scale(1.01);
}
#carrito li span {
  font-size: 0.95em;
}
#carrito li strong {
  color: #0ff;
  font-size: 1em;
}
#carrito li button {
  background: transparent;
  border: none;
  color: #ff4d4d;
  font-size: 18px;
  cursor: pointer;
  transition: 0.2s;
}
#carrito li button:hover {
  transform: scale(1.2);
  text-shadow: 0 0 10px #ff4d4d;
}

/* ============================= */
/* CHECKOUT STEAM / LAN */
#resumen ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
#resumen li {
  padding: 10px 15px;
  margin-bottom: 8px;
  background: rgba(0,255,255,.05);
  border-radius: 10px;
  border-left: 3px solid #0ff;
  font-size: 0.95em;
}
input,
select {
  width: 100%;
  padding: 14px;
  margin: 10px 0 22px;
  background: #05060a;
  border: 1px solid rgba(0,255,255,.6);
  color: #fff;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95em;
  transition: 0.3s;
}
input::placeholder {
  color: #777;
}
input:focus,
select:focus {
  outline: none;
  box-shadow: 0 0 15px rgba(0,255,255,.5);
  border-color: #0ff;
}
label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.85em;
  color: #aaa;
  letter-spacing: 0.5px;
}
.card .btn-neon.big {
  margin-top: 10px;
  padding: 15px;
  font-size: 1.1em;
}

/* ============================= */
/* WHATSAPP FLOTEANTE */
.ws-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 0 20px #25d366;
}

/* ============================= */
/* RESPONSIVE */
@media (max-width: 600px) {
  #carrito li {
    grid-template-columns: 1fr auto;
    row-gap: 8px;
  }
  #carrito li strong {
    grid-column: 1 / -1;
  }
  nav {
    flex-direction: column;
    top: 80px;
    gap: 10px;
  }
}
