/* ---------------------------------------------------------------- baús na tela de Recrutar */
.tc-bau .arte { height: 190px; position: relative; overflow: visible; background: radial-gradient(ellipse at 50% 70%, rgba(var(--bxc, 74, 163, 255), .38), transparent 68%); }
.tc-bau.bau-basico { --bxc: 74, 163, 255; } .tc-bau.bau-premium { --bxc: 255, 190, 70; }
.tc-bau .arte img.bau-img { width: min(78%, 260px); height: auto; max-height: 100%; object-fit: contain; filter: drop-shadow(0 12px 22px rgba(0,0,0,.65)) drop-shadow(0 0 18px rgba(var(--bxc), .45)); animation: bau-flutua 3.6s ease-in-out infinite; transition: transform .25s; }
.tc-bau:hover .arte img.bau-img { transform: scale(1.06) rotate(-1.2deg); }
@keyframes bau-flutua { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@media (prefers-reduced-motion: reduce) { .tc-bau .arte img.bau-img { animation: none; } }

/* ---------------------------------------------------------------- abertura (tela cheia) */
.bx-stage { position: fixed; inset: 0; z-index: 300; overflow: hidden; color: #fff; font-family: Inter, system-ui, sans-serif; opacity: 0; transition: opacity .3s; --bx: 74, 163, 255; --rc: var(--bx); user-select: none; }
.bx-stage.entra { opacity: 1; } .bx-stage.saindo { opacity: 0; }
.bx-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 62%, rgba(var(--bx), .22), transparent 55%), radial-gradient(ellipse at 50% 50%, #0a1426 0%, #02050c 85%); }
.bx-rays { position: absolute; left: 50%; top: 71%; width: 190vmax; height: 190vmax; margin: -95vmax 0 0 -95vmax; opacity: 0; transition: opacity .6s;
  background: repeating-conic-gradient(from 0deg, rgba(var(--rc), .26) 0deg 5deg, transparent 5deg 15deg); -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 38%); mask-image: radial-gradient(circle, #000 0%, transparent 38%); animation: bx-gira 28s linear infinite; }
.bx-stage.explode .bx-rays { opacity: 1; }
@keyframes bx-gira { to { transform: rotate(360deg); } }
.bx-glow { position: absolute; left: 50%; top: 71%; width: min(90vw, 760px); height: min(90vw, 760px); margin: calc(min(90vw, 760px) / -2) 0 0 calc(min(90vw, 760px) / -2); border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--bx), .55), rgba(var(--bx), .12) 45%, transparent 68%); opacity: .35; transform: scale(.55); animation: bx-pulsa 1.1s ease-in-out infinite; }
.bx-stage.carga2 .bx-glow { opacity: .6; transform: scale(.8); animation-duration: .6s; } .bx-stage.carga3 .bx-glow { opacity: .95; animation-duration: .3s; }
.bx-stage.explode .bx-glow { animation: none; opacity: .9; transform: scale(1.25); transition: transform 1s, opacity 1s; background: radial-gradient(circle, rgba(var(--rc), .6), rgba(var(--rc), .14) 45%, transparent 68%); }
@keyframes bx-pulsa { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.45); } }

