:root {
  --bg: #0b0f14;
  --panel: rgba(255, 255, 255, 0.06);
  --text: #e8edf2;
  --muted: #aab9c6;
  --brand: #7c3aed;
  --brand2: #06b6d4;
  --radius: 18px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(1200px 800px at 80% 10%, rgba(124, 58, 237, .25), transparent 60%),
              radial-gradient(1000px 700px at 10% 90%, rgba(6, 182, 212, .22), transparent 55%),
              var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== CONTENEDOR DE ESTRELLAS ===== */
#star-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  opacity: 0.8;
  animation: twinkle var(--duration, 3s) infinite ease-in-out;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

a { color: #e8edf2; }

/* ===== NAVBAR - VERSIÓN GRANDE ===== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 30px 40px;
  background: rgba(11, 15, 20, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  position: relative;
  z-index: 100;
}

.logo { flex-shrink: 0; }
.logo-img { height: 70px; width: auto; object-fit: contain; filter: drop-shadow(0 0 8px rgba(255, 255, 255, .4)); }

.search-bar {
  flex: 3;
  max-width: 550px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50px;
  padding: 10px 20px;
  gap: 10px;
}
.search-bar input { flex: 1; background: none; border: none; outline: none; color: #fff; font-size: 1rem; }
.search-bar input::placeholder { color: rgba(255, 255, 255, .55); }
.search-bar span { font-size: 1.2rem; }

.nav-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; flex-wrap: wrap; }

.nav-btn {
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.9rem;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, transform .15s;
  position: relative;
}
.nav-btn:hover { background: rgba(255, 255, 255, .28); transform: translateY(-2px); }

/* TOOLTIPS DESACTIVADOS - NO SE MUESTRAN */
.nav-btn::after {
  display: none !important;
}

.carrito-btn { position: relative; }
.carrito-count {
  background: #7c3aed;
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: .7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-left: 5px;
}

/* ===== CAT NAV ===== */
.cat-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px 28px;
  flex-wrap: wrap;
  background: rgba(11, 15, 20, 0.6);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 10;
  margin-top: 15px;
}

.cat {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e8edf2;
  padding: 12px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  transition: background .2s, transform .2s;
}
.cat:hover, .cat.active { background: var(--brand); border-color: var(--brand); transform: translateY(-2px); }

/* ===== CÍRCULOS DE CATEGORÍAS ===== */
.circle-section { padding: 30px 28px; position: relative; z-index: 1; overflow-x: auto; }
.circle-grid { display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 25px; }
.circle-item { display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; flex-shrink: 0; width: 90px; }
.circle-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, #1e1b4b 0%, #2e2a6e 100%);
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
}
.circle-icon i { font-size: 2.5rem; transition: all 0.3s ease; display: inline-block; }
.circle-icon .shadow {
  position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%);
  width: 50px; height: 8px; background: radial-gradient(ellipse, rgba(0,0,0,0.5) 0%, transparent 70%);
  border-radius: 50%; transition: all 0.3s ease; pointer-events: none;
}
.circle-item:hover .circle-icon { transform: translateY(-5px); }
.circle-item:hover .circle-icon i { transform: translateY(-10px) scale(1.1); }
.circle-item:hover .circle-icon .shadow { width: 70px; height: 12px; bottom: -18px; }
.circle-label { font-size: 0.7rem; color: var(--text); font-weight: 600; text-align: center; }

/* COLORES NEÓN */
.circle-item:nth-child(1) .circle-icon { border-color: #00f5ff; box-shadow: 0 0 10px #00f5ff; }
.circle-item:nth-child(1) .circle-icon i { color: #00f5ff; text-shadow: 0 0 5px #00f5ff; }
.circle-item:nth-child(2) .circle-icon { border-color: #bf00ff; box-shadow: 0 0 10px #bf00ff; }
.circle-item:nth-child(2) .circle-icon i { color: #bf00ff; text-shadow: 0 0 5px #bf00ff; }
.circle-item:nth-child(3) .circle-icon { border-color: #ff00aa; box-shadow: 0 0 10px #ff00aa; }
.circle-item:nth-child(3) .circle-icon i { color: #ff00aa; text-shadow: 0 0 5px #ff00aa; }
.circle-item:nth-child(4) .circle-icon { border-color: #00ff88; box-shadow: 0 0 10px #00ff88; }
.circle-item:nth-child(4) .circle-icon i { color: #00ff88; text-shadow: 0 0 5px #00ff88; }
.circle-item:nth-child(5) .circle-icon { border-color: #ff6b00; box-shadow: 0 0 10px #ff6b00; }
.circle-item:nth-child(5) .circle-icon i { color: #ff6b00; text-shadow: 0 0 5px #ff6b00; }
.circle-item:nth-child(6) .circle-icon { border-color: #00e5ff; box-shadow: 0 0 10px #00e5ff; }
.circle-item:nth-child(6) .circle-icon i { color: #00e5ff; text-shadow: 0 0 5px #00e5ff; }
.circle-item:nth-child(7) .circle-icon { border-color: #ccff00; box-shadow: 0 0 10px #ccff00; }
.circle-item:nth-child(7) .circle-icon i { color: #ccff00; text-shadow: 0 0 5px #ccff00; }
.circle-item:nth-child(8) .circle-icon { border-color: #ff0040; box-shadow: 0 0 10px #ff0040; }
.circle-item:nth-child(8) .circle-icon i { color: #ff0040; text-shadow: 0 0 5px #ff0040; }
.circle-item:nth-child(9) .circle-icon { border-color: #ffff00; box-shadow: 0 0 10px #ffff00; }
.circle-item:nth-child(9) .circle-icon i { color: #ffff00; text-shadow: 0 0 5px #ffff00; }
.circle-item:nth-child(10) .circle-icon { border-color: #00ffcc; box-shadow: 0 0 10px #00ffcc; }
.circle-item:nth-child(10) .circle-icon i { color: #00ffcc; text-shadow: 0 0 5px #00ffcc; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar { padding: 20px 20px; }
  .logo-img { height: 55px; }
  .cat { padding: 8px 20px; font-size: 0.8rem; }
  .circle-item { width: 75px; }
  .circle-icon { width: 65px; height: 65px; }
  .circle-icon i { font-size: 2rem; }
}

@media (max-width: 480px) {
  .circle-item { width: 65px; }
  .circle-icon { width: 55px; height: 55px; }
  .circle-icon i { font-size: 1.6rem; }
  .cat { padding: 6px 15px; font-size: 0.7rem; }
  .cat-nav { gap: 10px; }
}
/* ===== SEPARAR EL MENÚ DEL NAVBAR ===== */
.cat-nav {
    margin-top: 10px !important;
}
