/* --- VARIABLES --- */
:root {
    --primary: #ff003c;
    --bg: #0a0a0c;
    --secondary: #292929;
}

/* --- BASE --- */
body {
    background-color: var(--bg);
    color: white;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}
.font-title { font-family: 'Syncopate', sans-serif; }

/* --- GRILLE DE FOND --- */
.grid-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 0, 60, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 0, 60, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center top;
    z-index: -1;
    animation: moveGrid 20s linear infinite;
}
@keyframes moveGrid {
    from { background-position: 0 0; }
    to { background-position: 0 100%; }
}

/* --- CARTES HUD (Boites Roster) --- */
.hud-card {
    clip-path: polygon(0 0, 92% 0, 100% 8%, 100% 100%, 8% 100%, 0 92%);
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid var(--primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.hud-card:hover {
    background: rgba(255, 0, 60, 0.05);
    transform: translateY(-10px);
    border-left: 4px solid var(--primary);
    box-shadow: -10px 0 30px rgba(255, 0, 60, 0.1);
}

/* --- EFFET SCANLINE (Ligne qui passe sur la carte) --- */
.hud-card::after {
    content: "";
    position: absolute;
    top: -100%; left: 0; width: 100%; height: 2px;
    background: var(--primary);
    opacity: 0.2;
    animation: scan 4s linear infinite;
}
@keyframes scan {
    0% { top: -100%; }
    100% { top: 200%; }
}