body {
  margin: 0;
  padding: 0;
  font-family: 'Nanum Myeongjo', serif;
  background: #fffdfc url('https://i.ibb.co/PZWzXsX/lacebg.png') repeat;
  color: #663e4d;
}

/* 레이스 상하단 */
.lace-border-top, .lace-border-bottom {
  height: 100px;
  background: url('https://i.ibb.co/ZB2Q6Jj/lacetop.png') center no-repeat;
  background-size: cover;
}

.lace-border-bottom {
  background-image: url('https://i.ibb.co/5KT2NTk/lacebottom.png');
}

/* 헤더 */
header {
  text-align: center;
  padding: 2rem 1rem 1rem;
  background-color: #ffeef4;
  border-top: 3px double #f4b3c2;
  border-bottom: 3px double #f4b3c2;
}

.ribbon {
  font-size: 2.5rem;
  font-family: 'Petit Formal Script', cursive;
  color: #c65c7b;
  background: #fff6f8;
  padding: 1rem 2rem;
  border: 4px double #ffb7d1;
  display: inline-block;
  border-radius: 30px;
  box-shadow: 0 0 10px #ffc9dd;
}

.intro {
  margin-top: 0.5rem;
  color: #a36e87;
}

/* 콘텐츠 영역 */
.content {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* 섹션 공통 */
.section {
  background: #fff7fc;
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 0 8px #f3b9ce;
}

/* 프레임 느낌 */
.framed {
  border: 4px double #ffc0da;
  position: relative;
  padding: 2rem;
}

.framed::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 40px;
  height: 40px;
  background: url('https://i.ibb.co/YN5qvV8/ribbon-corner.png') no-repeat;
  background-size: contain;
}

/* 갤러리 */
.gallery .images {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.gallery img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border: 3px solid #ffd8e4;
  border-radius: 12px;
  box-shadow: 3px 3px 6px #d9a3b4;
}

/* 비눗방울 애니메이션 */
.bubbles {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bubbles span {
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(255, 181, 212, 0.2);
  border-radius: 50%;
  animation: rise 12s linear infinite;
  bottom: -60px;
  left: calc(100% * var(--i) / 30);
  animation-delay: calc(-1s * var(--i));
}

@keyframes rise {
  to {
    transform: translateY(-100vh) scale(1.2);
    opacity: 0;
  }
}
