@charset "UTF-8";
/* =======================
   La Musa Elyse — style.css
   ======================= */

/* ============= VARIABLES Y RESET ============= */
:root{
  --bg:#070707;          /* fondo general oscuro */
  --bg-soft:#0d0d10;     /* tarjetas */
  --border:#1c1c22;      /* bordes neutros */
  --ink:#f3eef2;         /* texto principal marfil */
  --muted:#b9a9b2;       /* texto secundario */
  --accent:#b00018;      /* rojo sangre */
  --accent-2:#4a0009;    /* granate profundo (detalles/bordes) */
  --link:#f38ba8;        /* enlaces */
  --shadow:0 10px 28px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.04);
}

*,*::before,*::after{ box-sizing:border-box }
html,body{ height:100% }

body{
  margin:0; color:var(--ink);
  background:
    radial-gradient(1100px 600px at 10% -10%, rgba(176,0,24,.14) 0%, transparent 60%),
    radial-gradient(900px 600px at 120% 0%, rgba(122,15,26,.10) 0%, transparent 55%),
    /* patrón SVG inline (ligero) */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><rect width='120' height='120' fill='none'/><circle cx='20' cy='20' r='3' fill='%23b00018' fill-opacity='.12'/><circle cx='80' cy='60' r='3' fill='%23b00018' fill-opacity='.12'/><rect x='0' y='0' width='120' height='120' fill='none'/></svg>") repeat fixed,
    linear-gradient(180deg, #050506, #0a0a0d 60%, #050506 100%);
  background-size: auto, auto, 120px 120px, auto;
  font: 17px/1.6 "Cormorant Garamond", Georgia, serif;
}

a{ color:var(--link); text-decoration:none }
a:hover{ color:var(--accent) }
img{ max-width:100%; height:auto; image-rendering:pixelated }

/* ============= CONTENEDOR PRINCIPAL (centrado con rieles) ============= */
.wrap{
  max-width:1120px;       /* cambia a 980px si lo quieres más compacto */
  margin:24px auto 80px;  /* centrado horizontal */
  padding:0 16px;
  position:relative;
  border-left:1px solid var(--accent-2);
  border-right:1px solid var(--accent-2);
}

/* ============= BARRA SUPERIOR / LOGO (centrada) ============= */
.header{
  display:grid; grid-template-columns:1fr; justify-items:center; text-align:center; align-items:center;
  border:1px solid var(--border); background:var(--bg-soft); box-shadow:var(--shadow);
  padding:16px 14px; border-radius:10px;
}
.logo{
  position:relative; display:flex; align-items:center; justify-content:center; gap:10px;
  font-family:'Grenze Gotisch','UnifrakturMaguntia',serif;
  font-size:68px; line-height:1; letter-spacing:.5px; color:var(--accent);
  background:linear-gradient(180deg, #ff2430 0%, #b00018 55%, #3b0000 100%);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
  text-transform:none; text-shadow:0 2px 12px rgba(176,0,24,.35), 0 0 2px #210;
}
.logo span{ color:inherit }
.tagline{ font-size:12px; color:var(--muted); text-align:center }
.status-pill{
  font-size:12px; padding:6px 10px; border:1px solid var(--border); border-radius:999px; color:var(--ink);
  background:linear-gradient(180deg, #12181f, #0c1015); box-shadow:var(--shadow); margin-top:8px;
}

/* ============= LAYOUT EN 3 COLUMNAS (centrado) ============= */
.grid{
  display:grid; gap:16px; margin:16px auto 0;
  grid-template-columns:260px 1fr 300px; /* izquierda / centro / derecha */
  max-width:100%;
}
@media (max-width:1050px){
  .grid{ grid-template-columns:240px 1fr; }
  .right{ grid-column:1 / -1; }
}
@media (max-width:820px){
  .grid{ grid-template-columns:1fr; }
}

/* ============= BLOQUES / VENTANAS ============= */
.window{
  background:var(--bg-soft);
  border:1px solid var(--accent-2);
  border-radius:10px; box-shadow:var(--shadow);
  overflow:hidden;
}
.titlebar{
  display:flex; align-items:center; gap:8px; padding:8px 10px;
  background:linear-gradient(180deg, #2a0f14, #0f0c10);
  border-bottom:1px solid var(--border);
  font-weight:700; letter-spacing:.5px; text-transform:uppercase; font-size:12px;
}
.titlebar .dots{ margin-left:auto; display:flex; gap:6px }
.dot{ width:10px; height:10px; border-radius:50%; border:1px solid #0004; box-shadow:inset 0 1px 0 #fff2 }
.dot.red{ background:#ff5f56 } .dot.yel{ background:#ffbd2e } .dot.grn{ background:#27c93f }
.content{ padding:14px 14px 16px }

.list-plain{ list-style:none; margin:10px 0 0; padding:0 }
.list-plain li{ margin:.25rem 0 }
.pill{ display:inline-block; padding:2px 8px; border:1px solid var(--border); border-radius:10px; font-size:12px; color:var(--muted) }

.section{ margin-bottom:16px }
h1,h2,h3{ font-family:"Cinzel", serif; font-weight:700; letter-spacing:.5px }
h2{ font-size:16px; margin:0 0 8px }
p{ margin:.5rem 0 }
.muted{ color:var(--muted) }

/* ============= BOTONES 88x31 / GALERÍAS ============= */
.buttons{ display:grid; grid-template-columns:repeat(4,1fr); gap:8px }
.buttons img{ width:88px; height:31px; background:#0a0a0a; border:1px solid var(--border) }

.neighbors{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; align-items:center }
.neighbors a{ display:block; text-align:center }

/* Galería fluida con títulos */
.gallery-grid{ display:grid; gap:12px; grid-template-columns:repeat(4,1fr); }
@media (max-width:1100px){ .gallery-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:700px){ .gallery-grid{ grid-template-columns:repeat(2,1fr); } }
.gallery-grid figure{ margin:0; }
.gallery-grid img{ width:100%; height:auto; display:block; image-rendering:auto; }
.gallery-grid figcaption{ font-size:12px; color:var(--muted); text-align:center; margin-top:6px; }

/* Dos columnas reutilizable */
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:10px }
@media (max-width:520px){ .two-col{ grid-template-columns:1fr } }

/* ============= CAJAS ESPECÍFICAS ============= */
.card{
  border:1px dashed var(--border); border-radius:8px; padding:10px; background:#0c1218;
}
.iow img{ width:100%; max-height:220px; object-fit:cover; border:1px solid var(--border) }
.chatbox-iframe{ width:100%; height:360px; border:1px solid var(--border); background:#0a0a0a }
.code-snippet{
  font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size:12px; background:#0a0f13; padding:8px; border:1px solid var(--border); border-radius:6px; overflow:auto;
}

/* ============= PIE ============= */
.footer{ margin-top:16px; text-align:center; color:var(--muted); font-size:12px }

/* Marco gótico para imágenes */
.goth-frame{
  border:1px solid var(--border); padding:6px;
  background:linear-gradient(180deg, #0b0b0e, #070709);
  box-shadow:0 0 0 1px rgba(177,0,46,.25), 0 10px 24px rgba(0,0,0,.6);
  outline:1px solid rgba(255,255,255,.04); outline-offset:-4px;
}
.goth-glow{ box-shadow:0 0 18px rgba(177,0,46,.35), inset 0 0 8px rgba(177,0,46,.18) }

/* Icono del logo */
.logo-ic{ width:56px; height:56px; fill:#b00018; filter:drop-shadow(0 0 10px rgba(176,0,24,.45)); }

/* Gotas (si mantienes la clase .blood) */
.logo.blood .drip{
  position:absolute; bottom:-6px; width:12px; height:28px;
  background:linear-gradient(180deg, #b00018 0%, #6a000a 80%);
  border-bottom-left-radius:8px; border-bottom-right-radius:8px; border-top-left-radius:8px; border-top-right-radius:8px;
  box-shadow:0 2px 6px rgba(0,0,0,.45), 0 0 6px rgba(176,0,24,.35);
  animation:ooze 5s ease-in-out infinite;
}
.logo.blood .d1{ left:28%; height:34px }
.logo.blood .d2{ left:53%; width:10px }
.logo.blood .d3{ left:74%; height:40px }
.logo.blood .drip::after{
  content:""; position:absolute; top:-6px; left:-3px; right:-3px; height:10px;
  background:radial-gradient(12px 6px at 50% 100%, #b00018 0%, rgba(176,0,24,0) 70%);
}
@keyframes ooze{ 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(3px) } }
@media (prefers-reduced-motion:reduce){ .logo.blood .drip{ animation:none } }

/* ===== Ajustes pedidos: ocultar gotas y “Actualizado” ===== */
.logo .drip{ display:none !important; }
.status-pill{ display:none !important; }
