*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --cream:    #FAF6F0;
  --lavender: #DDD0F8;
  --pink:     #F5C8DF;
  --mint:     #B8E8D0;
  --yellow:   #F5EFA0;
  --peach:    #F5D8B8;
  --lilac:    #D0C0F0;
  --sky:      #C0E0F8;
  --text-dark:  #2A1838;
  --text-mid:   #5A4070;
  --text-light: #8A70A0;
  --sidebar-w:  220px;
  --banner-h:   68px;
  --footer-h:   40px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text-dark);
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 18px;
  line-height: 1.75;
  overflow-x: hidden;
}

/* ════════════════════════════════════════════════
   BANNER
════════════════════════════════════════════════ */
.site-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--banner-h);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.6rem 0 calc(var(--sidebar-w) + 1.6rem);
  background:
    radial-gradient(ellipse at 5% 50%, rgba(200,175,240,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 95% 50%, rgba(220,195,235,0.1) 0%, transparent 50%),
    rgba(245, 240, 252, 0.92);
  border-bottom: 1px solid rgba(180,140,220,0.22);
  backdrop-filter: blur(14px);
  gap: 1rem;
}

.banner-deco-left {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.banner-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--text-dark);
  white-space: nowrap;
}

.banner-sub {
  font-family: 'Space Mono', monospace;
  font-size: 0.54rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
}

.banner-sep {
  color: rgba(150,100,200,0.3);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
  user-select: none;
}

.banner-pills {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.banner-pill {
  font-family: 'Space Mono', monospace;
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.07);
  white-space: nowrap;
}

.banner-pill:nth-child(1) { background: var(--lavender); color: #5030A0; }
.banner-pill:nth-child(2) { background: var(--pink);     color: #A03060; }
.banner-pill:nth-child(3) { background: var(--mint);     color: #206050; }

.lang-toggle {
  display: flex;
  flex-shrink: 0;
  border: 1.5px solid rgba(160,120,210,0.25);
  border-radius: 20px;
  overflow: hidden;
}

.lang-btn {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  border: none;
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn.active {
  background: var(--lavender);
  color: #4020A0;
}

/* ════════════════════════════════════════════════
   SIDEBAR
════════════════════════════════════════════════ */
.sidebar {
  position: fixed;
  top: var(--banner-h); left: 0;
  width: var(--sidebar-w);
  height: calc(100vh - var(--banner-h));
  overflow-y: auto;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.75rem 1.25rem;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(200,175,240,0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(220,195,235,0.08) 0%, transparent 60%),
    rgba(248, 244, 255, 0.88);
  border-right: 1px solid rgba(180,140,220,0.2);
  backdrop-filter: blur(12px);
}

/* scrollbar discreta en sidebar */
.sidebar::-webkit-scrollbar { width: 3px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(180,140,220,0.3); border-radius: 3px; }

/* ── Nombre en sidebar ── */
.sidebar-name {
  text-align: center;
  line-height: 1.1;
}

.sidebar-name .s-vane {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--text-dark);
  display: block;
}

.sidebar-name .s-emily {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-light);
  text-transform: uppercase;
}

.sidebar-name .s-deco {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.3rem;
  letter-spacing: 0.3em;
}

/* ── Divisor ── */
.sidebar-divider {
  border: none;
  border-top: 1px dashed rgba(180,140,220,0.35);
  margin: 0;
}

/* ── Nav ── */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 0.2rem;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-mid);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  cursor: pointer;
}

.sidebar-nav a:hover {
  background: rgba(200,160,255,0.2);
  color: var(--text-dark);
  transform: translateX(4px);
}

.sidebar-nav a.active {
  background: rgba(200,160,255,0.28);
  color: var(--text-dark);
}

.sidebar-nav .nav-icon { font-size: 0.9rem; flex-shrink: 0; }

/* ── Status (estilo neocities) ── */
.sidebar-status {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 0;
  border: 1px solid rgba(160,120,210,0.22);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,0.35);
}

.status-title {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 0.45rem 0.7rem 0.4rem;
  background: rgba(200,175,240,0.18);
  border-bottom: 1px solid rgba(160,120,210,0.18);
  margin: 0;
}

.status-title::before { content: '◈  '; font-size: 0.5rem; }

