:root { --background: #0f172a; --panel: #111827; --accent: #22d3ee; --text-primary: #f8fafc; --text-secondary: #94a3b8; --danger: #f87171; --success: #34d399; } * { box-sizing: border-box; margin: 0; padding: 0; font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; } body { background-color: var(--background); color: var(--text-primary); min-height: 100vh; display: flex; align-items: center; justify-content: center; } .layout { display: grid; grid-template-columns: 320px 1fr; gap: 2rem; width: min(1200px, 90vw); } .sidebar { background-color: var(--panel); padding: 2rem; border-radius: 1rem; display: flex; flex-direction: column; gap: 1.5rem; box-shadow: 0 20px 40px rgba(15, 23, 42, 0.45); } .sidebar h1 { font-size: 1.75rem; } .sidebar p { color: var(--text-secondary); line-height: 1.4; } .instructions ul { list-style: none; display: grid; gap: 0.5rem; } .instructions__group { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1rem; } .instructions__group:last-of-type { margin-bottom: 0; } .key { display: inline-flex; align-items: center; justify-content: center; padding: 0.25rem 0.75rem; border-radius: 0.5rem; background-color: rgba(148, 163, 184, 0.1); border: 1px solid rgba(148, 163, 184, 0.4); margin-right: 0.25rem; } .status { padding: 0.5rem 1rem; border-radius: 9999px; text-align: center; font-weight: 600; } .status--disconnected { background-color: rgba(248, 113, 113, 0.15); color: var(--danger); } .status--connected { background-color: rgba(52, 211, 153, 0.15); color: var(--success); } .arena-container { background-color: rgba(15, 23, 42, 0.65); padding: 1rem; border-radius: 1rem; box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.15); display: flex; align-items: center; justify-content: center; } #game-canvas { border-radius: 0.75rem; width: 100%; height: auto; background: radial-gradient(circle at center, rgba(34, 211, 238, 0.15), rgba(15, 23, 42, 0.8)); border: 2px solid rgba(34, 211, 238, 0.4); } @media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .arena-container { order: -1; } }