/* ═══════════════════════════════════════════════════════════════════════
   aurea-collections.css — AUREA : collections, combos, coffres, cérémonie.
   Réutilise les variables d'akasha.page.css (--gold2, --text3, --border, --violet*).
   Sobre : pas de compte à rebours, pas de roue, pas de fausse urgence.
   ═══════════════════════════════════════════════════════════════════════ */

#aureaPremiumBar[hidden], .ac-chest-modal [hidden], .ac-prem-modal [hidden] { display: none !important; }
#aureaPremiumBar { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; justify-content: center; margin: 0 auto 14px; max-width: 880px;
  padding: 10px 16px; border: 1px solid rgba(237,212,140,.28); border-radius: 12px; background: rgba(237,212,140,.05); text-align: center; }
#aureaPremiumBar .apb-t { font-family: 'Cinzel', 'Cinzel Fallback', 'Cinzel Fallback A', serif; letter-spacing: 3px; font-size: 11px; color: var(--gold2, #edd48c); }
#aureaPremiumBar .apb-d { font-size: 12px; color: var(--text3, #ac9ccb); }
#aureaPremiumBar .apb-a { font-size: 11px; letter-spacing: 1px; color: var(--gold2, #edd48c); text-decoration: underline; text-underline-offset: 3px; }

