/* v8.css — Living Books v8 GOLD styles (hidden surprises layer). */

.v8-hot-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 6;
}

.v8-hot {
  pointer-events: auto;
  cursor: pointer;
  transform-origin: 50% 50%;
}

.v8-hot-hit {
  fill: transparent;
  stroke: none;
}

.v8-hot-inner {
  transform-origin: 50% 50%;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
}

.v8-hot:focus {
  outline: none;
}

.v8-hot:focus-visible .v8-hot-inner {
  filter: drop-shadow(0 0 6px #FFD84D);
}

.v8-pop {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  background: rgba(10, 8, 20, 0.55);
  padding: 18px;
}

.v8-pop.show {
  display: flex;
}

.v8-pop-card {
  background: #fffaf0;
  border: 4px solid #2a1b3d;
  border-radius: 20px;
  padding: 18px 22px;
  text-align: center;
  max-width: 340px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  animation: v8pop 0.28s ease-out;
}

.v8-pop-card.secret {
  background: #fff6d8;
  border-color: #f0a500;
}

.v8-pop-secret {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #b45309;
  margin-bottom: 6px;
}

.v8-pop-en {
  font-size: 30px;
  font-weight: 800;
  color: #2a1b3d;
  line-height: 1.1;
}

.v8-pop-arrow {
  font-size: 18px;
  margin: 4px 0;
  opacity: 0.7;
}

.v8-pop-es {
  font-size: 26px;
  font-weight: 700;
  color: #b5651d;
  line-height: 1.15;
}

.v8-pop-line {
  margin-top: 10px;
  font-size: 14px;
  color: #4a5a72;
  font-style: italic;
}

.v8-pop-hint {
  margin-top: 12px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a869a;
}

@keyframes v8pop {
  from { transform: scale(0.82); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.v8-secrets {
  font-weight: 800;
  font-size: 13px;
  color: #f0a500;
  background: rgba(255, 246, 216, 0.9);
  border: 2px solid #f0a500;
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

.v8-secrets.bump {
  animation: v8bump 0.45s ease-out;
}

@keyframes v8bump {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.22); }
  100% { transform: scale(1); }
}

#btn-music.off {
  opacity: 0.55;
  text-decoration: line-through;
}
