/* style.css */

/* General Styles */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9fafb;
  color: #333;
}

/* Circle Image at Top */
.circle-img {
  display: block;
  margin: 0 auto 1rem auto;
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Name & Memory Text */
h2 {
  font-weight: 700;
}
.tribute-section {
  padding: 2rem 1rem;
  background-color: #f9f9f9;
  text-align: center;
}

.tribute-section h2 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: #333;
}

.tribute-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.tribute-card {
  background: white;
  border-radius: 16px;
  padding: 1rem;
  width: 200px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.tribute-card:hover {
  transform: scale(1.03);
}

.tribute-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

.tribute-name {
  font-weight: bold;
  margin: 0.5rem 0 0.25rem;
  color: #222;
}

.tribute-msg {
  font-style: italic;
  font-size: 0.9rem;
  color: #666;
}


/* Guest Book Cards */
.card-title {
  font-weight: bold;
  font-size: 1rem;
}

.card-text {
  font-size: 0.95rem;
  color: #444;
}

/* Footer */
footer {
  background-color: #e9ecef;
}
.hero-section {
  position: relative;
  height: 300px;
  background: url('../images/xl.png') center center/cover no-repeat;
  color: white;
}
.overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4); /* darker tint */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}


.hero-content {
  position: relative;
  z-index: 2;
}

.circle-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 4px solid #fff;
}


/* Custom dark blue nav background */
.custom-nav {
  background-color: #002b5c; /* dark navy blue */
}

/* Make desktop links spaced out evenly */
.navbar-nav.flex-row .nav-item {
  margin: 0 10px;
}

/* Optional: bold active page */
.nav-link.active {
  font-weight: bold;
  text-decoration: underline;
}


.navbar {
    background-color: #001F3F; /* dark blue */
}

.navbar-nav .nav-link,
.navbar-brand {
    color: #ffffff !important;
    font-weight: 500;
}

.navbar-nav .nav-link:hover,
.navbar-brand:hover {
    color: #cccccc !important;
}

.blockquote {
  font-size: 1.25rem;
  font-style: italic;
  border-left: 4px solid #0d6efd;
  padding-left: 1rem;
  color: #444;
}


.pet-hero {
  background-color: #fdf7f2;
  position: relative;
  overflow: hidden;
}

.paw-trail {
  width: 100%;
  height: 200px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 0;
  opacity: 0.1;
}



.dog {
  position: absolute;
  top: 52%;
  width: 50vmin;
  height: 40vmin;
  z-index: 0;
}

.heart {
  position: absolute;
  width: 6%;
  height: 7%;
  background-color: #e64356;
  border-bottom-right-radius: 23%;
  opacity: 0;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}
@-webkit-keyframes heart-beat {
  0% {
    transform: scale(0.75) rotate(35deg);
    opacity: 1;
  }
  5%, 15%, 25% {
    transform: scale(1) rotate(35deg);
  }
  10%, 20% {
    transform: scale(0.75) rotate(35deg);
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: rotate(35deg) translateY(-10px) translateX(-10px);
    opacity: 0;
  }
}
@keyframes heart-beat {
  0% {
    transform: scale(0.75) rotate(35deg);
    opacity: 1;
  }
  5%, 15%, 25% {
    transform: scale(1) rotate(35deg);
  }
  10%, 20% {
    transform: scale(0.75) rotate(35deg);
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: rotate(35deg) translateY(-10px) translateX(-10px);
    opacity: 0;
  }
}
.heart--1 {
  top: -25%;
  left: 15%;
  -webkit-animation: heart-beat 2s ease-out infinite 1.5s;
          animation: heart-beat 2s ease-out infinite 1.5s;
}
.heart--2 {
  top: -36%;
  left: 7%;
  -webkit-animation: heart-beat 2s ease-out infinite 1s;
          animation: heart-beat 2s ease-out infinite 1s;
}
.heart--3 {
  top: -48%;
  left: 14%;
  -webkit-animation: heart-beat 2s ease-out infinite 0.5s;
          animation: heart-beat 2s ease-out infinite 0.5s;
}
.heart--4 {
  top: -53%;
  left: -3%;
  -webkit-animation: heart-beat 2s ease-out infinite;
          animation: heart-beat 2s ease-out infinite;
}

