.btn {
  --bg: var(--ebano); --fg: var(--alabastro);
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 54px; padding: 0 28px;
  border-radius: 100px;
  background: var(--bg); color: var(--fg);
  font-size: 14px; font-weight: 600; letter-spacing: .04em;
  transition: transform 200ms var(--ease), color .3s var(--ease), border-color .3s;
  isolation: isolate; white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--lino);
  transform: translateY(101%); border-radius: 50% 50% 0 0;
  transition: transform .35s var(--ease), border-radius .35s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .btn:hover::before { transform: translateY(0); border-radius: 0; } }
@media (hover: hover) and (pointer: fine) { .btn:hover { color: var(--ebano); } }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .btn:hover svg { transform: rotate(45deg); } }
.btn--sm { height: 44px; padding: 0 22px; font-size: 13px; }
.btn--ghost { --bg: transparent; --fg: var(--ebano); border: 1px solid var(--linea); }
.btn--ghost::before { background: var(--ebano); }
@media (hover: hover) and (pointer: fine) { .btn--ghost:hover { color: var(--alabastro); border-color: var(--ebano); } }
.btn--light { --bg: var(--alabastro); --fg: var(--ebano); }
.btn--light::before { background: var(--lino); }
.btn--block { width: 100%; }

.round {
  flex: none; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ebano); color: var(--alabastro);
  transition: transform .3s var(--ease), background .3s;
}
.round svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
@media (hover: hover) and (pointer: fine) { .round:hover { transform: rotate(45deg) scale(1.05); } }
.round--lg { width: 64px; height: 64px; background: var(--alabastro); color: var(--ebano); }
@media (hover: hover) and (pointer: fine) { .round--lg:hover { transform: translateY(-4px); } }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 100px;
  font-size: 12px; letter-spacing: .08em; font-weight: 500;
}
.pill--glass { background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.pill--mini { padding: 3px 10px; font-size: 10px; background: var(--ebano); color: var(--alabastro); letter-spacing: .1em; text-transform: uppercase; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ebano); position: relative; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--ebano); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

.glass {
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(255,255,255,.85);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 20px 50px -20px rgba(28,27,26,.25);
}
.glass--dark { background: rgba(28,27,26,.5); border-color: rgba(255,255,255,.12); color: var(--alabastro); }

.chip {
  padding: 9px 16px; border-radius: 100px; font-size: 13px;
  background: rgba(255,255,255,.45); border: 1px solid rgba(255,255,255,.75);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .25s, color .25s, transform .25s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .chip:hover { transform: translateY(-2px); background: var(--alabastro); } }
.chip--active { background: var(--ebano); color: var(--alabastro); border-color: var(--ebano); }
@media (hover: hover) and (pointer: fine) { .chip--active:hover { background: var(--ebano); } }

.btn:active, .chip:active, .round:active { transform: scale(.97); }
.btn:active, .chip:active, .round:active { transition-duration: 120ms; }
