
/* ========================= */
/* BADGES                   */
/* ========================= */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  backdrop-filter: blur(10px);
}

.badge-primary {
  color: #000;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* ========================= */
/* GLASS CARD SYSTEM       */
/* ========================= */

.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  backdrop-filter: blur(14px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

/* brillo dinámico */
.card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,168,255,0.15), transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.card:hover::before {
  opacity: 1;
}

/* ========================= */
/* ICON BOX                */
/* ========================= */

.icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: black;
  box-shadow: var(--shadow-glow);
}

/* ========================= */
/* MODAL SYSTEM            */
/* ========================= */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal {
  width: 90%;
  max-width: 600px;
  background: var(--bg-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 25px;
  animation: modalIn 0.4s ease;
}

@keyframes modalIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ========================= */
/* CHIP / TAGS             */
/* ========================= */

.chip {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
}

/* ========================= */
/* DIVIDER                 */
/* ========================= */

.divider {
  width: 100%;
  height: 1px;
  background: var(--glass-border);
  margin: 20px 0;
}

/* ========================= */
/* BUTTON VARIANTS         */
/* ========================= */

.btn-glow {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  box-shadow: 0 0 0 transparent;
}

.btn-glow:hover {
  box-shadow: var(--shadow-glow);
  background: rgba(0,168,255,0.1);
}

/* ========================= */
/* TOOLTIP SYSTEM          */
/* ========================= */

.tooltip {
  position: relative;
  cursor: pointer;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-2);
  color: var(--text);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
  white-space: nowrap;
  border: 1px solid var(--glass-border);
}

.tooltip:hover::after {
  opacity: 1;
}

/* ========================= */
/* PROGRESS BAR            */
/* ========================= */

.progress {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 1s ease;
}

/* ========================= */
/* AVATAR STACK            */
/* ========================= */

.avatar-stack {
  display: flex;
}

.avatar-stack img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
}

/* ========================= */
/* FLOATING ACTION BUTTON  */
/* ========================= */

.fab {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  cursor: pointer;
  z-index: 999;
  transition: var(--transition);
}

.fab:hover {
  transform: scale(1.1);
}

/* ========================= */
/* CURSOR BASE             */
/* ========================= */

.cursor {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 99999;
  box-shadow: 0 0 15px var(--primary);
}

.cursor-follower {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid rgba(0,168,255,0.5);
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 99998;
  transition: transform 0.08s linear;
}

/* ========================= */
/* STATES                  */
/* ========================= */

.cursor.active {
  transform: scale(1.5);
  background: var(--secondary);
}

.cursor-follower.active {
  transform: scale(1.8);
  border-color: var(--secondary);
}

.cursor.click {
  transform: scale(0.8);
}