/* 🌸 Import Dior-style cursive font */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

/* 🌸 Base styles */
body {
  font-family: 'Great Vibes', cursive;
  background: linear-gradient(to bottom right, #fff0f5, #ffe4e1);
  color: #4a4a4a;
  margin: 0;
  padding: 0 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  background-image: url('lilies-pattern.png'); /* small lily pattern */
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 150px;
}

/* 🌸 Header */
h1 {
  text-align: center;
  font-size: 3em;
  margin-top: 40px;
  color: #d36ca7;
  font-weight: 700;
  letter-spacing: 2px;
}

/* 🌸 Textarea */
textarea {
  width: 100%;
  height: 180px;
  padding: 15px;
  font-size: 18px;
  border-radius: 15px;
  border: 1px solid #f4c2c2;
  background-color: rgba(255, 250, 240, 0.9);
  box-shadow: 2px 2px 10px rgba(200, 180, 180, 0.3);
  resize: none;
  font-family: 'Great Vibes', cursive;
  color: #5a3a5a;
  background-image: url('lily-bg.png');
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 60px;
}

/* 🌸 Button */
button {
  display: block;
  margin: 15px auto;
  padding: 12px 25px;
  font-size: 18px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(to right, #f8c6d0, #e88fbf);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Great Vibes', cursive;
}

button:hover {
  transform: scale(1.05);
  background: linear-gradient(to right, #e88fbf, #f8c6d0);
}

/* 🌸 Entries container */
#entries {
  margin-top: 30px;
}

/* 🌸 Each entry */
.entry {
  background-color: rgba(255, 250, 240, 0.95);
  padding: 15px 20px;
  margin-top: 15px;
  border-left: 6px solid #f8c6d0;
  border-radius: 15px;
  box-shadow: 1px 1px 6px rgba(200, 180, 180, 0.2);
  font-size: 18px;
  line-height: 1.6em;
  font-family: 'Great Vibes', cursive;
  position: relative;
  background-image: url('lily-bg.png');
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 40px;
}

/* 🌸 Lily emoji on each entry */
.entry::after {
  content: "🌸";
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 20px;
  opacity: 0.6;
}

/* 🌸 Date */
.date {
  font-size: 12px;
  color: #a88a9b;
  margin-bottom: 8px;
  font-style: italic;
  font-family: 'Great Vibes', cursive;
}

/* 🌸 Responsive */
@media screen and (max-width: 500px) {
  body { padding: 10px; }
  h1 { font-size: 2.2em; }
  textarea { height: 140px; }
}
