/* ═══════════════════════════════════════════
   BOOSTER PACK OPENER — Premium Experience
   ═══════════════════════════════════════════ */

/* Page & Ambient */
.booster-page { position: relative; overflow: hidden; min-height: 80vh; }

.ambient-particles {
    position: fixed; inset: 0; pointer-events: none; z-index: 0;
}
.ambient-dot {
    position: absolute; border-radius: 50%;
    background: radial-gradient(circle, rgba(212,175,55,0.6), transparent);
    animation: ambientFloat 6s ease-in-out infinite alternate;
    opacity: 0;
}
@keyframes ambientFloat {
    0% { transform: translateY(0) scale(0.5); opacity: 0; }
    50% { opacity: 0.7; }
    100% { transform: translateY(-40px) scale(1.2); opacity: 0; }
}

/* Summoning Chamber */
.summoning-chamber { 
    position: relative; 
    z-index: 1; 
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    background: radial-gradient(ellipse at top, rgba(26, 32, 53, 0.7) 0%, rgba(10, 14, 23, 0.92) 100%) !important;
    backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 2.2rem 2rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.chamber-icon {
    position: relative; display: inline-block; margin-bottom: 0.75rem;
    font-size: 2.2rem; color: var(--accent-gold);
}
.chamber-icon-ring {
    position: absolute; inset: -10px; border: 2px solid rgba(212,175,55,0.35);
    border-radius: 50%; animation: ringPulse 3s ease-in-out infinite;
}
@keyframes ringPulse {
    0%,100% { transform: scale(1); opacity: 0.35; }
    50% { transform: scale(1.25); opacity: 0.85; filter: drop-shadow(0 0 8px rgba(212,175,55,0.6)); }
}
.chamber-subtitle { max-width: 540px; margin: 0 auto; font-style: italic; color: #94a3b8; font-size: 0.95rem; }

/* ── BENTO DASHBOARD DE RECURSOS ARCANOS ── */
.summoning-bento-grid {
    margin-top: 1.5rem;
}
.resource-card {
    position: relative;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.25rem 1.4rem;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    text-align: left;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.resource-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}
.resource-card-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    height: 100%;
}
.resource-card-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18), transparent 70%);
    pointer-events: none;
    z-index: 1;
}
.resource-card-glow.gold {
    background: radial-gradient(circle, rgba(212, 175, 55, 0.22), transparent 70%);
}
.resource-card-glow.purple {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2), transparent 70%);
}

.resource-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #60a5fa;
    flex-shrink: 0;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.1), 0 4px 12px rgba(0, 0, 0, 0.3);
}
.booster-icon-pulse {
    animation: boosterPulse 3s infinite ease-in-out;
}
@keyframes boosterPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(59, 130, 246, 0.4)); }
    50% { transform: scale(1.06); filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.8)); }
}
.points-icon-glow {
    color: var(--accent-gold);
    animation: coinGlow 3s infinite ease-in-out;
}
@keyframes coinGlow {
    0%, 100% { filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.4)); }
    50% { filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.8)); }
}

.resource-body {
    flex-grow: 1;
}
.resource-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 2px;
}
.resource-value {
    font-family: 'Cinzel', 'Marcellus', serif;
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.1;
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.resource-badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #93c5fd;
    padding: 2px 8px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}
.resource-unit {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fef08a;
}

.resource-timer-pill {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
}

.btn-buy-booster {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(184, 134, 11, 0.45) 100%);
    border: 1px solid rgba(212, 175, 55, 0.6);
    color: #ffd700;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
    transition: all 0.25s;
    text-align: center;
}
.btn-buy-booster:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.45) 0%, rgba(184, 134, 11, 0.65) 100%);
    color: #fff;
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.45);
    transform: translateY(-1px);
}
.btn-buy-booster:disabled {
    opacity: 0.45;
    border-color: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    cursor: not-allowed;
}

.btn-sanctuary-primary {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.35) 100%);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #fef08a;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-sanctuary-primary:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.35) 0%, rgba(217, 119, 6, 0.55) 100%);
    color: #fff;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.4);
    transform: translateY(-1px);
}

.btn-sanctuary-subtle {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-sanctuary-subtle:hover {
    background: rgba(51, 65, 85, 0.9);
    border-color: rgba(59, 130, 246, 0.5);
    color: #93c5fd;
}

.btn-sanctuary-danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
    font-size: 0.78rem;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s;
    cursor: pointer;
}
.btn-sanctuary-danger:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
    color: #fff;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
}

.glass-input-lg {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #fff !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    font-size: 0.95rem !important;
    transition: all 0.3s;
}
.glass-input-lg:focus {
    border-color: var(--accent-gold) !important;
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.35) !important;
    outline: none !important;
}

/* Ritual Button */
.btn-ritual-lg {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 40%, #b8860b 70%, #ffd700 100%);
    background-size: 250% 250%;
    color: #0b0e14 !important; border: none; padding: 14px 34px;
    border-radius: 12px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 1.5px; cursor: pointer; transition: all 0.4s;
    font-size: 1rem;
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.35);
}
.btn-ritual-lg:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 35px rgba(212, 175, 55, 0.6);
    background-position: right center;
}
.btn-ritual-lg:disabled {
    background: rgba(51, 65, 85, 0.5) !important;
    color: #94a3b8 !important;
    cursor: not-allowed;
    box-shadow: none;
}
.btn-ritual-content { position: relative; z-index: 2; }
.btn-ritual-shimmer {
    position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.45) 50%, transparent 60%);
    background-size: 300% 100%; animation: shimmer 3s infinite;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -100% 0; } }

