/* ========================================
   PRONÓSTICO DEL DÍA - CARD DETALLE
   ======================================== */
.lista-pronosticos {
  --card-radius: 8px;
  --card-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
  --color-header: #049ec5;
  --color-header-dark: #049ec5;
  --color-bg: #f5f9ff;
  --color-text-main: #111827;
  --color-text-muted: #6b7280;
  --color-cta: #00E08C;
  --color-cta-dark: #00E08C;
  --color-odd-pill: #ffffff;
  --color-odd-border: #049ec5;
  --chip-bg: rgba(255, 255, 255, 0.16);
  --chip-bg-strong: #ffffff;
  --chip-text: #ffffff;
  --tag-green-bg: #e6f9ee;
  --tag-green-text: #049ec5;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0 auto;
  padding: 16px;
  font-family: var(--font-main);
}

.lista-pronosticos * {
  box-sizing: border-box;
}

.lista-pronosticos .pronos {
  background: var(--color-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

/* Cabecera */
.lista-pronosticos .pronos-header {
  background: linear-gradient(135deg, var(--color-header), var(--color-header-dark));
  color: #fff;
  padding: 18px 24px 40px;
  display: grid;
  grid-template-columns: .5fr 2fr 0.5fr;
  align-items: center;
  column-gap: 12px;
  position: relative;
  min-height: 120px;
}

.lista-pronosticos .pronos-header-left {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.lista-pronosticos .pronos-header-center {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  column-gap: 10px;
  align-items: center;
  text-align: center;
}

.lista-pronosticos .pronos-header-right {
  display: flex;
  justify-content: flex-end;
}

.lista-pronosticos .pronos-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 18px;
  background: var(--color-bg);
  border-radius: 8px 8px 0 0;
}

/* Chips */
.lista-pronosticos .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: var(--chip-bg);
  color: var(--chip-text);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

.lista-pronosticos .chip-comp {
  background: var(--chip-bg-strong);
  color: var(--color-header-dark);
  margin: .5rem 0;
}

.lista-pronosticos .chip-live {
  background: #ffffff;
  color: var(--color-header-dark);
  position: relative;
  padding-left: 22px;
}

.lista-pronosticos .chip-live::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ff6b35;
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.35);
  position: absolute;
  left: 8px;
}

/* Equipos / Escudos */
.lista-pronosticos .team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.lista-pronosticos .team-logo {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.lista-pronosticos .team-logo img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 70% !important;
  height: 70% !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  max-width: none !important;
  max-height: none !important;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
}

.lista-pronosticos .team-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.lista-pronosticos .team-name {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  max-width: 170px;
  text-align: center;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lista-pronosticos .match-datetime {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  font-weight: 700;
}

.lista-pronosticos .match-time {
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

/* Cuerpo */
.lista-pronosticos .pronos-body {
  background: #ffffff;
  padding: 30px 24px 22px;
  position: relative;
  z-index: 1;
}

.lista-pronosticos .field_pronostico {
  font-weight: 800;
  font-size: 17px;
  color: var(--color-text-main);
  margin-bottom: 10px;
}

.lista-pronosticos .field_base_razonamiento {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: 18px;
}

/* Casa / Cuota / CTA */
.lista-pronosticos .item-pronostico {
  display: grid;
  grid-template-columns: .5fr 2fr 0.5fr;
  align-items: center;
  column-gap: 16px;
  padding: 14px 0 6px;
}

.lista-pronosticos .item-pronostico .contenido.cs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.lista-pronosticos .item-pronostico .contenido.ct {
  text-align: center;
}

.lista-pronosticos .item-pronostico .contenido.versitio {
  display: flex;
  justify-content: flex-end;
}

.lista-pronosticos .item-pronostico .casa img {
  display: block !important;
  max-width: 140px;
  height: auto;
}

.lista-pronosticos .cuota-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 3px solid var(--color-odd-border);
  background: var(--color-odd-pill);
  color: #111827;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 10px 16px rgba(0, 0, 0, 0.12);
}

/* Tags inferiores */
.lista-pronosticos .razonamiento.pastillas {
  margin-top: 18px;
}

.lista-pronosticos .razonamiento.pastillas .small {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lista-pronosticos .tag-principal-green {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--tag-green-bg);
  color: var(--tag-green-text);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

/* CTA Banner Beticious */
.lista-pronosticos .beticious-cta-banner {
  display: block;
  margin-top: 18px;
  padding: 34px 24px;
  border-radius: 22px;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, #049ec5, #60d6b6);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: hidden;
}

.lista-pronosticos .beticious-cta-banner:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 34px rgba(0, 0, 0, 0.22);
}

.lista-pronosticos .beticious-cta-title {
  font-size: 34px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 12px 0;
}

.lista-pronosticos .beticious-cta-subtitle {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 500;
  opacity: 0.92;
  margin: 0 0 26px 0;
  max-width: 520px;
}

.lista-pronosticos .beticious-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #049ec5;
  font-weight: 900;
  font-size: 22px;
  padding: 18px 34px;
  border-radius: 999px;
  box-shadow: 0 14px 20px rgba(0, 0, 0, 0.16);
}