.heart:before,
.heart:after {
  position: absolute;
  width: 100%;
  height: 100%;
  content: "";
  border-radius: 50%;
  background-color: #e64356;
}

.heart:after {
  bottom: 0px;
  left: -53%;
}

.heart:before {
  top: -53%;
  right: 0px;
  transform: rotate(45deg);
}

.body {
  position: absolute;
  width: 100%;
  height: 50%;
  background-color: #f79e38;
  border-top-right-radius: 17% 40%;
  border-top-left-radius: 25%;
  border-bottom-right-radius: 5% 13%;
  border-bottom-left-radius: 30% 40%;
  z-index: 3;
}

.cheast {
  position: absolute;
  width: 45%;
  height: 100%;
  background-color: #fff;
  border-top-right-radius: 17% 40%;
  border-top-left-radius: 25%;
  border-bottom-right-radius: 40% 40%;
  border-bottom-left-radius: 40% 40%;
  z-index: 4;
}
.cheast:after, .cheast:before {
  position: absolute;
  content: "";
  width: 7%;
  height: 55%;
  border-radius: 39%;
  background-color: #fff;
}
.cheast:after {
  top: 36%;
  left: 3%;
  transform: rotate(-1deg);
}
.cheast:before {
  top: 19%;
  left: -4%;
}

.head {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 4;
  -webkit-animation: dog-head 1s ease-out infinite;
          animation: dog-head 1s ease-out infinite;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
  -webkit-animation-direction: alternate;
          animation-direction: alternate;
}
@-webkit-keyframes dog-head {
  to {
    transform: translateX(-3px) rotate(3deg);
  }
}
@keyframes dog-head {
  to {
    transform: translateX(-3px) rotate(3deg);
  }
}

.tail {
  position: absolute;
  top: -14%;
  left: 92%;
  width: 10%;
  height: 45%;
  background-color: #f79e38;
  border-top-right-radius: 30% 30%;
  border-top-left-radius: 40% 30%;
  border-bottom-right-radius: 30% 40%;
  border-bottom-left-radius: 40% 40%;
  z-index: 2;
  transform: rotate(20deg);
  -webkit-animation: dog-tail 170ms ease-out infinite;
          animation: dog-tail 170ms ease-out infinite;
}
@-webkit-keyframes dog-tail {
  from, to {
    transform: rotate(10deg);
  }
  50%, 60% {
    transform: rotate(70deg) translateX(10px) translateY(2px);
  }
}
@keyframes dog-tail {
  from, to {
    transform: rotate(10deg);
  }
  50%, 60% {
    transform: rotate(70deg) translateX(10px) translateY(2px);
  }
}
.tail:before {
  position: absolute;
  content: "";
  top: -8%;
  left: -7%;
  width: 100%;
  height: 50%;
  background-color: #f79e38;
  border-radius: 50%;
  -webkit-animation: dog-tail-before 160ms ease-out infinite;
          animation: dog-tail-before 160ms ease-out infinite;
}
@-webkit-keyframes dog-tail-before {
  from, to {
    transform: translateX(0);
  }
  50% {
    transform: translateX(3px);
  }
}
@keyframes dog-tail-before {
  from, to {
    transform: translateX(0);
  }
  50% {
    transform: translateX(3px);
  }
}

.legs {
  position: absolute;
  top: 97%;
  left: 0;
  width: 100%;
  height: 30%;
  z-index: 2;
  -webkit-animation: dog-legs 1s ease-out infinite 1.5s;
          animation: dog-legs 1s ease-out infinite 1.5s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
  -webkit-animation-direction: alternate;
          animation-direction: alternate;
}
@-webkit-keyframes dog-legs {
  from {
    transform: translateY(-1px);
  }
  to {
    transform: translateY(0px);
  }
}
@keyframes dog-legs {
  from {
    transform: translateY(-1px);
  }
  to {
    transform: translateY(0px);
  }
}
.legs__front, .legs__back {
  width: 10%;
  height: 100%;
  background-color: #f79e38;
  position: absolute;
  border-bottom-right-radius: 100%;
  border-bottom-left-radius: 100%;
}
.legs__front:after, .legs__back:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 100%;
  height: 49%;
  background-color: #fff;
  border-bottom-right-radius: 100%;
  border-bottom-left-radius: 100%;
}
.legs__front--left {
  left: 38%;
  transform: rotate(1deg);
}
.legs__front--right {
  left: 20%;
  transform: rotate(-4deg);
}
.legs__back--left {
  left: 69%;
  transform: rotate(-7deg);
}
.legs__back--right {
  left: 85%;
  transform: rotate(2deg);
}

