/* ==============================================================================
   CREDIOLIMPIADAS / CREDIJUEGOS - ESTILOS ARCADE Y CASUAL GAME
   Archivo: apps/juegos/public/styles/arcade.css
   Inspirado en la referencia "AWESOME GAME": Botones píldora (pill) en 3D
   con relieve inferior, borde marcado, highlight glossy superior y microinteracciones.
   ============================================================================== */

/* ------------------------------------------------------------------------------
   0. TÍTULO / BANNER PÍLDORA 3D (Estilo PLAY Cartoon Arcade)
   ------------------------------------------------------------------------------ */
.arcade-title-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #FFB726 0%, #FF9800 45%, #F57C00 85%, #E65100 100%);
  border: 5px solid #2B1608;
  border-radius: 9999px;
  padding: 0.65rem 2.8rem;
  box-shadow:
    0 8px 0 #5A2700,
    0 14px 24px rgba(0, 0, 0, 0.28),
    inset 0 -4px 8px rgba(182, 60, 0, 0.6);
  user-select: none;
  overflow: hidden;
  margin: 0.5rem auto 1.25rem;
}

/* Brillo superior glossy curvado idéntico a la referencia PLAY */
.arcade-title-pill::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 6%;
  right: 6%;
  height: 48%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.25) 75%, rgba(255, 255, 255, 0) 100%);
  border-radius: 9999px;
  pointer-events: none;
  z-index: 1;
}

.arcade-title-pill__text {
  position: relative;
  z-index: 2;
  font-family: var(--cc-font-pill, 'Fredoka', 'Nunito', sans-serif);
  font-size: 2.1rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
  /* Contorno oscuro tipo cartoon + sombra 3D inferior del texto */
  -webkit-text-stroke: 2px #2B1608;
  text-shadow:
    -2px -2px 0 #2B1608,
     2px -2px 0 #2B1608,
    -2px  2px 0 #2B1608,
     2px  2px 0 #2B1608,
     0px  4px 0 #3E1B00,
     0px  6px 4px rgba(0, 0, 0, 0.35);
}

.arcade-title-pill--sm {
  padding: 0.45rem 1.8rem;
  border-width: 4px;
}

.arcade-title-pill--sm .arcade-title-pill__text {
  font-size: 1.5rem;
  -webkit-text-stroke: 1.5px #2B1608;
}

.arcade-title-pill--xs {
  padding: 0.2rem 0.9rem;
  border-width: 2.5px;
  box-shadow: 0 4px 0 #5A2700, 0 6px 12px rgba(0, 0, 0, 0.2);
}

.arcade-title-pill--xs .arcade-title-pill__text {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  -webkit-text-stroke: 1px #2B1608;
  text-shadow: 0 2px 0 #3E1B00;
}

/* ------------------------------------------------------------------------------
   1. BOTONES PÍLDORA 3D ARCADE (.btn-arcade)
   ------------------------------------------------------------------------------ */
.btn-arcade {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--cc-space-xs);
  min-height: var(--cc-touch-target-min, 44px);
  padding: 0.85rem 2rem;
  border-radius: var(--cc-radius-pill, 9999px);
  border-style: solid;
  border-width: 3.5px;
  font-family: var(--cc-font-pill, 'Fredoka', 'Nunito', sans-serif);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  text-decoration: none;
  transition:
    transform var(--cc-transition-fast) cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow var(--cc-transition-fast) ease-out,
    filter var(--cc-transition-fast) ease-out;
}

/* Brillo superior elíptico estilo casual game (Glossy Highlight) */
.btn-arcade::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 8%;
  right: 8%;
  height: 44%;
  border-radius: var(--cc-radius-pill, 9999px);
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.65) 0%,
    rgba(255, 255, 255, 0.2) 65%,
    rgba(255, 255, 255, 0) 100%
  );
}

.btn-arcade > * {
  position: relative;
  z-index: 2;
}

