/* ==============================================================================
   LIVE HERO ARMORY & PAPERDOLL SHOWCASE (WoW Character Screen Experience)
   ============================================================================== */

/* Main split layout inside role showcase box */
.hero-armory-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    align-items: stretch;
    margin-top: 14px;
}

@media (max-width: 980px) {
    .hero-armory-container {
        grid-template-columns: 1fr;
    }
}

/* 1. Left Character Pedestal */
.hero-paperdoll-stand {
    background: radial-gradient(circle at 50% 30%, rgba(25, 35, 58, 0.9) 0%, rgba(10, 15, 26, 0.98) 100%);
    border: 1.5px solid rgba(255, 204, 0, 0.35);
    border-radius: 16px;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(0, 229, 255, 0.05);
}



/* Top Status Badge */
.paperdoll-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.45);
    color: #86efac;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.2);
    z-index: 2;
}

.paperdoll-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: livePulse 2s infinite ease-in-out;
}

/* Character Avatar & Animated Aura */
.paperdoll-avatar-wrap {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 20px 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.paperdoll-aura-glow {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--role-aura, rgba(255, 204, 0, 0.35)) 0%, transparent 70%);
    filter: blur(14px);
    transition: background 0.4s ease;
    animation: avatarAuraPulse 3s infinite alternate ease-in-out;
}

@keyframes avatarAuraPulse {
    0% { transform: scale(0.92); opacity: 0.6; }
    100% { transform: scale(1.1); opacity: 0.95; }
}

.paperdoll-avatar-icon {
    font-size: 68px;
    line-height: 1;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.8));
    animation: avatarFloat 4s ease-in-out infinite alternate;
    transition: transform 0.3s ease;
}

@keyframes avatarFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-7px); }
}

/* Character Role Title & Specs */
.paperdoll-role-title {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px;
    z-index: 2;
    transition: color 0.3s ease;
}

.paperdoll-role-desc {
    font-size: 11.5px;
    color: #94a3b8;
    line-height: 1.45;
    margin: 0 0 14px;
    z-index: 2;
}

/* Spec Stats Mini Bar */
.paperdoll-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
}

.paperdoll-stat-item {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
}

.paperdoll-stat-label {
    font-size: 9.5px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.paperdoll-stat-val {
    font-size: 12.5px;
    font-weight: 800;
    color: #ffd700;
}

/* 2. Interactive Gear Slot Connection Highlights & 2x2 Armory Grid */
.hero-armory-container .qs-role-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    align-content: stretch;
}

@media (max-width: 640px) {
    .hero-armory-container .qs-role-cards-grid {
        grid-template-columns: 1fr;
    }
}

.qs-role-card {
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Active Highlight Wave on Armory Avatar */
.paperdoll-avatar-wrap.highlight-slot {
    animation: avatarSlotSurge 0.4s ease-out;
}

@keyframes avatarSlotSurge {
    0% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.15); filter: brightness(1.6); }
    100% { transform: scale(1); filter: brightness(1); }
}