.lista-pronosticos .beticious-cta-banner::before,
.lista-pronosticos .beticious-cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(0.5px);
}

.lista-pronosticos .beticious-cta-banner::before {
  width: 140px;
  height: 140px;
  left: 52%;
  top: -40px;
}

.lista-pronosticos .beticious-cta-banner::after {
  width: 140px;
  height: 140px;
  left: 68%;
  top: -40px;
  opacity: 0.12;
}

/* Detalle responsive */
@media (max-width: 640px) {
  .lista-pronosticos {
    padding: 12px;
  }

  .lista-pronosticos .pronos-header {
    grid-template-columns: 1fr;
    row-gap: 12px;
    padding: 16px 16px 34px;
  }

  .lista-pronosticos .pronos-header-center {
    grid-template-columns: 1fr auto 1fr;
  }

  .lista-pronosticos .team-logo {
    width: 52px;
    height: 52px;
  }

  .lista-pronosticos .team-name {
    font-size: 13px;
    max-width: 120px;
  }

  .lista-pronosticos .pronos-body {
    padding: 24px 16px 18px;
  }

  .lista-pronosticos .item-pronostico {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 16px;
    padding: 14px 0 6px;
  }

  .lista-pronosticos .item-pronostico .cta-button {
    width: 100%;
  }

  .lista-pronosticos .item-pronostico .contenido.cs,
  .lista-pronosticos .item-pronostico .contenido.versitio {
    justify-content: center;
  }

  .lista-pronosticos .beticious-cta-banner {
    padding: 26px 18px;
  }

  .lista-pronosticos .beticious-cta-title {
    font-size: 28px;
  }

  .lista-pronosticos .beticious-cta-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .lista-pronosticos .beticious-cta-button {
    font-size: 18px;
    padding: 14px 22px;
  }
}

/* ========================================
   PRONÓSTICOS SLIDER HORIZONTAL
   ======================================== */
.footer_beticious {
  text-align: end;
  font-size: 11px;
  padding: 5px;
}

.pronos-slider {
  margin: 0 auto;
  padding: 0;
}

.pronos-slider__title {
  margin: 0 0 14px 0;
  font-weight: 900;
  font-size: 22px;
  color: #0b2b3a;
}

.pronos-slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 16px) / 3 - 12px);
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 10px 6px;
}

.pronos-slider__track::-webkit-scrollbar {
  height: 8px;
}

.pronos-slider__track::-webkit-scrollbar-thumb {
  background: rgba(5, 138, 172, 0.25);
  border-radius: 999px;
}

.pronos-slider__track::-webkit-scrollbar-track {
  background: rgba(5, 138, 172, 0.10);
  border-radius: 999px;
}

