/* === ENHANCED MINER CARD STYLING === */

/* Add elegant icons to section titles */
.miner-section-title::before {
    content: "◆";
    margin-right: 8px;
    font-size: 12px;
    color: #A0774A;
    font-weight: normal;
}

/* Level indicator styling */
.miner-level {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #D4AF37, #B8941F);
    color: white;
    border-radius: 12px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0 2px 4px rgba(212, 175, 55, 0.3);
    min-width: 40px;
}

/* Mining stats grid improvement */
.mining-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
}

.mining-stat {
    text-align: center;
    padding: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    border: 1px solid rgba(160, 119, 74, 0.2);
}

.mining-stat-label {
    font-size: 11px;
    color: #6B4625;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.mining-stat-value {
    font-size: 14px;
    font-weight: 600;
    color: #4A2D17;
}

/* Scroll styling for floating cards */
.miner-card.floating::-webkit-scrollbar {
    width: 6px;
}

.miner-card.floating::-webkit-scrollbar-track {
    background: rgba(160, 119, 74, 0.1);
    border-radius: 3px;
}

.miner-card.floating::-webkit-scrollbar-thumb {
    background: rgba(160, 119, 74, 0.4);
    border-radius: 3px;
    transition: background 0.2s;
}

.miner-card.floating::-webkit-scrollbar-thumb:hover {
    background: rgba(160, 119, 74, 0.6);
}

/* Enhanced experience bar */
.experience-bar {
    height: 8px;
    background: rgba(160, 119, 74, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 4px;
    border: 1px solid rgba(160, 119, 74, 0.3);
}

.experience-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 3px;
    transition: width 0.3s ease;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.3);
}

/* Card hover effects */
.miner-card:not(.floating):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 70, 37, 0.2);
    border-color: #A0774A;
}

/* Responsive improvements */
@media (max-width: 400px) {
    .miner-card.floating {
        width: 95vw;
        margin: 2.5vw;
        padding: 16px;
    }
    
    .miner-stats {
        grid-template-columns: 1fr;
    }
    
    .miner-equipment {
        grid-template-columns: repeat(3, 1fr);
    }
}