.status-item {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.7rem;
  border-bottom: 1px dashed rgba(160,120,210,0.14);
  font-size: 0.78rem;
  line-height: 1.3;
}

.status-item:last-child { border-bottom: none; }

.status-item .s-emoji { font-size: 0.82rem; text-align: center; }

.status-item .s-info { display: flex; flex-direction: column; gap: 0.05rem; }

.status-item .s-type {
  font-family: 'Space Mono', monospace;
  font-size: 0.48rem;
  letter-spacing: 0.12em;
  color: var(--text-light);
  text-transform: uppercase;
  line-height: 1;
}

.status-item .s-val {
  color: var(--text-mid);
  font-style: italic;
  font-family: 'Crimson Text', serif;
  font-size: 0.82rem;
  line-height: 1.2;
}

.status-item a.s-val {
  text-decoration: none;
  color: var(--text-mid);
  border-bottom: 1px dotted rgba(150,100,200,0.35);
  transition: color 0.2s;
  cursor: auto;
}

.status-item a.s-val:hover { color: var(--text-dark); }

/* ── Deco sidebar ── */
.sidebar-deco {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.3em;
  margin-top: auto;
  flex-shrink: 0;
  opacity: 0.6;
}

/* ── Hamburger (móvil) ── */
.hamburger {
  display: none;
  position: fixed;
  top: 1rem; left: 1rem;
  z-index: 400;
  background: rgba(255,255,255,0.92);
  border: 1.5px solid var(--lavender);
  border-radius: 8px;
  padding: 5px 9px;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.08);
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(2px);
}

.sidebar-overlay.active { display: block; }

/* ════════════════════════════════════════════════
   MAIN CONTENT
════════════════════════════════════════════════ */
.main-wrap {
  margin-left: var(--sidebar-w);
  margin-top: var(--banner-h);
  padding: 1.6rem 1.8rem calc(var(--footer-h) + 1.6rem);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: var(--cream);
}