/* Card */
.prono-card {
  scroll-snap-align: start;
  width: 100%;
  min-width: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 2px 2px 8px rgba(3, 34, 44, 0.10);
  border: 1px solid rgba(4, 158, 197, 0.12);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  display: flex;
  flex-direction: column;
}

.prono-card:hover {
  transform: translateY(-1px);
  box-shadow: 2px 2px 8px #049EC5;
  border-color: #049EC5;
}

.prono-card:active {
  transform: translateY(-1px);
}

.prono-card.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.prono-card:hover .prono-card__play {
  animation: spin360 0.9s ease;
}
.lista-pronosticos .pronos:hover{
  box-shadow: 2px 2px 8px #049EC5;
}
.lista-pronosticos .pronos:hover .cuota-btn,
.prono-card:hover .prono-card__oddpill {
  animation: glowPulse 1.5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(4, 158, 197, 0.4), 0 0 30px rgba(4, 158, 197, 0.2), 0 22px 40px rgba(3, 34, 44, 0.14);
  }
  50% {
    box-shadow: 0 0 25px rgba(4, 158, 197, 0.6), 0 0 50px rgba(4, 158, 197, 0.3), 0 22px 40px rgba(3, 34, 44, 0.14);
  }
}
@keyframes spin360 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Equipos */
.prono-card__teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  min-height: 225px;
  background: linear-gradient(135deg, #049ec5, #60d6b6);
}

.prono-card__team {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 18px 14px;
  min-width: 0;
}

.prono-card__logo {
  width: 90px;
  height: 90px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  overflow: hidden;
  margin-bottom: 10px;
}

.prono-card__logo img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.16));
}

.prono-card__logo-ph {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.prono-card__name {
  color: #ffffff;
  font-weight: 900;
  font-size: 15px;
  text-align: center;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-height: calc(2 * 1.15em);
  line-height: 1.15;
  max-width: 170px;
}

/* VS */
.prono-card__vs {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: #049ec5;
  color: #0b2b3a;
  font-weight: 900;
  font-size: 14px;
  border-radius: 999px;
  align-self: center;
  justify-self: center;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}

/* Pick */
.prono-card__pick {
  background: #ffffff;
  padding: 10px 14px 0;
}

.prono-card__picktext {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-align: center;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 900;
  color: rgba(11, 43, 58, 0.92);
  min-height: calc(2 * 0.9em);
}

.prono-card__market {
  font-weight: 800;
  color: rgba(11, 43, 58, 0.70);
}

/* Footer */
.prono-card__footer {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: #ffffff;
  border-top: 1px solid rgba(4, 158, 197, 0.10);
}

.prono-card__book {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.prono-card__booklogo {
  width: 76px;
  height: auto;
  display: block;
}

.prono-card__oddpill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(4, 158, 197, 0.10);
  border: 1px solid rgba(4, 158, 197, 0.22);
  color: #0b2b3a;
  font-weight: 900;
}

.prono-card__oddval {
  font-size: 16px;
  letter-spacing: 0.2px;
}

.prono-card__play {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  position: relative;
  background: #00d3a7;
  display: inline-block;
  box-shadow: 0 10px 16px rgba(0, 0, 0, 0.10);
}

.prono-card__play::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  width: 0;
  height: 0;
  border-left: 8px solid rgba(0, 0, 0, 0.70);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* Slider responsive */
@media (max-width: 1024px) {
  .pronos-slider__track {
    grid-auto-columns: calc((100% - 16px) / 2);
  }
}

@media (max-width: 640px) {
  .pronos-slider {
    padding: 12px;
  }

  .pronos-slider__track {
    grid-auto-columns: 95%;
    padding: 0 16px 8px;
  }

  .prono-card__teams {
    min-height: 200px;
  }

  .prono-card__logo {
    width: 82px;
    height: 82px;
  }

  .prono-card__picktext {
    -webkit-line-clamp: 1;
    min-height: calc(1 * 1.25em);
  }
}
