/* ===============================
   CONTEXTO GENERAL / FONDO
   =============================== */

.partido-screen {
  position: relative;
  min-height: 100vh;
  background: #000;
  overflow: hidden;
}

/* Overlay oscuro general */
.partido-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at bottom,
      rgba(120, 0, 0, 0.25),
      rgba(0, 0, 0, 0.85) 70%
    );
  z-index: 0;
}

/* Viñeta sutil */
.partido-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 120px rgba(0,0,0,0.9);
  z-index: 0;
}

/* ===============================
   CARD PRINCIPAL
   =============================== */

.partido-card {
  position: relative;
  z-index: 1;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(6px);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 25px 60px rgba(0,0,0,0.8),
    inset 0 1px 0 rgba(255,255,255,0.05);
  padding: 24px;
}

/* ===============================
   TEXTOS SUPERIORES
   =============================== */

.partido-label {
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}

.partido-estado {
  font-size: 13px;
  color: #f5c842;
  font-weight: 600;
}

/* ===============================
   VISITANTE (CLAVE)
   =============================== */

.partido-condicion {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #f5c842;
  text-shadow:
    0 0 6px rgba(180, 0, 0, 0.6),
    0 0 16px rgba(120, 0, 0, 0.5);
}

/* ===============================
   HORARIO
   =============================== */

.partido-horario {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

/* ===============================
   BOTÓN PRINCIPAL
   =============================== */

.btn-tribuna {
  margin-top: 18px;
  background: linear-gradient(
    180deg,
    #c80000,
    #8f0000
  );
  border: none;
  border-radius: 14px;
  padding: 16px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  cursor: pointer;
  box-shadow:
    0 10px 25px rgba(180,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* efecto latido suave */
@keyframes pulseTribuna {
  0%   { box-shadow: 0 10px 25px rgba(180,0,0,0.6); }
  50%  { box-shadow: 0 14px 32px rgba(220,0,0,0.8); }
  100% { box-shadow: 0 10px 25px rgba(180,0,0,0.6); }
}

.btn-tribuna {
  animation: pulseTribuna 5s infinite;
}

.btn-tribuna:active {
  transform: scale(0.98);
}

/* ===============================
   BOTONES SECUNDARIOS
   =============================== */

.btn-secundario {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  transition: background 0.2s ease, border 0.2s ease;
}

.btn-secundario:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
}

/* ===============================
   TEXTO FINAL
   =============================== */

.partido-footer-text {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.4;
}

html, body {
  outline: 8px solid lime !important;
}
/* =========================================
   TRANQUI SABALE – PARTIDO CARD (sin tocar JSX)
   Ataca clases Tailwind existentes por "contains"
   ========================================= */

/* 1) Clima general de la pantalla (fondo con viñeta + rojo abajo) */
body {
  background:
    radial-gradient(ellipse at bottom, rgba(120, 0, 0, 0.22), rgba(0, 0, 0, 0.92) 70%),
    #000 !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 140px rgba(0, 0, 0, 0.90);
  z-index: 0;
}

/* 2) Card principal: detecta contenedor típico (rounded + border zinc + shadow) */
div[class*="rounded-"][class*="border-zinc-"][class*="shadow"] {
  position: relative;
  z-index: 1;
  background: rgba(10, 10, 10, 0.78) !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(7px);
}

/* 3) “HOY JUEGA COLÓN” (texto de contexto) */
p[class*="text-zinc-400"][class*="text-[10px]"][class*="uppercase"][class*="tracking-widest"] {
  color: rgba(255, 255, 255, 0.55) !important;
  letter-spacing: 0.18em !important;
}

/* 4) VISITANTE: amarillo gastado + glow rojo oscuro (CLAVE) */
p[class*="text-white"][class*="text-3xl"][class*="italic"][class*="font-black"] {
  color: #f5c842 !important; /* amarillo gastado */
  text-shadow:
    0 0 6px rgba(180, 0, 0, 0.60),
    0 0 18px rgba(120, 0, 0, 0.55),
    0 8px 30px rgba(0, 0, 0, 0.75) !important;
}

/* 5) Horario */
p[class*="text-zinc-400"][class*="text-sm"][class*="mt-2"][class*="font-black"] {
  color: rgba(255, 255, 255, 0.70) !important;
}

/* 6) Botón principal rojo (subir desde la tribuna)
   PISA botones rojos típicos: bg-red + rounded + font-bold/black
*/
button[class*="bg-red"], 
button[class*="bg-[#"], 
button[class*="bg-"][class*="red"] {
  background: linear-gradient(180deg, #c80000, #8f0000) !important;
  box-shadow:
    0 12px 30px rgba(200, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 14px !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease !important;
  animation: tsPulseTribuna 5s infinite !important;
}

@keyframes tsPulseTribuna {
  0%   { box-shadow: 0 12px 30px rgba(200,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.18); }
  50%  { box-shadow: 0 16px 40px rgba(240,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.22); }
  100% { box-shadow: 0 12px 30px rgba(200,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.18); }
}

button[class*="bg-red"]:active,
button[class*="bg-"][class*="red"]:active {
  transform: scale(0.985) !important;
}

/* 7) Botones secundarios: bajarlos un escalón */
button[class*="border"][class*="rounded"][class*="text-"] {
  border-color: rgba(255,255,255,0.16) !important;
  background: rgba(255,255,255,0.04) !important;
}

button[class*="border"][class*="rounded"][class*="text-"]:hover {
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(255,255,255,0.26) !important;
}

/* 8) Evitar que el pseudo-elemento del body tape todo */
#root, main, .app, .App {
  position: relative;
  z-index: 1;
}