/* ── Rooms como cajas ── */
.room {
  position: relative;
  padding: 2.4rem 2.4rem 2.8rem;
  border-radius: 16px;
  border: 1px solid rgba(160,120,210,0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.room-compact { padding: 2rem 2.4rem; }

.room-inner { max-width: 620px; width: 100%; }

/* Sendero de los sueños: las cards necesitan más ancho que el texto en prosa */
.room-semillas .room-inner,
.room-vitrina  .room-inner,
.room-corazon  .room-inner,
.room-sobre    .room-inner,
#blog          .room-inner { max-width: 960px; }

/* ── Backgrounds ── */
.room-entrada {
  background:
    radial-gradient(ellipse at 18% 22%, rgba(200,170,245,0.14) 0%, transparent 48%),
    radial-gradient(ellipse at 82% 72%, rgba(235,185,215,0.12) 0%, transparent 48%),
    radial-gradient(ellipse at 55% 8%,  rgba(185,225,250,0.1) 0%, transparent 40%),
    linear-gradient(155deg, #EEE8F8 0%, #F5E8F2 45%, #E8F2F8 100%);
}

.room-blog {
  background:
    radial-gradient(ellipse at 88% 32%, rgba(245,220,155,0.16) 0%, transparent 48%),
    linear-gradient(158deg, #C8E8D5 0%, #F5EED5 100%);
}

.room-semillas {
  background:
    radial-gradient(ellipse at 20% 78%, rgba(235,185,205,0.14) 0%, transparent 50%),
    linear-gradient(165deg, #F5EED5 0%, #F2D8EE 100%);
}

.room-redes {
  background:
    radial-gradient(ellipse at 72% 18%, rgba(200,175,245,0.14) 0%, transparent 50%),
    linear-gradient(158deg, #F0D8EC 0%, #E8D8F8 100%);
}

.room-sobre {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(200,175,240,0.12) 0%, transparent 50%),
    linear-gradient(148deg, #EDE8F8 0%, #E8F0F8 100%);
}

.room-visitas {
  background:
    radial-gradient(ellipse at 30% 70%, rgba(185,225,250,0.12) 0%, transparent 50%),
    linear-gradient(158deg, #E8D8F8 0%, #E0EEF8 100%);
}

.room-vitrina {
  background:
    radial-gradient(ellipse at 78% 22%, rgba(245,216,184,0.16) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 80%, rgba(192,224,248,0.14) 0%, transparent 50%),
    linear-gradient(160deg, #F5EAD8 0%, #DCEAF6 100%);
}

.room-corazon {
  background:
    radial-gradient(ellipse at 20% 25%, rgba(235,185,215,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 75%, rgba(184,232,208,0.14) 0%, transparent 50%),
    linear-gradient(155deg, #F5E0EE 0%, #E0F0E8 100%);
}

.room-delirios {
  background:
    radial-gradient(ellipse at 78% 20%, rgba(245,239,160,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 18% 78%, rgba(235,185,215,0.15) 0%, transparent 50%),
    linear-gradient(160deg, #EFF5D8 0%, #F8E8F0 100%);
}

/* ── Coming soon box ── */
.coming-soon-box {
  margin-top: 1.4rem;
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,0.38);
  border: 1.5px dashed rgba(160,120,210,0.25);
  border-radius: 14px;
  text-align: center;
}

.coming-soon-box .cs-icon { font-size: 1.8rem; display: block; margin-bottom: 0.7rem; }

.coming-soon-box p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--text-mid);
}

.coming-soon-box small {
  display: block;
  margin-top: 0.4rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
}

.coming-soon-box small a { color: inherit; }

/* ── Guestbook wrap ── */
.guestbook-wrap {
  margin-top: 1.5rem;
  background: rgba(255,255,255,0.38);
  border: 1px solid rgba(160,120,210,0.2);
  border-radius: 16px;
  overflow: hidden;
  padding: 1.4rem 1.6rem 1.6rem;
  backdrop-filter: blur(6px);
}

/* Override bootstrap del embed para que herede nuestros estilos */
.guestbook-wrap input,
.guestbook-wrap textarea {
  font-family: 'Crimson Text', Georgia, serif !important;
  font-size: 1rem !important;
  border: 1px solid rgba(160,120,210,0.3) !important;
  border-radius: 10px !important;
  background: rgba(255,255,255,0.6) !important;
  color: var(--text-dark) !important;
  padding: 0.5rem 0.8rem !important;
  width: 100% !important;
  box-shadow: none !important;
  transition: border-color 0.2s !important;
}

.guestbook-wrap input:focus,
.guestbook-wrap textarea:focus {
  outline: none !important;
  border-color: rgba(160,120,210,0.6) !important;
  background: rgba(255,255,255,0.85) !important;
}

.guestbook-wrap .btn,
.guestbook-wrap button[type="submit"] {
  font-family: 'Space Mono', monospace !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.1em !important;
  background: var(--lilac) !important;
  color: #4020A0 !important;
  border: 1.5px solid rgba(160,120,210,0.3) !important;
  border-radius: 20px !important;
  padding: 6px 18px !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: filter 0.2s !important;
}

.guestbook-wrap .btn:hover,
.guestbook-wrap button[type="submit"]:hover {
  filter: brightness(1.08) saturate(1.2) !important;
}

/* comentarios existentes */
.guestbook-wrap .hcb-comment-wrap {
  border-top: 1px dashed rgba(160,120,210,0.2) !important;
  padding-top: 1rem !important;
  margin-top: 1rem !important;
}

.guestbook-wrap .hcb-comment-author {
  font-family: 'Space Mono', monospace !important;
  font-size: 0.6rem !important;
  letter-spacing: 0.08em !important;
  color: var(--text-light) !important;
}

.guestbook-wrap .hcb-comment-text {
  font-family: 'Crimson Text', serif !important;
  font-size: 1rem !important;
  color: var(--text-mid) !important;
  font-style: italic !important;
  line-height: 1.6 !important;
}

/* ── Stars (JS) ── */
.star-deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  animation: floatStar linear infinite;
}

/* ── Collage elements ── */
.collage-star {
  position: absolute;
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  opacity: 0.18;
  font-weight: 900;
}

.sticker {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  position: absolute;
  pointer-events: none;
  user-select: none;
  box-shadow: 1px 2px 0 rgba(0,0,0,0.1);
}

.squiggle {
  position: absolute;
  pointer-events: none;
  opacity: 0.22;
}

.collage-circle {
  position: absolute;
  border-radius: 50%;
  border: 3px solid;
  pointer-events: none;
  opacity: 0.15;
}

/* ── Torn dividers ── */
.torn-divider {
  position: relative;
  z-index: 2;
  margin-bottom: -2px;
  line-height: 0;
}

.torn-divider svg { width: 100%; display: block; }

/* ════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════ */
.bienvenida {
  font-family: 'Space Mono', monospace;
  font-size: 0.82rem;
  color: var(--text-light);
  letter-spacing: 0.16em;
  text-align: center;
  margin-bottom: 1.1rem;
  opacity: 0;
  animation: fadeIn 0.6s ease 0.2s forwards;
  min-height: 1.2em;
}

.cut-out-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5px;
  max-width: 680px;
  margin: 0 auto 1.6rem;
}

.letter-break { flex-basis: 100%; height: 6px; }

.letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width:  clamp(2rem, 5.5vw, 3.8rem);
  height: clamp(2.6rem, 6.8vw, 4.8rem);
  font-size: clamp(1.4rem, 3.5vw, 2.7rem);
  font-weight: 700;
  line-height: 1;
  border: 2.5px solid rgba(0,0,0,0.13);
  box-shadow: 3px 4px 0 rgba(0,0,0,0.12), 6px 7px 0 rgba(0,0,0,0.05);
  flex-shrink: 0;
  opacity: 0;
  position: relative;
  cursor: auto;
  animation: letterPop 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  transition: box-shadow 0.2s, filter 0.2s;
}

.letter:hover {
  box-shadow: 4px 5px 0 rgba(0,0,0,0.15), 8px 10px 0 rgba(0,0,0,0.07);
  filter: brightness(1.1) saturate(1.3);
}

/* VANESSA */
.letter:nth-child(1)  { --rot: -8deg; background: var(--lavender); font-family: 'Playfair Display', serif; animation-delay:0.10s; border-radius:2px 6px 3px 5px; }
.letter:nth-child(2)  { --rot:  5deg; background: var(--pink);     font-family: 'Space Mono', monospace;   animation-delay:0.16s; border-radius:5px 2px 6px 3px; }
.letter:nth-child(3)  { --rot: -4deg; background: var(--yellow);   font-family: 'Playfair Display', serif; animation-delay:0.22s; border-radius:3px 5px 2px 6px; }
.letter:nth-child(4)  { --rot:  7deg; background: var(--mint);     font-family: 'Space Mono', monospace;   animation-delay:0.28s; border-radius:6px 3px 5px 2px; }
.letter:nth-child(5)  { --rot: -6deg; background: var(--peach);    font-family: 'Playfair Display', serif; animation-delay:0.34s; border-radius:2px 4px 6px 3px; }
.letter:nth-child(6)  { --rot:  9deg; background: var(--lilac);    font-family: 'Space Mono', monospace;   animation-delay:0.40s; border-radius:4px 6px 2px 5px; }
.letter:nth-child(7)  { --rot: -7deg; background: var(--sky);      font-family: 'Playfair Display', serif; animation-delay:0.46s; border-radius:5px 2px 4px 6px; }
/* EMILY */
.letter:nth-child(9)  { --rot:  6deg; background: var(--pink);     font-family: 'Playfair Display', serif; animation-delay:0.58s; border-radius:3px 6px 2px 5px; }
.letter:nth-child(10) { --rot: -9deg; background: var(--lavender); font-family: 'Space Mono', monospace;   animation-delay:0.64s; border-radius:6px 2px 5px 3px; }
.letter:nth-child(11) { --rot:  4deg; background: var(--mint);     font-family: 'Playfair Display', serif; animation-delay:0.70s; border-radius:2px 5px 3px 6px; }
.letter:nth-child(12) { --rot: -6deg; background: var(--peach);    font-family: 'Space Mono', monospace;   animation-delay:0.76s; border-radius:5px 3px 6px 2px; }
.letter:nth-child(13) { --rot:  8deg; background: var(--yellow);   font-family: 'Playfair Display', serif; animation-delay:0.82s; border-radius:3px 5px 2px 4px; }

.tagline-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto 2rem;
  opacity: 0;
  animation: fadeIn 1s ease 1.1s forwards;
}

.tagline-pill {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1.5px solid rgba(0,0,0,0.08);
  cursor: auto;
}

.tagline-pill:nth-child(1) { background: var(--lavender); color: #5030A0; }
.tagline-pill:nth-child(2) { background: var(--pink);     color: #A03060; }
.tagline-pill:nth-child(3) { background: var(--mint);     color: #206050; }
.tagline-dot { color: var(--text-light); font-size: 1.1rem; line-height: 1; }

.hero-about {
  font-size: 1.05rem;
  color: var(--text-mid);
  text-align: center;
  max-width: 500px;
  margin: 0 auto 0.9rem;
  opacity: 0;
  animation: fadeIn 1s ease 1.4s forwards;
}

.passion-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 1.4rem auto 0;
  max-width: 500px;
  opacity: 0;
  animation: fadeIn 1s ease 1.7s forwards;
}

.passion-tag {
  padding: 5px 13px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-family: 'Space Mono', monospace;
  border: 1.5px solid rgba(0,0,0,0.07);
  cursor: auto;
}

.passion-tag:nth-child(1) { background: var(--lavender); color: #5030A0; }
.passion-tag:nth-child(2) { background: var(--pink);     color: #A03060; }
.passion-tag:nth-child(3) { background: var(--mint);     color: #206050; }
.passion-tag:nth-child(4) { background: var(--yellow);   color: #807010; }
.passion-tag:nth-child(5) { background: var(--peach);    color: #904020; }

#rabbit {
  display: block;
  will-change: transform, opacity;
  animation: rabbitIdle 3s ease-in-out infinite;
  transform-origin: bottom center;
  cursor: auto;
  transition: filter 0.2s;
}

#rabbit:hover { filter: brightness(1.2); }

#rabbit.falling {
  animation: rabbitFall 0.7s cubic-bezier(0.4, 0, 1, 1) forwards;
}

.hole {
  width: 52px; height: 16px;
  background: radial-gradient(ellipse, #1A0830 10%, #38106A 100%);
  border-radius: 50%;
  box-shadow: 0 2px 14px rgba(20,5,50,0.4);
  margin-top: -4px;
}

@keyframes rabbitFall {
  0%   { transform: translateY(0)    scale(1)    rotate(0deg);   opacity: 1; }
  40%  { transform: translateY(8px)  scale(0.9)  rotate(-15deg); opacity: 1; }
  100% { transform: translateY(28px) scale(0.1)  rotate(-40deg); opacity: 0; }
}

/* ════════════════════════════════════════════════
   ROOM LABELS & TITLES
════════════════════════════════════════════════ */
.room-label {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.4rem;
  text-decoration: none;
}

.room-label::before { content: '✦  '; }

h2.room-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1.4rem;
}

h2.room-title em { font-style: italic; color: var(--text-mid); }
.room-text { color: var(--text-mid); margin-bottom: 1rem; font-size: 1.05rem; }

/* ════════════════════════════════════════════════
   BLOG / MEMORIAS
════════════════════════════════════════════════ */
.blog-coming {
  margin-top: 2rem;
  padding: 3rem 2rem;
  background: rgba(255,255,255,0.42);
  border: 1.5px dashed rgba(180,140,100,0.4);
  border-radius: 20px;
  text-align: center;
  backdrop-filter: blur(6px);
  cursor: auto;
}

.blog-coming .bc-icon { font-size: 2.5rem; display: block; margin-bottom: 1rem; }

.blog-coming p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-mid);
}

.blog-coming small {
  display: block;
  margin-top: 0.6rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--text-light);
  text-transform: uppercase;
}

/* Listado de entradas cuando ya existen */
.blog-list {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-entry {
  padding: 1.4rem 1.6rem;
  background: rgba(255,255,255,0.42);
  border: 1.5px solid rgba(180,140,220,0.18);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-entry:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(150,90,210,0.12);
}

.blog-entry .entry-date {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}

.blog-entry .entry-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--text-dark);
  text-decoration: none;
  display: block;
  margin-bottom: 0.4rem;
}

.blog-entry .entry-title:hover { color: var(--text-mid); }

.blog-entry .entry-excerpt {
  font-size: 0.92rem;
  color: var(--text-mid);
  font-style: italic;
  line-height: 1.6;
}

/* Cuerpo de una entrada individual */
/* Tags de una memoria */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: -0.6rem 0 1.4rem;
}

.tag-pill {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--lilac);
  color: #4020A0;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.06);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.tag-pill:hover { filter: brightness(1.1) saturate(1.2); transform: translateY(-2px); }

.post-content { color: var(--text-mid); font-size: 1.02rem; }
.post-content p { margin-bottom: 1.1rem; }
.post-content a { color: var(--text-dark); }
.post-content h3 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--text-dark);
  margin: 1.6rem 0 0.8rem;
}
.post-content blockquote {
  border-left: 2.5px solid rgba(160,120,210,0.35);
  padding-left: 1rem;
  margin: 1.2rem 0;
  font-style: italic;
  color: var(--text-light);
}
.post-content img { max-width: 100%; border-radius: 12px; margin: 1rem 0; }
.post-content ul, .post-content ol { margin: 0 0 1.1rem 1.4rem; }

/* Wiki-links [[estilo Obsidian]] */
.wiki-link {
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(160,120,210,0.4);
  transition: border-color 0.2s, color 0.2s;
}
.wiki-link:hover { border-color: var(--text-dark); }

.wiki-link-missing {
  color: var(--text-light);
  border-bottom: 1.5px dashed rgba(160,120,210,0.5);
  cursor: help;
}

/* Embed responsivo (ej. video de YouTube) */
.embed-responsive {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 12px;
  overflow: hidden;
  margin: 1rem 0 1.4rem;
  background: rgba(0,0,0,0.05);
}
.embed-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ════════════════════════════════════════════════
   SEMILLAS
════════════════════════════════════════════════ */
.semillas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}

.semilla-card {
  background: rgba(255,255,255,0.48);
  border: 1.5px solid rgba(200,155,235,0.28);
  border-radius: 20px;
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(6px);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  cursor: auto;
}

.semilla-card:hover {
  transform: translateY(-5px) rotate(-0.4deg);
  box-shadow: 0 14px 38px rgba(150,90,210,0.14);
}

.semilla-card.wide {
  grid-column: 1 / -1;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  border-radius: 20px 8px 20px 8px;
}

.semilla-card.wide .card-icon-big {
  font-size: 3rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.2rem;
}

.semilla-card.half-left { border-radius: 8px 20px 8px 20px; }

.semilla-card.tree-card {
  border-radius: 20px 8px 20px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  background: rgba(255,255,255,0.55);
}

.semilla-card::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 100px; height: 100px;
  border-radius: 50%;
  opacity: 0.22;
}

.semilla-card.wide::before      { background: var(--pink); }
.semilla-card.half-left::before { background: var(--lavender); }
.semilla-card.tree-card::before { background: var(--mint); }

.semilla-status {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 0.8rem;
}

.semilla-card.wide      .semilla-status { background: var(--mint);     color: #1A5040; }
.semilla-card.half-left .semilla-status { background: var(--lavender); color: #4A2080; }

.semilla-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--text-dark);
  margin-bottom: 0.55rem;
}

.semilla-desc { font-size: 0.95rem; color: var(--text-mid); font-style: italic; line-height: 1.7; }
.semilla-desc a { color: inherit; text-decoration: underline; text-decoration-color: rgba(0,0,0,0.25); }
.semilla-desc a:hover { text-decoration-color: currentColor; }

/* Card reveal */
.card-main { transition: opacity 0.3s ease; }

.card-secret {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.5rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.semilla-card.revealed .card-main   { opacity: 0; }
.semilla-card.revealed .card-secret { opacity: 1; pointer-events: auto; }

.secret-icon { font-size: 2rem; animation: secretPop 0.4s cubic-bezier(0.34,1.56,0.64,1); }

.secret-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* Tree */
.tree-scene {
  position: relative;
  width: 80px; height: 90px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.tree-v { position: absolute; font-size: 3rem; bottom: 0; left: 50%; transform: translateX(-50%); }
.tree-sad   { animation: sadTree   7s ease-in-out infinite; }
.tree-happy { animation: happyTree 7s ease-in-out infinite; opacity: 0; }

.tree-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.58rem;
  color: var(--text-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ════════════════════════════════════════════════
   VITRINA (Are.na)
════════════════════════════════════════════════ */
.arena-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.arena-loading {
  grid-column: 1 / -1;
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  text-align: center;
  padding: 1.5rem 0;
}

.arena-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.48);
  border: 1.5px solid rgba(200,155,235,0.28);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-dark);
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

a.arena-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(150,90,210,0.14);
}

.arena-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.arena-card .arena-card-body {
  padding: 0.8rem 0.9rem;
}

.arena-card .arena-card-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--text-dark);
}