.face {
  height: 40%;
  width: 42%;
  position: absolute;
  top: -13%;
  left: -3%;
  background-color: #fff;
  border-top-right-radius: 45% 50%;
  border-top-left-radius: 35% 50%;
  border-bottom-left-radius: 35% 21%;
  z-index: 6;
}
.face:after, .face:before {
  content: "";
  position: absolute;
  background-color: #f79e38;
}
.face:after {
  width: 27%;
  left: 7%;
  height: 23%;
  border-top-right-radius: 100% 100%;
  border-bottom-left-radius: 49% 100%;
  transform: rotate(-64deg);
  top: -1%;
  border-top-left-radius: 0% -20%;
  border-bottom-right-radius: 52% 0%;
  box-shadow: rgba(0, 0, 0, 0.1) 2px -6px 11px 1px;
}
.face:before {
  width: 55%;
  left: 42%;
  top: 0%;
  height: 35%;
  border-radius: 23% 7% 16% 12%;
  transform: rotate(0deg) scaleX(-1);
}

.eye {
  width: 6%;
  height: 6%;
  position: absolute;
  border-radius: 100%;
  top: 24%;
  background-color: #000;
  z-index: 6;
  -webkit-animation: dog-eye 1800ms infinite;
          animation: dog-eye 1800ms infinite;
}
@-webkit-keyframes dog-eye {
  from, to {
    -webkit-animation-timing-function: step-end;
            animation-timing-function: step-end;
    opacity: 1;
  }
  50%, 55% {
    -webkit-animation-timing-function: step-start;
            animation-timing-function: step-start;
    opacity: 0;
  }
}
@keyframes dog-eye {
  from, to {
    -webkit-animation-timing-function: step-end;
            animation-timing-function: step-end;
    opacity: 1;
  }
  50%, 55% {
    -webkit-animation-timing-function: step-start;
            animation-timing-function: step-start;
    opacity: 0;
  }
}
.eye--left {
  left: 27%;
}
.eye--right {
  left: 46%;
}

.mouth {
  background-color: transparent;
  border-color: #000;
  width: 44%;
  border-style: solid;
  border-width: 0.7vmin;
  height: 48%;
  z-index: 6;
  position: absolute;
  bottom: 35%;
  left: 14%;
  border-top-color: transparent;
  border-bottom-left-radius: 72% 100%;
  border-bottom-right-radius: 77% 100%;
  border-right-color: transparent;
  border-top-right-radius: 50%;
  border-left-color: transparent;
  transform: rotate(-41deg);
}

.year {
  position: absolute;
}
.year--left {
  top: -40%;
  left: 3%;
  height: 47%;
  width: 19%;
  z-index: 1;
  background-color: #e99036;
  border-top-left-radius: 68% 100%;
  border-top-right-radius: 100% 100%;
  transform-origin: bottom center;
  -webkit-animation: left-year 1000ms ease-out infinite;
          animation: left-year 1000ms ease-out infinite;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
  -webkit-animation-direction: alternate;
          animation-direction: alternate;
}
@-webkit-keyframes left-year {
  from {
    transform: rotate(-26deg);
  }
  25% {
    transform: rotate(-35deg);
  }
  50% {
    transform: rotate(-26deg);
  }
  to {
    transform: rotate(-40deg);
  }
}
@keyframes left-year {
  from {
    transform: rotate(-26deg);
  }
  25% {
    transform: rotate(-35deg);
  }
  50% {
    transform: rotate(-26deg);
  }
  to {
    transform: rotate(-40deg);
  }
}
.year--right {
  top: -39%;
  left: 19%;
  height: 38%;
  width: 18%;
  z-index: 1;
  background-color: #f79e38;
  border-top-left-radius: 56% 100%;
  border-top-right-radius: 100% 100%;
  transform-origin: bottom center;
  border-bottom-right-radius: 14% 38%;
  -webkit-animation: right-year 1000ms ease-out infinite;
          animation: right-year 1000ms ease-out infinite;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
  -webkit-animation-direction: alternate;
          animation-direction: alternate;
}
@-webkit-keyframes right-year {
  from {
    transform: rotate(-331deg);
  }
  25% {
    transform: rotate(-320deg);
  }
  50% {
    transform: rotate(-331deg);
  }
  to {
    transform: rotate(-320deg);
  }
}
@keyframes right-year {
  from {
    transform: rotate(-331deg);
  }
  25% {
    transform: rotate(-320deg);
  }
  50% {
    transform: rotate(-331deg);
  }
  to {
    transform: rotate(-320deg);
  }
}

