/* =========================================================
   Hotel Zumbi Universe — Rewards / Roletas / Baús
   Path: /css/screens/rewards.css
   ========================================================= */

.reward-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}

.reward-grid .panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 160px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 0%, rgba(56,255,143,.12), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(40,216,255,.08), transparent 38%),
    rgba(8,16,22,.92);
  box-shadow:
    0 12px 34px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.045);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.reward-grid .panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.07), transparent 34%);
  opacity: .58;
}

.reward-grid .panel:hover {
  transform: translateY(-3px);
  border-color: rgba(56,255,143,.3);
  box-shadow:
    0 18px 44px rgba(0,0,0,.38),
    0 0 24px rgba(56,255,143,.12);
}

.reward-grid .eyebrow,
.reward-grid h2,
.reward-grid p {
  position: relative;
  z-index: 1;
  margin: 0;
}

.reward-grid .eyebrow {
  color: #38ff8f;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.reward-grid h2 {
  font-size: 1.05rem;
  line-height: 1.15;
}

.reward-grid p {
  color: rgba(225,238,255,.74);
  line-height: 1.45;
}

/* futura roleta / jackpots */

.reward-rarity-common {
  border-color: rgba(255,255,255,.1) !important;
}

.reward-rarity-rare {
  border-color: rgba(40,216,255,.32) !important;
}

.reward-rarity-epic {
  border-color: rgba(180,78,255,.36) !important;
}

.reward-rarity-legendary {
  border-color: rgba(255,210,74,.42) !important;
  box-shadow:
    0 18px 44px rgba(0,0,0,.38),
    0 0 26px rgba(255,210,74,.14) !important;
}

.reward-rarity-jackpot {
  border-color: rgba(255,75,95,.5) !important;
  box-shadow:
    0 18px 44px rgba(0,0,0,.42),
    0 0 34px rgba(255,75,95,.18) !important;
}

@media (min-width: 720px) {
  .reward-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .reward-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* =========================================================
   Rewards — Roleta visual
   ========================================================= */

.rewards-screen {
  padding-bottom: 120px;
}

.reward-wheel-section {
  margin-top: 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 26px;
  padding: 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(56,255,143,.12), transparent 48%),
    rgba(8,16,22,.78);
}

.reward-wheel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.reward-wheel-item {
  position: relative;
  overflow: hidden;
  min-height: 110px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 12px 8px;
  text-align: center;
  background: rgba(255,255,255,.045);
}

.reward-wheel-item span,
.reward-wheel-item strong,
.reward-wheel-item small {
  position: relative;
  z-index: 1;
  display: block;
}

.reward-wheel-item span {
  margin-bottom: 8px;
  font-size: 1.8rem;
}

.reward-wheel-item strong {
  font-size: .82rem;
}

.reward-wheel-item small {
  margin-top: 5px;
  color: rgba(225,238,255,.58);
  font-size: .62rem;
  text-transform: uppercase;
}

.reward-wheel:not(.is-used) .reward-wheel-item {
  animation: rewardPulse 2.8s ease-in-out infinite;
}

.reward-wheel:not(.is-used) .reward-wheel-item:nth-child(2n) {
  animation-delay: .18s;
}

.reward-wheel:not(.is-used) .reward-wheel-item:nth-child(3n) {
  animation-delay: .32s;
}

@keyframes rewardPulse {
  0%, 100% {
    transform: translateY(0);
    filter: brightness(1);
  }

  50% {
    transform: translateY(-3px);
    filter: brightness(1.2);
  }
}

@media (max-width: 720px) {
  .reward-wheel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