.arena-card .arena-card-kind {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 0.48rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.3rem;
}

/* Bloques de puro texto: a todo el ancho, en prosa legible en vez de
   apretados en una columna de foto. */
.arena-card.arena-card-full {
  grid-column: 1 / -1;
}

.arena-card-full .arena-card-body {
  padding: 1.4rem 1.6rem;
}

.arena-card-full .arena-card-title {
  font-family: 'Crimson Text', serif;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-mid);
}

.arena-card-full .arena-card-title p { margin-bottom: 0.9rem; }
.arena-card-full .arena-card-title p:last-child { margin-bottom: 0; }

.arena-card-date {
  margin-top: 0.8rem;
  text-align: right;
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  color: var(--text-light);
}

/* ════════════════════════════════════════════════
   REDES
════════════════════════════════════════════════ */
.social-intro { color: var(--text-mid); font-size: 1.05rem; margin-bottom: 1.5rem; }

.social-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 68px; height: 68px;
  border-radius: 14px;
  border: 1.5px solid rgba(0,0,0,0.07);
  text-decoration: none;
  color: var(--text-dark);
  position: relative;
  backdrop-filter: blur(6px);
  cursor: auto;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.chip:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 8px 22px rgba(0,0,0,0.1);
  filter: brightness(1.07) saturate(1.2);
}

