@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: #050505;
}

body {
  font-family: 'Rajdhani', sans-serif;
  background-color: #050505;
  color: hsl(192, 100%, 88%);
  line-height: 1.6;
  padding-top: 56px;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.9) 100%),
    linear-gradient(0deg, rgba(102, 224, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227, 102, 255, 0.2) 1px, transparent 1px);
  background-size: 100% 100%, 50px 50px, 50px 50px;
  background-attachment: fixed;
  animation: cyber-bg-scroll 3s linear infinite;
  transition: background-color 0.6s ease, color 0.6s ease;
}

@keyframes cyber-bg-scroll {
  0% { background-position: center center, 0 0, 0 0; }
  100% { background-position: center center, 0 50px, 50px 0; }
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(227, 102, 255, 0.15), transparent 60%);
  z-index: -1;
  animation: bg-pulse 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes bg-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.15) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

header {
  background-color: hsl(296, 59%, 10%);
  backdrop-filter: blur(5px);
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(102, 224, 255, 0.3);
  box-shadow: 0 5px 20px rgba(158, 48, 169, 0.2);
  transition: background-color 0.6s ease, border-bottom 0.6s ease, box-shadow 0.6s ease;
}

.logo {
  margin-right: 20px;
  display: flex;
  align-items: center;
}

.logo-icon {
  position: relative;
  height: 55px;
  width: 55px;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  box-shadow: 0 0 15px rgba(102, 224, 255, 0.6), inset 0 0 0 2px #66e0ff;
  transition: all 0.3s ease;
  overflow: hidden;
}

.logo-icon img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
  clip-path: none;
  background: none;
  filter: sepia(1) hue-rotate(180deg) saturate(3) contrast(1.2);
  transition: filter 0.3s;
}

.logo-icon:hover {
  transform: scale(1.1);
  box-shadow: inset 0 0 0 2px #e366ff, 0 0 20px rgba(227, 102, 255, 0.8);
}

.logo-icon:hover img {
  filter: none;
}

.logo-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: logoShine 4s infinite;
}

