/* Fondo general: color clarito con toque retro */
body {
  margin: 0;
  padding: 0;
  font-family: "Trebuchet MS", Arial, sans-serif;
  background: #c7dcf5;
  background-image:
    linear-gradient(180deg, #d9e7ff 0, #c7dcf5 40%, #b5d0ff 100%);
  color: #222;
}

/* Para centrar todo el sitio */
.page-wrapper {
  width: 980px;
  margin: 20px auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  border: 1px solid #9ab3e0;
  padding: 10px 10px 20px 10px;
}

/* Header estilo early Web 2.0 */
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #4d79c7, #6ea5ff);
  border-radius: 6px;
  padding: 10px 15px;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.logo-area .site-title {
  display: block;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
}

.logo-area .site-subtitle {
  font-size: 12px;
  opacity: 0.9;
}

.status-area {
  text-align: right;
  font-size: 11px;
}

.status-label {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Menú principal tipo barra de 2010 */
.main-nav {
  margin-top: 8px;
  background: linear-gradient(180deg, #fdfefe, #dde8ff);
  border-radius: 6px;
  border: 1px solid #aabbdc;
  padding: 4px;
  display: flex;
  gap: 4px;
}

.nav-item {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 4px;
  text-decoration: none;
  color: #234;
  background: linear-gradient(180deg, #ffffff, #e5ecff);
  border: 1px solid #aabbdc;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.nav-item:hover {
  background: linear-gradient(180deg, #ffffff, #d4e2ff);
}

.nav-item.active {
  background: linear-gradient(180deg, #f8fcff, #c2d6ff);
  border-color: #7994d0;
  font-weight: bold;
}

/* Layout 2 columnas */
.layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 10px;
  margin-top: 10px;
}

/* Sidebar estilo fansite */
.sidebar {
  font-size: 13px;
}

.sidebar-box {
  background: linear-gradient(180deg, #f8fbff, #e3ecff);
  border: 1px solid #b3c3e5;
  border-radius: 6px;
  padding: 8px 10px;
  margin-bottom: 8px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.sidebar-box h2 {
  font-size: 14px;
  margin: 0 0 6px 0;
  padding-bottom: 4px;
  border-bottom: 1px solid #c7d5f0;
}

.sidebar-box ul {
  list-style: none;
  padding-left: 10px;
  margin: 0;
}

.sidebar-box li {
  margin-bottom: 4px;
}

.sidebar a {
  color: #264f9b;
  text-decoration: none;
}

.sidebar a:hover {
  text-decoration: underline;
}

/* Lista de actualizaciones */
.updates-list .date {
  font-weight: bold;
  color: #374f8a;
}

/* Contenido principal */
.content {
  font-size: 14px;
}

/* Caja de contenido tipo “post” */
.content-box {
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #c4cde5;
  padding: 12px 14px;
  margin-bottom: 10px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.content-box h1,
.content-box h2,
.content-box h3 {
  margin-top: 0;
  color: #274078;
}

/* Layout texto + ficha */
.two-column {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 10px;
}

.text-column p {
  margin-top: 0;
}

/* Infobox tipo wiki */
.infobox {
  background: #f5f7ff;
  border: 1px solid #aebce0;
  border-radius: 6px;
  font-size: 12px;
}

.infobox h3 {
  margin: 0;
  padding: 6px 8px;
  background: linear-gradient(180deg, #dde7ff, #c7d5ff);
  border-bottom: 1px solid #aebce0;
  border-radius: 6px 6px 0 0;
  font-size: 13px;
}

.infobox table {
  width: 100%;
  border-collapse: collapse;
}

.infobox th,
.infobox td {
  padding: 4px 6px;
  border-bottom: 1px solid #dde4f5;
  vertical-align: top;
}

.infobox th {
  width: 35%;
  font-weight: bold;
}

/* Shoutbox / libro de visitas */
.shoutbox {
  border-style: dashed;
  border-width: 1px;
  border-color: #aebce0;
  background: #fafbff;
}

/* Footer retro */
.footer {
  margin-top: 10px;
  text-align: center;
  font-size: 11px;
  color: #445;
  opacity: 0.9;
}