/* ── QUICK SETS BAR (Últimos 5 sets abiertos) ── */
.quick-sets-container {
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 16px;
    padding: 12px 18px;
    backdrop-filter: blur(8px);
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.btn-quick-set {
    background: rgba(20, 24, 35, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #e2e8f0;
    font-size: 0.82rem;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}
.btn-quick-set:hover {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(212, 175, 55, 0.6);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
.btn-quick-set.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(184, 134, 11, 0.45) 100%);
    border-color: var(--accent-gold);
    color: #ffd700;
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.4);
    font-weight: 700;
}
.btn-quick-set.active i {
    color: #ffd700;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.7));
}
.quick-set-name {
    max-width: 170px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.quick-set-badge {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--accent-gold);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 8px;
    letter-spacing: 0.5px;
}
.btn-quick-set.active .quick-set-badge {
    background: rgba(212, 175, 55, 0.35);
    border-color: rgba(255, 215, 0, 0.6);
    color: #fff;
}
.quick-set-count {
    font-size: 0.68rem;
    color: #94a3b8;
}
.btn-quick-set.active .quick-set-count {
    color: #fef08a;
}

/* ── SEALED PACK SCENE ── */
.sealed-pack-scene {
    position: relative; width: 320px; height: 460px;
    margin: 0 auto; perspective: 2000px;
}

/* Energy Orbs */
.energy-orb {
    position: absolute; border-radius: 50%; filter: blur(30px);
    animation: orbFloat 5s ease-in-out infinite alternate;
    pointer-events: none; z-index: 0;
}
.energy-orb-1 { width: 120px; height: 120px; background: rgba(138,43,226,0.3); top: -30px; left: -40px; }
.energy-orb-2 { width: 80px; height: 80px; background: rgba(212,175,55,0.3); bottom: -20px; right: -30px; animation-delay: 1.5s; }
.energy-orb-3 { width: 60px; height: 60px; background: rgba(0,210,255,0.2); top: 50%; left: -20px; animation-delay: 3s; }
@keyframes orbFloat {
    0% { transform: translate(0,0) scale(1); }
    100% { transform: translate(15px,-20px) scale(1.3); }
}

/* Floating card previews behind pack */
.floating-card-preview {
    position: absolute; width: 80px; height: 112px;
    background: url('/images/backgroundcard.jpg') center/cover;
    border-radius: 6px; border: 1px solid rgba(212,175,55,0.2);
    box-shadow: 0 5px 15px rgba(0,0,0,0.6); opacity: 0.4;
    animation: floatCard 4s ease-in-out infinite alternate;
    pointer-events: none;
}
.fc-1 { top: 40px; left: -50px; animation-delay: 0s; transform: rotate(-12deg); }
.fc-2 { top: 80px; right: -50px; animation-delay: 1.2s; transform: rotate(8deg); }
.fc-3 { bottom: 30px; left: -30px; animation-delay: 2.4s; transform: rotate(-5deg); }
@keyframes floatCard {
    0% { transform: translateY(0) rotate(var(--rot, -12deg)); }
    100% { transform: translateY(-10px) rotate(var(--rot, -12deg)); }
}

/* ═══════════════════════════════════════════
   SEALED PACK — Authentic Foil Booster Pack
   ═══════════════════════════════════════════ */
.sealed-pack {
    position: relative; width: 310px; height: 460px;
    margin: 15px auto 0; cursor: pointer; z-index: 5;
    border-radius: 14px; overflow: hidden;
    background: #090a10;
    box-shadow: 0 25px 70px rgba(0,0,0,0.95), 0 0 50px rgba(212,175,55,0.25);
    border: 1px solid rgba(212,175,55,0.4);
    transition: transform 0.5s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.4s;
    transform-style: preserve-3d;
}
.sealed-pack:hover {
    transform: scale(1.05) translateY(-8px) rotateY(6deg) rotateX(-2deg);
    box-shadow: 0 35px 90px rgba(0,0,0,0.95), 0 0 70px rgba(212,175,55,0.45);
}

/* Metallic Crimp Seams (Top & Bottom Factory Foil Seal) */
.pack-crimp-top, .pack-crimp-bottom {
    position: absolute; left: 0; right: 0; height: 26px; z-index: 10;
    background: repeating-linear-gradient(
        90deg,
        #1c1917 0px,
        #44403c 2px,
        #a8a29e 4px,
        #f5f5f4 5px,
        #78716c 7px,
        #1c1917 9px
    );
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.4), inset 0 -2px 4px rgba(0,0,0,0.8);
    display: flex; align-items: center; justify-content: center;
}
.pack-crimp-top {
    top: 0; border-bottom: 2px solid rgba(212,175,55,0.6);
}
.pack-crimp-bottom {
    bottom: 0; border-top: 2px solid rgba(212,175,55,0.6);
}

/* Hanging Punch Hole (Euro-slot) */
.pack-hang-hole {
    width: 36px; height: 9px; border-radius: 5px;
    background: rgba(0,0,0,0.85); border: 1px solid rgba(255,255,255,0.25);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.9);
}

/* Foil Layers & Hologram Shimmer */
.pack-foil-layer {
    position: absolute; inset: 0; z-index: 3;
    background: linear-gradient(135deg, transparent 25%, rgba(255,255,255,0.12) 45%, transparent 60%);
    pointer-events: none;
}
.pack-hologram-shimmer {
    position: absolute; inset: 0; z-index: 4; pointer-events: none;
    background: linear-gradient(
        125deg,
        transparent 15%,
        rgba(255, 215, 0, 0.1) 30%,
        rgba(0, 255, 255, 0.12) 45%,
        rgba(255, 0, 255, 0.1) 60%,
        transparent 75%
    );
    background-size: 250% 250%;
    animation: packHoloShine 5s ease-in-out infinite alternate;
}
@keyframes packHoloShine {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* Pack Artwork */
.pack-art { position: absolute; inset: 26px 0 26px 0; overflow: hidden; background: #0c0e17; }
.pack-art img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.7) saturate(1.4) contrast(1.1);
    transform: scale(1.05);
}
.pack-art-gradient {
    position: absolute; inset: 0;
    background: radial-gradient(circle at center, rgba(10,12,20,0.3) 0%, rgba(5,6,12,0.85) 100%),
                linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 30%, rgba(0,0,0,0.7) 80%, rgba(0,0,0,0.95) 100%);
}

/* Tear Strip Line */
.pack-tear-strip {
    position: absolute; top: 38px; left: 0; right: 0; z-index: 6; pointer-events: none;
}
.pack-tear-line {
    display: block; width: 100%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--accent-gold) 0px, var(--accent-gold) 6px, transparent 6px, transparent 10px);
    opacity: 0.6;
}

/* Content Overlay */
.pack-content-overlay {
    position: absolute; inset: 26px 0 26px 0; z-index: 7;
    display: flex; flex-direction: column; justify-content: space-between; align-items: center;
    padding: 1.25rem 1.5rem 1.5rem; text-align: center;
}
.pack-header-badge {
    font-size: 0.65rem; font-weight: 800; letter-spacing: 2px; color: var(--accent-gold);
    background: rgba(0,0,0,0.7); padding: 4px 14px; border-radius: 20px;
    border: 1px solid rgba(212,175,55,0.3); backdrop-filter: blur(4px);
}

/* Central Set Medallion */
.pack-set-medallion {
    width: 90px; height: 90px; border-radius: 50%;
    background: radial-gradient(circle, rgba(20,24,35,0.9) 0%, rgba(10,12,18,0.95) 100%);
    border: 2px solid var(--accent-gold);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 30px rgba(212,175,55,0.4), inset 0 0 15px rgba(212,175,55,0.2);
    margin: 1rem auto 0.5rem;
    transition: transform 0.4s ease;
}
.sealed-pack:hover .pack-set-medallion {
    transform: scale(1.08);
    box-shadow: 0 0 45px rgba(212,175,55,0.6), inset 0 0 20px rgba(212,175,55,0.3);
}
.pack-set-emblem {
    color: var(--accent-gold);
    filter: drop-shadow(0 0 10px rgba(212,175,55,0.8));
}

.pack-set-name {
    font-family: 'Marcellus', serif; font-size: 1.5rem; color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.9), 0 0 10px rgba(255,255,255,0.3);
    margin: 0.2rem 0;
}
.pack-set-code-badge {
    font-size: 0.75rem; font-weight: 800; letter-spacing: 3px; color: var(--accent-gold);
    background: rgba(0,0,0,0.6); padding: 3px 12px; border-radius: 12px;
    border: 1px solid rgba(212,175,55,0.35);
}

/* CTA Open Button */
.pack-open-button {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    color: #000; font-weight: 800; font-size: 0.85rem; letter-spacing: 1.5px;
    padding: 10px 24px; border-radius: 25px;
    box-shadow: 0 4px 20px rgba(245,158,11,0.5), 0 0 15px rgba(212,175,55,0.4);
    display: inline-flex; align-items: center; justify-content: center;
    animation: openBtnPulse 2.2s infinite;
    cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
}
.sealed-pack:hover .pack-open-button {
    transform: scale(1.06);
    box-shadow: 0 6px 28px rgba(245,158,11,0.7), 0 0 25px rgba(255,215,0,0.6);
}
.pack-cta-subhint {
    font-size: 0.7rem; color: rgba(255,255,255,0.6);
    margin-top: 6px; letter-spacing: 0.5px;
}
@keyframes openBtnPulse {
    0%,100% { box-shadow: 0 4px 18px rgba(245,158,11,0.45); }
    50% { box-shadow: 0 4px 30px rgba(245,158,11,0.8), 0 0 20px rgba(255,255,255,0.5); }
}

/* Pack Animations */
.pack-charging {
    animation: packCharge 0.6s ease-out forwards;
}
@keyframes packCharge {
    0% { transform: scale(1); box-shadow: 0 20px 60px rgba(0,0,0,0.9); }
    50% { transform: scale(1.08); box-shadow: 0 20px 60px rgba(0,0,0,0.9), 0 0 50px rgba(212,175,55,0.5); }
    100% { transform: scale(1.12); box-shadow: 0 20px 60px rgba(0,0,0,0.9), 0 0 80px rgba(212,175,55,0.8); }
}
.pack-tearing {
    animation: packTear 0.5s ease-in forwards;
}
@keyframes packTear {
    0% { transform: scale(1.12); clip-path: inset(0); filter: brightness(1); }
    40% { filter: brightness(3); }
    100% { transform: scale(1.5); clip-path: inset(50% 0); opacity: 0; filter: brightness(5); }
}

.tear-effect {
    position: absolute; inset: 0; z-index: 10; pointer-events: none;
    background: linear-gradient(0deg, transparent 45%, rgba(255,255,255,0.9) 50%, transparent 55%);
    opacity: 0; transition: opacity 0.2s;
}
.tear-effect.active { opacity: 1; animation: tearFlash 0.4s forwards; }
@keyframes tearFlash {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

/* Explosion Overlay */
.explosion-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: radial-gradient(circle, rgba(255,255,255,0.95), rgba(212,175,55,0.3));
    opacity: 0; pointer-events: none; transition: opacity 0.15s;
}
.explosion-overlay.active {
    opacity: 1; animation: explosionFade 0.4s ease-out forwards;
}
@keyframes explosionFade {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

/* ── PULL SUMMARY BANNER ── */
.pull-summary {
    background: radial-gradient(ellipse at center, rgba(30, 41, 59, 0.75) 0%, rgba(11, 14, 23, 0.95) 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    border-radius: 18px;
    padding: 1.25rem 2rem;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.pull-summary-inner {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1.5rem;
}
.pull-summary-set {
    display: flex; align-items: center;
}
.set-emblem-badge {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid rgba(212, 175, 55, 0.5);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    flex-shrink: 0;
}
.pull-summary-subtitle {
    font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--accent-gold); font-weight: 700;
}
.pull-summary-set h3 {
    font-family: 'Cinzel', 'Marcellus', serif; color: #fff; font-size: 1.45rem; font-weight: 700;
    letter-spacing: 1px; display: flex; align-items: center; gap: 10px;
}
.badge-set-pill {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem; font-weight: 800; background: rgba(0,0,0,0.6);
    border: 1px solid rgba(212, 175, 55, 0.5); color: #ffd700;
    padding: 2px 8px; border-radius: 6px; letter-spacing: 0.5px;
}

.pull-summary-stats { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.pull-stat {
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 10px 18px; border-radius: 14px; min-width: 80px;
    background: rgba(15, 23, 42, 0.8); border: 1px solid rgba(255,255,255,0.12);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: transform 0.25s, box-shadow 0.25s;
}
.pull-stat:hover {
    transform: translateY(-2px);
}
.pull-stat-glow {
    position: absolute; inset: 0; pointer-events: none; opacity: 0.15;
}
.pull-stat-count { 
    font-family: 'Cinzel', 'Marcellus', serif;
    font-size: 1.7rem; font-weight: 800; line-height: 1; z-index: 2;
}
.pull-stat-label { 
    font-size: 0.68rem; font-weight: 700; text-transform: uppercase; 
    letter-spacing: 1px; margin-top: 4px; z-index: 2;
}

.pull-stat.mythic { 
    border-color: rgba(255, 87, 34, 0.6); 
    background: linear-gradient(180deg, rgba(255, 87, 34, 0.25) 0%, rgba(15, 23, 42, 0.9) 100%);
    box-shadow: 0 4px 20px rgba(255, 87, 34, 0.35);
}
.pull-stat.mythic .pull-stat-count { color: #ff6e40; text-shadow: 0 0 12px rgba(255, 87, 34, 0.8); }
.pull-stat.mythic .pull-stat-label { color: #ffccbc; }

.pull-stat.rare { 
    border-color: rgba(212, 175, 55, 0.6); 
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.25) 0%, rgba(15, 23, 42, 0.9) 100%);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
}
.pull-stat.rare .pull-stat-count { color: #ffd700; text-shadow: 0 0 12px rgba(255, 215, 0, 0.8); }
.pull-stat.rare .pull-stat-label { color: #fef08a; }

.pull-stat.uncommon { 
    border-color: rgba(148, 163, 184, 0.45);
    background: linear-gradient(180deg, rgba(148, 163, 184, 0.2) 0%, rgba(15, 23, 42, 0.9) 100%);
}
.pull-stat.uncommon .pull-stat-count { color: #e2e8f0; }
.pull-stat.uncommon .pull-stat-label { color: #cbd5e1; }

.pull-stat.common { 
    border-color: rgba(71, 85, 105, 0.4);
    background: linear-gradient(180deg, rgba(71, 85, 105, 0.15) 0%, rgba(15, 23, 42, 0.9) 100%);
}
.pull-stat.common .pull-stat-count { color: #94a3b8; }
.pull-stat.common .pull-stat-label { color: #64748b; }

/* ── REVEAL ACTION BUTTONS ── */
.reveal-actions {
    margin: 1.5rem 0 2rem;
}
.btn-reveal-action {
    background: rgba(30, 41, 59, 0.7); 
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #e2e8f0; padding: 10px 22px; border-radius: 24px;
    font-size: 0.84rem; font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer;
    backdrop-filter: blur(8px);
}
.btn-reveal-action:hover {
    background: rgba(51, 65, 85, 0.9); border-color: rgba(212, 175, 55, 0.5);
    color: #ffd700; transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.btn-reveal-action-gold {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.35) 0%, rgba(184, 134, 11, 0.5) 100%);
    border: 1px solid rgba(255, 215, 0, 0.6); color: #fff;
    padding: 10px 24px; border-radius: 24px; font-size: 0.86rem; font-weight: 700;
    transition: all 0.3s; cursor: pointer;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.4);
}
.btn-reveal-action-gold:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.55) 0%, rgba(184, 134, 11, 0.75) 100%);
    box-shadow: 0 6px 26px rgba(212, 175, 55, 0.65); transform: translateY(-2px) scale(1.02);
    color: #fff;
}

.btn-ritual-action {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.25) 0%, rgba(79, 70, 229, 0.35) 100%);
    border: 1px solid rgba(168, 85, 247, 0.5);
    color: #e9d5ff !important;
    padding: 10px 22px;
    border-radius: 24px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(138, 43, 226, 0.3);
}
.btn-ritual-action:hover {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.45) 0%, rgba(79, 70, 229, 0.55) 100%);
    color: #fff !important;
    box-shadow: 0 6px 22px rgba(138, 43, 226, 0.5);
    transform: translateY(-2px);
}

/* ── BOOSTER CARDS GRID (Centrado y Simétrico) ── */
.booster-cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 2.2rem 1.4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 0.5rem 3rem;
}

/* Card Slot */
.booster-card-slot {
    width: 232px; 
    height: 382px; 
    perspective: 1200px;
    -webkit-perspective: 1200px;
    opacity: 1 !important; transform: none !important;
    visibility: visible !important;
    position: relative;
    margin-top: 14px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.booster-card-slot:hover {
    transform: translateY(-6px);
    z-index: 10;
}
.booster-card-slot.entered {
    opacity: 1 !important; transform: none !important;
    visibility: visible !important;
}
.booster-card-slot.hero-slot { order: unset; }

/* Floating Badges ABOVE the Card (Joyas Flotantes) */
.card-floating-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%) scale(0.85);
    z-index: 25; padding: 4px 14px; border-radius: 20px;
    font-size: 0.72rem; font-weight: 800; letter-spacing: 0.8px;
    white-space: nowrap; pointer-events: none;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease 0.2s, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s, visibility 0.35s 0.2s;
}

.booster-card-slot.is-revealed .card-floating-badge,
.booster-card-slot:has(.booster-card-flipper.is-flipped) .card-floating-badge {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.badge-is-new {
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #f59e0b 100%);
    color: #fff; 
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 18px rgba(244, 63, 94, 0.75), 0 0 10px rgba(245, 158, 11, 0.5);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.booster-card-slot.is-revealed .badge-is-new,
.booster-card-slot:has(.booster-card-flipper.is-flipped) .badge-is-new {
    animation: newBadgePulse 2.5s infinite 0.8s;
}

.badge-is-playset {
    background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #fbbf24 100%);
    color: #000; border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.5);
}
.badge-is-qty {
    background: rgba(15, 23, 42, 0.9); color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(6px);
}
@keyframes newBadgePulse {
    0%,100% { transform: translateX(-50%) scale(1); box-shadow: 0 4px 16px rgba(244, 63, 94, 0.6); }
    50% { transform: translateX(-50%) scale(1.05); box-shadow: 0 6px 22px rgba(244, 63, 94, 0.85), 0 0 12px rgba(245, 158, 11, 0.6); }
}

/* Flipper */
.booster-card-flipper {
    position: relative; width: 100%; height: 100%;
    transition: transform 0.8s cubic-bezier(0.175,0.885,0.32,1.275);
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    cursor: pointer;
}
.booster-card-flipper.is-flipped { 
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
}

.booster-card-back, .booster-card-front {
    position: absolute; inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 12px;
}

/* Card Back */
.booster-card-back {
    background: #0a0a0a; border: 2px solid rgba(212,175,55,0.25);
    border-radius: 12px;
    z-index: 1;
    overflow: hidden;
}
.card-back-design { position: relative; width: 100%; height: 100%; }
.card-back-design img { width: 100%; height: 100%; object-fit: cover; }
.card-back-vignette {
    position: absolute; inset: 0;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.8);
}
.card-back-number {
    position: absolute; bottom: 8px; right: 10px;
    font-size: 0.7rem; color: rgba(255,255,255,0.3);
    font-weight: 600;
}
.card-back-rarity-hint {
    position: absolute; top: 10px; right: 10px;
    width: 22px; height: 22px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.6rem; animation: hintPulse 2s infinite;
}
.card-back-rarity-hint.mythic { color: #ff4500; background: rgba(255,69,0,0.15); }
.card-back-rarity-hint.rare { color: var(--accent-gold); background: rgba(212,175,55,0.15); }
@keyframes hintPulse {
    0%,100% { box-shadow: 0 0 5px currentColor; }
    50% { box-shadow: 0 0 15px currentColor; }
}

/* Card Front */
.booster-card-front { 
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    z-index: 2;
}

.booster-card-inner-front {
    position: relative; width: 100%; height: 100%;
    background: #0b0c13; border-radius: 12px; overflow: hidden;
    display: flex; flex-direction: column;
    border: 2px solid rgba(255,255,255,0.1);
    transition: box-shadow 0.3s, transform 0.3s;
}
.booster-card-slot:hover .booster-card-inner-front {
    transform: translateY(-4px);
}

/* Rarity borders */
.mythic-border {
    border-color: #ff5722 !important;
    box-shadow: 0 0 22px rgba(255,87,34,0.55), 0 0 50px rgba(255,87,34,0.2);
}
.rare-border {
    border-color: var(--accent-gold) !important;
    box-shadow: 0 0 20px rgba(212,175,55,0.45), 0 0 45px rgba(212,175,55,0.15);
}
.uncommon-border {
    border-color: #64748b !important;
    box-shadow: 0 0 12px rgba(100,116,139,0.3);
}
.common-border {
    border-color: rgba(255,255,255,0.08) !important;
}

/* Prismatic & Golden BGs */
.mythic-prismatic-bg {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(135deg,
        rgba(255,69,0,0.1) 0%, rgba(255,165,0,0.05) 25%,
        rgba(255,69,0,0.08) 50%, rgba(255,0,100,0.05) 75%, rgba(255,69,0,0.1) 100%);
    animation: prismaticShift 4s ease-in-out infinite alternate;
}
@keyframes prismaticShift {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(30deg); }
}
.rare-golden-bg {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(135deg, rgba(212,175,55,0.06) 0%, transparent 50%, rgba(212,175,55,0.06) 100%);
}

/* Card Art Area — Clean and Unobstructed */
.card-art-wrapper {
    position: relative; height: 308px; width: 100%; overflow: hidden;
    background: #000; display: flex; align-items: center; justify-content: center;
}
.booster-card-art {
    width: 100%; height: 100%; object-fit: contain;
    border-radius: 8px; transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.booster-card-slot:hover .booster-card-art {
    transform: scale(1.02);
}

.card-zoom-indicator {
    position: absolute; bottom: 8px; right: 8px;
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(0, 0, 0, 0.7); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; opacity: 0; transition: opacity 0.2s;
    pointer-events: none; border: 1px solid rgba(255, 255, 255, 0.2);
}
.booster-card-slot:hover .card-zoom-indicator {
    opacity: 1;
}

.no-art-placeholder {
    display: flex; align-items: center; justify-content: center;
    height: 100%; width: 100%; background: linear-gradient(45deg, #1a1a2e, #16213e);
    color: var(--text-muted);
}

/* Card Info Strip — Clean Metadata Footer (Diseño de Coleccionista) */
.card-info-strip {
    padding: 8px 12px 10px;
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.card-reveal-name {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #f8fafc !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.35;
    margin: 0;
}
.card-reveal-en-name {
    font-size: 0.68rem;
    color: #94a3b8;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 1px 0 3px;
}
.card-reveal-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    margin-top: 4px;
}
.card-rarity-pill {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 2px 7px;
    border-radius: 6px;
    text-transform: none;
}
.card-rarity-pill.mythic {
    background: rgba(255, 87, 34, 0.25); color: #ff6e40;
    border: 1px solid rgba(255, 87, 34, 0.5);
    box-shadow: 0 0 8px rgba(255, 87, 34, 0.3);
}
.card-rarity-pill.rare {
    background: rgba(212, 175, 55, 0.25); color: #ffd700;
    border: 1px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}
.card-rarity-pill.uncommon {
    background: rgba(148, 163, 184, 0.25); color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.4);
}
.card-rarity-pill.common {
    background: rgba(71, 85, 105, 0.25); color: #cbd5e1;
    border: 1px solid rgba(71, 85, 105, 0.35);
}
.card-lang-pill {
    font-size: 0.62rem; font-weight: 700; padding: 2px 6px;
    border-radius: 5px; background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0; border: 1px solid rgba(255, 255, 255, 0.15);
}
.card-reveal-number { color: #94a3b8; font-size: 0.72rem; font-weight: 600; }

/* Holographic Overlay */
.card-holographic-overlay {
    position: absolute; inset: 0; z-index: 5; pointer-events: none;
    background: linear-gradient(135deg,
        transparent 20%, rgba(255,255,255,0.03) 30%,
        rgba(255,200,100,0.06) 40%, rgba(100,200,255,0.06) 50%,
        rgba(255,100,200,0.04) 60%, transparent 70%);
    background-size: 250% 250%; opacity: 0;
    transition: opacity 0.4s;
}
.booster-card-flipper.is-flipped .card-holographic-overlay {
    opacity: 1; animation: holoShift 4s ease-in-out infinite;
}
@keyframes holoShift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

/* Card Preview Overlay (Zoom Modal) */
.card-preview-overlay {
    position: fixed; inset: 0; z-index: 99999;
    background: rgba(5, 7, 12, 0.92);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    display: none; align-items: center; justify-content: center;
    cursor: zoom-out; animation: fadeIn 0.25s ease;
}
.preview-content {
    position: relative; max-width: 90vw; max-height: 90vh;
    display: flex; flex-direction: column; align-items: center;
}
.preview-content img {
    max-width: 85vw; max-height: 82vh; border-radius: 16px;
    box-shadow: 0 0 60px rgba(0,0,0,0.95), 0 0 40px rgba(212,175,55,0.3);
    border: 2px solid rgba(255,255,255,0.2);
}
.preview-close {
    position: absolute; top: -35px; right: -20px;
    color: #fff; font-size: 2rem; cursor: pointer;
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

/* Holographic Overlay */
.card-holographic-overlay {
    position: absolute; inset: 0; z-index: 5; pointer-events: none;
    background: linear-gradient(135deg,
        transparent 20%, rgba(255,255,255,0.03) 30%,
        rgba(255,200,100,0.06) 40%, rgba(100,200,255,0.06) 50%,
        rgba(255,100,200,0.04) 60%, transparent 70%);
    background-size: 250% 250%; opacity: 0;
    transition: opacity 0.4s;
}
.booster-card-flipper.is-flipped .card-holographic-overlay {
    opacity: 1; animation: holoShift 4s ease-in-out infinite;
}
@keyframes holoShift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

/* ── REVEAL EFFECTS ── */
.reveal-spark {
    position: absolute; width: 6px; height: 6px; border-radius: 50%;
    top: 50%; left: 50%; z-index: 20; pointer-events: none;
    animation: sparkBurst 0.8s ease-out var(--delay, 0s) forwards;
}
.mythic-spark { background: #ff4500; box-shadow: 0 0 8px #ff4500; }
.rare-spark { background: var(--accent-gold); box-shadow: 0 0 8px var(--accent-gold); }

@keyframes sparkBurst {
    0% { transform: translate(-50%,-50%) translateX(0) translateY(0) scale(1); opacity: 1; }
    100% {
        transform: translate(-50%,-50%)
            translateX(calc(cos(var(--angle, 0deg)) * var(--dist, 60px)))
            translateY(calc(sin(var(--angle, 0deg)) * var(--dist, 60px)))
            scale(0);
        opacity: 0;
    }
}

.mythic-reveal-active .booster-card-inner-front {
    animation: mythicGlow 1s ease-out;
}
@keyframes mythicGlow {
    0% { box-shadow: 0 0 30px rgba(255,69,0,0.8), 0 0 80px rgba(255,69,0,0.4); }
    100% { box-shadow: 0 0 25px rgba(255,69,0,0.5), 0 0 60px rgba(255,69,0,0.2); }
}
.rare-reveal-active .booster-card-inner-front {
    animation: rareGlow 1s ease-out;
}
@keyframes rareGlow {
    0% { box-shadow: 0 0 25px rgba(212,175,55,0.8), 0 0 60px rgba(212,175,55,0.4); }
    100% { box-shadow: 0 0 20px rgba(212,175,55,0.4), 0 0 50px rgba(212,175,55,0.15); }
}

/* ── VAULT & COLLECTION BADGES ── */
.booster-new-badge {
    background: linear-gradient(135deg, #ff007f 0%, #ff7700 100%);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 3px 8px;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(255, 0, 127, 0.7), 0 0 25px rgba(255, 119, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    animation: newPulse 1.8s ease-in-out infinite;
}
@keyframes newPulse {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.08); filter: brightness(1.25); box-shadow: 0 0 18px rgba(255, 0, 127, 0.9); }
}

.booster-playset-badge {
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #996515 100%);
    color: #111;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    padding: 3px 7px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
    border: 1px solid #fff;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.booster-qty-badge {
    background: rgba(10, 15, 25, 0.85);
    color: #e2e8f0;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.booster-qty-badge.near-playset {
    border-color: rgba(212, 175, 55, 0.5);
    color: var(--accent-gold);
}

.card-back-new-hint {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ff007f, #ff7700);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.6);
    animation: newPulse 1.8s infinite;
}

.new-card-glow {
    box-shadow: 0 0 25px rgba(255, 0, 127, 0.35), 0 0 50px rgba(255, 119, 0, 0.2) !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .booster-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }
    .booster-card-slot { width: 170px; height: 250px; }
    .sealed-pack-scene { width: 260px; height: 380px; }
    .sealed-pack { width: 240px; height: 340px; }
    .pull-summary-inner { flex-direction: column; text-align: center; }
    .pull-summary-stats { justify-content: center; }
    .floating-card-preview { display: none; }
}

/* ═════════════════════════════════════════════════════════════
   MODO MAZO FÍSICO: ABRIR CARTAS UNA A UNA EN PLAN MAZO
   ═════════════════════════════════════════════════════════════ */
.spotlight-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 1rem 3rem 1rem;
    position: relative;
    z-index: 10;
}

/* Barra Superior */
.spotlight-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50px;
    padding: 10px 22px;
    margin-bottom: 2rem;
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.spotlight-counter {
    font-size: 0.95rem;
    color: #e2e8f0;
    white-space: nowrap;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.spotlight-counter strong {
    color: var(--accent-gold);
    font-size: 1.15rem;
}

/* Pips de Progreso */
.spotlight-pips {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    justify-content: center;
}
.spotlight-pip {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}
.spotlight-pip.is-current {
    transform: scale(1.45);
    border-color: #fff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
    background: #fff;
}
.spotlight-pip.is-revealed.common {
    background: #94a3b8;
    border-color: #cbd5e1;
    box-shadow: 0 0 6px rgba(148, 163, 184, 0.6);
}
.spotlight-pip.is-revealed.uncommon {
    background: #38bdf8;
    border-color: #7dd3fc;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
}
.spotlight-pip.is-revealed.rare {
    background: #f59e0b;
    border-color: #fde047;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.9);
}
.spotlight-pip.is-revealed.mythic {
    background: #f97316;
    border-color: #ff4500;
    box-shadow: 0 0 12px rgba(249, 115, 22, 1);
}

.btn-spotlight-skip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: var(--accent-gold);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    transition: all 0.25s;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-spotlight-skip:hover {
    background: rgba(212, 175, 55, 0.25);
    border-color: var(--accent-gold);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.4);
}

/* Arena Central con Efecto Taco / Mazo Físico */
.spotlight-arena {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 510px;
    margin-bottom: 2rem;
}

/* Sombra y cartas apiladas debajo simulando el grosor del mazo físico */
.deck-physical-stack {
    position: absolute;
    width: 300px;
    height: 465px;
    border-radius: 14px;
    pointer-events: none;
    z-index: 2;
    box-shadow: 
        4px 4px 0px rgba(10, 10, 10, 0.85),
        8px 8px 0px rgba(18, 14, 24, 0.75),
        12px 12px 0px rgba(22, 18, 30, 0.6),
        0 20px 40px rgba(0, 0, 0, 0.75);
    border: 2px solid rgba(212, 175, 55, 0.15);
    background: #0a0a0c;
}

.spotlight-pedestal-glow {
    position: absolute;
    bottom: -20px;
    width: 340px;
    height: 50px;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.45) 0%, rgba(138, 43, 226, 0.25) 50%, transparent 80%);
    filter: blur(16px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* Cartas individuales en el Mazo */
.spotlight-card-slot {
    display: none;
    width: 300px;
    height: 465px;
    perspective: 1400px;
    -webkit-perspective: 1400px;
    position: relative;
    z-index: 10;
}
.spotlight-card-slot.is-active {
    display: block;
    animation: spotlightCardEnter 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.spotlight-card-slot.sliding-out {
    animation: cardSlideOut 0.35s ease-in forwards !important;
}

@keyframes spotlightCardEnter {
    0% { opacity: 0; transform: translateY(25px) scale(0.94); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cardSlideOut {
    0% { transform: translateX(0) rotate(0deg); opacity: 1; }
    100% { transform: translateX(-120%) rotate(-12deg); opacity: 0; }
}

.spotlight-card-slot .booster-card-inner-front {
    height: 100%;
}
.spotlight-card-slot .card-art-wrapper {
    height: 380px;
}
.spotlight-card-slot .booster-card-flipper {
    width: 100%;
    height: 100%;
}

/* Insignias en el modo mazo: solo visibles al voltear */
.spotlight-card-slot.is-revealed .card-floating-badge,
.spotlight-card-slot:has(.booster-card-flipper.is-flipped) .card-floating-badge {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) scale(1) !important;
}

/* Controles de Navegación */
.spotlight-controls {
    text-align: center;
    position: relative;
    z-index: 10;
}
.spotlight-hint {
    font-size: 0.88rem;
    color: #94a3b8;
    letter-spacing: 0.5px;
    min-height: 24px;
    transition: color 0.3s;
}
.spotlight-hint.ready-next {
    color: var(--accent-gold);
    font-weight: 600;
}

.btn-spotlight-nav {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #cbd5e1;
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.25s;
    cursor: pointer;
}
.btn-spotlight-nav:hover:not(:disabled) {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    transform: translateY(-2px);
}
.btn-spotlight-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.btn-spotlight-action {
    background: linear-gradient(135deg, #ffd700 0%, #b8860b 50%, #ffd700 100%);
    background-size: 200% 200%;
    color: #000 !important;
    border: none;
    padding: 12px 32px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-spotlight-action:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.65);
    background-position: right center;
}
.btn-spotlight-action.btn-finish-opening {
    background: linear-gradient(135deg, #f59e0b 0%, #ec4899 50%, #8b5cf6 100%);
    color: #fff !important;
    box-shadow: 0 6px 24px rgba(245, 158, 11, 0.6);
    animation: finishBtnPulse 2s infinite;
}
@keyframes finishBtnPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 6px 24px rgba(245, 158, 11, 0.6); }
    50% { transform: scale(1.05); box-shadow: 0 8px 32px rgba(236, 72, 153, 0.8); }
}

@media (max-width: 576px) {
    .spotlight-topbar { flex-direction: column; border-radius: 20px; }
    .spotlight-card-slot { width: 250px; height: 390px; }
    .spotlight-card-slot .card-art-wrapper { height: 310px; }
}

/* ═══════════════════════════════════════════
   SOBRE OFICIAL REAL Y MOCHILA DE SOBRES
   ═══════════════════════════════════════════ */
.pack-art img.pack-real-foil-art {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(0,0,0,0.8)) brightness(0.98) saturate(1.15);
    transform: scale(1.02);
}
.pack-art-real-gradient {
    background: radial-gradient(circle at center, transparent 35%, rgba(5,6,12,0.6) 100%) !important;
}
.pack-overlay-minimal {
    justify-content: flex-end !important;
}

.user-packs-vault-box {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(234, 179, 8, 0.25);
    border-radius: 16px;
}
.inventory-pack-card {
    background: rgba(22, 28, 48, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.inventory-pack-card:hover {
    transform: translateY(-4px);
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5), 0 0 15px rgba(251, 191, 36, 0.15);
}
.inv-pack-img-container {
    position: relative;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.inv-pack-thumbnail {
    max-height: 135px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.6));
    transition: transform 0.3s ease;
}
.inventory-pack-card:hover .inv-pack-thumbnail {
    transform: scale(1.08);
}
.inv-pack-badge-qty {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #eab308;
    color: #000;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.inv-pack-details {
    width: 100%;
    margin-top: 0.5rem;
}
.inv-pack-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

/* ── Vitrina de Sobres Comprados en Mochila ── */
.inventory-pack-showcase-card {
    background: linear-gradient(145deg, rgba(22, 28, 48, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.inventory-pack-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.inventory-pack-showcase-card:hover {
    transform: translateY(-6px);
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(251, 191, 36, 0.25);
}
.inventory-pack-showcase-card:hover::before {
    opacity: 1;
}
.showcase-pack-img-container {
    position: relative;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 0.75rem;
}
.showcase-pack-thumbnail {
    max-height: 180px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.75));
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}
.inventory-pack-showcase-card:hover .showcase-pack-thumbnail {
    transform: scale(1.08) rotate(-1deg);
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 16px rgba(251, 191, 36, 0.35));
}
.showcase-badge-qty {
    position: absolute;
    top: 6px;
    right: 6px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #000;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.3rem 0.75rem;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 0 10px rgba(245, 158, 11, 0.4);
    letter-spacing: 0.5px;
}
.showcase-badge-type {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
    letter-spacing: 0.5px;
}
.btn-ritual-pack {
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    border: 1px solid #fde047;
    color: #000;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}
.btn-ritual-pack:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5), 0 0 15px rgba(254, 240, 138, 0.6);
}

/* ── Panel de Mochila Vacía (Empty State) ── */
.empty-pack-vault {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.8) 100%);
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.empty-pack-icon-wrap {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.12);
    border: 2px solid rgba(245, 158, 11, 0.35);
    color: #f59e0b;
    font-size: 2.5rem;
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.2);
    animation: boosterPulse 3s infinite ease-in-out;
}



