/* ============================================
   RAIDS & SHELTERS - Timeline Post-Apocalyptique
   Design CSS Immoral Games
   ============================================ */

/* Variables Post-Apo */
:root {
    /* Palette sombre et brutale */
    --blood-red: #8B0000;
    --bright-red: #DC143C;
    --rust-orange: #B7410E;
    --dirty-yellow: #DAA520;
    --toxic-green: #556B2F;
    --steel-blue: #4682B4;
    --ash-black: #0A0A0A;
    --coal-black: #1C1C1C;
    --rust-metal: #8B4513;
    --bone-white: #F5F5DC;
    
    /* Ombres */
    --shadow-brutal: 0 10px 40px rgba(0, 0, 0, 0.9);
    --shadow-glow: 0 0 30px rgba(139, 0, 0, 0.6);
    --text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    
    /* Backgrounds */
    --bg-main: linear-gradient(135deg, rgba(28,28,28,0.95) 0%, rgba(10,10,10,0.95) 100%);
    --bg-card: linear-gradient(135deg, rgba(42, 42, 42, 0.9), rgba(26, 26, 26, 0.95));
    --bg-hover: linear-gradient(135deg, rgba(58, 26, 26, 0.95), rgba(42, 10, 10, 0.98));
}
/* Body avec effet noise */
body {
    background: linear-gradient(135deg, var(--ash-black) 0%, var(--coal-black) 50%, #1a0000 100%);
    background-attachment: fixed;
    color: var(--bone-white);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255,255,255,.1) 2px, rgba(255,255,255,.1) 4px);
}

/* Header redesign post-apo */
.timeline-header {
    background: var(--bg-main);
    border-bottom: 3px solid var(--blood-red);
    box-shadow: var(--shadow-brutal);
}

.game-title {
    color: var(--bright-red);
    text-shadow: var(--text-shadow), var(--shadow-glow);
}

/* Jetons de planification */
.tokens-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(28,28,28,0.9), rgba(10,10,10,0.95));
    border-radius: 8px;
    margin-top: 20px;
    min-height: 100px;
    border: 2px solid var(--rust-metal);
}

.action-token {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--rust-metal), var(--coal-black));
    border: 3px solid var(--blood-red);
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
    overflow: hidden;
}

.action-token.face-down::before {
    content: '?';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--dirty-yellow);
    font-family: 'Bebas Neue', cursive;
}

.action-token.face-up {
    background: var(--blood-red);
    animation: flip 0.6s ease;
}

.action-token.revealing {
    animation: flip 0.6s ease;
}

@keyframes flip {
    0% { transform: rotateY(0); }
    50% {
        transform: rotateY(90deg);
        background: var(--bright-red);
    }
    100% { transform: rotateY(0); }
}

.token-front {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.action-token.face-up .token-front {
    display: flex;
}

.token-icon {
    font-size: 2rem;
}

.token-action {
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-top: 5px;
}