.chip-icon { font-size: 1.3rem; line-height: 1; }
.chip-icon svg { width: 1.3rem; height: 1.3rem; display: block; color: var(--text-dark); }
.chip-name {
  font-family: 'Space Mono', monospace;
  font-size: 0.46rem;
  letter-spacing: 0.05em;
  color: var(--text-mid);
  text-align: center;
  line-height: 1.2;
}

.chip-soon::after {
  content: '';
  position: absolute;
  top: 6px; right: 6px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,160,180,0.9);
}

.chip.s-github    { background: rgba(232,218,255,0.75); }
.chip.s-linkedin  { background: rgba(200,224,248,0.75); }
.chip.s-instagram { background: rgba(255,218,236,0.75); }
.chip.s-hotcakes  { background: rgba(255,238,208,0.75); width: 144px; flex-direction: row; gap: 0.5rem; justify-content: flex-start; padding: 0 0.9rem; }
.chip.s-hotcakes .chip-name { text-align: left; }
.chip.s-tiktok    { background: rgba(205,243,225,0.75); }
.chip.s-youtube   { background: rgba(255,230,218,0.75); }
.chip.s-substack  { background: rgba(255,240,205,0.75); }
.chip.s-email     { background: rgba(220,232,255,0.75); }
.chip.s-calendar  { background: rgba(200,240,220,0.75); }

