* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-family: sans-serif;
  padding: 40px 16px;
}

.page-wrapper {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.title {
  color: #111;
  font-family: "Instrument Serif", serif;
  font-size: 72px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
}

.subtitle {
  color: rgba(0,0,0,0.6);
  font-size: 15px;
  text-align: center;
  margin-bottom: 12px;
}

.scene {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.flowers-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.flower-wrap {
  position: absolute;
  bottom: 0;
  transform-origin: center bottom;
  pointer-events: all;
  cursor: pointer;
  transition: filter 0.3s;
}

.flower-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes sway {
  0%   { transform: rotate(0deg); }
  20%  { transform: rotate(4deg); }
  40%  { transform: rotate(-3deg); }
  60%  { transform: rotate(3.5deg); }
  80%  { transform: rotate(-2deg); }
  100% { transform: rotate(0deg); }
}

.flower-wrap:hover {
  animation: sway 0.8s ease-in-out;
  filter: brightness(1.1);
}

.tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  font-family: sans-serif;
}

.flower-wrap:hover .tooltip {
  opacity: 1;
}