/* ==== Estilos generales ==== */
body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #0c0517 0%, #1e0936 100%);
  color: #fff;
}

/* ==== Encabezado ==== */
header {
  text-align: center;
  padding: 60px 20px;
  background: radial-gradient(circle at top, #4a148c, #120025);
  color: #f8e1ff;
}

header h1 {
  font-size: 2.5em;
  color: #ffda77;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

header h2 {
  font-size: 1.2em;
  font-weight: 300;
  color: #d4bfff;
}

/* ==== Secciones ==== */
section {
  margin: 40px auto;
  width: 90%;
  max-width: 1000px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(255, 200, 255, 0.1);
  overflow: hidden;
  backdrop-filter: blur(6px);
}

section h3 {
  background: linear-gradient(90deg, #5e17eb, #d293ff);
  color: white;
  margin: 0;
  padding: 15px;
  font-size: 1.5em;
  text-align: center;
  letter-spacing: 1px;
}

/* ==== Tabla de cronograma ==== */
table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffda77;
  text-transform: uppercase;
  font-size: 0.9em;
  letter-spacing: 0.5px;
}

td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

tr:hover {
  background: rgba(255, 255, 255, 0.08);
  transition: 0.3s;
}

/* ==== Destacar intervenciones del Host ==== */
td:contains("Intervención Host"),
td:contains("Intervención") {
  background: rgba(255, 221, 87, 0.12);
  border-left: 4px solid #ffda77;
  font-style: italic;
  color: #fff2c2;
}

tr.intervencion {
  background: rgba(255, 221, 87, 0.12);
  border-left: 4px solid #ffda77;
  font-style: italic;
  color: #fff2c2;
}

/* === BOTÓN FLOTANTE PARA VOLVER AL INICIO === */
.btn-inicio {
  position: fixed;
  bottom: 25px; /* Puedes poner top: 25px; si lo prefieres arriba */
  right: 25px;
  background: linear-gradient(135deg, #ffd700, #ffb347);
  color: #000;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50%;
  padding: 14px 17px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-inicio:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px #ffd700;
}
/* ==== Footer ==== */
footer {
  text-align: center;
  padding: 40px 20px;
  color: #c9a8ff;
  font-size: 0.95em;
  background: radial-gradient(circle at bottom, #18042e, #0b0214);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer a {
  color: #ffda77;
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}

/* ==== Responsive ==== */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.8em;
  }
  th,
  td {
    font-size: 0.9em;
  }
  section {
    width: 95%;
  }
  
  /* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
  .btn-cronograma {
    bottom: 100px; /* un poco más arriba en móviles */
    right: 15px;
    font-size: 22px;
    padding: 12px 15px;
  }

}
