/* NFT card stats styles */
.nft-card .nft-stats {
    padding: 10px;
    margin: 8px 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
}

.nft-card .stat-row {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px;
}

.nft-card .stat-label {
    width: 60px;
    font-size: 11px;
    font-weight: 500;
}

.nft-card .stat-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 4px;
}

.nft-card .stat-fill {
    height: 100%;
    border-radius: 2px;
}

.nft-card .stat-value {
    width: 25px;
    font-size: 11px;
    font-weight: 600;
    text-align: right;
}

/* Color styles for card stats */
.nft-card [data-stat="attack"] .stat-label,
.nft-card [data-stat="attack"] .stat-value {
    color: #ff4444;
}

.nft-card [data-stat="defense"] .stat-label,
.nft-card [data-stat="defense"] .stat-value {
    color: #2196f3;
}

.nft-card [data-stat="life"] .stat-label,
.nft-card [data-stat="life"] .stat-value {
    color: #4caf50;
}

.nft-card [data-stat="intelligence"] .stat-label,
.nft-card [data-stat="intelligence"] .stat-value {
    color: #9c27b0;
}

/* Stats colors by rarity */
.nft-card[data-rarity="common"] .stat-fill {
    background: linear-gradient(90deg, #7a7a7a, #9e9e9e);
}

.nft-card[data-rarity="rare"] .stat-fill {
    background: linear-gradient(90deg, #2196f3, #64b5f6);
}

.nft-card[data-rarity="epic"] .stat-fill {
    background: linear-gradient(90deg, #9c27b0, #ba68c8);
}

.nft-card[data-rarity="legendary"] .stat-fill {
    background: linear-gradient(90deg, #ffd700, #ffa500);
}

/* NFT quantity counter styles */
.nft-quantity {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #00a8ff;
    font-family: 'Orbitron', sans-serif;
    z-index: 2;
    border: 1px solid rgba(0, 168, 255, 0.3);
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.5);
}

/* Update NFT image container to support absolute positioning */
.nft-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

/* Specific size adjustment for SharkDoge #5 */
.nft-card:has([alt="SharkDoge #5"]) img {
    transform: scale(0.85);
    transform-origin: center;
}

/* Mint progress bar styles */
.mint-progress .progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(26, 42, 58, 0.4);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin: 10px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mint-progress .progress-fill {
    height: 100%;
    background: linear-gradient(270deg, #00a8ff 0%, #00d2ff 100%);
    border-radius: 4px;
    position: relative;
    width: 66.4%;
    transition: width 0.5s ease;
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.5);
}

.mint-progress .progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}
