* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: #060b14; color: #e0e6f0; min-height: 100vh; }
#circuit-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main { position: relative; z-index: 1; }

nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(6,11,20,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid #1a6cff22; padding: 10px 20px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav-logo-link { border: none; background: none; box-shadow: none; padding: 0; margin-right: 4px; text-decoration: none; }
.nav-logo { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; transition: transform 0.3s; }
.nav-logo:hover { transform: scale(1.1); }
.nav-derecha { margin-left: auto; display: flex; align-items: center; gap: 8px; }
nav a, nav .filtro-btn { background: transparent; border: 2px solid #f0c040; color: #f0c040; padding: 6px 14px; border-radius: 8px; cursor: pointer; font-size: 0.85rem; font-weight: 600; font-family: 'Inter', sans-serif; text-decoration: none; transition: all 0.3s; box-shadow: 0 0 6px #f0c04033; }
nav a:hover, nav .filtro-btn:hover, nav .filtro-btn.activo { background: #f0c040; color: #060b14; box-shadow: 0 0 14px #f0c040aa; }
.btn-discord { display: flex; align-items: center; gap: 6px; background: #5865F2; border: 2px solid #5865F2; color: #fff; padding: 6px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.85rem; transition: all 0.3s; }
.btn-discord:hover { background: #4752C4; border-color: #4752C4; }

.hero { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 20px 60px; }
.site-logo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid #f0c04066; box-shadow: 0 0 30px #f0c04033; margin-bottom: 20px; }
.hero h1 { font-size: 3rem; font-weight: 700; color: #f0c040; text-shadow: 0 0 20px #f0c04066; margin-bottom: 12px; }
.hero p { font-size: 1.1rem; color: #aab4c8; margin-bottom: 28px; }
.btn { display: inline-block; border: 2px solid #f0c040; color: #f0c040; background: transparent; padding: 12px 28px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; cursor: pointer; text-decoration: none; transition: all 0.3s; box-shadow: 0 0 10px #f0c04044; font-family: 'Inter', sans-serif; }
.btn:hover { background: #f0c040; color: #060b14; box-shadow: 0 0 20px #f0c040aa; }

.posts-publicos { padding: 0 0 60px 0; }
.posts-titulo { text-align: center; color: #f0c040; font-size: 1.8rem; margin-bottom: 30px; letter-spacing: 2px; }

.layout-con-anuncios { display: grid; grid-template-columns: 180px 1fr 180px; width: 100%; align-items: start; }
.slot-anuncio { position: sticky; top: 60px; }
.slot-izquierda { padding: 0 14px 0 8px; }
.slot-derecha { padding: 0 8px 0 14px; }

.anuncio-card { display: block; background: #0d1526; border: 1px solid #f0c04044; border-radius: 12px; overflow: hidden; text-decoration: none; transition: border-color 0.3s, transform 0.3s; }
.anuncio-card:hover { border-color: #f0c040; transform: translateY(-3px); }
.anuncio-card img { width: 100%; height: 130px; object-fit: cover; }
.anuncio-label { display: block; font-size: 0.6rem; color: #f0c040; letter-spacing: 1px; font-weight: 700; padding: 8px 10px 2px; }
.anuncio-card h4 { color: #fff; font-size: 0.8rem; padding: 2px 10px; margin: 0; }
.anuncio-card p { color: #aab4c8; font-size: 0.72rem; padding: 4px 10px 10px; margin: 0; line-height: 1.4; }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.post-card-link { text-decoration: none; display: block; }
.post-card { background: #0d1526; border: 1px solid #1a6cff33; border-radius: 12px; overflow: hidden; transition: border-color 0.3s, transform 0.3s; }
.post-card-link:hover .post-card { border-color: #f0c040; transform: translateY(-3px); }
.post-img { width: 100%; height: 80px; object-fit: cover; }
.post-body { padding: 8px 12px; }
.post-categoria { font-size: 0.65rem; color: #1a6cff; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.post-titulo { color: #f0c040; font-size: 0.82rem; margin: 4px 0 3px; }
.post-desc { color: #aab4c8; line-height: 1.4; font-size: 0.74rem; margin-bottom: 4px; }
.post-fecha { color: #445; font-size: 0.68rem; }

.post-detalle { max-width: 800px; margin: 100px auto 60px auto; background: #0d1526; border: 1px solid #1a6cff33; border-radius: 12px; overflow: hidden; }
.post-detalle-img { width: 100%; max-height: 400px; object-fit: cover; }
.post-detalle-body { padding: 30px; }
.post-detalle-titulo { color: #f0c040; font-size: 2rem; margin: 10px 0 8px 0; }
.post-detalle-desc { color: #aab4c8; line-height: 1.8; font-size: 1rem; margin-top: 20px; white-space: pre-wrap; }

.contacto-form { max-width: 600px; margin: 100px auto 60px; padding: 0 20px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.75rem; color: #f0c040; letter-spacing: 1px; font-weight: 700; margin-bottom: 8px; }
.form-input { width: 100%; background: #0d1526; border: 1px solid #1a6cff44; color: #e0e6f0; padding: 12px 16px; border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 0.95rem; transition: border-color 0.3s; }
.form-input:focus { outline: none; border-color: #f0c040; }

.admin-card { background: #0d1526; border: 1px solid #1a6cff33; border-radius: 12px; overflow: hidden; transition: border-color 0.3s; }
.admin-card:hover { border-color: #f0c04066; }

footer { text-align: center; padding: 20px; color: #334; font-size: 0.8rem; position: relative; z-index: 1; }

.error-page { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 80vh; text-align: center; }
.error-page h1 { font-size: 6rem; color: #f0c040; text-shadow: 0 0 30px #f0c04066; }
.error-page p { color: #aab4c8; margin: 16px 0 30px; }

/* ===== POSTS CENTRADOS ===== */

.layout-con-anuncios {

  grid-template-columns: 180px minmax(1,400px) 180px;

  justify-content: center;

}


/* ===== POSTS CENTRADOS ===== */
.layout-con-anuncios {
  grid-template-columns: 180px minmax(0, 900px) 180px;
  justify-content: center;
}

/* ===== POSTS CENTRADOS ===== */

.layout-con-anuncios {

  grid-template-columns: 180px minmax(1000px) 180px;

  justify-content: center;

}


/* ===== POSTS CENTRADOS ===== */

.layout-con-anuncios {

  grid-template-columns: 180px minmax(1,300px) 180px;

  justify-content: center;

}


/* ===== POSTS ANCHO AJUSTE ===== */
.layout-con-anuncios {
  grid-template-columns: 180px minmax(0, 1000px) 180px;
  justify-content: center;
}

/* ===== POSTS ANCHO AJUSTE ===== */

.layout-con-anuncios {

  grid-template-columns: 180px minmax(0, 1300px) 180px;

  justify-content: center;

}