.nose {
  position: absolute;
  width: 24%;
  height: 24%;
  background-color: #fff;
  z-index: 7;
  left: -12%;
  top: -3%;
  border-bottom-left-radius: 50% 88%;
  border-top-left-radius: 11% 43%;
  transform: rotate(12deg);
}
.nose:after {
  content: "";
  position: absolute;
  width: 50%;
  height: 55%;
  background-color: #000;
  border-radius: 100%;
  left: -7%;
  top: -18%;
}

/* Horizontal toolbar */
#reaction-toolbar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffffee;
  border: 1px solid #cfddee;
  border-radius: 50px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  gap: 6px;
  z-index: 9999;
}

#reaction-toolbar button {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

/* Visitor counter pill */
.visitor-pill {
  background: #eef6ff;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 14px;
  color: #333;
}

/* Vertical pill menu */
#reaction-menu {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 10px;
  background: #ffffffdd;
  border: 1px solid #cfddee;
  padding: 15px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  width: max-content;
  max-width: 95vw;
  display: grid;
  justify-content: center;
}

#reaction-menu button {
  background: #f3f8ff;
  border: 1px solid #c6daf3;
  font-size: 22px;
  padding: 8px 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}

#reaction-menu button:hover {
  background-color: #d9ecff;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

#reaction-menu {
  animation: fadeInUp 0.3s ease-out;
}

/* Toolbar at bottom center */
/* Toolbar */
#reaction-toolbar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffffee;
  border: 1px solid #cfddee;
  border-radius: 50px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

#reaction-toolbar button {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.visitor-count {
  background: #eef6ff;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 14px;
  color: #333;
}

/* Reaction panel grid (hidden by default) */
#reaction-panel {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffffee;
  border: 1px solid #cfddee;
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  z-index: 9998;
  display: grid;
  grid-template-columns: repeat(5, 40px);
  gap: 10px;
  justify-content: center;
  width: max-content;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Shown when active */
#reaction-panel.active {
  visibility: visible;
  opacity: 1;
}

#reaction-panel button {
  font-size: 20px;
  background: #f3f8ff;
  border: 1px solid #c6daf3;
  border-radius: 12px;
  padding: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#reaction-panel button:hover {
  background-color: #d9ecff;
}




/* Floating emoji animation */
/* Toolbar Styles */
#toolbar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid #cfddee;
  border-radius: 50px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

#settings-icon {
  cursor: pointer;
  font-size: 18px;
}

/* Unique Visitor Display */
#visitor-count {
  font-size: 14px;
}

/* Emoji Panel */
#emoji-panel {
  position: fixed;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  background: #fff;
  padding: 12px;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#emoji-panel.hidden {
  display: none;
}

.emoji-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.emoji-grid button {
  font-size: 20px;
  background: #f3f8ff;
  border: 1px solid #c6daf3;
  border-radius: 12px;
  padding: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emoji-grid button:hover {
  transform: scale(1.2);
}

/* Floating Reactions */
#floating-reactions {
  position: fixed;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
}

.floating-emoji {
  position: absolute;
  font-size: 24px;
  animation: floatUp 3s ease-out forwards;
}

@keyframes floatUp {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-450px);
  }
}


#quoteBoxWrapper {
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 1.5rem;
  margin: 0 auto;
  font-style: italic;
  font-size: 1.2rem;
  color: #333;
  opacity: 0.85;
}

#quoteText {
  margin: 0;
  transition: all 0.3s ease;
}
/* === Tribute Bubbles Grid === */
/* Section Titles *//* Family & Friends Section */
.tribute-section {
  margin: 20px;
}

