/* Variables pour le plateau en bois */
:root {
    --wood-light: #caa472;
    --wood-dark: #8b5e34;
    --wood-grain: url('https://www.transparenttextures.com/patterns/wood-pattern.png');
    --primary: #2b6cb0;
    --muted: #6b7280;
    --shadow: 0 6px 18px rgba(16,24,40,0.06);
}

/* Style général */
body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    margin: 0;
    padding: 20px;
    text-align: center;
}

h1 {
    margin-bottom: 20px;
}

/* Infos du jeu avec fond blanc semi-transparent */
.game-info {
    display: flex;
    justify-content: center;
    gap: 18px;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 16px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.game-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--muted);
}

.game-info strong {
    color: var(--primary);
    font-size: 14px;
}

#turn-display {
    font-weight: bold;
    color: var(--primary);
}

/* Plateau - avec texture bois */
.board {
    position: relative;
    background-color: var(--wood-light);
    background-image: var(--wood-grain);
    background-blend-mode: multiply;
    background-size: 400px 400px;
    border: 4px solid var(--wood-dark);
    padding: 24px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Lignes du plateau */
.player2-side {
    justify-content: start;
    flex-direction: row-reverse;
}

.player1-side,
.player2-side {
    display: flex;
    gap: 10px;
}

/* Boutons */
.hole {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 10px;
    border: 2px solid #333;
    background: white;
    cursor: pointer;
    transition: 0.2s;
}

.hole:hover {
    background: #e3e3e3;
}

.hole:active {
    background: #ccc;
}

/* Message avec fond blanc semi-transparent */
#message {
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-weight: 600;
    color: var(--muted);
    text-align: center;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    font-size: 1.2rem;
}