body { background: #121212; color: #fff; margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
* { box-sizing: border-box; }

/* Global Custom Dark Scrollbars */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #1a1a1a; }
::-webkit-scrollbar-thumb { background: #444; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #666; }

/* Lobby Styles */
.center-flex { display: flex; justify-content: center; align-items: center; height: 100vh; }
.glass-card { background: #1e1e1e; padding: 2rem; border-radius: 8px; border: 1px solid #333; width: 350px; }
.glass-card h1 { color: #ffd700; margin-top: 0; text-align: center; }
.glass-card label { display: block; margin: 10px 0 5px 0; color: #aaa; font-size: 0.9rem;}
.glass-card input[type="text"] { width: 100%; padding: 10px; background: #111; border: 1px solid #444; color: #fff; border-radius: 4px; }
button { padding: 12px; border: none; border-radius: 4px; font-weight: bold; cursor: pointer; transition: 0.2s; font-size: 1rem;}
button:hover { filter: brightness(1.2); }
.btn-create { background: #2196F3; color: white; }
.btn-join { background: #4CAF50; color: white; }

/* Toggle Buttons for Bans */
.toggle-group { display: flex; gap: 5px; }
.toggle-group input[type="radio"] { display: none; }
.toggle-group label { flex: 1; padding: 10px; background: #111; border: 1px solid #444; text-align: center; cursor: pointer; border-radius: 4px; color: #888; font-weight: bold; transition: 0.2s;}
.toggle-group input[type="radio"]:checked + label { background: #2196F3; color: white; border-color: #2196F3; }

/* Draft Board Styles */
#status-bar { background: #1a1a1a; padding: 15px; text-align: center; font-weight: bold; border-bottom: 2px solid #333; font-size: 1.2rem; transition: 0.3s;}
#status-bar.your-turn { background: #004d40; color: #a7ffeb; }

.draft-layout { display: flex; height: calc(100vh - 54px); padding: 10px; gap: 15px; }

/* Sidebars */
.side { flex: 0 0 250px; background: #1a1a1a; border-radius: 8px; padding: 15px; border: 2px solid #222; transition: 0.3s; overflow-y: auto;}
.side h3 { margin-top: 0; padding-bottom: 10px; border-bottom: 1px solid #333; text-align: center; display: flex; flex-direction: column; gap: 5px;}
.active-side { border-color: #4CAF50; box-shadow: 0 0 15px rgba(76, 175, 80, 0.2); }
.is-me { color: #ffd700; font-size: 0.8rem; background: #333; padding: 2px 8px; border-radius: 12px; align-self: center;}

.side-picks { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin-top: 10px;}
.sidebar-card { width: 60px; height: 60px; border: 2px solid #555; border-radius: 4px; }

/* Center Grid */
#center-grid { flex: 1; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; padding-right: 5px;}
.grid-section { background: #1e1e1e; padding: 15px; border-radius: 8px; border: 2px solid #333; transition: 0.3s; }
.grid-section h4 { margin: 0 0 10px 0; color: #aaa; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s;}

/* HIGHLIGHT FOR ACTIVE CATEGORY */
.active-category { border-color: #ffd700; box-shadow: 0 0 15px rgba(255, 215, 0, 0.15); }
.active-category h4 { color: #ffd700; }

.grid { display: flex; flex-wrap: wrap; gap: 8px; }

/* Cards */
.card { width: 70px; height: 70px; cursor: pointer; border: 2px solid #444; border-radius: 6px; transition: 0.2s;}
.card:hover { border-color: #ffd700; transform: translateY(-2px);}
.card.picked { filter: grayscale(1) opacity(0.3); pointer-events: none; border-color: #111; }