/* RAPZODY — fenêtre « Soutiens Rapzody » (jouer/don.js). Mêmes couleurs et police que l'accueil du jeu. */
.rzdon { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px)); font-family: Inter, system-ui, sans-serif; color: #fff; }
.rzdon-bg { position: absolute; inset: 0; background: rgba(4, 3, 5, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.rzdon.on .rzdon-bg { opacity: 1; }
.rzdon-card { position: relative; width: min(420px, 100%); max-height: calc(100dvh - 32px); overflow: auto; padding: 30px 22px 18px; border-radius: 26px; text-align: center;
  background: radial-gradient(120% 70% at 50% 0%, #5a0c14 0%, #1a0a0d 55%, #0b0809 100%); border: 1px solid rgba(255, 90, 100, .45);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .7), 0 0 60px rgba(255, 32, 43, .28); transform: translateY(26px) scale(.94); opacity: 0;
  transition: transform .42s cubic-bezier(.2, 1.3, .3, 1), opacity .25s; }
.rzdon.on .rzdon-card { transform: none; opacity: 1; }
.rzdon-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(0, 0, 0, .35); color: #fff; font-size: 15px; cursor: pointer; }
.rzdon-crown { position: relative; width: 84px; height: 84px; margin: 0 auto 8px; display: grid; place-items: center; color: #ffc23a; }
.rzdon-crown svg { width: 76px; filter: drop-shadow(0 0 14px rgba(255, 194, 58, .7)); animation: rzdonFloat 3s ease-in-out infinite; }
.rzdon-heart { position: absolute; bottom: 6px; left: 50%; margin-left: -15px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #ff202b; color: #fff; font-size: 15px; box-shadow: 0 0 18px rgba(255, 32, 43, .9); animation: rzdonBeat 1.2s ease-in-out infinite; }
.rzdon-k { margin: 0; font: 800 12px/1.3 Inter, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #ffb3b8; }
.rzdon h2 { margin: 8px 0 12px; font: italic 900 38px/1 Inter, sans-serif; letter-spacing: -.04em; }
.rzdon h2 span { color: #ff202b; text-shadow: 0 0 22px rgba(255, 32, 43, .6); }
.rzdon-t { margin: 0 0 10px; font-size: 15px; line-height: 1.5; color: #eadfe3; }
.rzdon-list { list-style: none; margin: 14px 0 18px; padding: 0; display: grid; gap: 8px; text-align: left; }
.rzdon-list li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: 14px; font-weight: 600; opacity: 0; transform: translateX(-12px); }
.rzdon.on .rzdon-list li { animation: rzdonIn .4s ease forwards; }
.rzdon.on .rzdon-list li:nth-child(1) { animation-delay: .25s; }
.rzdon.on .rzdon-list li:nth-child(2) { animation-delay: .38s; }
.rzdon.on .rzdon-list li:nth-child(3) { animation-delay: .51s; }
.rzdon-list b { flex: none; font-size: 18px; }
.rzdon-cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 17px 20px; border-radius: 18px; text-decoration: none; color: #1b1300;
  background: linear-gradient(180deg, #ffd56a, #f0ac1c); font: 900 20px/1 Inter, sans-serif; letter-spacing: -.01em; box-shadow: 0 10px 34px rgba(255, 194, 58, .45); animation: rzdonPulse 2.2s ease-in-out infinite; }
.rzdon-cta svg { width: 22px; height: 22px; }
.rzdon-cta::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60px; left: -80px; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent); transform: skewX(-18deg); animation: rzdonShine 2.8s ease-in-out infinite 1s; }
.rzdon-cta:focus-visible, .rzdon-row button:focus-visible, .rzdon-x:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.rzdon-small { margin: 10px 0 4px; font-size: 12px; color: #a99ea6; }
.rzdon-row { display: flex; justify-content: center; gap: 6px; }
.rzdon-row button { appearance: none; border: 0; background: none; color: #c9bfc6; font: 600 13px/1 Inter, sans-serif; padding: 10px 12px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.rzdon-notes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; border-radius: inherit; }
.rzdon-notes i { position: absolute; bottom: -30px; left: calc(8% + var(--i) * 16%); font-style: normal; font-size: 20px; color: rgba(255, 194, 58, .35); animation: rzdonNote 6s linear infinite; animation-delay: calc(var(--i) * -1s); }
@keyframes rzdonFloat { 50% { transform: translateY(-5px); } }
@keyframes rzdonBeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.15); } }
@keyframes rzdonPulse { 50% { box-shadow: 0 10px 48px rgba(255, 194, 58, .75); } }
@keyframes rzdonShine { 0% { left: -80px; } 45%, 100% { left: 110%; } }
@keyframes rzdonIn { to { opacity: 1; transform: none; } }
@keyframes rzdonNote { 0% { transform: translateY(0) rotate(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-560px) rotate(25deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .rzdon-card, .rzdon-bg { transition: none; }
  .rzdon-crown svg, .rzdon-heart, .rzdon-cta, .rzdon-cta::after, .rzdon-notes i { animation: none; }
  .rzdon-list li { opacity: 1; transform: none; animation: none !important; }
}