/* Botón de escucha (ej. álbum en YouTube Music) */
.listen-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  padding: 10px 22px;
  border-radius: 30px;
  background: var(--peach);
  color: #904020;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1.5px solid rgba(0,0,0,0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.listen-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 22px rgba(0,0,0,0.1);
  filter: brightness(1.07) saturate(1.2);
}

/* ════════════════════════════════════════════════
   HOVER EFFECTS
════════════════════════════════════════════════ */
.semilla-card, .passion-tag, .letter, .tagline-pill {
  transition: filter 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.passion-tag:hover, .tagline-pill:hover {
  filter: brightness(1.1) saturate(1.3);
  transform: scale(1.08) rotate(-1deg);
}

/* Sparkle */
.sparkle {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  font-size: 1rem;
  user-select: none;
  animation: sparkleFly 0.7s ease-out forwards;
}

/* ════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════ */
footer {
  position: fixed;
  bottom: 0; left: var(--sidebar-w); right: 0;
  height: var(--footer-h);
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.6rem;
  background: rgba(245, 240, 252, 0.92);
  border-top: 1px dashed rgba(160,120,210,0.2);
  backdrop-filter: blur(14px);
}

footer p {
  font-family: 'Space Mono', monospace;
  font-size: 0.58rem;
  color: var(--text-light);
  letter-spacing: 0.12em;
}

/* ════════════════════════════════════════════════
   REVEAL
════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-group > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-group.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:0s; }
.reveal-group.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.1s; }
.reveal-group.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.2s; }
.reveal-group.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.3s; }
.reveal-group.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:0.4s; }
.reveal-group.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:0.5s; }
.reveal-group.visible > *:nth-child(7) { opacity:1; transform:none; transition-delay:0.6s; }

/* ════════════════════════════════════════════════
   KEYFRAMES
════════════════════════════════════════════════ */
@keyframes fadeIn { to { opacity: 1; } }

@keyframes letterPop {
  0%   { opacity:0; transform:scale(0.2) rotate(calc(var(--rot,0deg)*3)) translateY(20px); }
  70%  { opacity:1; transform:scale(1.1) rotate(calc(var(--rot,0deg)*0.8)); }
  100% { opacity:1; transform:scale(1)   rotate(var(--rot,0deg)); }
}

@keyframes rabbitIdle {
  0%,100% { transform:translateY(0) rotate(0deg); }
  30%     { transform:translateY(-7px) rotate(-4deg); }
  60%     { transform:translateY(-4px) rotate(3deg); }
}

@keyframes floatStar {
  0%   { transform:translateY(0) rotate(0deg);      opacity:0.15; }
  50%  { opacity:0.06; }
  100% { transform:translateY(-45px) rotate(200deg); opacity:0; }
}

@keyframes sadTree {
  0%,38%  { opacity:1; transform:translateX(-50%) rotate(-8deg) scale(0.88); filter:grayscale(0.65) brightness(0.85); }
  45%,100% { opacity:0; transform:translateX(-50%) rotate(-8deg) scale(0.88); }
}

@keyframes happyTree {
  0%,42%  { opacity:0; transform:translateX(-50%) scale(1); }
  52%,82% { opacity:1; transform:translateX(-50%) scale(1.18) rotate(4deg); filter:none; }
  92%,100% { opacity:0; transform:translateX(-50%) scale(1.18) rotate(4deg); }
}

@keyframes secretPop {
  from { transform:scale(0); opacity:0; }
  to   { transform:scale(1); opacity:1; }
}

@keyframes sparkleFly {
  0%   { opacity:1; transform:translate(0,0) scale(1); }
  100% { opacity:0; transform:translate(var(--tx),var(--ty)) scale(0.2); }
}

/* ════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */

/* Pantallas de poca altura (laptops chicas): el sidebar es más compacto
   para que nav + status quepan sin tener que hacer scroll dentro de él. */
@media (max-height: 700px) {
  .sidebar { padding: 1rem 1.25rem; gap: 0.8rem; }
  .sidebar-nav { gap: 0.05rem; }
  .sidebar-nav a { padding: 0.28rem 0.6rem; }
  .status-item { padding: 0.3rem 0.7rem; }
  .sidebar-deco { display: none; }
}

@media (max-width: 720px) {
  :root { --sidebar-w: 0px; --banner-h: 56px; }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    width: 220px;
    top: var(--banner-h);
    height: calc(100vh - var(--banner-h));
  }

  .sidebar.open { transform: translateX(0); }

  .hamburger { display: flex; align-items: center; justify-content: center; top: calc((var(--banner-h) - 32px) / 2); left: 0.8rem; }

  .sidebar-deco { display: none; }

  .site-banner { padding: 0 1rem 0 3.5rem; }
  .banner-sep, .banner-pills, .banner-sub { display: none; }

  .main-wrap { margin-left: 0; margin-top: var(--banner-h); padding: 1rem 1rem calc(var(--footer-h) + 1.5rem); }

  .room { padding: 1.8rem 1.4rem; }
  .room-compact { padding: 1.6rem 1.4rem; }

  .letter { width:clamp(1.7rem,8vw,2.6rem); height:clamp(2.2rem,10vw,3.4rem); font-size:clamp(1.1rem,5vw,1.8rem); }
  .semillas-grid { grid-template-columns: 1fr; }
  .semilla-card.wide { flex-direction: column; }
  .arena-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}
