body {
  margin: 0;
  min-height: 100vh;

  background-image: url(https://i.pinimg.com/736x/f4/db/04/f4db047745fac583bb805a28bd9a32ed.jpg);
  background-size: 120%;
  background-position: center;
  background-attachment: fixed;

  font-family: Georgia, serif;
  color: #4a3f6b;
  overflow-x: hidden;
}

@keyframes dreamyMove {
  from {
    background-position: center top;
  }
  to {
    background-position: center bottom;
  }
}

body {
  animation: dreamyMove 75s linear infinite;
}
/* contenedor principal */
.container {
  max-width: 720px;
  margin: 100px auto;
  padding: 50px;
  background: rgba(255,255,255,0.78);
  border-radius: 22px;
  text-align: center;

  /* glow dreamy */
  box-shadow:
    0 0 25px rgba(179,157,219,0.45),
    0 0 55px rgba(206,147,216,0.25);
}

/* títulos */
h1 {
  font-weight: normal;
  letter-spacing: 3px;
  color: #6a5acd;
  margin-bottom: 12px;
}

/* texto */
p {
  font-size: 15px;
  opacity: 0.9;
  line-height: 1.6;
}

/* selección de texto */
::selection {
  background: #d1c4e9;
}
.cursor-star {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #d1c4e9;
  pointer-events: none;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(179,157,219,0.9);
  animation: fadeStar 0.9s linear forwards;
}

@keyframes fadeStar {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(2);
    opacity: 0;
  }
}
.container:hover {
  box-shadow:
    0 0 35px rgba(179,157,219,0.6),
    0 0 65px rgba(206,147,216,0.4);
  transition: box-shadow 0.6s ease;
}

a {
  color: #7e57c2;
  text-decoration: none;
  transition: text-shadow 0.4s ease;
}

a:hover {
  text-shadow:
    0 0 6px rgba(179,157,219,0.8),
    0 0 12px rgba(206,147,216,0.6);
}
body {
  cursor: url("https://cur.cursors-4u.net/nature/nat-11/nat1046.cur"), auto;
}

#musicWrap {
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 9999;
  text-align: center;
}

#musicBtn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: #b39ddb;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 0 10px rgba(179,157,219,0.6);
}

#musicBtn:hover {
  box-shadow:
    0 0 15px rgba(243,229,245,0.9),
    0 0 30px rgba(179,157,219,0.8);
}

#musicBtn.playing {
  background: #9575cd;
  animation: glow 2s infinite alternate, spin 8s linear infinite;
  box-shadow:
    0 0 18px rgba(243,229,245,1),
    0 0 35px rgba(179,157,219,0.9),
    0 0 55px rgba(149,117,205,0.7);
}

#musicLabel {
  margin-top: 6px;
  font-size: 12px;
  color: #ede7f6;
  opacity: 0.85;
}
.post {
  margin-bottom: 60px;
  padding: 40px;
  border-radius: 20px;
  background: rgba(255,255,255,0.85);

  box-shadow:
    0 0 25px rgba(179,157,219,0.4),
    0 0 60px rgba(206,147,216,0.25);

  transition: box-shadow 0.6s ease, transform 0.6s ease;
}

.post:hover {
  box-shadow:
    0 0 35px rgba(179,157,219,0.7),
    0 0 80px rgba(206,147,216,0.45);
  transform: translateY(-4px);
}

.post h2 {
  font-weight: normal;
  letter-spacing: 2px;
  color: #6a5acd;
  margin-bottom: 8px;
  text-align: center;
}

.date {
  text-align: center;
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 22px;
}

.post p {
  line-height: 1.8;
  font-size: 15px;
}
.flip-card {
  width: 260px;
  height: 260px;
  margin: 60px auto;
  perspective: 1000px;
}

.flip-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1.2s ease;
}

/* gira */
.flip-card:hover .flip-inner {
  transform: rotateY(180deg) rotateZ(2deg);
}

/* caras */
.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  backface-visibility: hidden;
  overflow: hidden;

  box-shadow:
    0 0 25px rgba(179,157,219,0.5),
    0 0 55px rgba(206,147,216,0.35);
}

/* frente */
.flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-front .flip-text {
  position: absolute;
  bottom: 12px;
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: white;
  text-shadow: 0 0 6px rgba(0,0,0,0.6);
}

/* reverso */
.flip-back {
  background: linear-gradient(135deg, #ede7f6, #d1c4e9);
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.flip-back .flip-text {
  text-align: center;
  font-size: 14px;
  color: #4a3f6b;
  line-height: 1.6;
}