:root {
    --bg: #0a0a0c;
    --velours: #1a0f1f;
    --gold: #c5a059;
    --gold-bright: #f1d592;
    --text: #e0e0e0;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Cinzel', serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.stars {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, #1b1b2f 0%, #050505 100%);
    z-index: -1;
}

header { padding: 40px; text-align: center; }
h1 { color: var(--gold); letter-spacing: 4px; text-transform: uppercase; }

/* Menu de choix du tirage */
.mode-selector {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.mode-btn {
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 10px 20px;
    cursor: pointer;
    transition: 0.3s;
}

.mode-btn.active {
    background: var(--gold);
    color: var(--bg);
}

/* Plateau de jeu */
.tapis {
    width: 90%;
    max-width: 1100px;
    background: var(--velours);
    border: 3px double var(--gold);
    border-radius: 20px;
    padding: 40px;
    box-shadow: inset 0 0 50px #000;
    min-height: 500px;
    position: relative;
}

.deck-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.card-back {
    width: 60px;
    height: 105px;
    background: #2d1b33;
    border: 1px solid var(--gold);
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
}

.card-back:hover { transform: translateY(-5px); border-color: var(--gold-bright); }

/* Grille de résultats dynamique */
.resultats-grid {
    display: grid;
    gap: 20px;
    justify-items: center;
}

/* Style spécifique pour le Tirage en Croix */
.layout-croix {
    display: grid;
    grid-template-areas: 
        ". futur ."
        "force synthese faiblesse"
        ". conseil .";
    grid-gap: 20px;
}

.card-slot { text-align: center; width: 150px; }
.card-slot img { width: 100%; border: 2px solid var(--gold); border-radius: 8px; }
.card-slot label { display: block; font-size: 0.7rem; color: var(--gold); margin-bottom: 5px; }

.hidden { display: none !important; }