/* --- VARIABLES GLOBALES --- */ :root { --table-green: radial-gradient(circle, #277d46 0%, #1a5e33 100%); --table-dark: radial-gradient(circle, #1a1a1a 0%, #0a0a0a 100%); /* Couleur pour la table sombre */ --poker-border: #2c1b18; --gold: #d4af37; --gold-light: #f9e27d; --dark-bg: #0a0a0a; --white: #ffffff; --wood-dark: #1a0f0d; } /* --- STRUCTURE DE LA PAGE --- */ body { background-color: var(--dark-bg); background-image: radial-gradient(circle at center, #1a1a1a 0%, #050505 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; /* Réduit pour garder une forme de table sympa */ } /* --- STYLE COMMUN DES TABLES --- */ .poker-table { position: relative; padding: 30px; border-radius: 80px; border: 15px solid var(--poker-border); box-shadow: 0 25px 50px rgba(0,0,0,0.9), inset 0 0 40px rgba(0,0,0,0.6); width: 100%; outline: 2px solid #3d2b27; margin-bottom: 40px; box-sizing: border-box; } .poker-table::before { content: ''; position: absolute; top: 12px; left: 12px; right: 12px; bottom: 12px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 65px; pointer-events: none; } .table-inner { position: relative; z-index: 2; text-align: center; } /* --- SPECIFICITÉS TABLE HEADER (SOMBRE) --- */ .table-header { background: var(--table-dark); max-width: 800px; border-color: #1a1a1a; /* Bordure plus noire pour le header */ } .table-header h1 { color: var(--gold); text-transform: uppercase; font-size: 1.2rem; margin: 0 0 10px 0; letter-spacing: 2px; } /* --- SPECIFICITÉS TABLE MAIN (VERTE) --- */ .table-main { background: var(--table-green); } .tables-hall { width: 100%; display: flex; justify-content: center; } /* --- CENTRAGE DU BOUTON --- */ .button-center-wrapper { display: flex; justify-content: center; align-items: center; padding: 20px 0 40px 0; /* Espace le bouton du titre de la liste */ } /* --- LOGO --- */ .logo-paf { width: 220px; height: auto; filter: drop-shadow(0 0 15px rgba(180, 50, 255, 0.6)); transition: transform 0.3s ease; } .logo-paf:hover { transform: scale(1.05); } /* --- BOUTON CRÉER --- */ .btn-main-create { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%); color: var(--wood-dark); padding: 18px 45px; font-weight: 900; font-size: 1.2rem; border-radius: 50px; border: none; cursor: pointer; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 8px 0px #927521, 0 15px 20px rgba(0,0,0,0.4); text-transform: uppercase; } .btn-main-create:hover { transform: translateY(-2px); box-shadow: 0 10px 0px #927521, 0 20px 25px rgba(0,0,0,0.5); } /* --- TITRES ET LISTES --- */ .table-main h2 { font-size: 1.1rem; color: rgba(255,255,255,0.7); text-transform: uppercase; margin-bottom: 20px; } #games_list ul { list-style: none; padding: 0; max-width: 500px; margin: 0 auto; } .mon-accordeon { background-color: rgba(0,0,0,0.5); border-radius: 15px; border: 2px solid #333; margin-bottom: 12px; text-align: left; } summary { padding: 12px 20px; color: var(--gold); font-weight: bold; cursor: pointer; display: flex; justify-content: space-between; align-items: center; outline: none; } .container-parent { display: flex; justify-content: space-between; background: rgba(0,0,0,0.2); max-height: 0; opacity: 0; overflow: hidden; transition: all 0.4s ease; } details[open] .container-parent { max-height: 500px; opacity: 1; padding: 20px; } /* --- ZONES INTERNES ACCORDÉON --- */ .left { flex: 1.2; border-left: 2px solid rgba(212, 175, 55, 0.2); padding-left: 15px; } .left p { margin: 3px 0; font-size: 0.9rem; color: #eee; } .right { flex: 1; display: flex; flex-direction: column; } .right p { font-size: 0.8rem; color: var(--gold); margin-bottom: 10px; } .btn-join-list, .btn-admin-join-list { width: 100%; margin-bottom: 8px; padding: 10px; border-radius: 6px; border: 1px solid var(--gold); background: transparent; color: var(--gold); font-weight: bold; cursor: pointer; text-transform: uppercase; font-size: 0.7rem; transition: 0.2s; } .btn-join-list:hover { background: var(--gold); color: black; } .btn-admin-join-list { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.5); } /* --- RESPONSIVE --- */ @media (max-width: 600px) { .poker-table { border-radius: 40px; padding: 15px; border-width: 10px; } .logo-paf { width: 160px; } .btn-main-create { padding: 12px 25px; font-size: 1rem; } }