/* Tela premium de recompensas — exploração */

.exp-reward-screen {
  padding: 0.25rem 0 1.25rem;
  animation: exp-reward-in 0.45s ease-out;
}

@keyframes exp-reward-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.exp-reward-hero {
  text-align: center;
  padding: 1rem 0.75rem 1.25rem;
  border-radius: 14px;
  margin-bottom: 1rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(239, 68, 68, 0.18), transparent 55%),
    linear-gradient(165deg, rgba(18, 10, 28, 0.95), rgba(8, 6, 14, 0.92));
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: 0 0 32px rgba(139, 92, 246, 0.15);
}

.exp-reward-hero-crown {
  font-size: 2rem;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.45));
  margin-bottom: 0.35rem;
}

.exp-reward-hero h3 {
  margin: 0;
  font-family: Cinzel, serif;
  font-size: 1.15rem;
  color: #fef3c7;
  text-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
}

.exp-reward-hero-sub {
  margin: 0.35rem 0 0;
  color: rgba(196, 181, 253, 0.8);
  font-size: 0.82rem;
}

.exp-reward-boss-img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 12px;
  border: 2px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
  margin-bottom: 0.5rem;
}

.exp-reward-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.exp-reward-stat {
  text-align: center;
  padding: 0.65rem 0.45rem;
  border-radius: 10px;
  border: 1px solid rgba(139, 92, 246, 0.22);
  background: rgba(0, 0, 0, 0.22);
}

.exp-reward-stat--gold { border-color: rgba(212, 175, 55, 0.35); background: rgba(212, 175, 55, 0.06); }
.exp-reward-stat--xp { border-color: rgba(167, 139, 250, 0.35); background: rgba(139, 92, 246, 0.08); }
.exp-reward-stat--drops { border-color: rgba(74, 222, 128, 0.3); background: rgba(74, 222, 128, 0.05); }

.exp-reward-stat-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(196, 181, 253, 0.65);
  margin-bottom: 0.2rem;
}

.exp-reward-stat-val {
  font-family: Cinzel, serif;
  font-size: 1rem;
  font-weight: 700;
  color: #f5e6ff;
}

.exp-reward-stat--gold .exp-reward-stat-val { color: #fde68a; }
.exp-reward-stat--xp .exp-reward-stat-val { color: #c4b5fd; }

.exp-reward-items-title {
  margin: 0 0 0.55rem;
  font-family: Cinzel, serif;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: #e9d5ff;
}

.exp-reward-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 0.55rem;
  margin-bottom: 1rem;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 0.15rem;
}

.exp-reward-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.4rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(156, 163, 175, 0.35);
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s;
}

.exp-reward-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.exp-reward-card--refined { border-color: rgba(34, 197, 94, 0.45); box-shadow: 0 0 12px rgba(34, 197, 94, 0.12); }
.exp-reward-card--rare { border-color: rgba(59, 130, 246, 0.55); box-shadow: 0 0 16px rgba(59, 130, 246, 0.18); }
.exp-reward-card--epic { border-color: rgba(168, 85, 247, 0.55); box-shadow: 0 0 18px rgba(168, 85, 247, 0.2); }
.exp-reward-card--legendary { border-color: rgba(234, 179, 8, 0.6); box-shadow: 0 0 22px rgba(234, 179, 8, 0.25); animation: exp-reward-pulse 2.5s ease-in-out infinite; }
.exp-reward-card--relic { border-color: rgba(239, 68, 68, 0.55); box-shadow: 0 0 22px rgba(239, 68, 68, 0.22); }
.exp-reward-card--divine { border-color: rgba(248, 250, 252, 0.55); box-shadow: 0 0 28px rgba(255, 255, 255, 0.15), 0 0 18px rgba(234, 179, 8, 0.2); animation: exp-reward-pulse 2s ease-in-out infinite; }

@keyframes exp-reward-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
}

.exp-reward-card-art {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
}

.exp-reward-card-art img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.exp-reward-card-name {
  font-size: 0.65rem;
  font-weight: 700;
  color: #ede9fe;
  line-height: 1.25;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.exp-reward-card-qty {
  font-size: 0.68rem;
  font-weight: 800;
  color: #fde68a;
}

.exp-reward-card-rarity {
  font-size: 0.55rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.85;
}

.exp-reward-note {
  font-size: 0.72rem;
  color: rgba(196, 181, 253, 0.65);
  text-align: center;
  margin: 0 0 1rem;
  line-height: 1.45;
}

.exp-reward-collect {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.exp-btn-collect-premium {
  position: relative;
  overflow: hidden;
  padding: 0.75rem 1.75rem;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(139, 92, 246, 0.18));
  color: #fef3c7;
  font-family: Cinzel, serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.25);
  transition: transform 0.18s, box-shadow 0.18s;
}

.exp-btn-collect-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(212, 175, 55, 0.4);
}

.exp-btn-collect-premium:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.exp-reward-empty {
  padding: 1.5rem;
  text-align: center;
  color: rgba(196, 181, 253, 0.55);
  font-size: 0.78rem;
  border: 1px dashed rgba(139, 92, 246, 0.25);
  border-radius: 10px;
  margin-bottom: 1rem;
}

@media (max-width: 520px) {
  .exp-reward-stats {
    grid-template-columns: 1fr;
  }
}
