/* ════════════════════════════════════════════════════════════════
   MI TURNO · layout/hero-card.css
   iOS 26 Liquid Glass – tarjeta hero principal
   ════════════════════════════════════════════════════════════════ */

.hero {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s var(--ios-ease);
}

/* Orb de luz interna – efecto lupa iOS 26 */
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 65%;
  height: 130%;
  background: radial-gradient(circle at 60% 40%, rgba(143, 179, 255, 0.22) 0%, transparent 65%);
  pointer-events: none;
  filter: blur(18px);
}

/* Touch effect tipo iOS Glass: se activa al presionar la card */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-radius: 20px;
  transition: all 0.2s ease-out;
  pointer-events: none;
  z-index: 5;
}

.hero:active::after {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.hero-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  opacity: 0.8;
}

/* Casilla de cristal para números (proporcional a la barra inferior) */
.num-glass-card {
  display: inline-block;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 32px;
  margin: 0;
  /* Sombra neutral y profunda para efecto flotante real */
  box-shadow: 
    0 12px 30px rgba(0, 0, 0, 0.12), 
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

[data-theme='dark'] .num-glass-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-amount {
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(
    160deg,
    #4166d4 0%,
    var(--accent) 40%,
    var(--accent2) 75%,
    #9fc5ff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0;
}

.hero-sub {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  letter-spacing: -0.005em;
}

.hero-sub-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border2);
}
