/* =====================================
   HOMER POPUP MODAL
===================================== */

.homer-popup-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease forwards;
}

.homer-popup-container {
  text-align: center;
  animation: homerRollIn 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards, homerZoomOut 1s 5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.homer-popup-rarity {
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.homer-popup-image {
  max-width: 100vw;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 20px currentColor);
}

.homer-popup-payout {
  font-size: 32px;
  font-weight: bold;
  color: #4ade80;
  margin-top: 16px;
  letter-spacing: 1px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

@keyframes homerRollIn {
  0% {
    opacity: 0;
    transform: scale(0.2) rotateZ(-360deg) translateY(100px);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotateZ(0deg) translateY(0);
  }
}

@keyframes homerZoomOut {
  0% {
    opacity: 1;
    transform: scale(1) rotateZ(0deg);
  }
  100% {
    opacity: 0;
    transform: scale(0) rotateZ(360deg);
  }
}
