/* divine-gift.css — Animation "Divine Gift" pour pages non-admin
   (home, profile) — couleurs codées en dur (pas de CSS vars admin)
   ──────────────────────────────────────────────────────────────── */

.divine-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 10, 26, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
  cursor: pointer;
}

.divine-overlay.show {
  opacity: 1;
}
.divine-overlay.exit {
  opacity: 0;
}

.divine-title {
  font-family: "Cinzel", "Georgia", serif;
  font-size: 26px;
  color: #ffd700;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
  margin-bottom: 36px;
  letter-spacing: 4px;
  text-align: center;
  user-select: none;
}

.divine-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  max-width: 820px;
  padding: 0 20px;
}

.divine-card {
  background: linear-gradient(135deg, #1a1a28, #111118);
  border: 2px solid #ffd700;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  width: 110px;
  opacity: 0;
  transform: translateY(-60px) rotate(-4deg);
  animation: divine-drop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.25);
}

.divine-card img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  margin: 0 auto 8px;
  display: block;
}

.divine-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: #0f0f1a;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.divine-card span {
  display: block;
  font-size: 10px;
  color: #e0e0e0;
  line-height: 1.3;
}

.divine-card .card-type {
  font-size: 9px;
  color: #ffd700;
  margin-top: 4px;
  text-transform: uppercase;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.5px;
}

.divine-dismiss-hint {
  margin-top: 28px;
  font-size: 11px;
  color: rgba(255, 215, 0, 0.45);
  font-family: "Oswald", sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  user-select: none;
  animation: divine-blink-hint 2s infinite;
}

@keyframes divine-blink-hint {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.9;
  }
}
@keyframes divine-drop {
  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

.divine-particles-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
