.tier-badge {
    width: 48px !important;
    height: 48px !important;
    border-radius: 30px !important;
    background-size: 400% 400%;
    animation: gradient-background 15s ease infinite;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    position: relative;
    display: block !important;
}

.tier-badge::before {
    position: absolute;
    content: '';
    top: 2px;
    bottom: 2px;
    left: 2px;
    right: 2px;
    border-radius: 30px;
    border: 2px solid #FFF;
}

.tier-badge::after {
    position: absolute;
    color: #FFF !important;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 45px;
    text-align: center;
    font-weight: 900;
    font-size: 30px;
}

.tier-badge--S {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 25%, #b8860b 50%, #daa520 75%, #ffd700 100%);
    box-shadow: 
        0 0 15px rgba(255, 215, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(184, 134, 11, 0.8),
        0 3px 8px rgba(0, 0, 0, 0.4);
}

.tier-badge--S::before {
    border: 2px solid #ffed4e;
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.9);
}

.tier-badge--A {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 25%, #a8a8a8 50%, #d0d0d0 75%, #c0c0c0 100%);
    box-shadow: 
        0 0 12px rgba(192, 192, 192, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(128, 128, 128, 0.8),
        0 3px 8px rgba(0, 0, 0, 0.4);
}

.tier-badge--A::before {
    border: 2px solid #e0e0e0;
}

.tier-badge--S::after {
    content: 'S';
    background: linear-gradient(45deg, #ff3535, #8446ff, #00bfff, #32cd32, #00bfff, #8446ff, #ff3b9d, #ff5050);
    -webkit-text-stroke: 0.5px #ffd700;
    text-stroke: 0.5px #ffd700;
}

.tier-badge--A::after {
    content: 'A';
    background: linear-gradient(45deg, #ff3535, #8446ff, #ff3b9d, #ff5050);
    -webkit-text-stroke: 0.5px #333;
    text-stroke: 0.5px #333;
}

.tier-badge--S::after, .tier-badge--A::after {
    background-size: 800% 800%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: soft-rainbow 8s ease-in-out infinite;
}

.tier-badge--B {
    background: linear-gradient(135deg, rgba(78,205,196,1) 0%, rgba(126,214,204,1) 100%);
}

.tier-badge--B::after {
    content: 'B';
}

.tier-badge--C {
    background: linear-gradient(135deg, rgba(69,183,209,1) 0%, rgba(116,199,227,1) 100%);
}

.tier-badge--C::after {
    content: 'C';
}

.tier-badge--D {
    background: linear-gradient(135deg, rgba(150,206,180,1) 0%, rgba(184,220,198,1) 100%);
}

.tier-badge--D::after {
    content: 'D';
}

.tier-badge--E {
    background: linear-gradient(135deg, rgba(153,153,153,1) 0%, rgba(187,187,187,1) 100%);
}

.tier-badge--E::after {
    content: 'E';
}

@keyframes soft-rainbow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes gradient-background {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Variante pour les decks (positionnement absolu) */
.deck__tier {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 15;
}

.deck-title-info h1 {
    margin: 0;
}

.deck-season {
    margin: 5px 0 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
    font-style: italic;
}