@import url('https://fonts.googleapis.com/css2?family=Patrick+Hand&display=swap');

body {
  background:
    linear-gradient(
      180deg,
      #f6f3eb 0%,
      #eef2e3 40%,
      #dde6cf 100%
    );
  background-attachment: fixed;
  color: #4b5a3c;
  font-family: 'Patrick Hand', cursive;
  text-align: center;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://www.transparenttextures.com/patterns/paper-fibers.png");
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle,
    rgba(255,255,255,0) 60%,
    rgba(184,201,165,0.25) 100%
  );
  pointer-events: none;
  z-index: -1;
}


.container {
  width: 650px;
  margin: 50px auto;
  background: #fffdf8;
  border: 6px solid transparent;
  border-image: url("https://i.imgur.com/9aYJYkK.png") 30 round;
  padding: 30px;
  box-shadow: 0 0 20px rgba(0,0,0,0.15);
  position: relative;
}

h1 {
  color: #6b7f4b;
  font-weight: normal;
  letter-spacing: 2px;
}

.button {
  display: inline-block;
  margin: 10px;
  padding: 10px 18px;
  background: #e8eddc;
  color: #4b5a3c;
  border: 1px solid #b7c4a2;
  text-decoration: none;
  font-size: 18px;
}

.button:hover {
  background: #dbe3c6;
}

.status-box {
  margin-top: 25px;
  padding: 15px;
  background: #f1f4e8;
  border: 2px dashed #9aaa7a;
  font-size: 16px;
}

/* 🌸 Polaroid images */
.polaroid {
  background: white;
  padding: 10px 10px 25px;
  width: 180px;
  box-shadow: 2px 4px 10px rgba(0,0,0,0.2);
  margin: 15px;
  display: inline-block;
}

.polaroid img {
  width: 100%;
}

/* 📖 Diary navigation */
.diary {
  text-align: left;
  background: #faf8f1;
  padding: 20px;
  border-left: 4px solid #b7c4a2;
  margin-top: 20px;
}

audio {
  margin-top: 15px;
}
