/* Ronin Trading — capa visual tycoon (color, juego, sin demo plana) */

.rt-screen {
  position: relative;
  background:
    radial-gradient(ellipse 120% 80% at 50% -30%, rgba(234, 179, 8, 0.14) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 100% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 45%),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(34, 197, 94, 0.08) 0%, transparent 40%),
    #080b10 !important;
}

.rt-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/rt/bg-pattern.svg') center / 400px repeat;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.rt-screen > * {
  position: relative;
  z-index: 1;
}

.rt-screen .rt-hero-card {
  border: 1.5px solid rgba(234, 179, 8, 0.45);
  box-shadow:
    0 0 40px rgba(234, 179, 8, 0.15),
    0 12px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rt-screen .rt-rank-card {
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.rt-screen .rt-rank-gold {
  background: linear-gradient(165deg, rgba(234, 179, 8, 0.12) 0%, #0f1318 40%, #0a0e12 100%);
}

.rt-screen .rt-rank-blue {
  background: linear-gradient(165deg, rgba(59, 130, 246, 0.12) 0%, #0f1318 40%, #0a0e12 100%);
}

.rt-screen .rt-rank-purple {
  background: linear-gradient(165deg, rgba(139, 92, 246, 0.14) 0%, #0f1318 40%, #0a0e12 100%);
}

.rt-screen .rt-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.rt-screen .rt-ticker {
  border: 1px solid rgba(234, 179, 8, 0.15);
  background: linear-gradient(145deg, #151b28 0%, #0c1018 100%);
}

.rt-screen .rt-partida-thumb-img {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.rt-screen .rt-nueva-wrap {
  background:
    radial-gradient(ellipse 70% 50% at 90% 5%, rgba(96, 165, 250, 0.15) 0%, transparent 55%);
}

.rt-screen .rt-nueva-hero-deco {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 160px;
  height: 128px;
  pointer-events: none;
  filter: drop-shadow(0 8px 24px rgba(96, 165, 250, 0.25));
}

.rt-screen .rt-onboard-wrap {
  text-align: center;
  padding: 32px 20px 24px;
  max-width: 520px;
  margin: 0 auto;
}

.rt-screen .rt-onboard-art {
  width: 200px;
  height: auto;
  margin: 0 auto 20px;
  filter: drop-shadow(0 12px 32px rgba(234, 179, 8, 0.2));
}

.rt-screen .rt-onboard-wrap h2 {
  font-size: 1.35rem;
  margin: 0 0 10px;
  background: linear-gradient(90deg, #fde047, #eab308, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rt-screen .rt-toast {
  margin: 0 20px 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.15), rgba(234, 179, 8, 0.1));
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #bbf7d0;
  font-size: 0.86rem;
}

.rt-screen .rt-toast.warn {
  border-color: rgba(234, 179, 8, 0.4);
  background: linear-gradient(90deg, rgba(234, 179, 8, 0.12), rgba(139, 92, 246, 0.08));
  color: #fde68a;
}

.rt-screen .rt-ronin-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #c4b5fd;
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 8px;
}

.rt-screen .rt-participant.on.ronin-active {
  border-color: #8b5cf6;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
}

.rt-screen .rt-btn-crear {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

.rt-screen .rt-hist-stat-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rt-screen .rt-hstat-purple { border-color: rgba(139, 92, 246, 0.3); }
.rt-screen .rt-hstat-green { border-color: rgba(34, 197, 94, 0.3); }
.rt-screen .rt-hstat-blue { border-color: rgba(59, 130, 246, 0.3); }
.rt-screen .rt-hstat-gold { border-color: rgba(234, 179, 8, 0.35); }

.rt-screen .rt-pstat {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rt-screen .rt-bottom-nav {
  background: linear-gradient(180deg, #0a0d12 0%, #06080c 100%);
  border-top: 1px solid rgba(234, 179, 8, 0.12);
}

.rt-screen .rt-back-spacer {
  display: inline-block;
  width: 40px;
  flex-shrink: 0;
}

.rt-screen .rt-mercado-thumb {
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.rt-screen .rt-live-dot.rt-live-dot--pulse {
  animation: rt-pulse-fast 0.9s ease-in-out infinite;
  background: #fbbf24;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
}

@keyframes rt-pulse-fast {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.15); }
}
