:root { --night-blue: radial-gradient(circle, #1a2a6c 0%, #0a1128 100%); --velvet-red: #8e0000; --neon-red: #ff3131; --gold: #d4af37; --gold-light: #f9e27d; --dark-bg: #050505; } body { background-color: var(--dark-bg); background-image: radial-gradient(circle at center, #0a1128 0%, #020205 100%); color: white; font-family: 'Segoe UI', sans-serif; margin: 0; display: flex; justify-content: center; align-items: center; min-height: 100vh; } .main-wrapper { width: 100%; max-width: 600px; padding: 20px; } /* --- LA TABLE DE CONFIGURATION --- */ .config-table { background: var(--night-blue); border-radius: 60px; border: 12px solid #2d0000; outline: 2px solid #4a0000; padding: 40px; box-shadow: 0 25px 50px rgba(0,0,0,0.9), inset 0 0 60px rgba(0,0,0,0.7); position: relative; } .config-table::before { content: ''; position: absolute; top: 10px; left: 10px; right: 10px; bottom: 10px; border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 50px; pointer-events: none; } /* --- HEADER --- */ .config-header { text-align: center; margin-bottom: 30px; } .dice-icon { font-size: 3rem; filter: drop-shadow(0 0 10px var(--neon-red)); margin-bottom: 10px; } .config-header h1 { color: var(--gold); text-transform: uppercase; letter-spacing: 2px; font-size: 1.8rem; margin: 0; } /* --- FORMULAIRE --- */ .input-group { display: flex; flex-direction: column; margin-bottom: 20px; } .input-group label, .players-list label { color: var(--gold); font-size: 0.9rem; text-transform: uppercase; margin-bottom: 8px; font-weight: bold; } input[type="text"], select { background: rgba(0, 0, 0, 0.4); border: 2px solid #2d0000; border-radius: 10px; padding: 12px; color: white; font-size: 1rem; outline: none; transition: border-color 0.3s; } input[type="text"]:focus, select:focus { border-color: var(--neon-red); } .players-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; } /* --- BOUTONS --- */ .button-footer { display: flex; gap: 15px; } .btn-confirm { flex: 2; background: linear-gradient(135deg, #b31217 0%, #e52d27 100%); color: white; border: 2px solid var(--gold); padding: 15px; border-radius: 50px; font-weight: 900; cursor: pointer; text-transform: uppercase; box-shadow: 0 5px 0 #600000; transition: 0.2s; } .btn-confirm:hover { filter: brightness(1.2); transform: translateY(-2px); } .btn-cancel { flex: 1; background: transparent; color: rgba(255,255,255,0.5); border: 2px solid rgba(255,255,255,0.2); padding: 15px; border-radius: 50px; cursor: pointer; } .btn-cancel:hover { color: white; border-color: white; } /* Alignement du sélecteur et du texte */ .player-row { display: flex; align-items: center; gap: 15px; margin-bottom: 10px; } /* Style du sélecteur de couleur */ .color-picker { -webkit-appearance: none; -moz-appearance: none; appearance: none; width: 45px; height: 45px; background-color: transparent; border: 2px solid #2d0000; border-radius: 50%; /* On le fait rond comme un jeton */ cursor: pointer; padding: 0; overflow: hidden; } .color-picker::-webkit-color-swatch-wrapper { padding: 0; } .color-picker::-webkit-color-swatch { border: none; border-radius: 50%; } /* On ajuste l'input texte pour qu'il prenne le reste de la place */ .player-input { flex: 1; background: rgba(0, 0, 0, 0.4); border: 2px solid #2d0000; border-radius: 10px; padding: 12px; color: white; outline: none; } .player-input:focus { border-color: var(--neon-red); box-shadow: 0 0 10px rgba(255, 49, 49, 0.3); }