/* ArbitrajePro — estética "aero" (glassmorphism) + responsive */
:root {
  --bg: #0b0e14;
  --glass: rgba(30, 41, 59, 0.4);
  --glass-border: rgba(255, 255, 255, 0.08);
}
* { font-family: 'Inter', system-ui, sans-serif; }
[x-cloak] { display: none !important; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(79, 172, 254, 0.12), transparent),
    radial-gradient(900px 500px at 0% 10%, rgba(168, 85, 247, 0.10), transparent),
    var(--bg);
}

.gradient-text {
  background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
}
.glass-bar {
  background: rgba(11, 14, 20, 0.7);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
}

/* Botones / chips */
.btn-primary { background: linear-gradient(90deg, #4facfe, #00f2fe); color: #06121f; }
.btn-primary:hover { filter: brightness(1.08); }
.chip {
  font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border); transition: all .2s;
}
.chip:hover { background: rgba(255, 255, 255, 0.1); }
.chip-on { background: rgba(79, 172, 254, 0.2); border-color: rgba(79, 172, 254, 0.5); }
.mini-btn {
  font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border); transition: all .2s;
}
.mini-btn:hover { background: rgba(255, 255, 255, 0.1); }
.mini-btn-on { background: rgba(34, 197, 94, 0.15); border-color: rgba(34, 197, 94, 0.4); color: #22c55e; }
.check-item {
  display: flex; align-items: center; gap: 6px; font-size: 12px; color: #cbd5e1;
  padding: 5px 8px; border-radius: 8px; cursor: pointer; transition: background .15s;
}
.check-item:hover { background: rgba(255, 255, 255, 0.04); }

/* Live dot */
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 rgba(34,197,94,.6); animation: livePulse 2s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); } 70% { box-shadow: 0 0 0 6px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* Perlita */
.perlita {
  background: linear-gradient(135deg, rgba(26,26,46,.8), rgba(22,33,62,.8));
  border: 1px solid rgba(245,158,11,.3); border-radius: 20px; padding: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,.3);
}
.best-pill { font-size: 15px; font-weight: 800; color: #22c55e; background: rgba(34,197,94,.12); padding: 5px 14px; border-radius: 10px; }
.announce {
  background: rgba(139,92,246,.15); border-radius: 12px; padding: 14px; color: #f8fafc; font-size: 14px;
  border-left: 4px solid #8b5cf6;
}

/* Grid de tarjetas de dólar (RESPONSIVE de verdad) */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.mc {
  background: var(--glass); backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border); border-radius: 18px; padding: 16px 12px; text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.mc:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.2); box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.mc-l { font-size: 10px; text-transform: uppercase; letter-spacing: .5px; color: #94a3b8; font-weight: 700; }
.mc-v { font-size: 20px; font-weight: 800; color: #f8fafc; margin-top: 4px; }
.mc-s { font-size: 11px; color: #64748b; margin-top: 4px; }
.mc.g .mc-v { color: #22c55e; } .mc.b .mc-v { color: #3b82f6; } .mc.p .mc-v { color: #a855f7; }
.mc.a .mc-v { color: #f59e0b; } .mc.c .mc-v { color: #06b6d4; }

/* Cards de arbitraje */
.section-title { font-size: 17px; font-weight: 800; color: #f1f5f9; display: flex; align-items: center; gap: 10px; margin: 4px 0 14px; }
.ico { width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.ico-g { background: rgba(34,197,94,.15); } .ico-b { background: rgba(59,130,246,.15); }
.ico-p { background: rgba(168,85,247,.15); } .ico-a { background: rgba(245,158,11,.15); }
.ac {
  background: rgba(23,31,45,.6); border: 1px solid rgba(255,255,255,.05); border-radius: 16px; padding: 18px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.ac:hover { transform: translateY(-2px); border-color: rgba(34,197,94,.4); box-shadow: 0 0 20px rgba(34,197,94,.1); }
.ac-neg:hover { border-color: rgba(239,68,68,.4); box-shadow: 0 0 20px rgba(239,68,68,.1); }
.ac-steps { font-size: 12px; color: #94a3b8; line-height: 1.6; background: rgba(255,255,255,.03); padding: 10px; border-radius: 8px; margin: 12px 0 10px; }
.ac-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.05); font-size: 13px; font-weight: 700; }

/* Tablas */
.sim-table, .quote-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sim-table th, .quote-table th { text-align: left; color: #94a3b8; font-weight: 600; padding: 8px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 11px; text-transform: uppercase; }
.sim-table td, .quote-table td { padding: 9px 8px; color: #e2e8f0; border-bottom: 1px solid rgba(255,255,255,.04); }
.sim { border: 1px solid rgba(139,92,246,.25); }

/* Animación de entrada */
.anim-in { animation: fadeInUp .4s ease both; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.pulse { animation: softPulse 2.5s ease-in-out infinite; }
@keyframes softPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }
