/* ===== MOVISTAR DEPORTES — PREMIUM BLUE REFINADO ===== */

a { text-decoration: none; }

/* Fondo general */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: space-between;
  background: linear-gradient(180deg, #03283d 0%, #043a55 60%, #05283f 100%);
  font-family: "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #e8f9ff;
  margin: 0;
}

/* HEADER PREMIUM — con contraste real y brillo sutil */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1.2rem;
  background: linear-gradient(180deg, #0078c9 0%, #005b9e 50%, #003b6f 100%);
  border-bottom: 3px solid #00b140;
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.title-header {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

/* Logo */
.prelogo {
  border: 2px solid rgba(0, 177, 64, 0.45);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  padding: 0.25rem;
  transition: all 0.25s ease-in-out;
}
.prelogo:hover { border-color: #00ff9d; transform: translateY(-1px) scale(1.02); }
.logo2 { width: 2rem; height: 2rem; }

/* Footer */
footer {
  height: 2.5rem;
  background: linear-gradient(180deg, #011c2b 0%, #000e17 100%);
  color: #e8f9ff;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.35);
}
.footer-title { text-align: center; font-size: 0.875rem; }

/* CONTENEDOR PRINCIPAL centrado */
.main-frame {
  margin: auto;
  width: 91.666667%;
  max-width: 66.666667%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0;
}

/* Player card */
.subiframe {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 1rem;
  width: 100%;
  margin: 1.5rem auto;
  padding: 0.25rem;
  background: linear-gradient(180deg, #063c58 0%, #022a40 100%);
  box-shadow: 0 8px 22px rgba(0, 63, 86, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.preframe {
  border-radius: 0.5rem;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
}

/* Iframe centrado */
#embedIframe {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border: 0;
  border-radius: 0.5rem;
}

/* Botón recargar */
#btnIframe {
  background: linear-gradient(180deg, #00d26a 0%, #00b140 100%);
  color: #002a3d;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
  width: 100%;
  font-weight: 700;
  border: none;
  letter-spacing: 0.25px;
  box-shadow: 0 0 18px rgba(0, 210, 106, 0.35);
  transition: all 0.25s ease;
}
#btnIframe:hover {
  background: linear-gradient(180deg, #00ff9d 0%, #00d26a 100%);
  box-shadow: 0 0 26px rgba(0, 255, 180, 0.55);
  transform: translateY(-1px);
  cursor: pointer;
}

/* Titulares */
h1.title {
  color: #00b7ff;
  font-size: 1.9rem;
  font-weight: bold;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
}
h2.title {
  color: #00b7ff;
  font-size: 1.3rem;
  font-weight: bold;
}

.centerfull { width: 100%; text-align: center; }
.margin-top-2 { margin-top: 2.5rem; }

/* Texto */
.content-text {
  font-size: 1.125rem;
  line-height: 1.6;
  text-align: left;
  color: #cfefff;
}

/* Botones */
.btn-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.btnLinkMovistar {
  background: linear-gradient(180deg, #0085ff 0%, #005bcc 100%);
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 0.6rem;
  border: none;
  box-shadow: 0 6px 14px rgba(0, 169, 224, 0.35);
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: all 0.25s ease;
  min-width: 220px;
  text-align: center;
  cursor: pointer;
}
.btnLinkMovistar:hover {
  background: linear-gradient(180deg, #00ff9d 0%, #00b140 100%);
  color: #002a3d;
  box-shadow: 0 10px 22px rgba(0, 255, 180, 0.35);
  transform: translateY(-1px);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .main-frame {
    max-width: 100%;
    padding: 1rem 0;
  }
  #embedIframe {
    width: 100%;
  }
}
