/* ================================================================
   SHADOWMERE — HEROES PANEL CSS
   ================================================================ */

#heroes-panel.shadowmere-heroes-panel {
    width: 100%;
    height: 100%;
    padding: 20px;
    color: #e6dfff;
    background: rgba(10, 10, 14, 0.92);
    border: 2px solid rgba(120, 0, 255, 0.6);
    box-shadow: 0 0 25px rgba(120, 0, 255, 0.7);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    position: relative; /* required for close button */
}

/* CLOSE BUTTON */
.panel-close-btn {
    position: absolute;
    top: 14px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #e6d9ff;
    text-shadow: 0 0 10px rgba(150, 80, 255, 0.6);
    transition: 0.2s ease;
    z-index: 50;
}

.panel-close-btn:hover {
    color: #ffffff;
    transform: scale(1.15);
    text-shadow: 0 0 14px rgba(200, 150, 255, 0.9);
}

/* HERO TABS */
.hero-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-tab {
    padding: 8px 16px;
    background: rgba(40, 20, 60, 0.6);
    border: 1px solid rgba(120, 0, 255, 0.5);
    color: #d8caff;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.2s;
}

.hero-tab.active,
.hero-tab:hover {
    background: rgba(120, 0, 255, 0.8);
    color: #fff;
    box-shadow: 0 0 10px rgba(120, 0, 255, 0.9);
}

/* MAIN CONTENT LAYOUT */
.hero-content {
    display: flex;
    gap: 20px;
    flex: 1;
}

/* STATS SECTION */
.hero-stats-section {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-bar-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.stat-bar-track {
    width: 100%;
    height: 8px;
    background: rgba(40, 20, 60, 0.4);
    border-radius: 4px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    background: rgba(120, 0, 255, 0.85);
    width: 0%;
    transition: width 0.45s ease;
    box-shadow: 0 0 12px rgba(120, 0, 255, 0.7);
}

/* HERO MAIN PANEL */
.hero-main {
    width: 60%;
    display: flex;
    gap: 20px;
}

/* PORTRAIT PANEL */
.hero-portrait-panel {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-portrait {
    width: 100%;
    height: auto;
    border: 2px solid rgba(120, 0, 255, 0.5);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(120, 0, 255, 0.6);
}

/* SECONDARY STATS */
.hero-secondary-stats {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.secondary-stat {
    display: flex;
    justify-content: space-between;
}

/* GEAR GRID */
.hero-gear-panel {
    width: 60%;
}

.gear-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.gear-slot {
    height: 60px;
    background: rgba(20, 10, 30, 0.5);
    border: 1px solid rgba(120, 0, 255, 0.4);
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #d8caff;
    font-size: 12px;
    cursor: pointer;
    transition: 0.2s;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.gear-slot:hover {
    border-color: rgba(180, 120, 255, 0.9);
    box-shadow: 0 0 12px rgba(180, 120, 255, 0.8);
    transform: scale(1.05);
}

/* ACTION BUTTONS */
.hero-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.hero-action-btn {
    padding: 10px 16px;
    background: rgba(40, 20, 60, 0.6);
    border: 1px solid rgba(120, 0, 255, 0.5);
    color: #d8caff;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.hero-action-btn:hover {
    background: rgba(120, 0, 255, 0.8);
    color: #fff;
}

/* FOOTER */
.hero-footer {
    margin-top: auto;
    text-align: right;
}

.inventory-btn {
    padding: 10px 16px;
    background: rgba(60, 10, 30, 0.6);
    border: 1px solid rgba(255, 0, 120, 0.5);
    color: #ffcce6;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.inventory-btn:hover {
    background: rgba(255, 0, 120, 0.8);
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 0, 120, 0.8);
}
