/* ─── RESET ─── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ─── CURSOR (tuyos, los que te gustaban) ─── */
* {
  cursor: url('https://cdn.cursors-4u.net/css-previews/cute-pink-cigarette-box-485ecf06-css.webp') 0 0, auto !important;
}

a:hover {
  cursor: url("https://cdn.cursors-4u.net/previews/tiny-cd-b3176a7d-32.webp") 32 32, auto;
}

/* ─── BODY - Fondo rosado suave ─── */
body {
  background-image:
    linear-gradient(rgba(255, 240, 245, 0.65), rgba(255, 240, 245, 0.65)),
    url("https://i.pinimg.com/736x/19/3f/b0/193fb0612684737a3a26a868e6bf474d.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  font-family: 'Cormorant Garamond', 'Quicksand', serif;
  color: #5a4a50;
  letter-spacing: 0.4px;
  line-height: 1.7;
}

/* ─── LAYOUT ─── */
.page {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

/* ─── HEADER (el tuyo, con un toque más etéreo) ─── */
.header-image {
  width: 90%;
  max-width: 900px;
  height: 110px;
  margin: 20px auto 15px auto;
  border-radius: 60px;
  background-image: url("https://i.pinimg.com/1200x/c4/b3/3a/c4b33a45969550607f5fd040ccc0264d.jpg");
  background-size: cover;
  background-position: center 30%;
  box-shadow:
    0 0 30px rgba(255, 200, 220, 0.4),
    inset 0 0 20px rgba(255, 255, 255, 0.7);
  opacity: 0.9;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* ─── MENÚ (texto, funcional, rosado) ─── */
.menu {
  display: flex;
  justify-content: center;
  gap: 35px;
  margin: 15px 0 35px 0;
  flex-wrap: wrap;
}

.menu a {
  text-decoration: none;
  color: #d88aa5;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: lowercase;
  border-bottom: 1px dotted transparent;
  transition: all 0.2s ease;
  padding-bottom: 4px;
}

.menu a:hover {
  color: #b85f82;
  border-bottom: 1px dotted #d88aa5;
}

/* ─── CONTENEDOR PRINCIPAL (sidebar derecha) ─── */
.main-container {
  display: flex;
  gap: 35px;
  width: 100%;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.reverse-layout {
  flex-direction: row-reverse;
}

/* ─── CONTENIDO PRINCIPAL (rosado y etéreo) ─── */
.content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  background: rgba(255, 245, 250, 0.5);
  backdrop-filter: blur(4px);
  padding: 45px;
  border-radius: 40px;
  border: 1px solid rgba(255, 200, 220, 0.4);
  box-shadow:
    0 0 40px rgba(255, 200, 220, 0.25),
    inset 0 0 30px rgba(255, 255, 255, 0.7);
  transition: opacity 0.3s ease;
  font-size: 18px;
  color: #5a4050;
  position: relative;
}

.content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 40px;
  background: radial-gradient(circle at 20px 20px, rgba(255, 200, 220, 0.15) 2px, transparent 3px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: -1;
}

/* Decoración para inicio */
.inicio-decorado {
  text-align: center;
}

.ethereal-text {
  font-style: italic;
  font-size: 19px;
  margin-bottom: 25px;
}

.decor-divider {
  font-size: 20px;
  color: #d8a7b7;
  margin: 20px 0;
  opacity: 0.7;
}

.tiny-poem {
  font-style: italic;
  color: #7a5a67;
  font-size: 16px;
  line-height: 1.8;
}

.tiny-whisper {
  font-size: 12px;
  opacity: 0.5;
  display: block;
  margin-top: 8px;
}

/* About section */
.about-section {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.about-image {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 200, 220, 0.6);
  box-shadow: 0 0 25px rgba(216, 138, 165, 0.4);
}

.about-text {
  flex: 1;
  min-width: 200px;
}

.about-signature {
  display: block;
  margin-top: 15px;
  font-size: 18px;
  opacity: 0.7;
  color: #b48b9a;
}

.content-title {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 20px;
  color: #b48b9a;
  border-left: 2px solid #d8a7b7;
  padding-left: 15px;
}

.content a {
  color: #d88aa5;
  text-decoration: none;
  border-bottom: 1px dotted #d88aa5;
}

.content a:hover {
  color: #b85f82;
}

/* ─── SIDEBAR DERECHA (con estilo de diario) ─── */
.sidebar {
  width: 280px;
  background: rgba(255, 245, 250, 0.5);
  backdrop-filter: blur(4px);
  padding: 25px 20px;
  border-radius: 35px;
  border: 1px solid rgba(255, 200, 220, 0.4);
  box-shadow:
    0 0 40px rgba(255, 200, 220, 0.2),
    inset 0 0 30px rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sidebar-image {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 10px auto;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 25px rgba(216, 138, 165, 0.4);
}

.sidebar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-section h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 2px;
  color: #b48b9a;
  border-bottom: 1px dashed #d8a7b7;
  padding-bottom: 8px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.sidebar-section ul {
  list-style: none;
}

.sidebar-section li {
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px dotted rgba(216, 138, 165, 0.2);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.sidebar-section li a {
  text-decoration: none;
  color: #6f4e5c;
  flex-grow: 1;
  transition: color 0.2s ease;
}

.sidebar-section li a:hover {
  color: #c46d8e;
  text-decoration: underline wavy rgba(216, 138, 165, 0.5) 1px;
}

.new {
  color: #b87b8f;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  background: rgba(255, 220, 240, 0.7);
  padding: 2px 5px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

.number {
  color: #9b7b86;
  font-size: 11px;
  background: rgba(255, 240, 245, 0.7);
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: auto;
}

.stamps {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
  border-top: 1px dashed rgba(216, 138, 165, 0.3);
  padding-top: 15px;
}

.stamps img {
  max-width: 70px;
  border-radius: 12px;
  opacity: 0.8;
  transition: all 0.2s ease;
  border: 1px solid white;
}

.stamps img:hover {
  opacity: 1;
  transform: scale(1.08);
}

/* ─── FOOTER (tu mensaje) ─── */
.welcome-footer {
  width: 100%;
  max-width: 900px;
  margin-top: 20px;
  padding: 18px;
  background: rgba(255, 245, 250, 0.5);
  backdrop-filter: blur(4px);
  border-radius: 50px;
  text-align: center;
  font-size: 14px;
  color: #6f4e5c;
  border: 1px solid rgba(255, 200, 220, 0.3);
  box-shadow: 0 0 30px rgba(255, 200, 220, 0.15);
}

.welcome-footer a {
  color: #d88aa5;
  text-decoration: none;
}

.welcome-footer a:hover {
  text-decoration: underline;
}

/* ─── ANIMACIONES ─── */
.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fade-in {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 800px) {
  .reverse-layout {
    flex-direction: column;
  }
  
  .sidebar, .content {
    width: 100%;
    max-width: 500px;
  }
  
  .menu {
    gap: 20px;
  }
  
  .menu a {
    font-size: 14px;
  }

/* ─── NUEVO: Tira de GIFs debajo del header ─── */
.gif-strip {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0 10px 0;
  flex-wrap: wrap;
  padding: 10px;
}

.gif-strip img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 200, 220, 0.5);
  box-shadow: 0 0 15px rgba(216, 138, 165, 0.3);
  transition: all 0.3s ease;
  animation: float 6s infinite ease-in-out;
  animation-delay: calc(var(--i, 0) * 0.3s);
}

.gif-strip img:nth-child(1) { --i: 0; }
.gif-strip img:nth-child(2) { --i: 1; }
.gif-strip img:nth-child(3) { --i: 2; }
.gif-strip img:nth-child(4) { --i: 3; }
.gif-strip img:nth-child(5) { --i: 4; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

.gif-strip img:hover {
  transform: scale(1.15) rotate(3deg);
  box-shadow: 0 0 25px rgba(216, 138, 165, 0.6);
  border-color: white;
}

/* ─── NUEVO: Poema al final del sidebar ─── */
.sidebar-footer-poem {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 2px dashed rgba(216, 138, 165, 0.3);
  text-align: center;
  font-style: italic;
}

.poem-decoration {
  font-size: 18px;
  color: #d8a7b7;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.poem-lines {
  font-size: 15px;
  line-height: 1.9;
  color: #7a5a67;
  margin-bottom: 8px;
}

.poem-whisper-footer {
  font-size: 12px;
  opacity: 0.6;
  display: block;
  font-style: normal;
}