/* ── vues ── */
.ac-intro { text-align: center; margin: 4px auto 18px; max-width: 640px; }
.ac-intro h3 { font-family: 'Cinzel', 'Cinzel Fallback', 'Cinzel Fallback A', serif; letter-spacing: 3px; font-size: 14px; color: var(--gold2, #edd48c); text-transform: uppercase; margin: 0 0 6px; }
.ac-intro p { font-size: 13px; color: var(--text3, #ac9ccb); line-height: 1.6; margin: 0; }
.ac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 18px; }
.ac-empty { text-align: center; padding: 40px 16px; color: var(--text3, #ac9ccb); }
.ac-empty-i { font-size: 34px; opacity: .35; margin-bottom: 8px; }
.ac-none { font-size: 12.5px; color: var(--text3, #ac9ccb); margin: 4px 0 0; }
.ac-note { font-size: 11.5px; color: var(--text3, #ac9ccb); margin: 10px 0 0; }

/* ── carte de collection ── */
.ac-col { position: relative; overflow: hidden; border: 1px solid var(--border, #372b6e); border-radius: 16px; padding: 18px 16px 16px;
  background: linear-gradient(160deg, rgba(20,12,44,.92), rgba(8,6,22,.96)); }
.ac-col.complete { border-color: rgba(237,212,140,.55); box-shadow: 0 0 28px rgba(237,212,140,.12); }
.ac-cover { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .12; pointer-events: none; }
.ac-col > * { position: relative; }
.ac-head h3 { font-family: 'Cinzel', 'Cinzel Fallback', 'Cinzel Fallback A', serif; font-size: 17px; letter-spacing: 2px; color: var(--gold2, #edd48c); margin: 8px 0 4px; }
.ac-desc { font-size: 12.5px; color: var(--text3, #ac9ccb); margin: 0 0 4px; line-height: 1.55; }
.ac-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ac-tag { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--border, #372b6e); color: var(--text3, #ac9ccb); }
.ac-tag-lim { color: #ffcf8a; border-color: rgba(255,207,138,.45); }
.ac-tag-end { color: #ff9a9a; border-color: rgba(255,154,154,.4); }

.ac-prog { display: flex; align-items: center; gap: 12px; margin: 12px 0 10px; }
.ac-prog b { font-family: 'Cinzel', 'Cinzel Fallback', 'Cinzel Fallback A', serif; font-size: 15px; color: var(--gold2, #edd48c); white-space: nowrap; }
.ac-bar { flex: 1; height: 8px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.ac-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #7a45c0, #edd48c); transition: width .8s ease; }
.ac-bar.sm { height: 5px; margin-top: 6px; }

.ac-reqs { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ac-req { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; background: rgba(255,255,255,.03); }
.ac-req.miss { opacity: .72; }
.ac-req.have { background: rgba(237,212,140,.06); }
.ac-req-n { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; }
.ac-req-n small { font-size: 10.5px; color: var(--text3, #ac9ccb); }
.ac-dup { font-size: 10.5px; font-style: normal; color: #8fd4ff; white-space: nowrap; }
.ac-thumb { position: relative; flex: 0 0 auto; width: 40px; height: 54px; border-radius: 7px; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: #0d0a1c; }
.ac-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ac-miss { margin-top: 12px; display: grid; gap: 8px; }
.ac-miss p { margin: 0; font-size: 13px; color: var(--gold2, #edd48c); font-style: italic; }
.ac-rw-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 16px 0 6px; font-family: 'Cinzel', 'Cinzel Fallback', 'Cinzel Fallback A', serif; letter-spacing: 2px; font-size: 11px; color: var(--text3, #ac9ccb); text-transform: uppercase; }
.ac-rws { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ac-rw { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--border, #372b6e); }
.ac-rw.major { border-color: rgba(237,212,140,.45); background: rgba(237,212,140,.05); }
.ac-rw.done { opacity: .7; }
.ac-rw-t { font-family: 'Cinzel', 'Cinzel Fallback', 'Cinzel Fallback A', serif; font-size: 12px; color: var(--text3, #ac9ccb); min-width: 34px; }
.ac-rw-l { flex: 1; display: flex; flex-direction: column; font-size: 13px; }
.ac-rw-l i { font-size: 10px; font-style: normal; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold2, #edd48c); }
.ac-rw-l small { font-size: 10.5px; color: var(--text3, #ac9ccb); }
.ac-rw-ok { font-size: 11.5px; color: #86e0a8; }
.ac-rw-lock { font-size: 11px; color: var(--text3, #ac9ccb); white-space: nowrap; }

/* ── boutons ── */
.ac-btn { font-family: 'Cinzel', 'Cinzel Fallback', 'Cinzel Fallback A', serif; font-size: 10.5px; letter-spacing: 1.5px; padding: 8px 12px; border-radius: 9px; cursor: pointer;
  color: var(--text2, #d6c9ee); background: rgba(255,255,255,.04); border: 1px solid var(--border, #372b6e); transition: border-color .2s, background .2s; }
.ac-btn:hover:not(:disabled) { border-color: var(--violet3, #bd8fe8); background: rgba(189,143,232,.1); }
.ac-btn:disabled { opacity: .45; cursor: default; }
.ac-btn-gold { color: #1a1204; background: linear-gradient(135deg, #edd48c, #c9a24c); border-color: transparent; font-weight: 700; }
.ac-btn-gold:hover:not(:disabled) { background: linear-gradient(135deg, #f6e3a6, #d8b45c); border-color: transparent; }
.ac-btn-ghost { background: transparent; }
.ac-cere-btn { margin-top: 12px; width: 100%; }

/* ── sections « Pour toi » / coffres ── */
.ac-sec { margin: 0 auto 24px; max-width: 880px; }
.ac-sec h4 { font-family: 'Cinzel', 'Cinzel Fallback', 'Cinzel Fallback A', serif; font-size: 12px; letter-spacing: 3px; color: var(--gold2, #edd48c); margin: 0 0 10px; }
.ac-list { display: grid; gap: 8px; }
.ac-mini { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--border, #372b6e); border-radius: 12px; background: rgba(255,255,255,.025); }
.ac-mini-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; font-size: 13.5px; }
.ac-mini-b small { font-size: 11.5px; color: var(--text3, #ac9ccb); line-height: 1.5; }
.ac-mini-a { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; align-items: center; }
.ac-ico { font-size: 24px; width: 40px; text-align: center; }
.ac-ach { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.ac-a { padding: 10px 12px; border: 1px solid var(--border, #372b6e); border-radius: 12px; opacity: .6; display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.ac-a small { font-size: 11px; color: var(--text3, #ac9ccb); }
.ac-a.on { opacity: 1; border-color: rgba(237,212,140,.45); }
.ac-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 4px 0 0; padding: 0; font-size: 11px; color: var(--text3, #ac9ccb); }
.ac-steps li::before { content: '\25CB  '; }
.ac-steps li.on { color: #86e0a8; } .ac-steps li.on::before { content: '\2713  '; }

.ac-odds { margin: 12px 0; text-align: left; font-size: 12.5px; }
.ac-odds-h { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text3, #ac9ccb); margin-bottom: 6px; }
.ac-odds ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ac-odds li { display: flex; gap: 8px; align-items: baseline; padding: 4px 0; border-bottom: 1px dashed rgba(255,255,255,.08); }
.ac-odds li span { flex: 1; } .ac-odds li em { font-size: 10.5px; color: var(--text3, #ac9ccb); font-style: normal; }
.ac-reveal { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 10px; }
.ac-reveal li { display: flex; align-items: center; gap: 12px; opacity: 0; transform: translateY(8px); animation: acRise .6s ease forwards; }
@keyframes acRise { to { opacity: 1; transform: none; } }

/* ── Noosphère : lien discret ── */
.ac-noo { margin-top: 14px; padding: 10px 12px; border: 1px solid rgba(237,212,140,.25); border-radius: 12px; display: grid; gap: 3px; font-size: 12.5px; }
.ac-noo-k { font-size: 10px; letter-spacing: 2px; color: var(--text3, #ac9ccb); }
.ac-noo em { font-style: normal; color: var(--gold2, #edd48c); font-size: 11.5px; }
.ac-noo button { justify-self: start; margin-top: 6px; font-family: 'Cinzel', 'Cinzel Fallback', 'Cinzel Fallback A', serif; font-size: 10px; letter-spacing: 1.5px; padding: 6px 10px; border-radius: 8px; cursor: pointer;
  color: var(--gold2, #edd48c); background: transparent; border: 1px solid rgba(237,212,140,.4); }

/* ── doublons dans « Ma Collection NFT » ── */
.nft-dup-badge { position: absolute; left: 6px; bottom: 6px; z-index: 3; font-size: 10px; letter-spacing: 1px; padding: 2px 7px; border-radius: 99px;
  background: rgba(10,6,28,.85); border: 1px solid rgba(143,212,255,.5); color: #8fd4ff; }
.ac-open-cols { display: block; margin: 0 auto 14px; }

/* ═══ SIGNATURES DE RARETÉ (miniatures de combo) ═══
   Plus qu'une bordure : halo, profondeur, matière. POLARIS est immédiatement reconnaissable
   (constellation multicolore, lumière, particules). */
.ar-commun    { box-shadow: 0 0 0 1px #4a5070aa; }
.ar-rare      { box-shadow: 0 0 0 1px #2a6ac0, 0 0 10px #2a6ac055; }
.ar-superrare { box-shadow: 0 0 0 1px #2ac07a, 0 0 12px #3ddc8444; }
.ar-mythique  { box-shadow: 0 0 0 1px #c0341a, 0 0 14px #ff5a1f55, inset 0 0 10px #ff5a1f33; }
.ar-legendaire{ box-shadow: 0 0 0 1px #d49a2a, 0 0 16px #ffb84a55, inset 0 0 12px #ffb84a30; }
.ar-legendaire::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 38%, rgba(255,240,190,.35) 50%, transparent 62%) -140% 0/260% 100% no-repeat; animation: arSheen 3.6s ease-in-out infinite; pointer-events: none; }
.ar-primordiale { box-shadow: 0 0 0 1px #8a4aff, 0 0 18px #a878ff66, inset 0 0 14px #8a4aff44; animation: arPulse 3.2s ease-in-out infinite; }
.ar-polaristar { box-shadow: 0 0 0 1px #fff, 0 0 20px #ffffff66, 0 0 34px #8a6aff55; }
.ar-polaristar::before { content: ''; position: absolute; inset: -40%; z-index: 0; pointer-events: none; opacity: .5; mix-blend-mode: screen;
  background: conic-gradient(from 0deg, #ff3b3b, #ff9d3b, #f3ff3b, #3bff57, #3bd4ff, #6a3bff, #ff3bd0, #ff3b3b); animation: arSpin 7s linear infinite; }
.ar-polaristar::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(1.5px 1.5px at 20% 25%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 75% 40%, #fff 50%, transparent 52%),
              radial-gradient(1.2px 1.2px at 40% 80%, #ffe9b8 50%, transparent 52%), radial-gradient(1.2px 1.2px at 85% 85%, #fff 50%, transparent 52%);
  animation: arTwinkle 2.4s ease-in-out infinite; }
.ar-polaristar > img, .ar-polaristar > span { position: relative; z-index: 1; }
@keyframes arSheen { 0%,55% { background-position: -140% 0; } 100% { background-position: 140% 0; } }
@keyframes arPulse { 50% { box-shadow: 0 0 0 1px #a878ff, 0 0 26px #a878ffaa, inset 0 0 16px #8a4aff66; } }
@keyframes arSpin { to { transform: rotate(360deg); } }
@keyframes arTwinkle { 50% { opacity: .35; } }

/* ═══ CÉRÉMONIE « COMBO ACCOMPLI » ═══ */
.ac-cere { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 16px; overflow-y: auto;
  background: radial-gradient(ellipse at 50% 40%, rgb(40,20,90), rgb(3,2,13)); opacity: 0; transition: opacity .5s ease; }
.ac-cere.go { opacity: 1; }
.ac-cere-in { width: min(100%, 460px); text-align: center; }
.ac-stage { position: relative; width: min(86vw, 380px, 52vh); aspect-ratio: 1; margin: 0 auto; }
.ac-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ac-stage line { stroke: rgba(237,212,140,.75); stroke-width: .5; stroke-linecap: round; stroke-dasharray: 60; stroke-dashoffset: 60; filter: drop-shadow(0 0 1.5px #edd48c); }
.ac-cere.go .ac-ln-r, .ac-cere.go .ac-ln-c { animation: acDraw .9s ease forwards; }
@keyframes acDraw { to { stroke-dashoffset: 0; } }
.ac-core { position: absolute; left: 50%; top: 50%; width: 17%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.2); opacity: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff3cf; background: radial-gradient(circle, rgba(255,236,170,.9), rgba(237,212,140,.25) 60%, transparent 72%); }
.ac-cere.go .ac-core { animation: acCore 1.4s 2.4s ease forwards; }
@keyframes acCore { 60% { transform: translate(-50%, -50%) scale(1.25); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; box-shadow: 0 0 50px 14px rgba(255,214,120,.45); } }
.ac-node { position: absolute; left: 50%; top: 50%; width: 17%; aspect-ratio: 3/4; margin: -11.3% 0 0 -8.5%; border-radius: 8px; overflow: hidden; background: #0d0a1c; opacity: 0; transform: scale(.3); }
.ac-node img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ac-cere.go .ac-node { animation: acNode .9s var(--d) cubic-bezier(.2,.9,.3,1.2) forwards; }
@keyframes acNode { 0% { opacity: 0; left: 50%; top: 50%; transform: scale(.3); } 100% { opacity: 1; left: var(--x); top: var(--y); transform: scale(1); } }
.ac-cere-t { opacity: 0; transform: translateY(10px); }
.ac-cere.go .ac-cere-t { animation: acRise .8s 3s ease forwards; }
.ac-cere-t h2 { font-family: 'Cinzel Decorative', 'Cinzel', 'Cinzel Fallback', 'Cinzel Fallback A', serif; font-size: clamp(22px, 5vw, 30px); letter-spacing: 6px; color: #fff3cf; margin: 18px 0 4px; text-shadow: 0 0 24px rgba(255,214,120,.55); }
.ac-cere-t p { margin: 0 0 14px; font-family: 'Cinzel', 'Cinzel Fallback', 'Cinzel Fallback A', serif; letter-spacing: 3px; color: var(--gold2, #edd48c); font-size: 13px; }
.ac-cere-b { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.ac-cere-res ul { list-style: none; margin: 14px 0 8px; padding: 0; display: grid; gap: 4px; font-size: 13.5px; color: #fff3cf; }

@media (prefers-reduced-motion: reduce) {
  .ac-cere, .ac-cere .ac-node, .ac-cere .ac-core, .ac-cere .ac-cere-t, .ac-stage line, .ac-reveal li, .ac-bar i { animation: none !important; transition: none !important; }
  .ac-cere .ac-node { opacity: 1; left: var(--x); top: var(--y); transform: none; }
  .ac-cere .ac-core, .ac-cere .ac-cere-t, .ac-reveal li { opacity: 1; transform: none; }
  .ac-cere .ac-core { transform: translate(-50%, -50%); }
  .ac-stage line { stroke-dashoffset: 0; }
  .ar-polaristar::before, .ar-polaristar::after, .ar-legendaire::after, .ar-primordiale { animation: none !important; }
}
@media (max-width: 520px) {
  .ac-mini { flex-wrap: wrap; } .ac-mini-a { width: 100%; justify-content: stretch; } .ac-mini-a .ac-btn { flex: 1; }
}

.ac-prem-modal a.tm-go { color: #fff; padding: 10px 18px; border-radius: 10px; font-family: 'Cinzel', 'Cinzel Fallback', 'Cinzel Fallback A', serif; font-size: 11px; letter-spacing: 2px; }
