/* 🌌 Fondo de toda la página */
body, html {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: 'Cinzel', serif;
  color: white;
  overflow-x: hidden;
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
}

/* 🔝 Cabecera (nav) */
.main-header {
  background: rgba(0, 0, 0, 0.85);
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: #ffd700;
}

/* 🎯 Hero principal */
.hero {
  height: 100vh;
  padding-top: 180px;
  text-align: center;
}

.hero h1 {
  font-size: 4em;
  color: #ffd700;
  text-shadow: none;
}

.hero p {
  font-size: 1.5em;
  text-shadow: none;
}

.buttons .btn {
  background: #ffd700;
  color: #000;
  padding: 12px 25px;
  margin: 10px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: none;
  text-shadow: none;
}

/* 📰 Noticias y sidebar */
.news-section, .sidebar {
  background: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 2rem;
  margin: 2rem auto;
  border-radius: 10px;
  max-width: 900px;
}

/* 🦶 Footer */
footer {
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 2rem;
}

footer a {
  color: #ffd700;
}

/* 📍 Estado del Reino fijo en lateral derecho */
.estado-lateral {
  position: absolute;
  top: 150px;
  right: 40px;
  z-index: 10;
}

.estado-reino-box {
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.3;
  max-width: 220px;
  box-shadow: 0 0 6px #00ff88;
}

.estado-reino-box .status-ok {
  color: #66ff66;
  font-weight: bold;
  margin-left: 8px;
}

.estado-reino-box .status-fail {
  color: #ff6666;
  font-weight: bold;
  margin-left: 8px;
}

.estado-reino-box .uptime {
  margin-top: 5px;
  font-size: 12px;
  color: #ccc;
}
