:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #101729; color: #f4f7ff; }
* { box-sizing: border-box; }
body { min-width: 0; min-height: 100vh; margin: 0; background: radial-gradient(circle at 8% 0%, #4056a744, transparent 30rem), radial-gradient(circle at 95% 15%, #259ca655, transparent 27rem), #101729; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 3px solid #f4d77d; outline-offset: 3px; }
.shell { width: min(980px, calc(100% - 32px)); margin: 0 auto; padding: 22px 0 52px; }
.topbar { display: flex; justify-content: space-between; align-items: center; color: #b9c6eb; font-size: .9rem; }
.brand { color: #fff; font-size: 1.1rem; font-weight: 850; letter-spacing: .02em; text-decoration: none; }
.intro { max-width: 610px; padding: clamp(42px, 8vw, 84px) 0 26px; }
.eyebrow { margin: 0 0 8px; color: #93d8e1; font-size: .73rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 12px; font-size: clamp(2.2rem, 7vw, 4.4rem); letter-spacing: -.06em; line-height: .95; }
.intro > p:last-child { max-width: 520px; color: #bdc9e3; font-size: 1.05rem; line-height: 1.6; }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.game-card { display: grid; grid-template-columns: auto 1fr; gap: 15px; min-width: 0; padding: 20px; color: #eaf2ff; text-align: left; background: #18223bd9; border: 1px solid #849acb40; border-radius: 18px; box-shadow: 0 16px 35px #05091655; transition: border-color .16s ease, transform .16s ease, background .16s ease; }
.game-card:hover { transform: translateY(-2px); border-color: #c4d8ff99; }
.game-card.selected { background: #243359; border-color: #f1d272; box-shadow: 0 0 0 2px #f1d27244, 0 18px 42px #05091677; }
.game-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #0d4965; font-size: 1.5rem; }
.glass .game-icon { background: #633c87; }
.game-copy { display: grid; min-width: 0; gap: 3px; }
.game-eyebrow { color: #a0cbd8; font-size: .69rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.game-copy strong { font-size: 1.1rem; }.game-description { color: #bfcae1; font-size: .86rem; line-height: 1.45; }.game-players { grid-column: 2; color: #f4d77d; font-size: .75rem; font-weight: 800; }
.room-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .7fr); gap: 18px; align-items: center; margin-top: 22px; padding: 22px; background: #121d35dc; border: 1px solid #8398c744; border-radius: 18px; }
.room-panel h2 { margin-bottom: 5px; font-size: 1.15rem; }.room-panel > div > p:last-child { margin-bottom: 0; color: #b5c4dd; }
form { display: grid; gap: 8px; }label { display: grid; gap: 5px; color: #dce8ff; font-size: .83rem; font-weight: 750; }label span { color: #8da1c3; font-size: .74rem; font-weight: 600; }input { width: 100%; min-height: 39px; padding: 8px 10px; color: #fff; background: #091224; border: 1px solid #758bb955; border-radius: 9px; letter-spacing: .08em; text-transform: uppercase; }form button { min-height: 39px; padding: 8px 12px; color: #151a2a; font-weight: 850; background: #f1d272; border: 0; border-radius: 9px; }form button:disabled { cursor: not-allowed; opacity: .5; }.link-note { grid-column: 1 / -1; margin: 0; color: #90a6c9; font-size: .78rem; line-height: 1.45; }
@media (max-width: 620px) { .shell { width: min(100% - 24px, 980px); padding-top: 16px; }.topbar > span { display: none; }.intro { padding: 42px 0 22px; }.game-grid, .room-panel { grid-template-columns: 1fr; }.game-card { padding: 16px; }.room-panel { padding: 17px; }.game-players { grid-column: 1 / -1; margin-top: 2px; } }
