/* ACE PvP Stats Plugin Styles */

/* Hero Section */
.pvp-hero {
    padding: 2rem 0;
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.1) 0%, rgba(var(--bs-secondary-rgb), 0.1) 100%);
    border-radius: 1rem;
    margin-bottom: 2rem;
}

/* Stat Cards */
.stat-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.stat-icon {
    opacity: 0.8;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Warrior Row */
.warrior-row {
    transition: background-color 0.2s ease;
}

.warrior-row:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.05);
}

.warrior-name {
    font-size: 1.1rem;
    color: var(--bs-body-color);
}

/* Rank Badges */
.rank-badge {
    display: inline-block;
    padding: 0.35rem 0.65rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.375rem;
    background-color: var(--bs-light);
    color: var(--bs-dark);
}

.rank-badge.rank-1 {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #000;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.rank-badge.rank-2 {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
    color: #000;
    box-shadow: 0 2px 8px rgba(192, 192, 192, 0.4);
}

.rank-badge.rank-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #e8a87c 100%);
    color: #000;
    box-shadow: 0 2px 8px rgba(205, 127, 50, 0.4);
}

/* Warrior Header */
.warrior-header {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.1) 0%, rgba(var(--bs-info-rgb), 0.1) 100%);
    border-radius: 1rem;
}

/* Stat Rows */
.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-value-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Achievement Items */
.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.achievement-item.unlocked {
    background: linear-gradient(135deg, rgba(var(--bs-success-rgb), 0.1) 0%, rgba(var(--bs-success-rgb), 0.05) 100%);
    border: 2px solid rgba(var(--bs-success-rgb), 0.3);
}

.achievement-item.unlocked:hover {
    background: linear-gradient(135deg, rgba(var(--bs-success-rgb), 0.15) 0%, rgba(var(--bs-success-rgb), 0.1) 100%);
    transform: translateX(5px);
}

.achievement-item.locked {
    background: rgba(0, 0, 0, 0.02);
    border: 2px solid rgba(0, 0, 0, 0.1);
    opacity: 0.6;
}

.achievement-item i {
    font-size: 2rem;
}

.achievement-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

/* Warrior Cards */
.warrior-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.warrior-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15) !important;
}

/* Stat Mini */
.stat-mini {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 0.5rem;
}

.stat-mini-icon {
    font-size: 1.5rem;
}

.stat-mini-value {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

.stat-mini-label {
    font-size: 0.75rem;
    color: var(--bs-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Progress Bars */
.progress {
    background-color: rgba(0, 0, 0, 0.1);
}

.progress-bar {
    font-weight: 600;
    font-size: 0.875rem;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .pvp-hero {
        background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.2) 0%, rgba(var(--bs-secondary-rgb), 0.2) 100%);
    }
    
    .warrior-row:hover {
        background-color: rgba(var(--bs-primary-rgb), 0.1);
    }
    
    .stat-row {
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
    
    .achievement-item.locked {
        background: rgba(255, 255, 255, 0.02);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .stat-mini {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .progress {
        background-color: rgba(255, 255, 255, 0.1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .stat-value {
        font-size: 2rem;
    }
    
    .warrior-header {
        padding: 1.5rem;
    }
    
    .achievement-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card,
.warrior-card {
    animation: fadeIn 0.5s ease-out;
}

/* Print Styles */
@media print {
    .btn,
    .stat-card:hover,
    .warrior-card:hover {
        transform: none;
        box-shadow: none;
    }
}
