/* ── Board ──────────────────────────────────────────────── */
#board {
    display: grid;
    grid-template-columns: repeat(7, 70px);
    grid-template-rows: repeat(6, 70px);
    gap: 8px;
    background: #0a2f6e;
    padding: 16px;
    border-radius: 12px;
    border: 3px solid #ffd36b;
    box-shadow: 0 0 28px rgba(201,169,92,0.3);
}

/* ── Cells ──────────────────────────────────────────────── */
.cell {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #3d1e1f;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.15s ease;
    box-shadow: inset 0 3px 6px rgba(0,0,0,0.5);
}

.cell:hover { transform: scale(1.06); }

/* ── Pieces ─────────────────────────────────────────────── */
.piece {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
}

.red {
    background: radial-gradient(circle at 35% 35%, #ff6666, #cc0000);
    box-shadow: 0 0 8px rgba(204,0,0,0.6);
}

.yellow {
    background: radial-gradient(circle at 35% 35%, #ffe066, #f0c000);
    box-shadow: 0 0 8px rgba(240,192,0,0.6);
}

/* ── Room input ─────────────────────────────────────────── */
.room-input {
    background: rgba(255,255,255,0.08);
    border: 2px solid #c9a95c;
    border-radius: 8px;
    color: #f2e9d9;
    padding: 8px 14px;
    font-size: 0.95rem;
    outline: none;
    width: 200px;
}

.room-input::placeholder { color: rgba(242,233,217,0.45); }
.room-input:focus        { border-color: #ffd36b; box-shadow: 0 0 0 3px rgba(255,211,107,0.2); }

/* ── Buttons ────────────────────────────────────────────── */
.btn-game {
    padding: 8px 18px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-game:hover { transform: translateY(-2px); opacity: 0.88; }

.btn-create { background: #c9a95c; color: #2e1a19; }
.btn-join   { background: #6b3e3a; color: #f2e9d9; border: 1px solid #c9a95c; }
