/* --- VARIABLES YAHTZEE PAF --- */ :root { --night-blue: radial-gradient(circle, #1a2a6c 0%, #0a1128 100%); --velvet-red: #8e0000; --neon-red: #ff3131; --gold: #d4af37; --gold-light: #f9e27d; --dark-bg: #050505; --white: #ffffff; } body { background-color: var(--dark-bg); background-image: radial-gradient(circle at center, #0a1128 0%, #020205 100%); color: var(--white); font-family: 'Segoe UI', Roboto, sans-serif; margin: 0; min-height: 100vh; display: flex; justify-content: center; } .main-wrapper { display: flex; flex-direction: column; align-items: center; padding: 40px 20px; width: 100%; max-width: 1000px; } /* --- STYLE DES TABLES --- */ .yahtzee-table { position: relative; padding: 35px; border-radius: 80px; /* Bordure Rouge Classe */ border: 15px solid #2d0000; box-shadow: 0 25px 50px rgba(0,0,0,0.9), inset 0 0 60px rgba(0,0,0,0.7); width: 100%; outline: 2px solid #4a0000; margin-bottom: 40px; box-sizing: border-box; } /* Liseré de finition blanc/bleu */ .yahtzee-table::before { content: ''; position: absolute; top: 12px; left: 12px; right: 12px; bottom: 12px; border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 65px; pointer-events: none; } .table-inner { position: relative; z-index: 2; text-align: center; } /* Table Header (Plus compact) */ .table-header { background: #0a1128; max-width: 800px; } .table-header h1 { color: rgba(255, 255, 255, 0.5); text-transform: uppercase; font-size: 1rem; letter-spacing: 4px; margin-bottom: 10px; } /* Style du Logo Texte Néon */ .neon-dice { font-size: 3.5rem; font-weight: 900; color: #fff; text-transform: uppercase; text-shadow: 0 0 10px var(--neon-red), 0 0 20px var(--neon-red); } .neon-dice span { color: var(--gold); text-shadow: 0 0 10px var(--gold); } /* Table de Jeu (Bleu Nuit) */ .table-main { background: var(--night-blue); } .button-center-wrapper { display: flex; justify-content: center; padding: 20px 0 40px 0; } /* --- BOUTON ROUGE ET OR --- */ .btn-main-create { background: linear-gradient(135deg, #b31217 0%, #e52d27 100%); color: white; padding: 18px 45px; font-weight: 900; font-size: 1.2rem; border-radius: 50px; border: 2px solid var(--gold); cursor: pointer; transition: all 0.3s ease; box-shadow: 0 8px 0px #600000, 0 15px 20px rgba(0,0,0,0.5); text-transform: uppercase; } .btn-main-create:hover { transform: translateY(-3px); filter: brightness(1.2); box-shadow: 0 11px 0px #600000, 0 20px 25px rgba(0,0,0,0.6); } .table-main h2 { font-size: 1.1rem; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 30px; } .placeholder-text { color: rgba(255, 255, 255, 0.2); font-style: italic; } /* --- RESPONSIVE --- */ @media (max-width: 600px) { .yahtzee-table { border-radius: 40px; padding: 20px; } .neon-dice { font-size: 2.2rem; } } /* Style des lignes de parties */ .game-item-row { display: flex; justify-content: space-between; align-items: center; background: rgba(26, 42, 108, 0.4); /* Bleu nuit transparent */ border: 1px solid rgba(212, 175, 55, 0.3); /* Bordure dorée subtile */ margin-bottom: 15px; padding: 15px 25px; border-radius: 15px; transition: all 0.3s ease; } .game-item-row:hover { background: rgba(26, 42, 108, 0.7); transform: translateX(5px); border-color: var(--gold, #d4af37); box-shadow: 0 0 15px rgba(212, 175, 55, 0.2); } .game-info { display: flex; flex-direction: column; text-align: left; } .game-name { font-size: 1.2rem; font-weight: bold; color: #fff; text-transform: uppercase; } .game-players-count { font-size: 0.9rem; color: var(--gold, #d4af37); } /* Bouton rejoindre */ .btn-join { background: transparent; border: 2px solid #ff3131; /* Rouge néon */ color: #ff3131; padding: 8px 20px; border-radius: 20px; cursor: pointer; font-weight: bold; text-transform: uppercase; transition: all 0.3s; } .btn-join:hover { background: #ff3131; color: #fff; box-shadow: 0 0 15px rgba(255, 49, 49, 0.6); } .placeholder-text { font-style: italic; opacity: 0.5; padding: 20px; }