body {
  margin: 0;
  background: #0d0f12;
  font-family: -apple-system, Arial, sans-serif;
}

#flipbook {
  width: 90vw;
  max-width: 800px;
  height: 70vh;
  max-height: 600px;
  margin: 2rem auto;
}

#flipbook .page {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  position: relative;
}

#flipbook .page img {
  width: 100%;
  height: auto;
  display: block;
}

#flipbook .page p {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: clamp(14px, 2vw, 18px);
  color: #111;
  background: #fff;
}

.dots {
  text-align: center;
  margin-top: 1rem;
}
.dots span {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin: 0 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
}
.dots span.active {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,.25);
}

#hint {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  padding: .35rem .6rem;
  font-size: .9rem;
  color: #fff;
  background: rgba(0,0,0,.35);
  border-radius: 999px;
  opacity: .9;
  user-select: none;
}

.back-button{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:9999;

  padding:.7rem 1.05rem;

  background:rgba(255,255,255,.92);
  color:#111;

  border-radius:999px;

  text-decoration:none;
  font-weight:700;
  font-size:.95rem;

  box-shadow:0 6px 20px rgba(0,0,0,.28);

  transition:all .22s ease;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.back-button:hover{
  transform:translateY(-2px);
  background:#fff;
}