.bx-chest-wrap { position: absolute; left: 50%; top: 71%; width: min(46vw, 380px); aspect-ratio: 1.5; translate: -50% -50%; }
.bx-chest { position: absolute; inset: 0; transform-origin: 50% 90%; }
.bx-chest img { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; filter: drop-shadow(0 18px 28px rgba(0,0,0,.7)); }
.bx-chest img.aberto { width: 87%; left: 6.5%; opacity: 0; }
.bx-stage.explode .bx-chest img.fechado { opacity: 0; } .bx-stage.explode .bx-chest img.aberto { opacity: 1; }
.bx-stage.explode .bx-chest { animation: bx-pop .6s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes bx-pop { 0% { transform: scale(.9); } 100% { transform: scale(1); } }
.bx-chest.s1 { animation: bx-t1 .16s linear infinite; } .bx-chest.s2 { animation: bx-t2 .1s linear infinite; } .bx-chest.s3 { animation: bx-t3 .06s linear infinite; }
@keyframes bx-t1 { 0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(-2px, 1px) rotate(-.7deg); } 75% { transform: translate(2px, -1px) rotate(.7deg); } }
@keyframes bx-t2 { 0%, 100% { transform: translate(0, 0) rotate(0) scale(1.01); } 25% { transform: translate(-5px, 2px) rotate(-1.8deg) scale(1.02); } 50% { transform: translate(4px, -2px) rotate(1.4deg) scale(1.01); } 75% { transform: translate(-3px, -1px) rotate(-1deg) scale(1.02); } }
@keyframes bx-t3 { 0%, 100% { transform: translate(0, 0) rotate(0) scale(1.04); filter: brightness(1.3); } 25% { transform: translate(-9px, 3px) rotate(-3deg) scale(1.06); } 50% { transform: translate(8px, -4px) rotate(2.6deg) scale(1.04); filter: brightness(1.8); } 75% { transform: translate(-6px, -2px) rotate(-2deg) scale(1.06); } }
.bx-charge { position: absolute; inset: -30% -20%; pointer-events: none; }
.bx-charge i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(var(--bx), .8); opacity: 0; animation: bx-carga 1.3s ease-in infinite; }
.bx-charge i:nth-child(2) { animation-delay: .43s; } .bx-charge i:nth-child(3) { animation-delay: .86s; }
.bx-stage.explode .bx-charge { display: none; }
@keyframes bx-carga { 0% { transform: scale(1.3); opacity: 0; } 30% { opacity: .85; } 100% { transform: scale(.35); opacity: 0; } }
.bx-beam { position: absolute; left: 50%; bottom: 40%; width: 36%; height: 120vh; translate: -50% 0; opacity: 0; transform-origin: 50% 100%; background: linear-gradient(0deg, rgba(var(--rc), .95), rgba(var(--rc), .25) 40%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%, #000 65%, transparent); mask-image: linear-gradient(90deg, transparent, #000 35%, #000 65%, transparent); filter: blur(6px); mix-blend-mode: screen; }
.bx-stage.explode .bx-beam { animation: bx-feixe 1.5s ease-out forwards; }
@keyframes bx-feixe { 0% { opacity: 0; transform: scaleY(.1) scaleX(.5); } 12% { opacity: 1; transform: scaleY(1) scaleX(1); } 100% { opacity: .22; transform: scaleY(1) scaleX(.55); } }
.bx-ring { position: absolute; left: 50%; top: 40%; width: 30%; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; border: 4px solid rgba(var(--rc), .9); box-shadow: 0 0 40px rgba(var(--rc), .8), inset 0 0 40px rgba(var(--rc), .6); opacity: 0; }
.bx-stage.explode .bx-ring { animation: bx-onda 1.1s ease-out forwards; } .bx-stage.explode .bx-ring.r2 { animation-delay: .18s; border-width: 2px; }
@keyframes bx-onda { 0% { transform: scale(.2); opacity: 1; } 100% { transform: scale(7); opacity: 0; } }
.bx-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.bx-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; mix-blend-mode: screen; }
.bx-stage.explode .bx-flash { animation: bx-clarao .9s ease-out; }
@keyframes bx-clarao { 0% { opacity: 0; } 8% { opacity: .95; } 100% { opacity: 0; } }
.bx-stage.explode { animation: bx-treme .5s linear; }
@keyframes bx-treme { 0%, 100% { translate: 0 0; } 15% { translate: -8px 5px; } 30% { translate: 7px -6px; } 45% { translate: -5px -4px; } 60% { translate: 5px 3px; } 80% { translate: -2px 1px; } }
.bx-stage.pulso .bx-flash { animation: bx-clarao2 .8s ease-out; background: rgb(var(--rc)); }
@keyframes bx-clarao2 { 0% { opacity: 0; } 12% { opacity: .42; } 100% { opacity: 0; } }

.bx-topo { position: absolute; left: 0; right: 0; top: 4vh; text-align: center; pointer-events: none; padding: 0 12px; }
.bx-topo h2 { margin: 0; font: 400 clamp(30px, 6vw, 56px)/1 'Bebas Neue', sans-serif; letter-spacing: .08em; color: #fff; text-shadow: 0 0 22px rgba(var(--bx), .9); }
.bx-sub { margin: 6px 0 0; color: #c8d8f0; font-size: clamp(13px, 2.2vw, 17px); letter-spacing: .04em; min-height: 1.3em; }
.bx-cartas { position: absolute; left: 0; right: 0; top: 17vh; display: flex; justify-content: center; align-items: flex-start; gap: clamp(8px, 1.6vw, 20px); padding: 0 2vw; perspective: 1400px; }
.bx-card { width: clamp(92px, 17vw, 190px); aspect-ratio: .72; opacity: 0; cursor: pointer; }
.bx-cartas.n1 .bx-card { width: clamp(180px, 34vw, 300px); }
.bx-card.sobe { animation: bx-sobe .85s cubic-bezier(.2, 1.35, .35, 1) both; }
@keyframes bx-sobe { 0% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.15) rotate(-18deg); } 25% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.bx-card .in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .75s cubic-bezier(.3, 1.3, .4, 1); }
.bx-card.vira .in { transform: rotateY(180deg); }
.bx-card .costas, .bx-card .frente { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 12px; overflow: hidden; }
.bx-card .costas { display: grid; place-items: center; border: 2px solid rgb(var(--rc)); background: radial-gradient(circle at 50% 40%, rgba(var(--rc), .5), #0a1426 75%); box-shadow: 0 0 22px rgba(var(--rc), .55); }
.bx-card .costas span { font-size: clamp(34px, 7vw, 64px); color: rgb(var(--rc)); text-shadow: 0 0 18px rgb(var(--rc)); animation: bx-brilha 1.2s ease-in-out infinite; }
@keyframes bx-brilha { 50% { opacity: .55; transform: scale(.9); } }
.bx-card .frente { transform: rotateY(180deg); border: 2px solid rgb(var(--rc)); background: linear-gradient(180deg, rgba(var(--rc), .26), #08152b 70%); box-shadow: 0 0 26px rgba(var(--rc), .7), inset 0 0 22px rgba(var(--rc), .25); padding: 8px; display: flex; flex-direction: column; }
.bx-card.vira.r-lendario .frente, .bx-card.vira.r-mitico .frente { animation: bx-aura 1.6s ease-in-out infinite; }
@keyframes bx-aura { 50% { box-shadow: 0 0 46px rgba(var(--rc), 1), inset 0 0 30px rgba(var(--rc), .45); } }
.bx-card .frente .tc-mini { flex: 1; } .bx-card .frente .tc-mini .foto { aspect-ratio: auto; flex: 1; min-height: 0; }
.bx-card .frente .faixa { text-align: center; font-weight: 800; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--rc)); margin-bottom: 6px; }
.bx-card .frente .tc-mudo { display: block; text-align: center; margin-top: 4px; font-size: 11px; color: #ffd98a; }
.bx-rodape { position: absolute; left: 0; right: 0; bottom: 5vh; display: flex; justify-content: center; gap: 12px; }
.bx-btn { font: 700 14px Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; padding: 11px 22px; background: rgba(8, 17, 36, .7); color: #cfe0fa; border: 1px solid #2a4a7c; border-radius: 4px; cursor: pointer; }
.bx-btn.ouro { background: linear-gradient(180deg, #f8dc7a, #d9a82b); color: #140f02; border-color: #f5cf5a; box-shadow: 0 0 22px rgba(245, 207, 90, .5); animation: bx-pop2 .5s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes bx-pop2 { from { transform: scale(.6); opacity: 0; } }
.bx-btn[hidden] { display: none; }
.bx-som { position: absolute; right: 14px; top: 12px; background: rgba(8, 17, 36, .6); border: 1px solid #2a4a7c; color: #fff; border-radius: 50%; width: 38px; height: 38px; cursor: pointer; font-size: 17px; }
@media (max-width: 640px) { .bx-cartas { top: 20vh; gap: 5px; } .bx-card { width: 18.5vw; } .bx-card .frente { padding: 4px; } .bx-card .frente .inf b { font-size: 11px; } .bx-card .frente .inf small { display: none; } .bx-chest-wrap { top: 70%; width: 70vw; } }
@media (prefers-reduced-motion: reduce) { .bx-stage, .bx-stage * { animation-duration: .01s !important; animation-iteration-count: 1 !important; } }
