/* ===============================
   GUESTBOOK — PREMIUM APPLE STYLE
================================ */

section.guestbook {
  display: flex;
  justify-content: center;
  margin: 140px 0;
  padding: 0 16px;
}

/* Card */
.guestbook-card {
  width: 100%;
  max-width: 560px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(18px);
  border-radius: 22px;
  padding: 32px;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.6);
}

/* Dark mode */
.dark .guestbook-card {
  background: rgba(18,18,18,0.75);
  box-shadow:
    0 30px 60px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

/* CTA */
.guestbook-cta {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--gold);
}

/* Title */
.guestbook h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 18px;
}

/* Entries wrapper */
.guestbook-entries {
  max-height: 260px;
  overflow-y: auto;
  padding-right: 6px;

  /* scroll fade */
  mask-image: linear-gradient(
    to bottom,
    black 85%,
    transparent 100%
  );
}

/* Entry */
.guestbook-entries li {
  list-style: none;
  padding: 14px 16px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: rgba(0,0,0,0.03);
  animation: fadeUp 0.45s ease both;
}

.dark .guestbook-entries li {
  background: rgba(255,255,255,0.05);
}

/* Author */
.guestbook-entries strong {
  font-size: 13px;
  color: #666;
  display: block;
  margin-bottom: 4px;
}

.dark .guestbook-entries strong {
  color: #aaa;
}

/* Message */
.guestbook-entries p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

/* Placeholder */
.placeholder {
  font-size: 14px;
  color: #999;
}

/* Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

section.guestbook {
  margin: 48px 0 !important;
  padding: 0 !important;
}

section.guestbook + footer,
section.guestbook + .footer {
  margin-top: 32px !important;
}