.glitch-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  margin-left: 15px;
  letter-spacing: 2px;
  display: inline-block;
  background: none;
  -webkit-text-fill-color: #fff;
  
  text-shadow: 
    2px 0 #e366ff, 
    -2px 0 #66e0ff;
  
  animation: chromatic-pulse 0.2s infinite;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: hsl(296, 59%, 10%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.logo:hover .glitch-text::before,
.logo:hover .glitch-text::after {
  opacity: 1;
}

.glitch-text::before {
  left: 2px;
  text-shadow: -2px 0 #e366ff;
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim-1 3s infinite linear alternate-reverse;
}

.glitch-text::after {
  left: -2px;
  text-shadow: -2px 0 #66e0ff;
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim-2 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
  0% { clip: rect(20px, 9999px, 15px, 0); }
  20% { clip: rect(50px, 9999px, 60px, 0); }
  40% { clip: rect(80px, 9999px, 10px, 0); }
  60% { clip: rect(10px, 9999px, 80px, 0); }
  80% { clip: rect(40px, 9999px, 30px, 0); }
  100% { clip: rect(70px, 9999px, 90px, 0); }
}

@keyframes glitch-anim-2 {
  0% { clip: rect(60px, 9999px, 10px, 0); }
  20% { clip: rect(10px, 9999px, 50px, 0); }
  40% { clip: rect(90px, 9999px, 20px, 0); }
  60% { clip: rect(30px, 9999px, 70px, 0); }
  80% { clip: rect(80px, 9999px, 40px, 0); }
  100% { clip: rect(20px, 9999px, 60px, 0); }
}

@keyframes chromatic-pulse {
  0% { text-shadow: 2px 0 #e366ff, -2px 0 #66e0ff; }
  50% { text-shadow: 2px 1px #e366ff, -2px -1px #66e0ff; }
  100% { text-shadow: 2px 0 #e366ff, -2px 0 #66e0ff; }
}

@keyframes cyber-glitch-skew {
  0% { transform: skew(0deg); }
  20% { transform: skew(-2deg); }
  40% { transform: skew(2deg); }
  60% { transform: skew(-1deg); }
  80% { transform: skew(1deg); }
  100% { transform: skew(0deg); }
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  flex: 1;
  justify-content: center;
  padding-right: 0;
}

nav a {
  color: rgba(102, 224, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
  position: relative;
  padding: 5px 0;
}

nav a:hover, 
nav a.active {
  color: #66e0ff;
  text-shadow: 0 0 8px rgba(102, 224, 255, 0.8);
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #66e0ff, #e366ff);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px rgba(227, 102, 255, 0.8);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.close-menu-btn {
  display: none;
}

.header-controls {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1002;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: 15px;
  transition: transform 0.3s;
}

.hamburger:hover {
  color: #a855f7;
}

@media (max-width: 768px) {
  header {
    justify-content: space-between;
    padding: 0 5%;
  }
  
  .hamburger {
    display: block; /* Mostrar en móvil */
  }

  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(-45deg, #05020a, #2a0e36, #0e2a36, #05020a);
    background-size: 400% 400%;
    animation: menuGradient 10s ease infinite;
    backdrop-filter: blur(15px);
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    z-index: 1001;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: none;
    padding: 80px 20px;
    overflow-y: auto;
  }

  nav.active {
    transform: translateY(0);
  }

  nav a {
    font-size: 1.8rem;
    width: 100%;
    max-width: 300px;
    text-align: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .close-menu-btn {
    display: block;
    position: absolute;
    top: 25px;
    right: 25px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 3.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 1002;
    transition: all 0.3s ease;
  }
  .close-menu-btn:hover {
    color: #e366ff;
    transform: rotate(90deg);
  }
}

@media (max-width: 600px) {
  body {
    padding-top: 60px;
  }

  header {
    padding: 0 10px;
    flex-wrap: nowrap;
    height: 60px;
  }

  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 10px;
  }
  
  .card {
    padding: 5px;
  }

  .card-content {
    padding: 10px;
  }

  .card h3 {
    font-size: 1.1rem;
    margin: 8px 0;
  }

  .card .price {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  .buy-btn {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .logo-icon {
    height: 40px;
    width: 40px;
    min-width: 40px;
  }
  
  .glitch-text {
    display: inline-block;
    font-size: 1rem;
  }
  
  .pay-text {
    font-size: 1.3rem;
  }

  .payment-methods {
    gap: 15px;
  }

  .header-controls {
    gap: 5px;
  }

  .theme-btn, .hamburger {
    width: 35px;
    height: 35px;
    font-size: 1rem;
    margin-left: 5px;
  }
}

body.no-scroll {
  overflow: hidden;
}

body.no-scroll .whatsapp-msg {
  display: none !important;
}

body.no-scroll .header-controls {
  display: none !important;
}

.theme-btn {
  background: transparent;
  border: 2px solid #66e0ff;
  color: #66e0ff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  margin-left: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(102, 224, 255, 0.4), inset 0 0 5px rgba(102, 224, 255, 0.2);
  text-shadow: 0 0 5px #66e0ff;
}
.theme-btn:hover {
  box-shadow: 0 0 20px rgba(102, 224, 255, 0.8), inset 0 0 10px rgba(102, 224, 255, 0.4);
  transform: scale(1.1);
}

.search-container {
  max-width: 600px;
  margin: 20px auto 10px;
  padding: 0 20px;
  position: relative;
  display: flex;
  gap: 10px;
}

#search-input {
  width: 100%;
  padding: 12px 20px 12px 45px;
  border-radius: 0;
  border: 1px solid rgba(102, 224, 255, 0.3);
  background: hsl(296, 59%, 12%);
  color: #66e0ff;
  font-family: 'Orbitron', sans-serif;
  clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
  outline: none;
  transition: all 0.3s;
  animation: search-border-pulse 4s infinite alternate;
}

#search-input:focus {
  border-color: #e366ff;
  box-shadow: 0 0 15px rgba(227, 102, 255, 0.4);
  background: rgba(102, 224, 255, 0.05);
  transform: scale(1.02);
}

#search-input::placeholder {
  color: rgba(102, 224, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
}

@keyframes search-border-pulse {
  0% { border-color: rgba(102, 224, 255, 0.3); box-shadow: 0 0 5px rgba(102, 224, 255, 0.1); }
  100% { border-color: rgba(227, 102, 255, 0.8); box-shadow: 0 0 15px rgba(227, 102, 255, 0.4); }
}

.search-icon {
  position: absolute;
  left: 35px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  z-index: 2;
}

.sort-select {
  padding: 12px 15px;
  border-radius: 0;
  border: 1px solid rgba(102, 224, 255, 0.3);
  background: hsl(296, 59%, 12%);
  color: #66e0ff;
  font-family: 'Orbitron', sans-serif;
  outline: none;
  cursor: pointer;
  transition: all 0.3s;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.sort-select:focus, .sort-select:hover {
  border-color: #e366ff;
  box-shadow: 0 0 10px rgba(227, 102, 255, 0.3);
}

.suggestions-list {
  position: absolute;
  top: 100%;
  left: 20px;
  right: 20px;
  background: hsl(296, 59%, 12%);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: none;
  border-radius: 0 0 15px 15px;
  max-height: 250px;
  overflow-y: auto;
  z-index: 1001;
  display: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.suggestion-item {
  padding: 12px 15px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s;
  color: #a0a0a0;
  font-size: 0.9rem;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background: rgba(102, 224, 255, 0.1);
  color: #66e0ff;
  padding-left: 20px; 
}


.page-header {
  text-align: center;
  padding: 0 20px 5px;
  position: relative;
}

.page-header h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  background: linear-gradient(110deg, #fff 35%, #66e0ff 45%, #e366ff 55%, #fff 65%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-shine 4s linear infinite;
}

@keyframes text-shine {
  to { background-position: 250% center; }
}

.page-header .badge {
  background: rgba(102, 224, 255, 0.1);
  color: #66e0ff;
  -webkit-text-fill-color: #66e0ff;
  border: 1px solid #66e0ff;
  padding: 5px 15px;
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 700;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 0 10px rgba(102, 224, 255, 0.3);
  text-shadow: 0 0 10px rgba(102, 224, 255, 0.8);
  clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
  font-family: 'Orbitron', sans-serif;
  display: inline-block;
  animation: badge-pulse 1.5s infinite ease-in-out;
}

@keyframes badge-pulse {
  0% { transform: scale(1); box-shadow: 0 0 10px rgba(102, 224, 255, 0.3); }
  50% { transform: scale(1.1); box-shadow: 0 0 20px rgba(102, 224, 255, 0.8), 0 0 10px #66e0ff; }
  100% { transform: scale(1); box-shadow: 0 0 10px rgba(102, 224, 255, 0.3); }
}

.page-header p {
  font-size: 1.2rem;
  color: rgba(102, 224, 255, 0.6);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2.5rem;
  }
  .search-container {
    flex-direction: column;
  }
  .search-icon {
    top: 26px;
    top: 25px;
    left: 28px;
  }
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  padding: 0 5% 40px;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 1;
  transition: opacity 0.4s ease-in-out;
}

@media (max-width: 600px) {
  .page-header {
    padding: 0 20px 15px;
  }
  .page-header h1 {
    font-size: 2rem;
  }
  .page-header p {
    font-size: 1rem;
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 6px;
  background: transparent;
  border: none;
  border-radius: 0;
  clip-path: polygon(0 0, 85% 0, 100% 14%, 100% 60%, 92% 65%, 93% 77%, 99% 80%, 99% 90%, 89% 100%, 0 100%);
  transition: transform 0.3s ease-in-out, filter 0.3s;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 0.6s ease-out forwards;
  filter: drop-shadow(5px 5px 10px rgba(64, 144, 181, 0.3)) drop-shadow(-5px -5px 10px rgba(159, 48, 169, 0.3));
}

.card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg, 
    transparent 0deg, 
    transparent 60deg, 
    #66e0ff 100deg, 
    #66e0ff 150deg, 
    transparent 180deg, 
    transparent 240deg, 
    #e366ff 280deg, 
    #e366ff 330deg, 
    transparent 360deg
  );
  animation: cyber-rotate 10s linear infinite;
  z-index: 0;
}

.card:hover::before {
  animation-duration: 1.5s;
}

.card-content {
  position: relative;
  background: hsl(296, 59%, 10%);
  width: 100%;
  height: 100%;
  z-index: 1;
  padding: 30px;
  clip-path: polygon(0 0, 85% 0, 100% 14%, 100% 60%, 92% 65%, 93% 77%, 99% 80%, 99% 90%, 89% 100%, 0 100%);
  display: flex;
  flex-direction: column;
  text-align: left;
}

.card-content::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: repeating-linear-gradient(to bottom, transparent 0%, rgba(64, 144, 181, 0.1) 1px, rgb(0, 0, 0) 3px, rgba(64, 144, 181, 0.1) 5px, #153544 4px, transparent 0.5%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

.card:hover {
  transform: translateY(-8px);
  filter: drop-shadow(0 0 15px rgba(102, 224, 255, 0.6)) drop-shadow(0 0 15px rgba(227, 102, 255, 0.6));
}

.card img {
  width: 100%;
  display: block;
  transition: all 0.3s ease;
}

.card:hover img {
  animation: glitch-img 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
}

@keyframes glitch-img {
  0% { transform: translate(0); filter: hue-rotate(0deg); }
  20% { transform: translate(-3px, 3px); filter: hue-rotate(90deg); }
  40% { transform: translate(-3px, -3px); filter: hue-rotate(0deg); }
  60% { transform: translate(3px, 3px); filter: hue-rotate(-90deg); }
  80% { transform: translate(3px, -3px); filter: hue-rotate(0deg); }
  100% { transform: translate(0); filter: hue-rotate(0deg); }
}

.card h3 { 
  margin: 15px 0; 
  font-size: 1.4rem;
  font-weight: 600;
  font-family: 'Orbitron', sans-serif;
  color: #fff;
  position: relative;
  z-index: 2;
}

.card .price { 
  font-size: 1.5rem; 
  color: #66e0ff; 
  margin-bottom: 20px; 
  font-weight: 700; 
  display: block;
  text-shadow: 0 0 5px rgba(102, 224, 255, 0.5);
  position: relative;
  z-index: 2;
}

.card .category { 
  font-size: 0.75rem; 
  color: #e366ff; 
  text-transform: uppercase; 
  letter-spacing: 1.5px; 
  font-weight: 600;
  background: rgba(227, 102, 255, 0.1);
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(227, 102, 255, 0.3);
  position: relative;
  z-index: 2;
}

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.add-cart-btn {
  flex: 1;
  background: transparent;
  border: 1px solid #e366ff;
  color: #e366ff;
  padding: 10px;
  cursor: pointer;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
  position: relative;
  z-index: 10;
}

.buy-btn {
  background: linear-gradient(90deg, rgba(102, 224, 255, 0.2) 0%, rgba(227, 102, 255, 0.2) 100%);
  border: 1px solid #66e0ff;
  color: #fff;
  padding: 14px 20px;
  width: 100%;
  border-radius: 0;
  clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 0;
  transition: opacity 0.3s;
  font-family: 'Orbitron', sans-serif;
  display: block;
  text-align: center;
  text-decoration: none;
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  font-size: 0.9rem;
}

.buy-btn:hover {
  background: linear-gradient(90deg, #66e0ff, #e366ff);
  box-shadow: 0 0 15px rgba(102, 224, 255, 0.6);
  border-color: transparent;
  color: #000;
}

.add-cart-btn:hover {
  background: rgba(227, 102, 255, 0.2);
  box-shadow: 0 0 10px rgba(227, 102, 255, 0.4);
  color: #fff;
}

.buy-btn.clicked {
  background: #fff;
  color: #e366ff;
  box-shadow: 0 0 20px 5px rgba(255, 255, 255, 0.8), 0 0 40px 10px #e366ff;
  transform: scale(0.95);
}

.pagination {
  text-align: center;
  padding: 60px 20px;
}

.pagination button {
  background: hsl(296, 59%, 12%);
  border: 1px solid rgba(102, 224, 255, 0.3);
  color: #66e0ff;
  padding: 12px 18px;
  margin: 0 4px;
  cursor: pointer;
  border-radius: 0;
  clip-path: polygon(20% 0, 100% 0, 100% 80%, 80% 100%, 0 100%, 0 20%);
  transition: all 0.3s;
  font-family: 'Orbitron', sans-serif;
}

.pagination button:hover {
  background: rgba(102, 224, 255, 0.2);
  box-shadow: 0 0 10px rgba(102, 224, 255, 0.4);
  color: #fff;
}

.pagination button.active { 
  background: #e366ff; 
  color: #fff; 
  border-color: #e366ff;
  box-shadow: 0 0 15px rgba(227, 102, 255, 0.6);
  font-weight: 600;
}

footer {
  background-color: hsl(296, 59%, 8%);
  color: rgba(102, 224, 255, 0.6);
  text-align: center;
  padding: 2rem;
  margin-top: 40px;
  border-top: 1px solid rgba(102, 224, 255, 0.2);
  font-size: 0.9rem;
  transition: background-color 0.6s ease, color 0.6s ease, border-top 0.6s ease;
}

.payment-methods {
  display: flex;
  justify-content: center;
  gap: 30px;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.pay-icon {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 0 1px #ffffff) drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
}

.pay-plin {
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.1) 0%, transparent 70%);
  padding: 2px;
  height: 80px;
}

.pay-yape {
  height: 90px;
}

.pay-bcp {
  height: 38px;
}

.pay-bbva {
  height: 90px;
}

.pay-binance {
  height: 100px;
  filter: drop-shadow(0 0 1px #ffffff) drop-shadow(0 0 3px rgba(243, 186, 47, 0.6));
}

@keyframes cyber-glitch {
  0% { transform: scale(1); opacity: 1; filter: brightness(1); }
  20% { transform: scale(1.1) translate(-3px, 3px); opacity: 0.8; }
  40% { transform: scale(1.1) translate(3px, -3px); opacity: 1; }
  60% { transform: scale(1.15) translate(-2px, 0); opacity: 0.9; }
  80% { transform: scale(1.1) translate(2px, 0); opacity: 1; }
  100% { transform: scale(1.15) translate(0, 0); opacity: 1; filter: brightness(1.5); }
}

.pay-icon:hover {
  animation: cyber-glitch 0.3s steps(3) forwards;
  background: transparent;
  box-shadow: none;
}

.pay-bcp:hover {
  filter: drop-shadow(0 0 15px #0051ff) brightness(1.2);
}

.pay-yape:hover {
  filter: drop-shadow(0 0 15px #d500f9) brightness(1.2);
}

.pay-plin:hover {
  background: radial-gradient(circle, rgba(0, 210, 255, 0.2) 0%, transparent 70%);
  filter: drop-shadow(0 0 15px #00e5ff) brightness(1.2);
}

.pay-bbva:hover {
  filter: drop-shadow(0 0 15px #00a3ff) brightness(1.2);
}

.pay-binance:hover {
  filter: drop-shadow(0 0 15px #ffd700) brightness(1.2);
}

.payment-text {
  margin-bottom: 10px;
  color: #a0a0a0;
  font-weight: 500;
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(0, 0, 0, 0.8);
  color: #00ff41;
  width: 60px;
  height: 60px;
  border: 2px solid #00ff41;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.2), inset 0 0 10px rgba(0, 255, 65, 0.1);
  text-decoration: none;
  z-index: 100;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.whatsapp-float:hover {
  background-color: #00ff41;
  color: #000;
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.8);
}

.whatsapp-float.shake-active {
  animation: shake-btn 0.5s ease-in-out;
}

.whatsapp-msg {
  position: fixed;
  bottom: 110px;
  right: 30px;
  background-color: rgba(5, 10, 15, 0.95);
  color: #00ff41;
  padding: 15px 20px;
  border-left: 4px solid #00ff41;
  border-right: 1px solid rgba(0, 255, 65, 0.3);
  border-top: 1px solid rgba(0, 255, 65, 0.3);
  border-bottom: 1px solid rgba(0, 255, 65, 0.3);
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 90% 100%, 0 100%);
  font-size: 0.8rem;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.15);
  z-index: 1000;
  max-width: 260px;
  text-align: left;
  animation: slideInGlitch 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1s forwards;
  opacity: 0;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.5px;
}

.whatsapp-msg strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 5px;
  color: #fff;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

@keyframes slideInGlitch {
  0% { opacity: 0; transform: translateX(50px) skewX(-20deg); }
  60% { opacity: 1; transform: translateX(-10px) skewX(10deg); }
  80% { transform: translateX(5px) skewX(-5deg); }
  100% { opacity: 1; transform: translateX(0) skewX(0); }
}

.whatsapp-msg::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: 20px;
  width: 10px;
  height: 10px;
  background: #00ff41;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.close-msg {
  position: absolute;
  top: 5px;
  right: 8px;
  color: #00ff41;
  opacity: 0.7;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
}

.close-msg:hover {
  opacity: 1;
  text-shadow: 0 0 8px #00ff41;
}

#back-to-top {
  position: fixed;
  bottom: 35px;
  right: 100px;
  background: rgba(0, 0, 0, 0.8);
  color: #66e0ff;
  border: 2px solid #66e0ff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  clip-path: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 99;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(102, 224, 255, 0.3), inset 0 0 5px rgba(102, 224, 255, 0.2);
  backdrop-filter: blur(5px);
}

#back-to-top:hover {
  background: #66e0ff;
  color: #000;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 0 25px rgba(102, 224, 255, 0.8);
}

#back-to-top.show {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}

.offer-tag {
  position: absolute;
  top: 0;
  left: 0;
  background: #fcee0a;
  color: #000;
  padding: 5px 15px;
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 800;
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
  box-shadow: 0 0 15px rgba(252, 238, 10, 0.4);
  z-index: 10;
  animation: tag-glitch 4s infinite;
}

@keyframes tag-glitch {
  0%, 90% { transform: translate(0); opacity: 1; }
  92% { transform: translate(-2px, 2px); opacity: 0.8; }
  94% { transform: translate(2px, -2px); opacity: 1; }
  96% { transform: translate(-2px, 0); opacity: 0.9; }
  98% { transform: translate(2px, 0); opacity: 1; }
  100% { transform: translate(0); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

body.light-mode {
  background-color: #f8f9fa;
  color: #000000;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0) 20%, rgba(248, 249, 250, 1) 100%),
    linear-gradient(0deg, rgba(98, 0, 234, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 0, 234, 0.15) 1px, transparent 1px);
}

body.light-mode header {
  background-color: rgba(255, 255, 255, 0.98);
  border-bottom: 2px solid #000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

body.light-mode nav a { 
  color: #000; 
  font-weight: 900;
  text-shadow: none;
}

body.light-mode nav a:hover, 
body.light-mode nav a.active { 
  color: #6200ea; 
  text-shadow: none;
}

body.light-mode nav a::after {
  background: linear-gradient(90deg, #6200ea, #00b0ff);
  box-shadow: none;
}

body.light-mode .theme-btn { 
  border-color: #000; 
  color: #000;
  box-shadow: none;
  text-shadow: none;
  font-weight: bold;
}

body.light-mode .theme-btn:hover {
  background: #000;
  color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transform: scale(1.1);
}

body.light-mode .hamburger {
  color: #000;
}

body.light-mode #search-input {
  background: #f3f4f6;
  color: #000;
  border: 2px solid #000;
  font-weight: 700;
  box-shadow: none;
  animation: none;
}

body.light-mode #search-input:focus {
  background: #fff;
  border-color: #6200ea;
  box-shadow: 0 0 0 2px rgba(98, 0, 234, 0.2);
}

body.light-mode .sort-select {
  background: #f3f4f6;
  color: #000;
  border: 2px solid #000;
  font-weight: 700;
}

body.light-mode #search-input::placeholder {
  color: #555;
  font-weight: 600;
}

body.light-mode .suggestions-list {
  background: #fff;
  border: 2px solid #000;
  color: #000;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

body.light-mode .suggestion-item {
  color: #000;
  font-weight: 600;
  border-bottom: 1px solid #ddd;
}

body.light-mode .suggestion-item:hover { 
  background: #000; 
  color: #fff; 
}

body.light-mode .glitch-text {
  background: none;
  -webkit-text-fill-color: #000;
  text-shadow: none;
  animation: none;
  font-weight: 900;
}

body.light-mode .page-header h1 {
  background: linear-gradient(110deg, #000 35%, #0056b3 45%, #d500f9 55%, #000 65%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-mode .page-header p {
  color: #333;
  font-weight: 600;
}

body.light-mode footer {
  background: #f1f1f1;
  color: #333;
  border-top: 1px solid #ccc;
  font-weight: 600;
}

body.light-mode .pagination button {
  background: #fff;
  color: #000;
  border-color: #ccc;
  font-weight: 700;
}

body.light-mode .pagination button:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

body.light-mode .pagination button.active {
  background: #6200ea;
  color: #fff;
  border-color: #6200ea;
  box-shadow: 0 4px 10px rgba(98, 0, 234, 0.3);
}

body.light-mode .page-header .badge {
  background: rgba(98, 0, 234, 0.1);
  color: #6200ea;
  -webkit-text-fill-color: #6200ea;
  border-color: #6200ea;
  box-shadow: none;
  text-shadow: none;
  font-weight: 900;
}

body.light-mode .card {
  filter: drop-shadow(0 10px 25px rgba(140, 0, 255, 0.6));
}

body.light-mode .card:hover {
  transform: translateY(-8px);
  filter: drop-shadow(0 20px 40px rgba(140, 0, 255, 0.8));
}

body.light-mode .card-content {
  background: linear-gradient(145deg, #240046 0%, #5e009e 100%);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
}

body.light-mode .card::before {
  background: conic-gradient(
    from 0deg, 
    transparent 0deg, 
    transparent 60deg, 
    #00b0ff 100deg, /* Azul sólido */
    #00b0ff 150deg, 
    transparent 180deg, 
    transparent 240deg, 
    #d500f9 280deg, /* Magenta sólido */
    #d500f9 330deg, 
    transparent 360deg
  );
}

body, a, button, input, select, textarea, .card, .theme-btn, .whatsapp-float {
  cursor: none !important;
}

.cyber-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-2px, -2px); 
  transition: transform 0.2s ease-out;
}

.cyber-cursor svg {
  width: 24px;
  height: 24px;
  fill: #66e0ff;
  filter: drop-shadow(0 0 5px #66e0ff);
  transition: fill 0.2s, filter 0.2s, transform 0.2s;
}

.cyber-cursor.hovered svg {
  transform: scale(1.2);
}

.cyber-cursor.clicked svg {
  fill: #e366ff;
  filter: drop-shadow(0 0 10px #e366ff);
  transform: scale(0.9);
}

.cyber-cursor.inactive {
  animation: cursorBlink 1s infinite ease-in-out;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes cyber-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes rgbFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes shine {
  from { filter: brightness(100%); }
  to { filter: brightness(130%); }
}

@keyframes floatUp {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  20% { opacity: 0.8; transform: translateY(80vh) scale(1); }
  100% { transform: translateY(-10vh) scale(0.5); opacity: 0; }
}

#particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: rgba(102, 224, 255, 0.3);
  border-radius: 50%;
  animation: floatUp linear infinite;
}

.cyber-card-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px;
  background: transparent;
  overflow: hidden;
  clip-path: polygon(0 0, 85% 0, 100% 14%, 100% 60%, 92% 65%, 93% 77%, 99% 80%, 99% 90%, 89% 100%, 0 100%);
  transition: filter 0.3s ease;
  filter: drop-shadow(0 0 5px rgba(102, 224, 255, 0.3));
  margin: 20px auto;
  max-width: 350px;
}

.cyber-card-wrapper::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg, 
    transparent 0deg, 
    transparent 60deg, 
    #66e0ff 100deg,
    #66e0ff 150deg, 
    transparent 180deg, 
    transparent 240deg, 
    #e366ff 280deg,
    #e366ff 330deg, 
    transparent 360deg
  );
  animation: cyber-rotate 4s linear infinite;
  z-index: 0;
}

.cyber-card-content {
  position: relative;
  background: hsl(296, 59%, 10%);
  width: 100%;
  height: 100%;
  z-index: 1;
  padding: 20px;
  clip-path: polygon(0 0, 85% 0, 100% 14%, 100% 60%, 92% 65%, 93% 77%, 99% 80%, 99% 90%, 89% 100%, 0 100%);
}

.cyber-card-wrapper:hover {
  filter: drop-shadow(0 0 15px rgba(102, 224, 255, 0.6)) drop-shadow(0 0 15px rgba(227, 102, 255, 0.6));
}

.cyber-card-wrapper:hover::before {
  animation-duration: 1.5s; /* Gira más rápido al pasar el mouse */
}

.click-particle {
  position: fixed;
  width: 6px;
  height: 6px;
  background-color: #66e0ff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 10px #00fff9;
  animation: explodeParticle 0.5s ease-out forwards;
}




@keyframes explodeParticle {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0); opacity: 0; }
}

@media (max-width: 600px) {
  .payment-methods {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 10px;
  }
  
  /* Ajuste de tamaño proporcional para móviles (estilo PC) */
  .pay-bcp { height: 30px; }
  .pay-bbva { height: 60px; }
  .pay-binance { height: 70px; }
  .pay-plin { height: 60px; }
  .pay-yape { height: 65px; }

  .cyber-cursor {
    display: none !important;
  }

  body, a, button, input, select, textarea, .card, .theme-btn, .whatsapp-float {
    cursor: auto !important;
  }
}

.highlight-text {
  color: #e366ff;
  text-shadow: 0 0 8px #e366ff;
  font-weight: 900;
  background: rgba(227, 102, 255, 0.15);
  border-radius: 2px;
}

.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 5, 0.85);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(8px);
}

.glitch-spinner {
  width: 70px;
  height: 70px;
  border: 4px solid transparent;
  border-top: 4px solid #66e0ff;
  border-right: 4px solid #e366ff;
  border-radius: 50%;
  animation: spin-glitch 1s linear infinite;
  position: relative;
  box-shadow: 0 0 15px rgba(102, 224, 255, 0.4);
}

.glitch-spinner::before {
  content: '';
  position: absolute;
  top: 5px; left: 5px; right: 5px; bottom: 5px;
  border: 4px solid transparent;
  border-top: 4px solid #e366ff;
  border-left: 4px solid #66e0ff;
  border-radius: 50%;
  animation: spin-reverse 0.5s linear infinite;
}

.loading-text {
  margin-top: 20px;
  font-family: 'Orbitron', sans-serif;
  color: #66e0ff;
  font-size: 1rem;
  letter-spacing: 3px;
  animation: text-blink 0.8s infinite;
  text-shadow: 0 0 5px #66e0ff;
}

@keyframes spin-glitch { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes spin-reverse { 0% { transform: rotate(0deg); } 100% { transform: rotate(-360deg); } }
@keyframes text-blink { 
  0%, 100% { opacity: 1; } 50% { opacity: 0.3; } 
}

.cart-trigger {
  position: relative;
  margin-left: 10px;
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff0055;
  color: #fff;
  font-size: 0.7rem;
  font-weight: bold;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 5px #ff0055;
}

.cart-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease-in-out;
  backdrop-filter: blur(5px);
}

.cart-modal.open {
  opacity: 1;
  visibility: visible;
}

.cart-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: hsl(296, 59%, 8%);
  border-left: 1px solid #66e0ff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -5px 0 30px rgba(0,0,0,0.8);
}

.cart-modal.open .cart-content {
  transform: translateX(0);
}

.cart-header {
  padding: 20px;
  border-bottom: 1px solid rgba(102, 224, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h2 {
  font-family: 'Orbitron', sans-serif;
  color: #66e0ff;
  margin: 0;
  font-size: 1.5rem;
}

.close-cart {
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  border: 1px solid rgba(102, 224, 255, 0.1);
}

.cart-item-info h4 {
  margin: 0;
  color: #fff;
  font-size: 0.9rem;
}

.cart-item-info p {
  margin: 0;
  color: #66e0ff;
  font-size: 0.85rem;
}

.remove-item-btn {
  background: transparent;
  border: none;
  color: #ff0055;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 5px;
  transition: transform 0.2s;
}

.remove-item-btn:hover {
  transform: scale(1.2);
  color: #ff4477;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid rgba(102, 224, 255, 0.2);
  background: rgba(0, 0, 0, 0.2);
}

.cart-total {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
}

.cart-total span {
  color: #e366ff;
}

.checkout-btn {
  width: 100%;
  background: linear-gradient(90deg, #00ff41, #00b32d);
  color: #000;
  border: none;
  padding: 15px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  clip-path: polygon(5% 0, 100% 0, 100% 70%, 95% 100%, 0 100%, 0 30%);
  transition: all 0.3s;
}

.checkout-btn:hover {
  filter: brightness(1.2);
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
}

.cart-notification {
  position: fixed;
  top: 90px; /* Debajo del header */
  right: 20px;
  background: rgba(5, 5, 5, 0.95);
  border: 1px solid #66e0ff;
  color: #fff;
  padding: 15px 20px;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(150%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  clip-path: polygon(0 0, 100% 0, 100% 80%, 95% 100%, 0 100%);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
}

.cart-notification.show {
  transform: translateX(0);
}

.cart-notification i {
  color: #00ff41;
  font-size: 1.2rem;
}

.cart-notification.warning {
  border-color: #ffcc00;
  box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

.cart-notification.warning i {
  color: #ffcc00;
}

@keyframes menuGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}