.tribute-section h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  text-align: left;
}

.tribute-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
}


.tribute-bubble-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: flex-start;
  align-items: flex-start;

}


.tribute-bubble {
  width: 60px;
  height: 60px;
  background: #f0f0f0;
  border-radius: 50%;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.tribute-bubble:hover {
  transform: scale(1.05);
}

.tribute-bubble.active::after {
  content: attr(data-message);
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #ddd;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  z-index: 100;
}



/* Show All Link */
.guestbook-footer {
  text-align: right;
  margin-top: 15px;
}

.show-all {
  font-size: 0.9rem;
  text-decoration: underline;
  color: #555;
}

.carousel-container {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 20px;
  scroll-snap-type: x mandatory;
}

.carousel-photo {
  width: 220px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  scroll-snap-align: center;
}

.memories-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 20px 10px 20px;
}

.view-gallery-btn {
  text-decoration: none;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #333;
  transition: background-color 0.2s;
}

.view-gallery-btn:hover {
  background-color: #e2e2e2;
}



/* TOP QUOTE BAR */
.notification-top-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 40px;
  line-height: 40px;
  width: 100%;
  background: #ff6600;
  text-align: center;
  color: #FFFFFF;
  font-family: sans-serif;
  font-weight: lighter;
  font-size: 14px;
}
.notification-top-bar p {
  padding: 0;
  margin: 0;
}
.notification-top-bar p a {
  padding: 5px 10px;
  border-radius: 3px;
  background: #FFF;
  color: #ff6600;
  font-weight: bold;
  text-decoration: none;
}
/* TOP QUOTE BAR */


/* Polished Guestbook Card Styles */

.guestbook-entry-form {
  max-width: 700px;
  margin: 20px auto 0 auto;
  display: flex;
  flex-direction: column;
  
}

.guestbook-entry-list {
  max-width: 600px;
  margin: 32px auto 0 auto;
  display: flex;
  flex-direction: column;
}

.guestbook-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(60,80,150,0.11), 0 1.5px 7px rgba(80,110,160,0.05);
  padding: 18px 24px 14px 20px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
  transition: box-shadow 0.18s, transform 0.12s;
}

.guestbook-card:hover {
  box-shadow: 0 8px 28px rgba(80,110,160,0.13);
  transform: translateY(-2px) scale(1.012);
}

.guestbook-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #e6eaf2;
  color: #37598e;
  font-weight: 700;
  font-size: 1.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
  box-shadow: 0 1px 7px 0 rgba(80,110,160,0.10);
}

.guestbook-content {
  flex: 1;
  min-width: 0;
}

.guestbook-meta {
  font-weight: 600;
  color: #253961;
  font-size: 1.11em;
  margin-bottom: 2px;
}

.guestbook-message {
  margin: 6px 0 9px 0;
  font-size: 1.10em;
  color: #32475b;
  word-break: break-word;
  background: none;
  border-radius: 0;
}

.read-more-btn {
  color: #0056b3;
  font-size: 0.96em;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 4px;
}

.reaction-bar {
  display: flex;
  gap: 14px;
  margin-top: 2px;
  margin-bottom: 3px;
}

.reaction-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.19em;
  opacity: 0.90;
  padding: 0 8px;
  border-radius: 8px;
  transition: background 0.14s, opacity 0.12s;
}
.reaction-btn:disabled {
  opacity: 0.44 !important;
  cursor: not-allowed;
}
.reaction-btn:hover:not(:disabled) {
  background: #eef2fa;
  opacity: 1;
}

.floating-emoji {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  font-size: 1.4em;
  animation: float-up 0.85s cubic-bezier(.37,1.41,.75,.89) forwards;
  pointer-events: none;
  z-index: 9;
}

@keyframes float-up {
  0% { opacity: 1; transform: translate(-50%,0) scale(1);}
  60% { opacity: 1; transform: translate(-50%,-36px) scale(1.22);}
  100% { opacity: 0; transform: translate(-50%,-70px) scale(1);}
}

@media (max-width: 900px) {
  .guestbook-entry-list { max-width: 99%; }
  .guestbook-card { padding: 12px 7px 12px 12px; }
  .guestbook-avatar { width: 40px; height: 40px; font-size: 1.09em; }
}
