@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Open+Sans:wght@300&display=swap');

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('https://i.ibb.co/GWmftVn/angelclouds.png') center/cover no-repeat;
  opacity: 0.25;
  z-index: 0;
}
.dream-input {
  text-align: center;
  margin: 20px 0 40px;
}

.dream-input input {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #f4c2f3;
  font-family: 'Open Sans', sans-serif;
  width: 180px;
}

.dream-input button {
  padding: 8px 12px;
  border-radius: 10px;
  border: none;
  background: #f4c2f3;
  color: #fff;
  font-family: 'Cinzel Decorative', cursive;
  cursor: pointer;
  transition: 0.3s;
}

.dream-input button:hover {
  background: #e0aee0;
}

header h1 {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 2.5rem;
  margin-top: 40px;
  color: #a98ec3;
  text-shadow: 0 0 10px #f2e7ef;
}

header p {
  font-style: italic;
  margin-bottom: 40px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 0 auto 50px auto;
  max-width: 900px;
}

.card {
  background: rgba(255,255,255,0.7);
  border: 2px solid #f9e5ff; /* soft pastel border */
  border-radius: 12px;
  width: 150px; /* smaller ID-card size */
  padding: 10px;
  box-shadow: 0 0 15px rgba(255,182,193,0.4);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card::before {
  content: '';
  position: absolute;
  top: -4px; left: -4px;
  right: -4px; bottom: -4px;
  border: 2px dashed #f4c2f3; /* lace-like dashed border */
  border-radius: 14px;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(255,182,193,0.7);
}

.card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 8px;
}

.card p {
  font-size: 0.8rem;
  color: #444;
  text-align: center;
  margin: 0;
}
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 50px auto;
  max-width: 900px;
}

.card {
  width: 140px; 
  background: rgba(255,255,255,0.7);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 0 12px rgba(255,182,193,0.4);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(255,182,193,0.7);
}

.card-img {
  border: 2px dashed #f4c2f3;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 6px;
  background: rgba(255,255,255,0.5);
  -webkit-backdrop-filter: blur(4px);
}

.card-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.card p {
  font-size: 0.8rem;
  color: #444;
  margin: 0;
}

.music {
  margin: 50px auto;
  max-width: 500px;
}

.music iframe {
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(255, 182, 193, 0.5);
  transition: transform 0.3s;
}

.music iframe:hover {
  transform: scale(1.05);
}

footer {
  margin: 40px 0 20px;
  font-size: 0.9rem;
  opacity: 0.6;
}
@media (max-width: 600px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 80%;
    max-width: 250px;
  }

  .card img {
    width: 100%;
    border-radius: 10px;
  }
}

@keyframes bgShift {
  0% { background: linear-gradient(180deg, #f2e7ef, #d9e1f2); }
  50% { background: linear-gradient(180deg, #d9e1f2, #fce4f0); }
  100% { background: linea
