/* Trophées */
.trophies-section {
    background: var(--bg-primary);
    margin: 0;
    box-shadow: var(--shadow-sm);
}

.trophies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
    padding: 0 var(--spacing-xs);
}

.trophy-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-sm);
    padding: var(--spacing-xs);
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Styles spécifiques pour les icônes de trophées */
.trophy-icon {
    height: 48px;
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trophy-icon svg {
    width: 42px;
    height: 42px;
    transition: all 0.3s ease;
}

.trophy-icon.bronze svg {
    filter: drop-shadow(0 2px 4px rgba(205, 127, 50, 0.3));
}

.trophy-icon.silver svg {
    filter: drop-shadow(0 2px 4px rgba(192, 192, 192, 0.3));
}

.trophy-icon.gold svg {
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
}

.trophy-icon.platinum {
    font-size: 42px;
    filter: drop-shadow(0 2px 4px rgba(229, 228, 226, 0.3));
}

.trophy-card.achieved .trophy-icon svg {
    transform: scale(1.1);
}

.trophy-card.current .trophy-icon svg {
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1.1); }
    50% { transform: scale(1.2); }
}

.trophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--border-color);
    transition: all 0.3s ease;
}

.trophy-card.achieved {
    border-color: var(--success-color);
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.trophy-card.achieved::before {
    background: linear-gradient(90deg, var(--success-color), var(--success-color-light));
}

.trophy-card.current {
    border-color: var(--warning-color);
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    animation: pulse 2s ease-in-out infinite;
}

.trophy-card.current::before {
    background: linear-gradient(90deg, var(--warning-color), var(--warning-color-light));
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes pulse {
    0%, 100% { transform: scale(1.05); }
    50% { transform: scale(1.08); }
}

@keyframes glow {
    from { box-shadow: 0 0 10px var(--warning-color); }
    to { box-shadow: 0 0 20px var(--warning-color-light); }
}

.trophy-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trophy-threshold {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
}

.trophy-status {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trophy-card.achieved .trophy-status {
    background: var(--success-color);
    color: white;
}

.trophy-card.current .trophy-status {
    background: var(--warning-color);
    color: white;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.trophy-card:not(.achieved):not(.current) .trophy-status {
    background: var(--gray-light);
    color: var(--text-secondary);
}