:root {
  --bg-top: #ffd9ea;
  --bg-mid: #ffc0df;
  --bg-bottom: #ff9fcc;
  --panel: rgba(255, 241, 249, 0.92);
  --ink: #4b1f3f;
  --accent: #e24891;
  --accent-strong: #bf2c73;
  --line: #ee9fc8;
  --note: #ffe9f5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Gowun Dodum", sans-serif;
  color: var(--ink);
  background: linear-gradient(160deg, var(--bg-top), var(--bg-mid), var(--bg-bottom));
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.36) 1.2px, transparent 1.2px);
  background-size: 20px 20px;
  opacity: 0.34;
  z-index: 0;
  pointer-events: none;
}

.background-shape {
  position: fixed;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.45;
  z-index: 0;
  animation: float 9s ease-in-out infinite;
}

.shape-a {
  width: 320px;
  height: 320px;
  background: #ff87be;
  top: -90px;
  left: -80px;
}

.shape-b {
  width: 280px;
  height: 280px;
  background: #ff5da2;
  right: -70px;
  bottom: -80px;
  animation-delay: 1.2s;
}

.heart {
  position: fixed;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.55);
  transform: rotate(45deg);
  z-index: 0;
  animation: heartFloat 6s ease-in-out infinite;
}

.heart::before,
.heart::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

.heart::before {
  top: -17px;
  left: 0;
}

.heart::after {
  top: 0;
  left: -17px;
}

.heart-a {
  top: 18%;
  left: 8%;
}

.heart-b {
  top: 40%;
  right: 12%;
  transform: rotate(45deg) scale(1.2);
  animation-delay: 1s;
}

.heart-c {
  bottom: 14%;
  left: 18%;
  transform: rotate(45deg) scale(0.8);
  animation-delay: 2s;
}

.princess-ornament {
  position: fixed;
  right: 4%;
  top: 16%;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fffafc, #ffd3e8);
  border: 2px solid #f58fc2;
  box-shadow: 0 14px 28px rgba(167, 32, 105, 0.2);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 7s ease-in-out infinite;
}

.princess-crown {
  position: absolute;
  top: 16px;
  font-size: 1.4rem;
  color: #dc5c9e;
}

.princess-face {
  margin-top: 14px;
  font-size: 2.3rem;
  color: #cf2e7f;
}

.wall-app {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 16px 56px;
  position: relative;
  z-index: 1;
}

.hero {
  text-align: center;
  margin-bottom: 18px;
  animation: fadeInUp 0.8s ease both;
}

.hero h1 {
  margin: 0;
  font-family: "Black Han Sans", sans-serif;
  letter-spacing: 1.6px;
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.hero-highlight {
  display: inline-block;
  color: #9f0f5b;
  text-shadow: 0 4px 0 rgba(255, 255, 255, 0.8), 0 10px 18px rgba(159, 15, 91, 0.35);
  transform: rotate(-1.5deg);
}

.hero p {
  margin-top: 10px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-subtitle {
  margin: 8px 0 0;
  font-family: "Black Han Sans", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: #ea4c9f;
  letter-spacing: 1.2px;
  text-shadow: 0 3px 0 rgba(255, 255, 255, 0.8);
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  animation: fadeInUp 0.8s ease both;
}

.write-panel {
  margin-bottom: 14px;
  background: linear-gradient(160deg, rgba(255, 229, 243, 0.95), rgba(255, 210, 233, 0.9));
  border: 1px solid #e993c2;
  box-shadow: 0 12px 30px rgba(169, 34, 104, 0.14);
}

h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  width: 100%;
  border: 1px solid #e797bf;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
  background: rgba(255, 248, 252, 0.95);
}

textarea {
  resize: vertical;
}

button {
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.15s ease;
}

button:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.status {
  margin: 8px 0 12px;
  min-height: 20px;
  font-weight: 700;
  color: #7a2454;
}

.note-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.note-item {
  background: var(--note);
  border: 1px solid #f3b6d5;
  border-radius: 12px;
  padding: 12px;
  transform-origin: top center;
  animation: popIn 0.25s ease;
}

.note-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.note-message {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.note-actions {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}

.fake-delete-btn {
  padding: 7px 10px;
  border-radius: 8px;
  background: #ff6aa7;
  color: #fff;
  font-size: 0.88rem;
}

.fake-delete-btn:hover {
  background: #e0478a;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(14px);
  }
}

@keyframes heartFloat {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }
  50% {
    transform: rotate(45deg) translateY(-12px);
  }
}

@media (max-width: 640px) {
  .wall-app {
    padding: 20px 12px 36px;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .princess-ornament {
    width: 86px;
    height: 86px;
    right: 3%;
    top: 11%;
  }

  .princess-face {
    font-size: 1.8rem;
  }
}