/* --- VARIANTE NARANJA (Acción Principal / Credillonario) --- */
.btn-arcade--orange,
.btn-arcade--yellow {
  background: linear-gradient(180deg, #FFA858 0%, #F28C28 100%);
  border-color: #FFA858;
  color: #FFFFFF;
  box-shadow:
    0 6px 0 #8A3E00,
    0 10px 14px rgba(0, 0, 0, 0.45);
  text-shadow: 0 2px 2px rgba(110, 48, 0, 0.85);
}

.btn-arcade--orange:hover:not(:disabled),
.btn-arcade--yellow:hover:not(:disabled) {
  background: linear-gradient(180deg, #FFB974 0%, #F5973B 100%);
  box-shadow:
    0 7px 0 #8A3E00,
    0 12px 18px rgba(0, 0, 0, 0.5),
    0 0 18px rgba(255, 168, 88, 0.6);
  transform: translateY(-2px);
}

.btn-arcade--orange:active:not(:disabled),
.btn-arcade--yellow:active:not(:disabled) {
  transform: translateY(4px);
  box-shadow:
    0 2px 0 #8A3E00,
    0 4px 6px rgba(0, 0, 0, 0.35);
}

/* --- VARIANTE VERDE (Penales / Éxito / Confirmar) --- */
.btn-arcade--green {
  background: linear-gradient(180deg, #6AE87A 0%, #3FB950 100%);
  border-color: #7EF78D;
  color: #FFFFFF;
  box-shadow:
    0 6px 0 #165622,
    0 10px 14px rgba(0, 0, 0, 0.45);
  text-shadow: 0 2px 2px rgba(18, 68, 27, 0.85);
}

.btn-arcade--green:hover:not(:disabled) {
  background: linear-gradient(180deg, #7CF08B 0%, #46C458 100%);
  box-shadow:
    0 7px 0 #165622,
    0 12px 18px rgba(0, 0, 0, 0.5),
    0 0 18px rgba(106, 232, 122, 0.6);
  transform: translateY(-2px);
}

.btn-arcade--green:active:not(:disabled) {
  transform: translateY(4px);
  box-shadow:
    0 2px 0 #165622,
    0 4px 6px rgba(0, 0, 0, 0.35);
}

/* --- VARIANTE AZUL (Rally QR / Institucional Credicard) --- */
.btn-arcade--blue {
  background: linear-gradient(180deg, #63A3EC 0%, #2E6DB4 100%);
  border-color: #82BCFF;
  color: #FFFFFF;
  box-shadow:
    0 6px 0 #12365F,
    0 10px 14px rgba(0, 0, 0, 0.45);
  text-shadow: 0 2px 2px rgba(14, 43, 75, 0.85);
}

.btn-arcade--blue:hover:not(:disabled) {
  background: linear-gradient(180deg, #77B1F3 0%, #3578C2 100%);
  box-shadow:
    0 7px 0 #12365F,
    0 12px 18px rgba(0, 0, 0, 0.5),
    0 0 18px rgba(99, 163, 236, 0.6);
  transform: translateY(-2px);
}

.btn-arcade--blue:active:not(:disabled) {
  transform: translateY(4px);
  box-shadow:
    0 2px 0 #12365F,
    0 4px 6px rgba(0, 0, 0, 0.35);
}

/* --- VARIANTE PÚRPURA (Comodines / Ranking / Especial) --- */
.btn-arcade--purple {
  background: linear-gradient(180deg, #B26FDD 0%, #7B3FA0 100%);
  border-color: #CA8DF2;
  color: #FFFFFF;
  box-shadow:
    0 6px 0 #3C1254,
    0 10px 14px rgba(0, 0, 0, 0.45);
  text-shadow: 0 2px 2px rgba(48, 14, 68, 0.85);
}

.btn-arcade--purple:hover:not(:disabled) {
  background: linear-gradient(180deg, #BF82E6 0%, #8846B0 100%);
  box-shadow:
    0 7px 0 #3C1254,
    0 12px 18px rgba(0, 0, 0, 0.5),
    0 0 18px rgba(178, 111, 221, 0.6);
  transform: translateY(-2px);
}

.btn-arcade--purple:active:not(:disabled) {
  transform: translateY(4px);
  box-shadow:
    0 2px 0 #3C1254,
    0 4px 6px rgba(0, 0, 0, 0.35);
}

/* --- VARIANTE ROJA (Cancelar / Alerta) --- */
.btn-arcade--red {
  background: linear-gradient(180deg, #FF6E6B 0%, #E53935 100%);
  border-color: #FF8F8C;
  color: #FFFFFF;
  box-shadow:
    0 6px 0 #74100E,
    0 10px 14px rgba(0, 0, 0, 0.45);
  text-shadow: 0 2px 2px rgba(85, 12, 11, 0.85);
}

.btn-arcade--red:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow:
    0 7px 0 #74100E,
    0 12px 18px rgba(0, 0, 0, 0.5),
    0 0 18px rgba(255, 110, 107, 0.6);
}

.btn-arcade--red:active:not(:disabled) {
  transform: translateY(4px);
  box-shadow:
    0 2px 0 #74100E,
    0 4px 6px rgba(0, 0, 0, 0.35);
}

/* Modificadores */
.btn-arcade--sm {
  min-height: 44px;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  border-width: 2.5px;
}

.btn-arcade--lg {
  min-height: 60px;
  padding: 1.1rem 3rem;
  font-size: 1.3rem;
  border-width: 4px;
}

.btn-arcade--block {
  width: 100%;
}

.btn-arcade:disabled,
.btn-arcade.is-disabled {
  background: #475569 !important;
  border-color: #64748B !important;
  color: #94A3B8 !important;
  box-shadow: 0 4px 0 #1E293B !important;
  text-shadow: none !important;
  cursor: not-allowed;
  transform: none !important;
  opacity: 0.65;
}

.btn-arcade:disabled::before,
.btn-arcade.is-disabled::before {
  display: none;
}

/* --- BOTÓN CASUAL MOBILE 3D: PENALTIS (Estilo Clash Royale / Brawl Stars) --- */
.btn-casual-penaltis {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 5 / 1;
  min-height: 72px;
  padding: 0.6rem 2.2rem 0.9rem 1.6rem;
  border-radius: 9999px;
  border: 3px solid #C49BFA;
  background: linear-gradient(180deg, #A66BF0 0%, #803FE0 50%, #5B2FB8 100%);
  color: #FFFFFF;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  outline: none;
  box-shadow:
    0 8px 0 #3A1A7A,
    0 16px 26px rgba(58, 26, 122, 0.55),
    inset 0 -4px 6px rgba(45, 15, 95, 0.4);
  transition: transform 0.12s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.12s ease;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Banda de Brillo Superior (Glossy Highlight Band) */
.btn-casual-penaltis::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 6%;
  right: 6%;
  height: 48%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.35) 45%, rgba(255, 255, 255, 0.02) 100%);
  border-radius: 9999px;
  pointer-events: none;
  z-index: 1;
}

/* Filo de luz superior (Rim Highlight) */
.btn-casual-penaltis::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: #FFFFFF;
  opacity: 0.85;
  border-radius: 9999px;
  pointer-events: none;
  z-index: 2;
}

.btn-casual-penaltis:hover:not(:disabled) {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #B57DF5 0%, #8C4AE6 50%, #6835C8 100%);
  box-shadow:
    0 10px 0 #3A1A7A,
    0 20px 30px rgba(58, 26, 122, 0.6),
    inset 0 -4px 6px rgba(45, 15, 95, 0.3);
}

.btn-casual-penaltis:active:not(:disabled) {
  transform: translateY(6px);
  box-shadow:
    0 2px 0 #3A1A7A,
    0 6px 12px rgba(58, 26, 122, 0.4),
    inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-casual-penaltis__icon {
  position: relative;
  z-index: 3;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 6px rgba(28, 6, 66, 0.5));
}

.btn-casual-penaltis__text {
  position: relative;
  z-index: 3;
  font-family: 'Fredoka', 'Luckiest Guy', 'Baloo 2', 'Titan One', system-ui, sans-serif;
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: #FFFFFF;
  text-transform: uppercase;
  text-shadow:
    0 2px 0 #461C8A,
    0 4px 0 #2F1366,
    0 6px 8px rgba(31, 8, 71, 0.7);
  display: inline-block;
  line-height: 1;
}

/* ------------------------------------------------------------------------------
   2. BOTONES CIRCULARES FLOTANTES (Referencia "AWESOME GAME")
   ------------------------------------------------------------------------------ */
.btn-arcade-circle {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3.5px solid #82BCFF;
  background: linear-gradient(180deg, #63A3EC 0%, #2E6DB4 100%);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  cursor: pointer;
  box-shadow:
    0 5px 0 #12365F,
    0 8px 12px rgba(0, 0, 0, 0.4);
  transition: transform var(--cc-transition-fast) cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--cc-transition-fast) ease;
  user-select: none;
  overflow: hidden;
}

.btn-arcade-circle::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 15%;
  right: 15%;
  height: 40%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.btn-arcade-circle:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 6px 0 #12365F,
    0 10px 16px rgba(0, 0, 0, 0.5),
    0 0 14px rgba(79, 179, 232, 0.5);
}

.btn-arcade-circle:active {
  transform: translateY(3px) scale(0.96);
  box-shadow:
    0 2px 0 #12365F,
    0 3px 5px rgba(0, 0, 0, 0.35);
}

.btn-arcade-circle--orange {
  border-color: #FFA858;
  background: linear-gradient(180deg, #FFA858 0%, #F28C28 100%);
  box-shadow: 0 5px 0 #8A3E00, 0 8px 12px rgba(0, 0, 0, 0.4);
}
.btn-arcade-circle--orange:hover {
  box-shadow: 0 6px 0 #8A3E00, 0 10px 16px rgba(0, 0, 0, 0.5), 0 0 14px rgba(242, 140, 40, 0.5);
}
.btn-arcade-circle--orange:active {
  box-shadow: 0 2px 0 #8A3E00, 0 3px 5px rgba(0, 0, 0, 0.35);
}

/* ------------------------------------------------------------------------------
   3. TARJETAS Y CONTENEDORES ARCADE (.arcade-card)
   ------------------------------------------------------------------------------ */
.arcade-card {
  position: relative;
  background: var(--cc-navy-700);
  border: 3.5px solid var(--cc-navy-500);
  border-radius: var(--cc-radius-2xl, 24px);
  padding: var(--cc-space-lg);
  box-shadow:
    0 10px 30px rgba(5, 10, 26, 0.7),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition:
    transform var(--cc-transition-normal) ease,
    border-color var(--cc-transition-normal) ease,
    box-shadow var(--cc-transition-normal) ease;
}

.arcade-card--interactive {
  cursor: pointer;
}

.arcade-card--interactive:hover {
  transform: translateY(-4px);
  border-color: var(--cc-sky);
  box-shadow:
    0 16px 36px rgba(5, 10, 26, 0.8),
    0 0 24px rgba(79, 179, 232, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.arcade-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  background: linear-gradient(90deg, #FFA858, #F28C28);
  border-radius: var(--cc-radius-pill);
  font-family: var(--cc-font-pill);
  font-size: 0.85rem;
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* ------------------------------------------------------------------------------
   4. MARCADORES Y HUD ARCADE (.arcade-hud)
   ------------------------------------------------------------------------------ */
.arcade-hud-box {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  background: rgba(10, 20, 51, 0.92);
  border: 2.5px solid var(--cc-sky);
  border-radius: var(--cc-radius-pill);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.5),
    inset 0 0 10px rgba(79, 179, 232, 0.25);
}

.arcade-hud-box__icon {
  font-size: 1.25rem;
  line-height: 1;
}

.arcade-hud-box__content {
  display: flex;
  flex-direction: column;
}

.arcade-hud-box__label {
  font-family: var(--cc-font-sans);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--cc-sky-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}

.arcade-hud-box__value {
  font-family: var(--cc-font-arcade);
  font-size: 1.05rem;
  color: #FFA858;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-shadow: 0 0 8px rgba(255, 168, 88, 0.6);
}

/* ------------------------------------------------------------------------------
   5. TANDA DE PENALES (LIGA FUTVE) · ESTILOS ARCADE PRE-PARTIDO (TX-021)
   ------------------------------------------------------------------------------ */

/* Contenedor Principal de Flujo de Penales (Tema Claro Corporativo Luminoso y Elegante) */
.penales-flow-wrapper {
  width: 100%;
  min-height: calc(100vh - 72px);
  min-height: calc(100dvh - 72px);
  background-color: var(--cc-theme-bg, #EEF5FC);
  background-image:
    radial-gradient(circle at 50% 10%, rgba(79, 179, 232, 0.16) 0%, transparent 60%),
    radial-gradient(circle at 85% 85%, rgba(242, 140, 40, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, #EEF5FC 0%, #F6FAFF 35%, #EAF2FC 70%, #F5ECFD 100%);
  position: relative;
  color: var(--cc-navy-900, #0A1433);
  box-sizing: border-box;
}

.penales-flow-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 109, 180, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 109, 180, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.penales-flow-view {
  min-height: calc(100vh - 72px);
  padding: 1rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

/* ==============================================================================
   TARJETA MAESTRA: TODO EN UN SOLO CUADRO (SIN SCROLL / RESPONSIVO)
   ============================================================================== */
.penales-master-card {
  width: 100%;
  max-width: 1040px;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid #D2E4F8;
  border-radius: 24px;
  box-shadow: 0 16px 45px rgba(18, 44, 92, 0.09), 0 2px 8px rgba(0, 0, 0, 0.03);
  padding: 1.25rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-sizing: border-box;
}

/* Header Integrado del Master Card */
.penales-master-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1.5px solid #E2EDF9;
  flex-wrap: wrap;
}

.penales-master-header__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.penales-master-header__emblem,
.penales-master-header__logo {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(18, 44, 92, 0.15));
}

.penales-master-header__titles {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.penales-master-badge {
  font-family: var(--cc-font-arcade);
  font-size: 0.68rem;
  color: var(--cc-orange, #F28C28);
  letter-spacing: 0.06em;
  font-weight: 700;
}

.penales-master-title {
  font-family: var(--cc-font-sans);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--cc-navy-900, #0A1433);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.penales-tickets-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  background: #F0F6FE;
  border: 1.5px solid #C8DCF0;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(18, 44, 92, 0.05);
}

.penales-tickets-pill__icon {
  font-size: 1.25rem;
}

.penales-tickets-pill__text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.penales-tickets-pill__label {
  font-size: 0.65rem;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.penales-tickets-pill__value {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0A1433;
}

/* Grid Central de 2 Columnas */
.penales-master-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 860px) {
  .penales-master-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Columna Izquierda: Imagen y Marquesina LED */
.penales-master-col-left {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
  justify-content: center;
}

.penales-poster-box {
  width: 100%;
  max-width: 275px;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  border: 3px solid #039BE5;
  box-shadow: 0 16px 36px rgba(0, 40, 85, 0.28), 0 0 25px rgba(3, 155, 229, 0.35);
  background: radial-gradient(circle at center, #0F204C 0%, #060D20 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.penales-poster-box:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 42px rgba(0, 40, 85, 0.35), 0 0 32px rgba(3, 155, 229, 0.5);
  border-color: #6AE87A;
}

.penales-poster-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 20px;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
}

.penales-poster-overlay {
  display: none !important;
}

.penales-led-board--light {
  width: 100%;
  max-width: 275px;
  box-sizing: border-box;
  background: linear-gradient(180deg, #0A1433 0%, #060D20 100%);
  border: 1.5px solid rgba(242, 140, 40, 0.6);
  border-radius: 14px;
  padding: 0.45rem 0.6rem;
  font-size: 0.62rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: #FFA858;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2), inset 0 1px 4px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  text-align: center;
  letter-spacing: 0.03em;
  text-shadow: 0 0 8px rgba(255, 168, 88, 0.4);
}

.penales-led-board--light span {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Columna Derecha: Bloques de Puntos, Reglas y Botones */
.penales-master-col-right {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  justify-content: space-between;
  min-width: 0;
  width: 100%;
}

.penales-section-block {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.penales-block-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #2E6DB4;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Puntos en Chips Horizontales */
.penales-points-row-compact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  width: 100%;
}

.penales-points-row-compact--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.penales-points-row-compact--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 640px) {
  .penales-points-row-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .penales-points-row-compact--3 {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  .penales-points-row-compact--3 .penales-point-chip {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.75rem;
    text-align: left;
  }
}

.penales-point-chip {
  background: #F4F8FD;
  border: 1.5px solid #D5E5F7;
  border-radius: 12px;
  padding: 0.5rem 0.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.penales-point-chip:hover {
  transform: translateY(-2px);
  border-color: #2E6DB4;
}

.penales-point-chip__val {
  font-family: var(--cc-font-arcade);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.15;
  word-break: break-word;
}

.penales-point-chip--green .penales-point-chip__val { color: #2E8540; }
.penales-point-chip--sky .penales-point-chip__val { color: #0284C7; }
.penales-point-chip--orange .penales-point-chip__val { color: #D97706; }
.penales-point-chip--blue .penales-point-chip__val { color: #2563EB; }

.penales-point-chip__desc {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748B;
  white-space: normal;
  line-height: 1.2;
  word-break: break-word;
}

/* Reglas en Grid 2x2 Compacto */
.penales-rules-grid-compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  width: 100%;
}

@media (max-width: 640px) {
  .penales-rules-grid-compact {
    grid-template-columns: 1fr;
  }
}

.penales-rule-item {
  background: #FFFFFF;
  border: 1.5px solid #E2EDF9;
  border-radius: 12px;
  padding: 0.55rem 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  box-shadow: 0 2px 6px rgba(18, 44, 92, 0.03);
}

.penales-rule-item__icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #F0F6FE;
  display: flex;
  align-items: center;
  justify-content: center;
}

.penales-rule-item__body {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.penales-rule-item__body strong {
  font-size: 0.78rem;
  color: #0A1433;
  font-weight: 800;
  word-break: break-word;
}

.penales-rule-item__body span {
  font-size: 0.7rem;
  color: #64748B;
  word-break: break-word;
}

/* Botones Integrados en el Pie */
.penales-actions-footer {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.35rem;
  width: 100%;
}

@media (max-width: 640px) {
  .penales-actions-footer {
    flex-direction: column;
    gap: 0.55rem;
  }
}

.penales-actions-footer .btn-arcade {
  flex: 1;
  width: 100%;
  padding: 0.65rem 1rem;
  font-size: 0.92rem;
  min-height: 48px;
  white-space: normal;
  word-break: break-word;
  line-height: 1.25;
}

.penales-stadium-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 100%;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 2px, transparent 2px, transparent 40px),
    linear-gradient(180deg, rgba(79,179,232,0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* Vallas LED Credicard */
.penales-led-board {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.55rem 1.75rem;
  background: rgba(5, 10, 26, 0.96);
  border: 2.5px solid var(--cc-orange);
  border-radius: 9999px;
  font-family: var(--cc-font-arcade);
  font-size: 0.88rem;
  color: #FFA858;
  box-shadow: 0 0 18px rgba(242, 140, 40, 0.55), inset 0 0 12px rgba(242, 140, 40, 0.25);
  margin-bottom: 0.85rem;
  letter-spacing: 0.1em;
  animation: ledPulse 2.5s infinite ease-in-out;
  text-shadow: 0 0 8px rgba(255, 168, 88, 0.8);
}

@keyframes ledPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(242, 140, 40, 0.4), inset 0 0 8px rgba(242, 140, 40, 0.2); }
  50% { box-shadow: 0 0 26px rgba(242, 140, 40, 0.85), inset 0 0 16px rgba(242, 140, 40, 0.4); }
}

/* Resumen de Reglas con Iconos Arcade */
.penales-rules-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.95rem;
  width: 100%;
  margin: 1.25rem 0 1.5rem;
}

.penales-rule-card {
  background: linear-gradient(145deg, rgba(19, 39, 92, 0.88) 0%, rgba(10, 20, 51, 0.95) 100%);
  border: 2px solid rgba(130, 206, 250, 0.4);
  border-radius: var(--cc-radius-md, 18px);
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

.penales-rule-card:hover {
  transform: translateY(-4px);
  border-color: var(--cc-sky);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6), 0 0 18px rgba(79, 179, 232, 0.4);
}

.penales-rule-card__icon {
  font-size: 1.85rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(10, 20, 51, 0.7);
  border: 1.5px solid rgba(130, 206, 250, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.penales-rule-card__text {
  font-size: 0.84rem;
  color: #E2E8F0;
  line-height: 1.4;
}

.penales-rule-card__text strong {
  color: #FFA858;
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

/* Desglose de Puntos por Acción */
.penales-points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 1.5rem;
}

.penales-point-badge {
  background: linear-gradient(180deg, rgba(16, 32, 75, 0.95) 0%, rgba(9, 18, 44, 0.98) 100%);
  border: 2px solid rgba(79, 179, 232, 0.4);
  border-radius: 16px;
  padding: 0.75rem 0.65rem;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.penales-point-badge:hover {
  transform: translateY(-2px);
  border-color: #6AE87A;
}

.penales-point-badge__pts {
  font-family: var(--cc-font-arcade);
  font-size: 1.25rem;
  color: #6AE87A;
  text-shadow: 0 0 10px rgba(106, 232, 122, 0.6);
  margin-bottom: 0.25rem;
}

.penales-point-badge__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cc-sky-light);
  text-transform: uppercase;
}

/* Cuadrícula de Clubes FVF / UEFA y LVBP - Tema Claro y Elegante */
.penales-teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 1rem;
  width: 100%;
  margin: 1rem 0 1.5rem;
  min-height: 280px;
  max-height: 420px;
  overflow-y: auto;
  padding: 1rem;
  border-radius: 20px;
  background: #FFFFFF;
  border: 2px solid #D2E4F8;
  box-shadow: 0 4px 18px rgba(18, 44, 92, 0.05);
}

.penales-teams-grid--lvbp {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 760px;
}

.penales-team-card {
  background: #F8FAFD;
  border: 2px solid #D9E8F7;
  border-radius: 18px;
  padding: 1rem 0.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
  position: relative;
  box-shadow: 0 4px 10px rgba(18, 44, 92, 0.04);
}

.penales-team-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #2E6DB4;
  box-shadow: 0 8px 20px rgba(46, 109, 180, 0.15);
  background: #FFFFFF;
}

.penales-team-card.is-selected {
  border-color: #3FB950;
  background: #EBF9F0;
  box-shadow: 0 0 18px rgba(63, 185, 80, 0.25);
  transform: translateY(-2px);
}

.penales-team-card.is-selected::after {
  content: '✓ SELECCIONADO';
  position: absolute;
  top: -8px;
  right: -6px;
  background: #3FB950;
  color: #FFFFFF;
  font-family: var(--cc-font-arcade);
  font-size: 0.58rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  border: 1.5px solid #FFFFFF;
}

.penales-team-shield {
  width: 56px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.penales-team-shield .team-svg-shield {
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25));
  transition: transform 0.25s ease;
}

.penales-team-card:hover .penales-team-shield .team-svg-shield,
.penales-team-card.is-selected .penales-team-shield .team-svg-shield {
  transform: scale(1.08);
}

.penales-team-shield--vs {
  width: auto;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.5));
}

.penales-team-shield--matchmaking {
  width: auto;
  height: auto;
}

.penales-card-team-title,
.penales-team-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0A1433;
  text-align: center;
  line-height: 1.25;
  white-space: normal;
  word-break: break-word;
  overflow: hidden;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 2rem;
}

.penales-team-city {
  font-size: 0.7rem;
  color: #64748B;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Campo Nombre de Equipo */
.penales-input-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.penales-input-label {
  font-size: 0.86rem;
  font-weight: 800;
  color: #0A1433;
  display: flex;
  justify-content: space-between;
}

.penales-input-counter {
  font-family: var(--cc-font-arcade);
  font-size: 0.78rem;
  color: #F28C28;
}

.penales-input-text {
  width: 100%;
  min-height: 48px;
  padding: 0.5rem 1rem;
  background: #FFFFFF;
  border: 2px solid #C8DCF0;
  border-radius: var(--cc-radius-pill);
  font-family: var(--cc-font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: #0A1433;
  outline: none;
  box-shadow: 0 2px 6px rgba(18, 44, 92, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.penales-input-text:focus {
  border-color: #2E6DB4;
  box-shadow: 0 0 12px rgba(46, 109, 180, 0.25);
}

.penales-input-text.has-error {
  border-color: #E53935;
  box-shadow: 0 0 12px rgba(229, 57, 53, 0.25);
}

.penales-input-error {
  font-size: 0.78rem;
  font-weight: 700;
  color: #E53935;
  min-height: 18px;
}

/* Radar / Ruleta de Matchmaking */
.penales-radar-box {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid var(--cc-sky);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(46, 109, 180, 0.3) 0%, rgba(10, 20, 51, 0.9) 70%);
  box-shadow: 0 0 30px rgba(79, 179, 232, 0.5), inset 0 0 25px rgba(79, 179, 232, 0.3);
  margin: 1.5rem auto;
}

.penales-radar-sweep {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 270deg, rgba(130, 206, 250, 0.5) 360deg);
  animation: radarRotate 2s linear infinite;
  pointer-events: none;
}

@keyframes radarRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.penales-radar-rings {
  position: absolute;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  border: 1.5px dashed rgba(130, 206, 250, 0.4);
}

/* Pantalla VS Arcade de Pelea (3 segundos) - Tema Claro Corporativo y Elegante */
.penales-vs-master-card {
  max-width: 920px;
  max-height: min(90vh, 680px);
}

.penales-vs-arena {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 1.25rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .penales-flow-view {
    padding: 0.45rem 0.45rem 0.9rem;
    justify-content: flex-start;
    min-height: auto;
  }

  .penales-master-card {
    padding: 0.85rem 0.85rem;
    border-radius: 18px;
    gap: 0.7rem;
  }

  .penales-master-header {
    gap: 0.5rem;
    padding-bottom: 0.55rem;
  }

  .penales-master-header__emblem,
  .penales-master-header__logo {
    height: 34px;
    max-width: 120px;
  }

  .penales-master-title {
    font-size: 1.05rem;
  }

  .penales-poster-box {
    max-width: 195px;
    border-radius: 18px;
  }

  .penales-led-board--light {
    max-width: 240px;
    font-size: 0.58rem;
  }

  .penales-teams-grid,
  .penales-teams-grid--lvbp {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    padding: 0.65rem;
    min-height: 220px;
    max-height: 320px;
    margin: 0.5rem 0 0.85rem;
  }

  .penales-team-card {
    padding: 0.65rem 0.45rem;
    gap: 0.35rem;
    border-radius: 14px;
  }

  .penales-team-card.is-selected::after {
    font-size: 0.5rem;
    padding: 1px 6px;
    top: -6px;
    right: -4px;
  }

  .penales-vs-master-card {
    max-height: none;
  }

  .penales-vs-arena {
    flex-direction: column;
    gap: 0.75rem;
    margin: 0.65rem 0;
  }

  .arcade-title-pill {
    padding: 0.45rem 1.4rem;
    border-width: 3.5px;
  }

  .arcade-title-pill__text {
    font-size: 1.35rem;
  }

  .arcade-title-pill--sm {
    padding: 0.35rem 1.2rem;
  }

  .arcade-title-pill--sm .arcade-title-pill__text {
    font-size: 1.15rem;
  }
}

@media (max-width: 480px) {
  .penales-master-card {
    padding: 0.75rem 0.65rem;
    border-radius: 16px;
  }

  .penales-master-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .penales-tickets-pill {
    width: 100%;
    box-sizing: border-box;
    justify-content: flex-start;
    padding: 0.38rem 0.75rem;
  }

  .penales-poster-box {
    max-width: 160px;
  }

  .btn-arcade {
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
    white-space: normal;
    word-break: break-word;
    line-height: 1.25;
  }

  .btn-arcade--lg {
    min-height: 50px;
    padding: 0.75rem 1.15rem;
    font-size: 0.95rem;
  }
}

.penales-vs-box {
  flex: 1;
  min-width: 0;
  width: 100%;
  background: #FFFFFF;
  border: 2px solid #D2E4F8;
  border-radius: 22px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 10px 28px rgba(18, 44, 92, 0.07);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.penales-vs-box--p1 {
  animation: slideFromLeft 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

.penales-vs-box--p2 {
  animation: slideFromRight 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

@keyframes slideFromLeft {
  from { transform: translateX(-80px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideFromRight {
  from { transform: translateX(80px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.penales-vs-box__strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

.penales-vs-box__strip--p1 {
  background: linear-gradient(90deg, #122C5C, #2E6DB4, #4FB3E8);
}

.penales-vs-box__strip--p2 {
  background: linear-gradient(90deg, #F28C28, #FFA858, #FFD59E);
}

.penales-vs-box__shield {
  width: 88px;
  height: 88px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 6px 14px rgba(18, 44, 92, 0.16));
}

.penales-vs-box__team-name {
  font-family: var(--cc-font-arcade);
  font-size: 1.25rem;
  color: #0A1433;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
  line-height: 1.2;
}

.penales-vs-box__team-name--rival {
  color: #C25E00;
}

.penales-vs-box__player-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1E293B;
  line-height: 1.2;
}

.penales-vs-box__dept {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 0.5rem;
}

.penales-vs-box__badge-wrap {
  margin-top: auto;
  padding-top: 0.25rem;
}

.penales-vs-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  font-family: var(--cc-font-pill);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.penales-vs-badge--local {
  background: linear-gradient(90deg, #2E6DB4, #4FB3E8);
  color: #FFFFFF;
}

.penales-vs-badge--rival {
  background: linear-gradient(90deg, #F28C28, #FFA858);
  color: #FFFFFF;
}

.penales-vs-badge--bot {
  background: linear-gradient(90deg, #8B5CF6, #A855F7);
  color: #FFFFFF;
}

.penales-vs-clash {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 140px;
  z-index: 5;
}

.penales-vs-emblem {
  font-family: var(--cc-font-arcade);
  font-size: 3.4rem;
  color: #F28C28;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 0 #9A3412, 0 4px 16px rgba(242, 140, 40, 0.4);
  line-height: 1;
  animation: vsFlicker 1.2s infinite alternate;
}

@keyframes vsFlicker {
  0% { transform: scale(0.96); opacity: 0.92; }
  100% { transform: scale(1.06); opacity: 1; }
}

.penales-vs-timer-pill {
  background: #0A1433;
  border: 2px solid #F28C28;
  border-radius: 9999px;
  padding: 0.35rem 1.3rem;
  box-shadow: 0 4px 14px rgba(18, 44, 92, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
}

.penales-vs-timer-num {
  font-family: var(--cc-font-arcade);
  font-size: 1.6rem;
  color: #FFA858;
  line-height: 1;
  letter-spacing: 0.05em;
}

.penales-vs-status-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748B;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.penales-bot-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(90deg, #B26FDD, #7B3FA0);
  border: 1.5px solid #CA8DF2;
  border-radius: 9999px;
  font-family: var(--cc-font-pill);
  font-size: 0.75rem;
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(178, 111, 221, 0.6);
}

/* ==============================================================================
   OVERLAY DE CARGA ARCADE (LOADING SCREEN EN CADA VISTA)
   ============================================================================== */
.arcade-view-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: radial-gradient(circle at center, rgba(16, 34, 85, 0.96) 0%, rgba(10, 20, 51, 0.98) 75%, rgba(4, 8, 22, 0.99) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 1;
  transition: opacity 0.28s ease-out, visibility 0.28s ease-out;
  box-sizing: border-box;
}

.arcade-view-loader--fadeout {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.arcade-view-loader__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: min(440px, 92vw);
  width: 100%;
  background: rgba(10, 20, 51, 0.95);
  border: 2.5px solid var(--cc-sky);
  border-radius: 28px;
  padding: 2rem 1.65rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 35px rgba(79, 179, 232, 0.48);
  animation: loaderBoxPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
}

@keyframes loaderBoxPop {
  0% { transform: scale(0.88); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.arcade-view-loader__logo-wrap {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arcade-view-loader__logo {
  height: 80px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(79, 179, 232, 0.55));
  animation: loaderLogoPulse 2.4s ease-in-out infinite;
  image-rendering: -webkit-optimize-contrast;
}

@keyframes loaderLogoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 6px 20px rgba(79, 179, 232, 0.55)); }
  50% { transform: scale(1.03); filter: drop-shadow(0 8px 24px rgba(242, 140, 40, 0.65)); }
}

.arcade-view-loader__badge {
  background: linear-gradient(135deg, #F28C28, #D97706);
  border: 1.5px solid #FCD34D;
  border-radius: 9999px;
  padding: 0.3rem 0.95rem;
  font-family: var(--cc-font-arcade);
  font-size: 0.68rem;
  color: #FFFFFF;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(242, 140, 40, 0.45);
  margin-bottom: 1.35rem;
}

.arcade-view-loader__ball-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.arcade-view-loader__soccer-ball {
  font-size: 2.5rem;
  display: inline-block;
  animation: ballSpinBounce 1s infinite alternate ease-in-out;
  filter: drop-shadow(0 0 12px rgba(106, 232, 122, 0.8));
  z-index: 2;
}

@keyframes ballSpinBounce {
  0% { transform: translateY(0) rotate(0deg) scale(0.95); }
  100% { transform: translateY(-10px) rotate(180deg) scale(1.05); }
}

.arcade-view-loader__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3.5px solid rgba(130, 206, 250, 0.2);
  border-top-color: #FFA858;
  border-right-color: #6AE87A;
  animation: arcadeSpinRing 0.9s linear infinite;
  box-shadow: 0 0 16px rgba(255, 168, 88, 0.35);
}

.arcade-view-loader__ring-outer {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px dashed rgba(79, 179, 232, 0.4);
  animation: arcadeSpinRing 2.4s linear infinite reverse;
}

@keyframes arcadeSpinRing {
  to { transform: rotate(360deg); }
}

.arcade-view-loader__title {
  font-family: var(--cc-font-arcade);
  font-size: 0.95rem;
  color: #6AE87A;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
  text-shadow: 0 0 10px rgba(106, 232, 122, 0.6);
  animation: textGlowPulse 1.8s ease-in-out infinite;
}

@keyframes textGlowPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

.arcade-view-loader__subtitle {
  font-size: 0.82rem;
  color: #CBD5E1;
  margin-bottom: 1.15rem;
  line-height: 1.35;
}

.arcade-view-loader__progress-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.arcade-view-loader__progress-bar {
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, #F28C28 0%, #6AE87A 50%, #4FB3E8 100%);
  border-radius: 9999px;
  animation: progressSweep 1.6s ease-in-out infinite alternate;
  box-shadow: 0 0 12px rgba(106, 232, 122, 0.8);
}

@keyframes progressSweep {
  0% { width: 15%; margin-left: 0%; }
  100% { width: 65%; margin-left: 35%; }
}

/* ==============================================================================
   MEJORAS RADAR MATCHMAKING HUD DE ALTA DEFINICIÓN
   ============================================================================== */
.penales-radar-box {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 3px solid var(--cc-sky);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(14, 28, 68, 0.95) 0%, rgba(6, 12, 30, 0.98) 75%),
    repeating-linear-gradient(0deg, rgba(79, 179, 232, 0.08) 0px, rgba(79, 179, 232, 0.08) 1px, transparent 1px, transparent 12px),
    repeating-linear-gradient(90deg, rgba(79, 179, 232, 0.08) 0px, rgba(79, 179, 232, 0.08) 1px, transparent 1px, transparent 12px);
  box-shadow: 0 0 35px rgba(79, 179, 232, 0.6), inset 0 0 30px rgba(79, 179, 232, 0.4);
  margin: 1.25rem auto;
  overflow: hidden;
}

.penales-radar-sweep {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 270deg, rgba(106, 232, 122, 0.65) 360deg);
  animation: radarRotate 1.8s linear infinite;
  pointer-events: none;
}

.penales-radar-rings {
  position: absolute;
  width: 65%;
  height: 65%;
  border-radius: 50%;
  border: 1.5px dashed rgba(130, 206, 250, 0.5);
  box-shadow: 0 0 10px rgba(79, 179, 232, 0.2);
}


